joyce8/EMBER2024-capa huggingface dataset:
Function at 0x473420
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x473453
push esi
call fcn.00476530
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x47344c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4734d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4734c2
mov eax, dword [esi + 8]
test eax, eax
je 0x473477
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4734be
cmp eax, 2
je 0x4734c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x47346a
cmp eax, 3
je 0x47349d
cmp eax, 1
jne 0x47346a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x47346a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x47346a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00473500
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4734e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00473500
add esp, 4
pop esi
ret

Function at 0x481f40
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x481fe3
test eax, eax
jbe 0x481fe3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x481fe3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x481f8e
xor esi, esi
jmp 0x481f94
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x481fbf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004864d0
add esi, eax
push esi
mov ebx, esi
call fcn.004864d0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x481fa0
pop ebp
test edi, edi
pop edi
jne 0x481fe3
test ebx, ebx
je 0x481fe3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0049de00
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x482125
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x48223d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48223d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004af3c6
mov esi, eax
test esi, esi
je 0x48223d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x48223d
mov ecx, esi
call fcn.00482090
cmp edi, eax
jge 0x48223d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4821c3
mov dword [esp + 0x34], 1
jmp 0x48221e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x48223d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004808b0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x4afd69
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4afda1
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004addf6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004addce
jmp 0x4afdad
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4b145e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4b14a0
call fcn.004b7188
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b14a0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b1497
xor eax, eax
jmp 0x4b14a8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b14ae
pop edi
pop esi
pop ebx
ret 4
Function at 0x4b76b8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4b76e6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b7704
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b761e
jmp 0x4b7704
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b7704
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b761e
test edi, edi
mov eax, edi
jne 0x4b76ee
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1002057
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
lea eax, [ebp - 0x314]
push 0x1001410
push eax
call sub.ntdll.dll_wcscpy
push dword [ebp + 8]
lea eax, [ebp - 0x314]
push eax
call sub.ntdll.dll_wcscat
lea eax, [ebp - 0x314]
push 0x10013e8
push eax
call sub.ntdll.dll_wcscat
add esp, 0x18
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x314]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x100213b
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 8]
push eax
push 0
mov edi, 0x10013cc
push edi
push dword [ebp - 4]
mov dword [ebp - 0xc], 0x100
lea ebx, [ebp - 0x10c]
call esi
test eax, eax
mov dword [ebp + 8], eax
je 0x100213f
cmp eax, 0x6f
jne 0x1002115
push dword [ebp - 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x100211b
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push 0
push edi
push dword [ebp - 4]
call esi
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
je 0x100213f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10c]
cmp ebx, eax
je 0x1002135
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0x20
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 2
jne 0x1002163
push 0x104
lea eax, [ebp - 0x314]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x1002178
cmp dword [ebp - 8], 1
jne 0x1002124
lea eax, [ebp - 0x314]
push ebx
push eax
call sub.ntdll.dll_wcscpy
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
cmp ebx, eax
je 0x1002189
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x314]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1002135
push 0x10013b4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10021c6
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call eax
mov dword [ebp + 8], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1002135
Function at 0x1002405
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x10014f0
call fcn.01003160
mov edi, 0x94
mov eax, edi
call fcn.010031b0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x1006278], ecx
mov eax, dword [esi + 4]
mov dword [0x1006284], eax
mov edx, dword [esi + 8]
mov dword [0x1006288], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x100627c], esi
cmp ecx, 2
je 0x1002465
or esi, 0x8000
mov dword [0x100627c], esi
shl eax, 8
add eax, edx
mov dword [0x1006280], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x10024a0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10024a0
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x10024b8
cmp eax, 0x20b
je 0x10024a5
mov dword [ebp - 0x1c], esi
jmp 0x10024cc
cmp dword [ecx + 0x84], 0xe
jbe 0x10024a0
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x10024c6
cmp dword [ecx + 0x74], 0xe
jbe 0x10024a0
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.0100310d
pop ecx
test eax, eax
jne 0x10024f8
cmp dword [0x1006268], 1
jne 0x10024e5
call fcn.01002921
push 0x1c
call fcn.01002758
push 0xff
call fcn.010025d9
pop ecx
pop ecx
mov dword [ebp - 4], esi
call fcn.01002f48
test eax, eax
jge 0x100250c
push 0x1b
call fcn.010023e0
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x1006794], eax
call fcn.01002e22
mov dword [0x1006260], eax
call fcn.01002d80
test eax, eax
jge 0x1002532
push 8
call fcn.010023e0
pop ecx
call fcn.01002b34
test eax, eax
jge 0x1002543
push 9
call fcn.010023e0
pop ecx
call fcn.01002609
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x1002556
push eax
call fcn.010023e0
pop ecx
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.01002acb
mov dword [ebp - 0x68], eax
test byte [ebp - 0x38], 1
je 0x1002577
movzx eax, word [ebp - 0x34]
jmp 0x100257a
push 0xa
pop eax
push eax
push dword [ebp - 0x68]
push esi
push esi
call edi
push eax
call fcn.010021d2
mov edi, eax
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x1c], esi
jne 0x1002598
push edi
call fcn.01002718
call fcn.0100273a
jmp 0x10025ca
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.01003199
ret
Function at 0x1002758
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
xor eax, eax
cmp edx, dword [eax*8 + 0x1006008]
je 0x1002778
inc eax
cmp eax, 0x12
jb 0x1002769
shl eax, 3
cmp edx, dword [eax + 0x1006008]
mov dword [ebp + 8], eax
jne 0x1002916
mov ecx, dword [0x1006268]
cmp ecx, 1
je 0x10028eb
test ecx, ecx
jne 0x10027aa
cmp dword [0x1006004], 1
je 0x10028eb
cmp edx, 0xfc
je 0x1002916
and byte [ebp - 8], 0
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10027e5
push 5
pop ecx
mov esi, 0x1001864
lea edi, [ebp - 0x10c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x10c]
lea ebx, [ebp - 0x10c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10027f4
sub eax, edx
inc eax
cmp eax, 0x3c
jbe 0x100282c
lea eax, [ebp - 0x10c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100280c
sub eax, edx
push 3
lea ebx, [ebp + eax - 0x147]
push 0x1001860
push ebx
call fcn.010032f0
add esp, 0xc
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002831
sub eax, edx
mov ecx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x100600c]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1002848
sub eax, esi
lea eax, [eax + ecx + 0x1c]
add eax, 3
and eax, 0xfffffffc
call fcn.010031b0
mov edx, esp
push 6
pop ecx
mov esi, 0x1001844
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov eax, ebx
movsw word es:[edi], word [esi]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002874
mov edi, edx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1002880
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1002899
mov eax, dword [ebp + 8]
mov esi, 0x1001840
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 0x100600c]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10028b4
mov edi, edx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10028c0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x12010
mov ecx, eax
and ecx, 3
push 0x1001818
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.010031ed
add esp, 0xc
jmp 0x1002916
mov ecx, dword [eax + 0x100600c]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10028f6
push 0
lea edx, [ebp - 4]
push edx
sub eax, esi
push eax
push ecx
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x118]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10031ed
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x10063d4], ebx
push esi
push edi
jne 0x100326d
push 0x10018e0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10032a8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10018d4
push edi
call esi
test eax, eax
mov dword [0x10063d4], eax
je 0x10032a8
push 0x10018c4
push edi
call esi
push 0x10018b0
push edi
mov dword [0x10063d8], eax
call esi
cmp dword [0x1006278], 2
mov dword [0x10063dc], eax
jne 0x100326d
push 0x1001894
push edi
call esi
test eax, eax
mov dword [0x10063e4], eax
je 0x100326d
push 0x100187c
push edi
call esi
mov dword [0x10063e0], eax
mov eax, dword [0x10063e0]
test eax, eax
je 0x10032b2
call eax
test eax, eax
je 0x1003299
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x10063e4]
test eax, eax
je 0x1003299
test byte [ebp - 8], 1
jne 0x10032b2
cmp dword [0x1006284], 4
jb 0x10032ac
or byte [ebp + 0x12], 0x20
jmp 0x10032d1
xor eax, eax
jmp 0x10032e1
or byte [ebp + 0x12], 4
jmp 0x10032d1
mov eax, dword [0x10063d8]
test eax, eax
je 0x10032d1
call eax
mov ebx, eax
test ebx, ebx
je 0x10032d1
mov eax, dword [0x10063dc]
test eax, eax
je 0x10032d1
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x10063d4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1004db4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.010031b0
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1004e49
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x1006278]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x1004e49
cmp eax, 1
je 0x1004e61
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1004e49
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x1004e1e
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x1004e45
xor eax, eax
inc eax
jmp 0x1004e7d
cmp esi, ebx
jae 0x1004e4d
xor eax, eax
jmp 0x1004e7d
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x1006278]
jmp 0x1004e63
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4c226c
Capabilities:
Encode data using xor

