joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100230a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100230ea
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10023091
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100230a0
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10428d43
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100230f1
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10009f67
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10023190
add edi, 4
add eax, 2
dec ecx
jne 0x100230d6
call 0x1002313d
loope 0x10023133
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1002318d
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1002319e
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10023151
cmp eax, ecx
ja 0x10023151
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100231db
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100231d1
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1000a446
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x401000
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x418038]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
xor esi, esi
call fcn.00408600
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00408600
add esp, 0x18
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
mov word [ebp - 0x410], ax
push str.HangameKOREANHanUninstall.exe
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x41665c
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call ebx
cmp eax, 0xffffffff
push str.NEOWIZPMangcommonPMLauncher.exe
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
mov ecx, 1
push 0x4166b0
push eax
cmovne esi, ecx
call edi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call ebx
cmp eax, 0xffffffff
je 0x4010d7
or esi, 2
push str.NetmarbleCommonNetMarbleEndWeb.exe
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x4166bc
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call ebx
cmp eax, 0xffffffff
je 0x401105
or esi, 4
push str.Program_FilesAhnLabV3Lite30V3Lite.exe
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x416714
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call ebx
cmp eax, 0xffffffff
je 0x401136
or esi, 0x100
push str.Program_FilesESTsoftALYacAYLaunch.exe
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x416774
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call ebx
cmp eax, 0xffffffff
je 0x401167
or esi, 0x200
push str.Program_Files_naverNaverAgentNaverAgent.exe
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push str._s_s
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call ebx
cmp eax, 0xffffffff
je 0x401198
or esi, 0x400
mov ecx, dword [ebp - 4]
or esi, 0x2000000
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404a1a
mov esp, ebp
pop ebp
ret
Function at 0x4014b0
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3e4
mov eax, dword [0x418038]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x3e
push eax
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x46]
push eax
call fcn.00408600
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x250], ax
lea eax, [ebp - 0x24e]
push eax
call fcn.00408600
add esp, 0xc
lea eax, [ebp - 0x250]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x250]
push 0x5c
push eax
call fcn.00405569
mov esi, eax
xor eax, eax
mov word [esi], ax
add esi, 2
push 0x2e
push esi
call fcn.00405569
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x48]
add esp, 0x10
sub ecx, esi
jmp 0x401540
movzx eax, word [esi]
mov word [ecx + esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x401540
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x48]
mov word [ecx + 0x419f88], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x401551
push 0x419f88
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
test eax, eax
je 0x401593
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404a1a
mov esp, ebp
pop ebp
ret
push 0x419f88
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
je 0x401582
lea eax, [ebp - 0x3e0]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, 0x41ab20
call fcn.00401e40
test eax, eax
jne 0x401660
xor ecx, ecx
mov edi, edi
movzx eax, word [ecx + str.dgudf]
mov word [ecx + 0x41acc8], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4015d0
push 0x4168a0
push 0x40
push 0x41ab24
call fcn.00404b5f
add esp, 0xc
push str.GTDR
push 0x10
push 0x41aba6
call fcn.00404b5f
add esp, 0xc
push 0x4168cc
push 0x40
push 0x41abc6
call fcn.00404b5f
mov eax, 0x51
mov word [0x41aba4], ax
mov eax, 0x2b8e
add esp, 0xc
mov word [0x41ac46], ax
xor ecx, ecx
lea ebx, [ebx]
movzx eax, word [ecx + str.BHSBDHS]
mov word [ecx + 0x41aca8], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x401640
mov dword [0x41ace8], 5
call fcn.004037c0
mov ecx, 0x4168fc
call fcn.00403860
mov dword [0x41ae20], eax
call fcn.00401250
push 0
push 0
push 0
push 0x4013f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.00404a1a
mov esp, ebp
pop ebp
ret
Function at 0x4016b0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x418038]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
call fcn.00403db0
mov dword [ebp - 0x41c], eax
test eax, eax
jne 0x4017d9
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00408600
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
call fcn.00408600
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, 0x41a3a8
mov edi, edi
cmp word [esi], 0
je 0x401766
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push 0x104
push eax
call fcn.00404b5f
add esp, 0xc
lea eax, [ebp - 0x418]
push esi
push 0x104
push eax
call fcn.00404bbb
add esp, 0xc
add esi, 0x118
cmp esi, 0x41a920
jl 0x401730
mov esi, 0x41a3a8
lea esp, [esp]
cmp word [esi], 0
je 0x401794
push ecx
push edi
mov edx, ebx
mov ecx, esi
call fcn.004046c0
add esp, 8
add esi, 0x118
cmp esi, 0x41a920
jl 0x401780
push 0x41a1a0
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00404bbb
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x41c]
mov ecx, 2
cmove eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404a1a
mov esp, ebp
pop ebp
ret
Function at 0x401aa0
Capabilities:
Create process on windows
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x418038]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov edi, dword [ebp + 8]
push 0x64
push 0x419eb8
push 0x67
push edi
call esi
push 0x64
push 0x419df0
push 0x6d
push edi
call esi
mov ecx, edi
call fcn.00401c30
push 0
push edi
push 0
push 0
push 0
push connect
push 0
push connect
push 0xcf0000
push 0x419eb8
push 0x419df0
push 0
mov dword [0x419f80], edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
jne 0x401b32
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00404a1a
mov esp, ebp
pop ebp
ret 0x10
push 0x6d
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7d0
call esi
call fcn.00402cb0
call fcn.004021b0
test eax, eax
je 0x401b63
call fcn.00403520
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.004014b0
test eax, eax
je 0x401b1a
call fcn.004017f0
mov ecx, dword [0x41ae20]
test ecx, ecx
je 0x401b9b
cmp word [0x41ae24], 0
jbe 0x401b9b
mov edx, str.218.54.31.226
call fcn.00403c80
mov ax, word [0x41ae24]
mov word [0x418ef4], ax
xor ecx, ecx
lea ecx, [ecx]
movzx eax, word [ecx + str.hirst.exe]
mov word [ecx + 0x41a1a0], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x401ba0
call fcn.00403d00
xor eax, eax
push 0x206
push eax
mov word [esp + 0x10], ax
lea eax, [esp + 0x12]
push eax
call fcn.00408600
add esp, 0xc
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x41a1a0
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.00404bbb
add esp, 0xc
push 0x1f4
call esi
push 1
push 0
push 0x416a84
lea eax, [esp + 0x14]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401ee0
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x418038]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test edi, edi
je 0x402003
test esi, esi
je 0x402003
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401f10
sub ecx, edx
xor eax, eax
sar ecx, 1
je 0x402005
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00408600
add esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x401f7f
cmp dword [0x418f08], 3
jne 0x401f7f
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x416aa4
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00404bbb
add esp, 0xc
jmp 0x401f91
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00404bbb
push 0x416aa8
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x210], 0
call fcn.00404db2
mov eax, dword [ebp - 0x210]
add esp, 0x18
test eax, eax
je 0x402003
push eax
push 1
push 0x200
push edi
call fcn.00405084
push dword [ebp - 0x210]
call fcn.0040519c
add esp, 0x14
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404a1a
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00404a1a
mov esp, ebp
pop ebp
ret

