joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401350
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x416048]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
mov word [ebp - 0x1e0], ax
push 0x3e
push 0
lea ecx, [ebp - 0x1de]
push ecx
call fcn.00409060
add esp, 0xc
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x1a0], 0
lea edi, [ebp - 0x1e0]
call fcn.004042d0
lea edx, [ebp - 0x1e0]
mov dword [ebp - 0x1e4], edx
mov dword [ebp - 0x1e8], 0x417ea8
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1ec], eax
mov ecx, dword [ebp - 0x1e4]
mov dx, word [ecx]
mov word [ebp - 0x1ee], dx
mov eax, dword [ebp - 0x1e8]
mov cx, word [ebp - 0x1ee]
mov word [eax], cx
mov edx, dword [ebp - 0x1e4]
add edx, 2
mov dword [ebp - 0x1e4], edx
mov eax, dword [ebp - 0x1e8]
add eax, 2
mov dword [ebp - 0x1e8], eax
cmp word [ebp - 0x1ee], 0
jne 0x4013c1
push 0x417ea8
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
je 0x40143e
mov ecx, dword [ebp - 0x1a0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4015fd
push 0x417ea8
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
jne 0x401465
xor eax, eax
jmp 0x4015fd
lea edx, [ebp - 0x198]
push edx
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x418878
call fcn.00402370
add esp, 4
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
jne 0x4015bf
mov dword [ebp - 0x1f4], str.gduer
mov dword [ebp - 0x1f8], 0x418a20
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0x1f4]
mov dx, word [ecx]
mov word [ebp - 0x1fe], dx
mov eax, dword [ebp - 0x1f8]
mov cx, word [ebp - 0x1fe]
mov word [eax], cx
mov edx, dword [ebp - 0x1f4]
add edx, 2
mov dword [ebp - 0x1f4], edx
mov eax, dword [ebp - 0x1f8]
add eax, 2
mov dword [ebp - 0x1f8], eax
cmp word [ebp - 0x1fe], 0
jne 0x4014b7
push str.112.175.88.207
push 0x41887c
call fcn.00402300
add esp, 8
push str.AAAA
push 0x4188fe
call fcn.00402320
add esp, 8
push 0x4144a4
push 0x41891e
call fcn.00402300
add esp, 8
mov ecx, 0x51
mov word [0x4188fc], cx
mov edx, 0x2b8e
mov word [0x41899e], dx
mov dword [ebp - 0x204], str.dosret
mov dword [ebp - 0x208], 0x418a00
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x20c], eax
mov ecx, dword [ebp - 0x204]
mov dx, word [ecx]
mov word [ebp - 0x20e], dx
mov eax, dword [ebp - 0x208]
mov cx, word [ebp - 0x20e]
mov word [eax], cx
mov edx, dword [ebp - 0x204]
add edx, 2
mov dword [ebp - 0x204], edx
mov eax, dword [ebp - 0x208]
add eax, 2
mov dword [ebp - 0x208], eax
cmp word [ebp - 0x20e], 0
jne 0x40156d
mov dword [0x418a40], 5
call fcn.00404370
push 0x4144d4
call fcn.00404420
add esp, 4
mov dword [0x418740], eax
push 0x418a78
call fcn.00401610
add esp, 4
push 0
push 0
push 0
push 0x4021b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405708
mov esp, ebp
pop ebp
ret
Function at 0x401960
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x416048]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], 0
xor eax, eax
mov word [ebp - 0x418], ax
push 0x206
push 0
lea ecx, [ebp - 0x416]
push ecx
call fcn.00409060
add esp, 0xc
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00409060
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
xor edx, edx
mov word [ebp - 0x414], dx
push str.HangameKOREANHanUninstall.exe
lea eax, [ebp - 0x418]
push eax
push 0x41457c
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401a18
mov eax, dword [ebp - 0x41c]
or eax, 1
mov dword [ebp - 0x41c], eax
push str.NEOWIZPMangcommonPMLauncher.exe
lea ecx, [ebp - 0x418]
push ecx
push 0x4145d0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401a5a
mov ecx, dword [ebp - 0x41c]
or ecx, 2
mov dword [ebp - 0x41c], ecx
push str.NetmarbleCommonNetMarbleEndWeb.exe
lea edx, [ebp - 0x418]
push edx
push 0x4145dc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401a9c
mov edx, dword [ebp - 0x41c]
or edx, 4
mov dword [ebp - 0x41c], edx
push str.Program_FilesAhnLabV3Lite30V3Lite.exe
lea eax, [ebp - 0x418]
push eax
push 0x414634
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401ae0
mov eax, dword [ebp - 0x41c]
or eax, 0x100
mov dword [ebp - 0x41c], eax
push str.Program_FilesESTsoftALYacAYLaunch.exe
lea ecx, [ebp - 0x418]
push ecx
push 0x414694
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401b25
mov ecx, dword [ebp - 0x41c]
or ecx, 0x200
mov dword [ebp - 0x41c], ecx
push str.Program_Files_naverNaverAgentNaverAgent.exe
lea edx, [ebp - 0x418]
push edx
push str._s_s
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401b6a
mov edx, dword [ebp - 0x41c]
or edx, 0x400
mov dword [ebp - 0x41c], edx
mov eax, dword [ebp - 0x41c]
or eax, 0x2000000
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405708
mov esp, ebp
pop ebp
ret
Function at 0x401fe0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x416048]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], 0
movzx eax, word [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404a20
add esp, 8
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
je 0x402028
mov eax, dword [ebp - 0x41c]
jmp 0x402197
xor edx, edx
mov word [ebp - 0x418], dx
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.00409060
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x210], cx
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.00409060
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x420], 0
jmp 0x402093
mov ecx, dword [ebp - 0x420]
add ecx, 1
mov dword [ebp - 0x420], ecx
cmp dword [ebp - 0x420], 5
jge 0x4020f8
mov edx, dword [ebp - 0x420]
imul edx, edx, 0x118
movzx eax, word [edx + 0x417ef0]
test eax, eax
jne 0x4020b5
jmp 0x402084
lea ecx, [ebp - 0x418]
push ecx
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.0040578c
add esp, 0xc
mov eax, dword [ebp - 0x420]
imul eax, eax, 0x118
add eax, 0x417ef0
push eax
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.00405717
add esp, 0xc
jmp 0x402084
mov dword [ebp - 0x424], 0
jmp 0x402113
mov edx, dword [ebp - 0x424]
add edx, 1
mov dword [ebp - 0x424], edx
cmp dword [ebp - 0x424], 5
jge 0x40215c
mov eax, dword [ebp - 0x424]
imul eax, eax, 0x118
movzx ecx, word [eax + 0x417ef0]
test ecx, ecx
jne 0x402135
jmp 0x402104
push 1
movzx edx, word [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x424]
imul ecx, ecx, 0x118
add ecx, 0x417ef0
call fcn.00405330
add esp, 0xc
jmp 0x402104
push 0x418c78
push 0x104
lea ecx, [ebp - 0x418]
push ecx
call fcn.00405717
add esp, 0xc
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x402191
mov dword [ebp - 0x41c], 2
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405708
mov esp, ebp
pop ebp
ret
Function at 0x402470
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x416048]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], 0
cmp dword [ebp + 8], 0
je 0x402499
cmp dword [ebp + 0xc], 0
jne 0x4024a3
jmp 0x4025f0
cmp dword [ebp + 0x10], 0
je 0x4024f8
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
add ecx, 2
mov dword [ebp - 0x21c], ecx
mov edx, dword [ebp - 0x218]
mov ax, word [edx]
mov word [ebp - 0x21e], ax
add dword [ebp - 0x218], 2
cmp word [ebp - 0x21e], 0
jne 0x4024c1
mov ecx, dword [ebp - 0x218]
sub ecx, dword [ebp - 0x21c]
sar ecx, 1
mov dword [ebp - 0x224], ecx
jne 0x402502
jmp 0x4025f0
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00409060
add esp, 0xc
cmp dword [ebp + 0x14], 0
je 0x40253b
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x402583
cmp dword [0x416f10], 3
jne 0x402571
push 0x104
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x41427c
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.00405717
add esp, 0xc
jmp 0x402583
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, dword [ebp + 0x10]
push edx
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.00405717
add esp, 0xc
mov dword [ebp - 4], 0
push 0x414280
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00405a39
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x4025c4
jmp 0x4025f0
mov eax, dword [ebp - 4]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00405cca
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
call fcn.00405d54
add esp, 4
mov dword [ebp - 0x214], 1
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00405708
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x416048]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00409060
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x40280f
cmp dword [ebp + 0xc], 0
jne 0x402813
jmp 0x402888
lea edx, [ebp - 0x210]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.golfinfo.ini
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.00405717
add esp, 0xc
push 0x4142bc
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00405a39
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x40287e
mov eax, dword [ebp - 4]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00405f1f
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
call fcn.00405d54
add esp, 4
mov dword [ebp - 0x214], 1
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00405708
mov esp, ebp
pop ebp
ret
Function at 0x403560
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x416048]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00409060
add esp, 0xc
mov dword [ebp - 4], 0
push 0x200
push 0
lea edx, [ebp - 0x410]
push edx
call fcn.00409060
add esp, 0xc
lea eax, [ebp - 0x410]
push eax
call fcn.00402610
add esp, 4
test eax, eax
je 0x403780
mov dword [ebp - 0x414], 0x414418
mov dword [ebp - 0x418], 0x418570
mov ecx, dword [ebp - 0x418]
mov dword [ebp - 0x41c], ecx
mov edx, dword [ebp - 0x414]
mov ax, word [edx]
mov word [ebp - 0x41e], ax
mov ecx, dword [ebp - 0x418]
mov dx, word [ebp - 0x41e]
mov word [ecx], dx
mov eax, dword [ebp - 0x414]
add eax, 2
mov dword [ebp - 0x414], eax
mov ecx, dword [ebp - 0x418]
add ecx, 2
mov dword [ebp - 0x418], ecx
cmp word [ebp - 0x41e], 0
jne 0x4035e7
lea edx, [ebp - 0x38a]
mov dword [ebp - 0x424], edx
mov dword [ebp - 0x428], 0x418470
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x42c], eax
mov ecx, dword [ebp - 0x424]
mov dx, word [ecx]
mov word [ebp - 0x42e], dx
mov eax, dword [ebp - 0x428]
mov cx, word [ebp - 0x42e]
mov word [eax], cx
mov edx, dword [ebp - 0x424]
add edx, 2
mov dword [ebp - 0x424], edx
mov eax, dword [ebp - 0x428]
add eax, 2
mov dword [ebp - 0x428], eax
cmp word [ebp - 0x42e], 0
jne 0x403651
lea ecx, [ebp - 0x40c]
mov dword [ebp - 0x434], ecx
mov dword [ebp - 0x438], 0x4184f0
mov edx, dword [ebp - 0x438]
mov dword [ebp - 0x43c], edx
mov eax, dword [ebp - 0x434]
mov cx, word [eax]
mov word [ebp - 0x43e], cx
mov edx, dword [ebp - 0x438]
mov ax, word [ebp - 0x43e]
mov word [edx], ax
mov ecx, dword [ebp - 0x434]
add ecx, 2
mov dword [ebp - 0x434], ecx
mov edx, dword [ebp - 0x438]
add edx, 2
mov dword [ebp - 0x438], edx
cmp word [ebp - 0x43e], 0
jne 0x4036bb
mov ax, word [ebp - 0x38c]
mov word [0x41846c], ax
mov cx, word [ebp - 0x2ea]
mov word [0x4185f0], cx
mov dword [0x4185f4], 5
cmp dword [0x416f10], 3
je 0x403743
push 1
lea esi, [ebp - 0x210]
call fcn.00403ec0
add esp, 4
jmp 0x403753
push 0
lea esi, [ebp - 0x210]
call fcn.00403ec0
add esp, 4
push str.golfset.ini
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.00405717
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00405708
mov esp, ebp
pop ebp
ret
Function at 0x4037a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x416048]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
mov dword [esi], 0
call fcn.00409060
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x403847
mov eax, dword [ebp - 0x11c]
cmp eax, 5
jne 0x403819
mov eax, dword [ebp - 0x118]
cmp eax, 2
jae 0x403805
cmp eax, 1
jne 0x403847
mov dword [esi], 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405708
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x403847
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x40383c
mov dword [esi], 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405708
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x403847
mov dword [esi], 5
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405708
mov esp, ebp
pop ebp
ret

