joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5d6d90
Capabilities:
Hash data with md5

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x5d6f50
sub esp, 0x84
lea eax, [0x654440]
mov dword [esp], eax
mov dword [esp + 4], 0x24
mov dword [esp + 8], 0x24
call fcn.0044b820
mov eax, dword [esp + 0xc]
mov dword [esp + 0x80], eax
nop
lea edi, [esp + 0x20]
xor eax, eax
call fcn.00462f79
nop
mov dword [esp + 0x20], 0x67452301
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x5d6e37
mov ecx, dword [esp + 0x88]
xor edx, edx
jmp 0x5d6f13
lea eax, [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00599610
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp ecx, 0x24
jl 0x5d6e6d
mov ecx, 0x24
mov edx, dword [esp + 0x80]
cmp eax, edx
je 0x5d6e88
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00463680
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 8], eax
call fcn.005d6c60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
cmp ecx, 0x14
jl 0x5d6ebf
mov ecx, 0x14
mov edx, dword [esp + 0x80]
lea ebx, [edx + 0x10]
cmp eax, ebx
je 0x5d6ee4
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00463680
mov edx, dword [esp + 0x80]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], 0x24
mov dword [esp + 0x9c], 0x24
add esp, 0x84
ret
mov ebx, dword [esp + 0x7c]
add ebx, 0xc
mov ecx, ebx
mov edx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x7c], ecx
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx + 8]
lea esi, [esp + 0x20]
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.00599430
mov eax, dword [esp + 0x1c]
inc eax
mov ecx, dword [esp + 0x8c]
cmp ecx, eax
jg 0x5d6f08
jmp 0x5d6e37
call fcn.004618d0
jmp fcn.005d6d90
Function at 0x5d99b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5d9b7f
sub esp, 0x40
lea eax, [0x654440]
mov dword [esp], eax
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x68]
lea ebx, [edx + ecx]
mov dword [esp + 0x30], ebx
mov dword [esp + 8], ebx
call fcn.0044b820
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x30]
cmp ecx, edx
jbe 0x5d9a32
lea ebx, [0x654440]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.0044ba20
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
mov edx, ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp], eax
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.00463680
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jb 0x5d9a60
mov edx, dword [esp + 0x38]
jmp 0x5d9a94
lea edx, [0x654440]
mov dword [esp], edx
mov ebx, dword [esp + 0x38]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.0044ba20
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov edx, eax
mov eax, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x5c]
add ecx, edx
mov dword [esp], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
call fcn.00463680
lea eax, [0x654440]
mov dword [esp], eax
mov dword [esp + 4], 0x30
mov dword [esp + 8], 0x30
call fcn.0044b820
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
movzx ecx, word [esp + 0x44]
mov word [esp], cx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.005d98f0
mov edx, dword [esp + 8]
mov eax, dword [edx]
mov ecx, dword [str.master_secret]
mov ebx, dword [0xbb87ac]
mov ebp, dword [0xbb87b0]
mov esi, dword [esp + 0x3c]
mov dword [esp], esi
mov dword [esp + 4], 0x30
mov dword [esp + 8], 0x30
mov edi, dword [esp + 0x4c]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x54]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x2c], ecx
call eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0x30
mov dword [esp + 0x78], 0x30
add esp, 0x40
ret
call fcn.004618d0
jmp fcn.005d99b0
Function at 0x5da6d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5da87a
sub esp, 0x48
movzx eax, word [esp + 0x78]
cmp ax, 0x303
jb 0x5da6fe
movzx ecx, byte [esp + 0x80]
jmp 0x5da70b
movzx ecx, byte [esp + 0x80]
cmp cl, 0xe4
jne 0x5da743
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x5da861
cmp cl, 0xe4
je 0x5da722
cmp ax, 0x303
jmp 0x5da747
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x48
ret
cmp ax, 0x303
jae 0x5da7d5
cmp cl, 0xe3
jne 0x5da79f
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov eax, dword [eax + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
add esp, 0x48
ret
lea edi, [esp]
lea esi, [esp + 0x4c]
call fcn.0046341e
call fcn.005da3b0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
add esp, 0x48
ret
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call fcn.004d50b0
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0x20]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
call edx
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
add esp, 0x48
ret
lea eax, [0x654240]
mov dword [esp], eax
lea eax, [0xa542bc]
mov dword [esp + 4], eax
call fcn.00437060
nop
call fcn.004618d0
jmp fcn.005da6d0
Function at 0x10001000
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
mov eax, dword [0x10012004]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
push esi
push edi
lea eax, [esp + 0x20]
mov edi, edx
push eax
push 0x202
xor bl, bl
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov eax, 2
push str.127.0.0.1
mov word [esp + 0x14], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 6
push 1
push 2
mov dword [esp + 0x20], eax
call dword [sym.imp.WS2_32.dll_socket]
push edi
mov esi, eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
lea eax, [esp + 0x10]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
movzx ebx, bl
mov ecx, 1
push esi
cmove ebx, ecx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x1b4]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000135c
mov esp, ebp
pop ebp
ret
Function at 0x100162db
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100162fa
push 0xf7e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
jmp 0x1001634d
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
push 2
mov ecx, dword [ebp - 4]
call fcn.1001b2e9
and dword [eax], 0
jmp 0x1001632d
push 2
mov ecx, dword [ebp - 4]
call fcn.1001b2e9
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
push 2
mov ecx, dword [ebp - 4]
call fcn.1001b2e9
cmp dword [eax], 0xffffffe9
je 0x1001634d
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
je 0x1001634b
jmp 0x1001634d
jmp 0x10016315
mov esp, ebp
pop ebp
ret