Disassembly:
lea ebp, [ebp + 0xe8d9]
pushal
lea ebp, [ebx + ebp]
mov bp, word [esp + 0xa]
push word [esp + 0x14]
xchg dword [esp + 0xc], ebp
jmp 0x4c22c9
lea ebp, [0xffffc79b]
lea ebp, [esi + edi]
mov bp, word [esp]
jmp 0x4c2235
lea esp, [esp + 3]
mov dword [esp + 5], ebp
jmp 0x4c2255
lea ebp, [eax + edx]
mov dl, byte [esp]
lea ebp, [ecx + ebx]
bswap ebp
mov edx, dword [esp]
bswap ebp
jmp 0x4c22aa
mov dh, byte [esp]
mov ebp, ebx
mov ebp, ecx
mov dword [esp + 1], ecx
xchg dl, ch
bswap ebp
jmp 0x4c2276
lea ebp, [esp + esi]
mov cx, word [esp]
not ecx
mov dh, 0x76
mov ebp, dword [esp]
mov bp, word [esp]
jmp 0x4c232a
pop ebp
lea esp, [esp + 2]
mov dword [esp + 0x1c], edx
mov ebp, 0x4a5
mov bp, 0x3498
mov ebp, dword [esp]
jmp 0x4c2299
mov dh, byte [esp]
mov ecx, dword [esp + 1]
lea ebp, [ecx*4]
mov bp, 0x8ceb
mov bp, word [esp]
mov ebp, dword [esp]
jmp 0x4c22fe