Function at 0x403860
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x416048]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00409060
add esp, 0xc
cmp dword [0x416f10], 3
jne 0x4038c7
push 0x104
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4148c4
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00405717
add esp, 0xc
jmp 0x4038d9
lea ecx, [ebp - 0x20c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
lea edx, [ebp - 0x20c]
push edx
push 0x4148c8
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 0x10
call fcn.00405708
mov esp, ebp
pop ebp
ret
Function at 0x4039c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, eax
cmp edi, 0xffffffff
je 0x403afe
push 0x400
call fcn.0040624d
add esp, 4
push 0x400
xor esi, esi
mov ebx, eax
push esi
push ebx
call fcn.00409060
add esp, 0xc
call fcn.00403bb0
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], ecx
shld ecx, eax, 9
shl eax, 9
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x14]
push ecx
push 0x400
push ebx
push edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, esi
je 0x403af5
cmp dword [ebx + 4], 0x5042475f
jne 0x403a8a
lea eax, [ebx + 0x10e]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x403a56
sub eax, edx
sar eax, 1
je 0x403a8a
mov edi, dword [ebp + 8]
mov ecx, 0x8d
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
movsw word es:[edi], word [esi]
call fcn.004062e1
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push 0x400
push ebx
push edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], 0x3c00
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, esi
je 0x403af5
cmp dword [ebx + 4], 0x5042475f
jne 0x403af5
lea eax, [ebx + 0x10e]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x403ae0
sub eax, edx
sar eax, 1
jne 0x403a67
push ebx
call fcn.004062e1
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403b10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x416048]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov dword [ebp - 0x210], 0
mov word [ebp - 0x20c], ax
call fcn.00409060
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx eax, word [ebp - 0x20c]
sub eax, 0x41
push eax
lea ebx, [ebp - 0x210]
call fcn.00403ca0
mov ebx, dword [ebp - 0x210]
add esp, 4
call fcn.00403d90
pop ebx
cmp eax, 0xffffffff
jne 0x403b98
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405708
mov esp, ebp
pop ebp
ret
push esi
call fcn.004039c0
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 4
call fcn.00405708
mov esp, ebp
pop ebp
ret
Function at 0x403bb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x416048]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
push 0x1ff
lea eax, [ebp - 0x207]
push ebx
push eax
xor esi, esi
mov byte [ebp - 0x208], bl
call fcn.00409060
add esp, 0xc
cmp edi, 0xffffffff
je 0x403c7c
xor eax, eax
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x20c]
push edx
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x210], eax
push 0x200
lea eax, [ebp - 0x208]
push eax
push edi
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x403c7c
mov eax, dword [ebp - 0x42]
add eax, dword [ebp - 0x3e]
cmp eax, ebx
jbe 0x403c58
mov esi, eax
mov eax, dword [ebp - 0x2e]
add eax, dword [ebp - 0x32]
cmp eax, esi
jbe 0x403c64
mov esi, eax
mov eax, dword [ebp - 0x22]
add eax, dword [ebp - 0x1e]
cmp eax, esi
jbe 0x403c70
mov esi, eax
mov eax, dword [ebp - 0x12]
add eax, dword [ebp - 0xe]
cmp eax, esi
jbe 0x403c7c
mov esi, eax
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.00405708
mov esp, ebp
pop ebp
ret

