joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d0bd0
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push 0x5cf6c0
push str.._image_InterfaceScript_21.bin
mov edi, ecx
call fcn.00443af0
fild dword [0x744530]
mov esi, eax
mov eax, dword [0x744530]
test eax, eax
jns 0x4450de
fadd dword [0x5cf690]
movzx ecx, word [esi + 0x1ec]
mov ebx, dword [esi]
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fsubp st(1)
fsub qword [0x5d10b0]
fstp dword [esp + 0xc]
fld dword [esi + 0x1c8]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
call fcn.00586d50
fld dword [esp + 0xc]
push eax
call fcn.00586d50
mov edx, dword [ebx + 0x24]
push eax
mov ecx, esi
call edx
push esi
mov ecx, edi
call fcn.004054d0
pop edi
mov dword [0x70c400], esi
mov ecx, esi
pop esi
pop ebx
add esp, 8
jmp 0x4d0bd0
push 0xffffffffffffffff
push 0x5c40f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x70a108]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x70a108]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push 2
mov esi, ecx
call fcn.004410e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x60]
push 0x36b
call eax
lea ecx, [esp + 0xc]
mov edi, eax
call fcn.00430640
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x3f
mov ecx, 0x7197e8
mov dword [esp + 0x44], 0
call fcn.00435b40
push 0x33517d
lea edx, [esp + 0x10]
push edx
push 0xffffffffffffffff
push 0x44a
mov ecx, 0x71c268
call fcn.004d3c70
push eax
mov ecx, edi
call fcn.004427f0
push 4
mov ecx, esi
call fcn.004410e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x60]
push 0x384
call eax
mov ecx, 0x71ae70
mov esi, eax
call fcn.004a95d0
mov edi, eax
test esi, esi
je 0x4d0ce0
test edi, edi
je 0x4d0ce0
push 1
mov ecx, esi
call fcn.00432820
mov ecx, dword [edi + 0xc]
mov dword [edi + 0x14], ecx
lea esp, [esp]
mov eax, dword [edi + 0x14]
test eax, eax
je 0x4d0ce0
mov edx, dword [eax + 8]
mov ecx, dword [edx + 4]
mov eax, dword [eax]
mov dword [edi + 0x14], eax
test ecx, ecx
je 0x4d0ce0
movzx ecx, word [ecx + 4]
push ecx
mov ecx, 0x71ae70
call fcn.004aad20
test eax, eax
je 0x4d0ca0
mov edx, dword [esi]
push 0
push 0
push 0xffffffffffffffff
add eax, 2
push 0xffffffffffffffff
push eax
mov eax, dword [edx + 0x6c]
mov ecx, esi
call eax
jmp 0x4d0ca0
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.00430650
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00586d40
add esp, 0x30
ret
Function at 0x4d2030
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.._ini_GameOption.opt
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4d2063
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push esi
mov dword [esp + 0x20], 0
call edi
test eax, eax
je 0x4d20a8
cmp dword [esp + 0x10], 0x61208
jne 0x4d20a8
push 0
lea edx, [esp + 0x10]
push edx
push 0xac
add ebx, 4
push ebx
push esi
call edi
test eax, eax
jne 0x4d20b8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
cmp dword [esp + 0xc], 0xac
push esi
ja 0x4d20a9
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret

Function at 0x4d20e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
push esi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push str.._ini_GameOption.opt
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4d2146
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea ecx, [esp + 0x18]
push ecx
push esi
mov dword [esp + 0x20], 0x61208
call edi
push 0
lea edx, [esp + 0x14]
push edx
push 0xac
add ebx, 4
push ebx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x4dd720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c4748
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x70a108]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x70a108]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
mov esi, ecx
mov cx, word [esp + 0x60]
mov word [esi + 0x28a], cx
mov ecx, dword [esp + 0x56]
push eax
mov word [esi + 0x288], ax
mov dword [esi + 0x28c], edx
mov dword [esi + 0x290], ecx
call fcn.005286b0
movzx eax, ax
add eax, 0xfffff7ff
mov edx, 0x7fe
add esp, 4
cmp ax, dx
ja 0x4dd7ae
movzx eax, word [esi + 0x288]
push eax
mov ecx, 0x71ae70
call fcn.004aaeb0
test eax, eax
je 0x4dd7b3
mov eax, 1
lea ecx, [esp + 0xc]
mov dword [esi + 0x294], eax
call fcn.00430640
mov edx, dword [esp + 0x44]
mov edi, dword [esi]
push 0
lea ecx, [esp + 0x10]
push ecx
push edx
mov ecx, 0x71ae70
mov dword [esp + 0x44], 0
call fcn.004ad890
push eax
mov eax, dword [edi + 0x10]
push 0x28
push 0x28
push 0
push 0
mov ecx, esi
call eax
movzx ecx, word [esp + 0x44]
mov edx, dword [esi]
mov eax, dword [esp + 0x5c]
mov edx, dword [edx + 0x78]
mov dword [esi + 0x220], ecx
push eax
mov ecx, esi
mov dword [esi + 0x21c], 3
call edx
push 0
push 0
push 0
push 0
push 0
push esi
mov ecx, 0x71ae70
call fcn.004b5f70
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.00430650
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00586d40
add esp, 0x30
ret 0x28
Function at 0x4edfa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5c50ab
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x70a108]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push 0x3d
lea eax, [esi + 0x4c]
push ebx
push eax
mov dword [esi], vtable.COBalloonName.0
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x144], ebx
mov dword [esi + 0x140], ebx
mov dword [esi + 0x148], ebx
mov byte [esi + 0x14c], bl
mov dword [esi + 0x90], 0xffffff
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.00585ff0
xor eax, eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], eax
mov byte [esi + 0xa4], al
mov dword [esi + 0xa5], eax
mov dword [esi + 0xa9], eax
mov dword [esi + 0xad], eax
mov dword [esi + 0xb1], eax
mov dword [esi + 0xb5], eax
mov dword [esi + 0xb9], eax
mov dword [esi + 0xbd], eax
mov dword [esi + 0xc1], eax
mov byte [esi + 0xc5], al
mov dword [esi + 0xc6], eax
mov dword [esi + 0xca], eax
mov dword [esi + 0xce], eax
mov dword [esi + 0xd2], eax
mov dword [esi + 0xd6], eax
mov dword [esi + 0xda], eax
mov dword [esi + 0xde], eax
mov dword [esi + 0xe2], eax
mov byte [esi + 0xe6], al
mov dword [esi + 0xe7], eax
mov dword [esi + 0xeb], eax
mov dword [esi + 0xef], eax
mov dword [esi + 0xf3], eax
mov dword [esi + 0xf7], eax
mov dword [esi + 0xfb], eax
mov dword [esi + 0xff], eax
mov dword [esi + 0x103], eax
mov byte [esi + 0x107], al
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], eax
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], eax
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], eax
mov dword [esi + 0x120], eax
mov dword [esi + 0x124], eax
mov byte [esi + 0x128], al
mov dword [esi + 0x129], eax
mov dword [esi + 0x12d], eax
mov dword [esi + 0x131], eax
mov dword [esi + 0x135], eax
push 0x144
mov byte [esi + 0x139], al
call fcn.00586f10
add esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], ebx
cmp eax, ebx
je 0x4ee169
mov ecx, eax
call fcn.00433fa0
jmp 0x4ee16b
xor eax, eax
mov dword [esi + 0x154], eax
mov dword [esi + 0x150], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x160], ebx
mov dword [esi + 0x164], ebx
mov dword [esi + 0x13c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x4eeeb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c5106
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x70a108]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x70a108]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.00430640
mov eax, dword [esp + 0x40]
sub eax, 0
mov dword [esp + 0x38], 0
mov edi, 0xede234
je 0x4eef13
dec eax
je 0x4eef0e
dec eax
jne 0x4eef13
mov edi, 0xf83232
jmp 0x4eef13
mov edi, 0x4dc025
push 0
lea eax, [esp + 0x10]
push eax
push 0x3f
mov ecx, 0x7197e8
call fcn.00435b40
push edi
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x154]
push 0xffffff
push 0
call fcn.00434bd0
mov eax, dword [esi + 0x154]
mov edx, dword [esp + 0x44]
mov dword [eax + 0x54], 0xdc
mov ecx, dword [esi + 0x154]
push edx
call fcn.00434070
lea ecx, [esp + 0xc]
mov dword [esi + 0x150], 1
mov dword [esp + 0x38], 0xffffffff
call fcn.00430650
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00586d40
add esp, 0x30
ret 8
mov ecx, dword [ecx + 0x1fc]
test ecx, ecx
je 0x4ef50f
jmp 0x4eeeb0
ret 8