Function at 0x5c6eab
Capabilities:
Check for peb beingdebugged flag
Parse pe header

Disassembly:
call fcn.005c605c
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x5c6e94
lea esp, [esp + 2]
mov dword [esp + 0xa0], edi
lea esp, [esp + 0xa0]
mov eax, dword fs:[0x30]
jmp 0x5c6dd8
push eax
jmp 0x5c6057
mov eax, dword [eax + 8]
jmp 0x5c6e72
push ecx
mov word [esp + 0x11], ax
mov dword [esp + 0x19], ebx
jmp 0x5c6df4
Function at 0x42b130
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49cadb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00490ff0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42b1b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048e71a
mov eax, dword [eax]
push 0x5ee224
push eax
call fcn.004813d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049127b
test bl, bl
je 0x42b1b2
push 0x5ee224
lea ecx, [esp + 0xc]
call fcn.0049160b
push 0x5f1db0
lea ecx, [esp + 0xc]
call fcn.0049160b
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42b1ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049127b
jmp 0x42b2b9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x42b272
lea edx, [esp + 0x7c]
push 0x5f1dac
push edx
call fcn.004813d4
add esp, 8
test eax, eax
je 0x42b272
lea eax, [esp + 0x7c]
push 0x5f1da8
push eax
call fcn.004813d4
add esp, 8
test eax, eax
je 0x42b272
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42b202
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0049127b
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x42bab0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x42bb12
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x42bb20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49cb5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5fdb90]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x42bc58
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42bb86
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049127b
xor eax, eax
jmp 0x42bccf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004913b8
push esi
lea ecx, [esp + 0xc]
call fcn.00491647
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42bcad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0042bab0
test eax, eax
jne 0x42bcad
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.0042bab0
test eax, eax
jne 0x42bcad
lea eax, [esp + 0x14]
push 0x5f1dc4
push eax
call fcn.004824e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42bc8c
lea ecx, [esp + 0x14]
push 0x5f1dc0
push ecx
call fcn.00482460
mov esi, eax
add esp, 8
test esi, esi
jne 0x42bc8c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42bc8f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00491368
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42bb9e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049127b
xor eax, eax
jmp 0x42bccf
mov byte [esi], 0
push 0x5f1dbc
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0049127b
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4

Function at 0x436916
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3ac]
test eax, eax
jne 0x43693e
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3ac], eax
pop esi
add esp, 0x190
ret