Function at 0x4020c0
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x418038]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
xor edx, edx
jmp 0x4020e0
not byte [esi + edx]
inc edx
cmp edx, 0x200
jb 0x4020e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00408600
add esp, 0xc
mov dword [ebp - 0x214], 0
test esi, esi
je 0x402195
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.golfinfo.ini
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00404bbb
push 0x416ae4
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00404db2
mov eax, dword [ebp - 0x214]
add esp, 0x18
test eax, eax
je 0x402181
push eax
push 1
push 0x200
push esi
call fcn.0040536a
push dword [ebp - 0x214]
call fcn.0040519c
add esp, 0x14
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404a1a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00404a1a
mov esp, ebp
pop ebp
ret
Function at 0x402b40
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x418038]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00408600
add esp, 0xc
lea eax, [ebp - 0x410]
push 0x200
push 0
push eax
call fcn.00408600
add esp, 0xc
lea ecx, [ebp - 0x410]
call fcn.00402020
test eax, eax
je 0x402c96
xor ecx, ecx
lea esp, [esp]
movzx eax, word [ecx + 0x416c40]
mov word [ecx + 0x41a018], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x402ba0
xor ecx, ecx
jmp 0x402bc0
movzx eax, word [ebp + ecx - 0x38a]
mov word [ecx + 0x41a120], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x402bc0
xor ecx, ecx
lea esp, [esp]
movzx eax, word [ebp + ecx - 0x40c]
mov word [ecx + 0x41a0a0], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x402be0
cmp dword [0x418f08], 3
movzx eax, word [ebp - 0x38c]
mov word [0x41a098], ax
movzx eax, word [ebp - 0x2ea]
mov word [0x41a010], ax
mov dword [0x41a00c], 5
lea eax, [ebp - 0x210]
je 0x402c38
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x402c5d
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x416d00
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00404bbb
add esp, 0xc
push str.golfset.ini
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00404bbb
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404a1a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.00404a1a
mov esp, ebp
pop ebp
ret