Function at 0x4ef500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c5106
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x70a108]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x70a108]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.00430640
mov eax, dword [esp + 0x40]
sub eax, 0
mov dword [esp + 0x38], 0
mov edi, 0xede234
je 0x4eef13
dec eax
je 0x4eef0e
dec eax
jne 0x4eef13
mov edi, 0xf83232
jmp 0x4eef13
mov edi, 0x4dc025
push 0
lea eax, [esp + 0x10]
push eax
push 0x3f
mov ecx, 0x7197e8
call fcn.00435b40
push edi
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x154]
push 0xffffff
push 0
call fcn.00434bd0
mov eax, dword [esi + 0x154]
mov edx, dword [esp + 0x44]
mov dword [eax + 0x54], 0xdc
mov ecx, dword [esi + 0x154]
push edx
call fcn.00434070
lea ecx, [esp + 0xc]
mov dword [esi + 0x150], 1
mov dword [esp + 0x38], 0xffffffff
call fcn.00430650
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00586d40
add esp, 0x30
ret 8
mov ecx, dword [ecx + 0x1fc]
test ecx, ecx
je 0x4ef50f
jmp 0x4eeeb0
ret 8
Function at 0x4f2e70
Capabilities:
Get number of processors

Disassembly:
mov ecx, dword [ecx + 0x228]
jmp 0x46e760
push 0xffffffffffffffff
push 0x5c08f8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70a108]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x14], ebp
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x46e91a
cmp dword [ebx + 0x40], 0
lea ecx, [ebp + 0x2e4]
jne 0x46e894
call fcn.00580a50
mov dword [esp + 0x30], eax
test eax, eax
je 0x46e7e5
jmp 0x46e7c0
lea eax, [esp + 0x30]
push eax
lea ecx, [ebp + 0x2e4]
call fcn.00580ab0
mov esi, dword [eax]
test esi, esi
je 0x46e7e5
mov eax, dword [ebx + 0x3c]
cmp dword [esi + 8], eax
je 0x46e7f2
cmp dword [esp + 0x30], 0
jne 0x46e7c0
push ebx
mov ecx, ebp
call fcn.0046d520
jmp 0x46e913
lea ecx, [esi + 0x10]
call fcn.00580a50
mov dword [esp + 0x18], eax
test eax, eax
je 0x46e822
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x10]
call fcn.00580ab0
mov eax, dword [eax]
cmp dword [eax + 0x40], 0
je 0x46e91a
cmp dword [esp + 0x18], 0
jne 0x46e802
mov ebp, 1
push ebx
lea ecx, [esi + 0x10]
mov dword [esi], ebp
call fcn.00580470
add dword [esi + 4], ebp
push 0x48
call fcn.00586f10
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], 0
test eax, eax
je 0x46e858
mov ecx, eax
call fcn.004f6c90
jmp 0x46e85a
xor eax, eax
mov edx, dword [ebx + 0x3c]
mov ecx, edx
imul ecx, ecx, 0x64
add ecx, 0x63
mov dword [eax + 0x44], ecx
push eax
lea ecx, [esi + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [eax + 0x3c], edx
mov dword [eax + 0x40], 0x63
call fcn.00580500
mov eax, dword [esp + 0x14]
add dword [esi + 4], ebp
add dword [eax + 0x2e0], ebp
mov ebp, eax
jmp 0x46e913
call fcn.00580a50
mov dword [esp + 0x1c], eax
test eax, eax
je 0x46e90b
lea edx, [esp + 0x1c]
push edx
lea ecx, [ebp + 0x2e4]
call fcn.00580ab0
mov esi, dword [eax]
test esi, esi
je 0x46e90b
mov eax, dword [esi + 8]
cmp eax, dword [ebx + 0x3c]
je 0x46e8c8
cmp dword [esp + 0x1c], 0
jne 0x46e8a1
jmp 0x46e90b
lea ecx, [esi + 0x10]
call fcn.00580a80
mov ebp, eax
test ebp, ebp
je 0x46e907
lea ecx, [esi + 0x10]
call fcn.00580a00
mov eax, dword [eax]
cmp dword [eax + 0x40], 0x63
push ebx
lea ecx, [esi + 0x10]
jne 0x46e8f9
push ebp
call fcn.005806d0
inc dword [esi + 4]
mov ebp, dword [esp + 0x14]
jmp 0x46e913
call fcn.00580500
inc dword [esi + 4]
mov ebp, dword [esp + 0x14]
jmp 0x46e913
mov ebp, dword [esp + 0x14]
push ebx
mov ecx, ebp
call fcn.0046d620
mov ecx, ebp
call fcn.0046e300
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
mov ecx, dword [0x70c4fc]
jmp 0x46d070
Function at 0x4f7420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c5a78
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x70a108]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push eax
push ecx
push edi
push edx
mov ecx, esi
call fcn.004f7340
mov ecx, dword [esi + 0xc]
lea ebx, [esi + 0x14]
lea eax, [esi + 0x10]
mov dword [esp + 0x1c], 0
mov dword [esi], vtable.CQuestLimitKind_Level.0
mov dword [ebx], 0
mov dword [eax], 0
test ecx, ecx
jne 0x4f749f
push edi
push eax
call fcn.004f45e0
push edi
push ebx
call fcn.004f45e0
add esp, 0x10
jmp 0x4f74bc
cmp ecx, 1
jne 0x4f74a8
push edi
push ebx
jmp 0x4f74b4
cmp ecx, 4
je 0x4f748c
cmp ecx, 5
jne 0x4f74bc
push edi
push eax
call fcn.004f45e0
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10