Function at 0x10017c83
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10017c9a
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x10017cb8
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10017cb8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esp, ebp
pop ebp
ret
Function at 0x10022172
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002218c
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x100221df
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
push 2
mov ecx, dword [ebp - 4]
call fcn.1001b2e9
and dword [eax], 0
jmp 0x100221bf
push 2
mov ecx, dword [ebp - 4]
call fcn.1001b2e9
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
push 2
mov ecx, dword [ebp - 4]
call fcn.1001b2e9
cmp dword [eax], 0xffffffe5
jg 0x100221df
mov dword [ebp - 0x10], 0xdc4b
cmp dword [ebp - 0x10], 0
je 0x100221dd
jmp 0x100221df
jmp 0x100221a7
mov esp, ebp
pop ebp
ret

Function at 0x1002261b
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002263f
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002263d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
jmp 0x10022653
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x10022653
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esp, ebp
pop ebp
ret
Function at 0x1002297d
Capabilities:
Enumerate gui resources
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10022b0d
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x18], 0xae4b9a73
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x54], 0x8ae505b0
mov dword [ebp - 0x50], 0x8ae505b0
mov dword [ebp - 0x4c], 0x8ae505b0
mov dword [ebp - 0x48], 0x8ae505b0
mov dword [ebp - 8], 0xecf0
mov dword [ebp - 0x38], 0xb948214d
cmp dword [ebp - 0x10], 0
jne 0x100229ee
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
inc ecx
mov dword [ebp - 8], ecx
test eax, eax
jne 0x100229ee
and dword [ebp - 0x1c], 0
jmp 0x100229f5
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0xc], eax
jg 0x10022a0c
cmp dword [ebp - 0xc], 0
je 0x10022a0c
mov dword [ebp - 0x20], 1
jmp 0x10022a10
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jge 0x10022a27
mov eax, 0x678
test eax, eax
jne 0x10022a27
and dword [ebp - 0x24], 0
jmp 0x10022a2e
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x24], 0x283bc1b0
je 0x10022a40
mov dword [ebp - 0x28], 1
jmp 0x10022a44
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x28]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x54]
jl 0x10022a60
mov dword [ebp - 0x2c], 1
jmp 0x10022a64
and dword [ebp - 0x2c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x54]
cmp dword [ebp - 0x2c], eax
jne 0x10022a7c
mov dword [ebp - 0x30], 1
jmp 0x10022a80
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x30]
jne 0x10022a91
mov dword [ebp - 0x34], 1
jmp 0x10022a95
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0xc]
cmp eax, 1
jle 0x10022aa9
mov dword [ebp - 0x14], 1
jmp 0x10022aad
and dword [ebp - 0x14], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp + eax - 0x54], ecx
cmp dword [ebp - 0x14], 0
je 0x10022aef
mov dword [ebp - 8], 5
jmp 0x10022acf
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 8
jne 0x10022aed
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10022aeb
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x10022ac8
jmp 0x10022b0b
mov dword [ebp - 0x3c], 0xb467bb1a
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0x5d5ec7e0
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
jmp 0x10022b1c
push 0x1fa9
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov esp, ebp
pop ebp
ret