Function at 0x403ec0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x403ed7
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
pop ebp
ret
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4148c4
push 0x104
push esi
call fcn.00405717
add esp, 0xc
pop ebp
ret
Function at 0x403f00
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
push 0x41493c
mov edi, ecx
push eax
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 4], 0
call fcn.00405a39
add esp, 0xc
test eax, eax
je 0x403f2d
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
push ebx
push esi
push 2
push 0
push edx
call fcn.004063a5
mov eax, dword [ebp - 4]
push eax
call fcn.004065b5
mov ecx, dword [ebp - 4]
push 0
push 0
push ecx
mov esi, eax
call fcn.004063a5
lea eax, [esi + edi]
push eax
mov dword [ebp - 0xc], eax
call fcn.0040624d
mov edx, dword [ebp - 4]
push edx
push 1
mov ebx, eax
push esi
push ebx
call fcn.00405cca
mov eax, dword [ebp - 4]
push eax
call fcn.00405d54
push edi
add esi, ebx
push 0
push esi
mov dword [ebp - 8], esi
call fcn.00409060
mov eax, edi
cdq
and edx, 3
lea esi, [edx + eax]
add esp, 0x40
sar esi, 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0040661a
add esp, 4
xor edi, edi
test esi, esi
jle 0x403fc0
lea ebx, [ebx]
call fcn.0040662c
mov ecx, dword [ebp - 8]
mov dword [ecx + edi*4], eax
inc edi
cmp edi, esi
jl 0x403fb0
mov edx, dword [ebp + 8]
push 0x414944
push edx
lea eax, [ebp - 4]
push eax
call fcn.00405a39
add esp, 0xc
test eax, eax
je 0x403fe2
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
push ecx
push 1
push edx
push ebx
call fcn.00405f1f
mov eax, dword [ebp - 4]
push eax
call fcn.00405d54
add esp, 0x14
test ebx, ebx
je 0x40400b
push ebx
call fcn.004062e1
add esp, 4
pop esi
pop ebx
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4045c0
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0x3a98
lea ecx, [ecx]
mov eax, dword [ebp - 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x40464f
lea ecx, [ebp - 8]
push ecx
push esi
push 0
push 0x10
push 2
call ebx
mov edi, eax
cmp edi, 0x6f
jne 0x40461f
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
inc dword [ebp - 4]
cmp edi, 0x6f
jne 0x404659
cmp dword [ebp - 4], 3
jb 0x4045e0
mov edi, 0xfffffffd
test esi, esi
je 0x404646
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x40462d
mov eax, esi
test esi, esi
je 0x4046c3
mov ecx, 6
cmp dword [eax + 0x34], ecx
jne 0x404673
cmp dword [eax + 0x1c], 0
jne 0x40467e
mov eax, dword [eax + 8]
test eax, eax
jne 0x404668
xor edi, edi
jmp 0x404632
mov edx, dword [eax + 0x2c]
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
mov dx, word [eax + 0x30]
mov word [ecx + 4], dx
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0xc]
movzx edx, byte [edx + 4]
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 3], dl
mov edx, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
movzx edx, byte [edx + 5]
mov byte [ecx + 2], dl
mov edx, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
movzx edx, byte [edx + 6]
mov byte [ecx + 1], dl
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov al, byte [edx + 7]
mov byte [ecx], al
xor edi, edi
jmp 0x404632