Function at 0x4f8b30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5c5c93
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x70a108]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x70a108]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
movzx edi, word [esp + 0x40]
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.00430640
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], 0
cmp eax, 3
ja case.default.0x4f8b81
jmp dword [eax*4 + 0x4f8c6c]
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, 0x71ae70
call fcn.004ad890
jmp case.default.0x4f8b81
push 0
lea edx, [esp + 0x10]
push edx
push 0x59
jmp 0x4f8bbd
push 0
lea eax, [esp + 0x10]
push eax
push 0x58
jmp 0x4f8bbd
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x5b
mov ecx, 0x7197e8
call fcn.00435b40
mov esi, dword [esi + 0x234]
movzx edx, word [esi + 0x226]
movzx eax, word [esi + 0x224]
imul edx, eax
cmp edi, edx
jl 0x4f8bf3
push 0
push 0x31
push str.c:userspsk_elp1desktop_src_update_src_client_mh._Interface_cIconGridDialog.h
call fcn.00529940
add esp, 0xc
mov ecx, dword [esi + 0x220]
mov ecx, dword [ecx + edi*8]
mov edx, dword [esp + 0x10]
lea eax, [ecx + 0x194]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 0x1c], edx
mov dword [ecx + 0x1b4], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.00430650
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00586d40
add esp, 0x30
ret 0xc
Function at 0x4fbbf0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
mov eax, dword [0x70a108]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4fbcc8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push esi
call edi
test eax, eax
je 0x4fbc50
cmp dword [esp + 0x10], 0x6060801
je 0x4fbc6b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00586d40
add esp, 0x18
ret 4
push 0
lea edx, [esp + 0x10]
push edx
push 0xc
lea eax, [esp + 0x20]
push eax
push esi
call edi
push esi
test eax, eax
je 0x4fbc51
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x1c], 0
je 0x4fbcc7
mov ecx, dword [0x71a264]
test ecx, ecx
je 0x4fbcc7
mov edx, dword [esp + 0x18]
push edx
call fcn.00499f50
mov eax, dword [esp + 0x14]
mov ecx, dword [0x71a264]
push eax
call fcn.00499280
fld dword [esp + 0x1c]
push 0
push ecx
fstp dword [esp]
push 0
mov ecx, 0x747860
call fcn.0055e9f0
pop edi
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
xor ecx, esp
call fcn.00586d40
add esp, 0x18
ret 4

Function at 0x4fbce0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x18
mov eax, dword [0x70a108]
xor eax, esp
mov dword [esp + 0x14], eax
mov ecx, dword [0x71a264]
push esi
mov esi, dword [esp + 0x20]
test ecx, ecx
je 0x4fbd7a
call fcn.00499f40
fld dword [0x7478a0]
push 0
push 0x80
push 2
push 0
mov dword [esp + 0x20], eax
mov eax, dword [0x71a264]
mov cx, word [eax + 0x688]
fstp dword [esp + 0x24]
push 0
push 0x40000000
push esi
mov word [esp + 0x28], cx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4fbd7a
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [esp + 0xc]
push edx
push 4
lea eax, [esp + 0x18]
push eax
push esi
mov dword [esp + 0x20], 0x6060801
call edi
push 0
lea ecx, [esp + 0xc]
push ecx
push 0xc
lea edx, [esp + 0x1c]
push edx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [esp + 0x18]
pop esi
xor ecx, esp
call fcn.00586d40
add esp, 0x18
ret 4
Function at 0x4fcc6c
Capabilities:
Create directory