Function at 0x10022ee6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10022f09
push 0
push 0x1fab
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x10022f2c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10022f2c
push 0xa13
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esp, ebp
pop ebp
ret
Function at 0x1002d9ba
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002da15
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002d9f6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x1002da13
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.1001b2e9
mov dword [eax], 0x2d91509c
jmp 0x1002d9eb
jmp 0x1002da24
push 0
push 0x2d8
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov esp, ebp
pop ebp
ret

Function at 0x1002f044
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002f05d
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorOwner]
jmp 0x1002f065
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
pop ebp
ret
Function at 0x10036ce1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10036e22
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
push 0x14
push 0
push 0x282f
push 0x2205
call fcn.1002a4cb
pop ecx
pop ecx
call eax
push eax
push 0x282f
push 0x2413
call fcn.1002a4cb
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x3d11
call fcn.10036b4d
add esp, 0x10
push 0x25ea
push 0x6018
push 1
lea eax, [ebp - 4]
push eax
call fcn.10036ba1
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and dword [eax + 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and dword [eax + 0x10], 0
push 4
push 0x1000
mov eax, dword [ebp - 0xc]
push dword [eax + 0x50]
mov eax, dword [ebp - 8]
push dword [eax]
push 0x282f
push 0x2621
call fcn.1002a4cb
pop ecx
pop ecx
call eax
push 4
push 0x1000
mov eax, dword [ebp - 0xc]
push dword [eax + 0x54]
mov eax, dword [ebp - 8]
push dword [eax]
push 0x282f
push 0x2621
call fcn.1002a4cb
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0xc]
add eax, dword [ecx + 0x54]
push eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push dword [eax]
call fcn.1002a568
add esp, 0xc
push 1
lea eax, [ebp - 0x10]
push eax
push 0x149d
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10036c17
add esp, 0x14
push 0x73d2
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 1
call fcn.10036c7e
add esp, 0x10
jmp 0x10036e2f
push 0xa13
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esp, ebp
pop ebp
ret

Function at 0x10036f18
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10036f5c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x10036f5a
mov eax, dword [ebp - 0x14]
push dword [eax]
push 1
mov eax, dword [ebp - 8]
push dword [eax]
call fcn.10032a8b
add esp, 0xc
jmp 0x10036f77
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10036f77
push 0xf7e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov esp, ebp
pop ebp
ret
Function at 0x10037015
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
push 0x6fba
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.10036e33
add esp, 0x10
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1003704a
xor eax, eax
jmp 0x10037184
push 0x34d9
lea eax, [ebp - 0x10]
push eax
push 0x61d5
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
call fcn.10036e9f
add esp, 0x18
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1003707c
xor eax, eax
jmp 0x10037184
lea eax, [ebp - 0xc]
push eax
push 0x2359
lea eax, [ebp - 8]
push eax
push 1
push 0xe37
push 0x216e
call fcn.10036e9f
add esp, 0x18
cmp dword [ebp - 0xc], 0
jne 0x100370aa
xor eax, eax
jmp 0x10037184
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.10036ce1
add esp, 0x18
push 0x1e81
push 0x1a3
push dword [ebp - 4]
push 0
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.10031e4b
add esp, 0x18
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x1c]
push eax
push 1
lea eax, [ebp - 4]
push eax
call fcn.10036f18
add esp, 0xc
push dword [ebp - 4]
call fcn.10036800
pop ecx
test eax, eax
jne 0x10037112
xor eax, eax
jmp 0x10037184
lea eax, [ebp - 4]
push eax
push 0x3ed2
push 1
push 0x4c88
call fcn.10036f7b
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1003716c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x14], ecx
jne 0x10037149
xor eax, eax
jmp 0x10037184
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10037162
xor eax, eax
jmp 0x10037184
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1003717d
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
jmp 0x10037181
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x1004f26a
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004f298
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1004f296
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x1004f2e0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1004f2c6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x1004f2e0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.1001b2e9
or dword [eax], 0xffffffff
jmp 0x1004f2bb
mov esp, ebp
pop ebp
ret

Function at 0x1004f6ec
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004f71f
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1004f71d
push 0xa13
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x1004f73b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1004f73b
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esp, ebp
pop ebp
ret