Function at 0x402cb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x418038]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
mov dword [0x418f08], 0
call fcn.00408600
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x402d6d
mov eax, dword [ebp - 0x11c]
cmp eax, 5
jne 0x402d31
mov eax, dword [ebp - 0x118]
cmp eax, 2
jae 0x402d19
cmp eax, 1
jne 0x402d6d
mov dword [0x418f08], 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404a1a
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x402d6d
mov ecx, dword [ebp - 0x118]
test ecx, ecx
jne 0x402d58
mov dword [0x418f08], 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404a1a
mov esp, ebp
pop ebp
ret
mov eax, dword [0x418f08]
mov edx, 5
cmp ecx, 1
cmove eax, edx
mov dword [0x418f08], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404a1a
mov esp, ebp
pop ebp
ret
Function at 0x402d80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x418038]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov edi, edx
mov esi, ecx
call fcn.00408600
add esp, 0xc
cmp dword [0x418f08], 3
lea eax, [ebp - 0x20c]
jne 0x402ded
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x416c78
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00404bbb
add esp, 0xc
jmp 0x402df9
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x416c7c
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
call fcn.00404a1a
mov esp, ebp
pop ebp
ret

Function at 0x402ee0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x418038]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
cmp esi, 0xffffffff
je 0x402ffd
push 0x400
call fcn.00405a27
add esp, 4
mov ebx, eax
push 0x400
push 0
push ebx
call fcn.00408600
add esp, 0xc
mov ecx, esi
call fcn.004030b0
xor ecx, ecx
shld ecx, eax, 9
xorps xmm0, xmm0
shl eax, 9
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
push 0x400
push ebx
movq qword [ebp - 0x10], xmm0
push esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402ff4
cmp dword [ebx + 4], 0x5042475f
jne 0x402fbb
lea ecx, [ebx + 0x10e]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402f80
sub ecx, edx
sar ecx, 1
je 0x402fbb
mov ecx, 0x8d
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
movsw word es:[edi], word [esi]
call fcn.00405ab9
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404a1a
mov esp, ebp
pop ebp
ret
push ebx
push 2
mov edx, 0x1e
mov ecx, esi
call fcn.00403190
add esp, 8
test eax, eax
je 0x402ff4
cmp dword [ebx + 4], 0x5042475f
jne 0x402ff4
lea ecx, [ebx + 0x10e]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402fe3
sub ecx, edx
sar ecx, 1
jne 0x402f91
push ebx
call fcn.00405ab9
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00404a1a
mov esp, ebp
pop ebp
ret
Function at 0x403010
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x418038]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
mov esi, ecx
mov dword [ebp - 0x214], 0
call fcn.00408600
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx ecx, word [ebp - 0x210]
sub ecx, 0x41
lea edx, [ebp - 0x214]
call fcn.00403200
mov ecx, dword [ebp - 0x214]
call fcn.004032f0
cmp eax, 0xffffffff
jne 0x403096
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404a1a
mov esp, ebp
pop ebp
ret
mov edx, esi
mov ecx, eax
call fcn.00402ee0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00404a1a
mov esp, ebp
pop ebp
ret