Disassembly:
sub esp, 0x108
mov eax, dword [0x70a108]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
mov ebx, dword [esp + 0x110]
push esi
mov esi, ecx
test ebx, ebx
je 0x4fcd39
push ebp
push edi
push 0
mov ecx, 0x748188
call fcn.0056c300
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [esp + 0x14]
push str._sData
push eax
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
push 0
lea ecx, [esp + 0x14]
push ecx
call ebp
mov edx, dword [esi + 0x18]
push edx
push 0
mov ecx, 0x748188
call fcn.0056c300
push eax
lea eax, [esp + 0x18]
push str._sData_d
push eax
call edi
add esp, 0x10
push 0
lea ecx, [esp + 0x14]
push ecx
call ebp
test bl, 1
je 0x4fcd05
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x748188
call fcn.0056c300
push eax
lea edx, [esp + 0x1c]
push str._sData_d_d.UII
push edx
call edi
add esp, 0x14
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.004fc5a0
test bl, 2
je 0x4fcd37
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x748188
call fcn.0056c300
push eax
lea ecx, [esp + 0x1c]
push str._sData_d_d.UIS
push ecx
call edi
add esp, 0x14
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.004fbce0
pop edi
pop ebp
mov ecx, dword [esp + 0x10c]
pop esi
pop ebx
xor ecx, esp
call fcn.00586d40
add esp, 0x108
ret 4

Function at 0x4ffa20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c6140
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x70a108]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
call fcn.0040a700
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov byte [esp + 0x24], 1
call fcn.0040a700
mov eax, dword [esp + 0x14]
push 3
lea ecx, [esp + 0xc]
mov dword [esi + 8], eax
mov byte [esp + 0x24], 0
call fcn.00585060
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call fcn.0040a330
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.005850a0
push 3
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00585060
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 3
call fcn.0040a330
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.005850a0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 0xc
Function at 0x4ffce0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cb4a9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70a108]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov edi, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [ecx + 8]
mov esi, dword [eax + 4]
mov ebp, eax
mov byte [esp + 0x3c], 1
cmp byte [esi + 0x15], bl
jne 0x4ffd6e
mov ebp, esi
cmp byte [esp + 0x40], bl
je 0x4ffd50
mov al, byte [esi + 0xc]
mov cl, byte [edi + 0xc]
cmp cl, al
ja 0x4ffd3d
xor al, al
jmp 0x4ffd3f
mov al, 1
cmp al, bl
sete al
mov byte [esp + 0x3c], al
cmp al, bl
je 0x4ffd62
mov esi, dword [esi]
jmp 0x4ffd65
mov al, byte [edi + 0xc]
mov cl, byte [esi + 0xc]
cmp cl, al
ja 0x4ffde9
mov byte [esp + 0x3c], bl
mov esi, dword [esi + 8]
cmp byte [esi + 0x15], bl
je 0x4ffd27
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
push edi
push ebp
push eax
lea edx, [esp + 0x28]
push edx
call fcn.004ff1c0
mov edi, eax
mov esi, dword [esp + 0x38]
mov ebp, 1
push edi
mov ecx, esi
mov dword [esp + 0x34], ebp
call fcn.0040a700
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov byte [esi + 0xc], 1
push 3
lea ecx, [esp + 0x44]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x34], bl
call fcn.00585060
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 2
call fcn.0040a330
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], bl
call fcn.005850a0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
mov esi, dword [esi]
mov byte [esp + 0x3c], 1
jmp 0x4ffd65

Function at 0x4ffee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c61d9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x70a108]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x34]
push eax
lea edx, [esp + 0x14]
push edx
call fcn.004ffe90
mov esi, eax
mov edi, dword [esp + 0x30]
push esi
mov ecx, edi
mov dword [esp + 0x2c], 1
call fcn.0040a700
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
push 3
lea ecx, [esp + 0x38]
mov dword [esp + 0x10], 1
mov byte [esp + 0x2c], 0
call fcn.00585060
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 2
call fcn.0040a330
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 0
call fcn.005850a0
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 8