Function at 0x4030b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x418038]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x64
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1ff
xor esi, esi
lea eax, [ebp - 0x207]
push esi
push eax
mov byte [ebp - 0x208], 0
call fcn.00408600
add esp, 0xc
cmp ebx, 0xffffffff
je 0x40316c
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x200
lea eax, [ebp - 0x208]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x21c], xmm0
movq qword [ebp - 0x214], xmm0
push ebx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40316c
mov eax, dword [ebp - 0x42]
add eax, dword [ebp - 0x3e]
mov ecx, dword [ebp - 0xe]
cmovne esi, eax
mov eax, dword [ebp - 0x32]
add eax, dword [ebp - 0x2e]
cmp eax, esi
cmova esi, eax
mov eax, dword [ebp - 0x22]
add eax, dword [ebp - 0x1e]
cmp eax, esi
cmova esi, eax
add ecx, dword [ebp - 0x12]
cmp ecx, esi
cmova esi, ecx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404a1a
mov esp, ebp
pop ebp
ret

Function at 0x403190
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x418038]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x18], xmm0
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
cmp ecx, 0xffffffff
je 0x4031ea
shld eax, edx, 9
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
shl eax, 9
push eax
push esi
shl edx, 9
push ecx
mov dword [ebp - 0x14], edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00404a1a
mov esp, ebp
pop ebp
ret
Function at 0x4033e0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x418038]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
push 0x416d04
push ecx
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
call fcn.00404db2
add esp, 0xc
test eax, eax
je 0x403425
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404a1a
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 2
push 0
push dword [ebp - 8]
call fcn.00405b80
push dword [ebp - 8]
call fcn.00405f58
push 0
push 0
push dword [ebp - 8]
mov esi, eax
call fcn.00405b80
lea eax, [edi + esi]
push eax
mov dword [ebp - 0x10], eax
call fcn.00405a27
push dword [ebp - 8]
mov ebx, eax
push 1
push esi
push ebx
mov dword [ebp - 0x14], ebx
call fcn.00405084
push dword [ebp - 8]
call fcn.0040519c
push edi
add ebx, esi
push 0
push ebx
call fcn.00408600
mov eax, edi
cdq
and edx, 3
add esp, 0x40
lea edi, [edx + eax]
sar edi, 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00405fe3
add esp, 4
xor esi, esi
test edi, edi
jle 0x4034ad
lea ecx, [ecx]
call fcn.00405fc0
mov dword [ebx + esi*4], eax
inc esi
cmp esi, edi
jl 0x4034a0
push 0x416d0c
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
call fcn.00404db2
add esp, 0xc
test eax, eax
je 0x4034d8
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404a1a
mov esp, ebp
pop ebp
ret
push dword [ebp - 8]
mov esi, dword [ebp - 0x14]
push 1
push dword [ebp - 0x10]
push esi
call fcn.0040536a
push dword [ebp - 8]
call fcn.0040519c
add esp, 0x14
test esi, esi
je 0x403501
push esi
call fcn.00405ab9
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
pop ebx
xor ecx, ebp
mov eax, 1
pop edi
call fcn.00404a1a
mov esp, ebp
pop ebp
ret