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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x645972
sub esp, 0x30
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x74]
test edx, edx
je 0x645811
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
xor ebx, ebx
jmp 0x64580d
mov dword [esp + 0x1c], ebx
mov eax, dword [edx + ebx*4]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0063a450
mov eax, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
cmp ebx, ecx
jl 0x6457d3
mov byte [eax + 0x10], 1
lea ecx, [0x771de0]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.00438c00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x34]
mov dword [ebx + 0x54], edx
mov dword [ebx + 0x58], ecx
mov ecx, dword [0xbc7270]
test ecx, ecx
jne 0x645957
mov dword [ebx + 0x50], eax
lea eax, [0x7856a0]
mov dword [esp], eax
call fcn.00409dc0
mov eax, dword [esp + 4]
lea ecx, [0x64f2a0]
mov dword [eax], ecx
mov ecx, dword [0xbc7270]
test ecx, ecx
jne 0x64593e
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov dword [esp], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.00645290
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x645910
mov edx, dword [esp + 0x34]
mov edx, dword [edx + 0x60]
test edx, edx
je 0x645932
cmp edx, 1
jne 0x645924
test ecx, ecx
je 0x6458d0
mov ecx, dword [ecx + 4]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004bcde0
mov dword [esp], 2
call fcn.004b7980
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
add esp, 0x30
ret
cmp edx, 2
jne 0x645910
test ecx, ecx
je 0x645964
mov ecx, dword [ecx + 4]
jmp 0x645964
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
add esp, 0x30
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x34]
call fcn.0044cc20
mov eax, ecx
mov ecx, dword [esp + 0x34]
jmp 0x645889
lea edi, [ebx + 0x50]
call fcn.0044cc20
jmp 0x64585a
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00427510
ud2
call fcn.0044b4c0
jmp fcn.006457a0
Function at 0x661050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x661269
sub esp, 0x5c
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x84]
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x54]
jmp 0x661179
lea eax, [edi + edx*8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov ecx, dword [0xbb5640]
mov eax, dword [0xbb5644]
mov ebx, dword [0xbb5648]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x40], eax
call fcn.00661480
mov eax, dword [esp + 0x50]
inc eax
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x84]
mov dword [esp + 0x50], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov eax, dword [esp + 0x88]
lea ecx, [eax - 1]
mov edx, dword [esp + 0x50]
cmp edx, ecx
jge 0x661198
cmp edx, eax
jb 0x66109e
jmp 0x661262
cmp ecx, eax
jae 0x66125b
lea eax, [edi + eax*8 - 8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x40], eax
call fcn.00661480
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
add esp, 0x5c
ret
call fcn.00426630
ud2
call fcn.00426630
ud2
call fcn.0044b4c0
jmp fcn.00661050
Function at 0x661280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x661467
sub esp, 0x74
lea ecx, [0x8fc000]
mov edx, dword [esp + 0x78]
mov dword [edx + 0xc], ecx
mov ecx, dword [0xbc7270]
test ecx, ecx
jne 0x661453
mov eax, dword [esp + 0x88]
mov dword [edx + 0x10], eax
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x58], eax
mov ebx, dword [edx]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.006660e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
movzx ebx, byte [esp + 0x18]
test bl, bl
je 0x6613ba
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x40], eax
call fcn.00662110
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], edx
add esp, 0x74
ret
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea edx, [0x771de0]
mov dword [esp], edx
lea edx, [esp + 0x64]
mov dword [esp + 4], edx
call fcn.00407630
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea ecx, [0x7e6c69]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x1c
lea ecx, [esp + 0x6c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.0065d9a0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
jmp 0x6612f7
lea edi, [edx + 0x10]
mov eax, dword [esp + 0x88]
call fcn.0044cc20
jmp 0x6612be
call fcn.0044b4c0
jmp fcn.00661280
Function at 0x10012e8e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10026510]
jne 0x10012e98
repz ret
jmp fcn.1001697c

Function at 0x1001697f
Capabilities:
Terminate process

Disassembly:
sub esp, 0x328
mov dword [0x10027918], eax
mov dword [0x10027914], ecx
mov dword [0x10027910], edx
mov dword [0x1002790c], ebx
mov dword [0x10027908], esi
mov dword [0x10027904], edi
mov word [0x10027930], ss
mov word [0x10027924], cs
mov word [0x10027900], ds
mov word [0x100278fc], es
mov word [0x100278f8], fs
mov word [0x100278f4], gs
pushfd
pop dword [0x10027928]
mov eax, dword [ebp]
mov dword [0x1002791c], eax
mov eax, dword [ebp + 4]
mov dword [0x10027920], eax
lea eax, [ebp + 8]
mov dword [0x1002792c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x10027868], 0x10001
mov eax, dword [0x10027920]
mov dword [0x1002781c], eax
mov dword [0x10027810], 0xc0000409
mov dword [0x10027814], 1
mov eax, dword [0x10026510]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10026514]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x10027860], eax
push 1
call fcn.1001a81f
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x10022eac
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x10027860], 0
jne 0x10016a6c
push 1
call fcn.1001a81f
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x1001b64f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1001635d
xor ebx, ebx
cmp dword [0x100281c4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x1001b724
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x1001b68f
xor eax, eax
jmp 0x1001b7e8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1001b688
push eax
call fcn.100162fa
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100281c4], eax
call esi
push eax
call fcn.100162fa
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100281c8], eax
call esi
push eax
call fcn.100162fa
mov dword [0x100281cc], eax
lea eax, [ebp - 8]
push eax
call fcn.10017c8c
test eax, eax
pop ecx
pop ecx
je 0x1001b6f2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10018f19
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x1001b724
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.100162fa
cmp eax, ebx
pop ecx
mov dword [0x100281d4], eax
je 0x1001b724
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100162fa
pop ecx
mov dword [0x100281d0], eax
mov eax, dword [0x100281d0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x1001b79d
cmp dword [0x100281d4], esi
je 0x1001b79d
push eax
call fcn.10016366
pop ecx
call eax
cmp eax, ebx
je 0x1001b76a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x100281d4]
call fcn.10016366
pop ecx
call eax
test eax, eax
je 0x1001b76a
test byte [ebp - 0x18], 1
jne 0x1001b79d
lea eax, [ebp - 0xc]
push eax
call fcn.10017cc3
test eax, eax
pop ecx
je 0x1001b785
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10018f19
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x1001b794
or dword [ebp + 0x10], 0x200000
jmp 0x1001b7ce
or dword [ebp + 0x10], 0x40000
jmp 0x1001b7ce
mov eax, dword [0x100281c8]
cmp eax, esi
je 0x1001b7ce
push eax
call fcn.10016366
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1001b7ce
mov eax, dword [0x100281cc]
cmp eax, esi
je 0x1001b7ce
push dword [ebp - 4]
push eax
call fcn.10016366
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x100281c4]
call fcn.10016366
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4027ed
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x402828
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40280f
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x402820
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x40282a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x402805
xor eax, eax
pop edi
pop esi
ret

Function at 0x402a80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x402a9b
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.004027ad
clc
ficomp dword [esi + 0x5c]
lea eax, [ebp - 0x40]
push eax
call fcn.004027bd
push eax
push esi
push dword [ebp + 8]
call fcn.00402772
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.004027ad
push es
pushfd
fiadd word [ecx - 0x7717ba73]
pop ebp
call 0xe99db36e
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.004027bd
push eax
push esi
push dword [ebp + 8]
call fcn.00402772
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
Function at 0x402e20
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x402e61
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x402e5c
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x402e46
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x402e4e
cmp edx, ebx
jne 0x402f9c
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x402e1d
add eax, dword [eax + 4]
jmp 0x402e0a
mov dword [ebp + 0xc], ebx
jmp 0x402e6c
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x402e84
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x402ea2
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x402f00
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x402ee7
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x402ef0
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x402efa
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x402edc
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x402e66
mov dword [ebp + 8], esi
xor edi, edi
Function at 0x10001184
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0xc], 1
jne 0x10001252
mov dword [ebp - 4], esp
push dword [ebp + 8]
xor eax, eax
call dword [0x101780f7]
nop
nop
cmp dword [ebp - 4], esp
je 0x100011c3
push 0x37
push 0x4042e59
push 6
call fcn.100eb0bb
add esp, 0xc
mov dword [ebp - 4], esp
mov eax, 0
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x1004b8eb
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 4], esp
je 0x10001211
push 0x63
push 0x4042e59
push 6
call fcn.100eb0bb
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10001240
push 0x63
push 0x4042e59
push 6
call fcn.100eb0bb
add esp, 0xc
push dword [ebp + 8]
call fcn.100013c8
jmp 0x1000126b
cmp dword [ebp + 0xc], 0
jne 0x10001261
call fcn.10002cde
mov eax, 1
jmp 0x1000126b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10006a23
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x10006a6b
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100eb0b5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10006a7c
push ebx
call fcn.100eb0a9
add esp, 4
pop eax
mov dword [ebp - 4], eax
push htons
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10006a93
mov eax, 0x1016e301
push eax
push 1
mov ebx, 0x194
call fcn.100ec920
add esp, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.100040ee
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 1
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.10006bfc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push 0x40
push 0x1000
push 0x64
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10006b10
push 0x14e
push 0x4047b9a
push 6
call fcn.100eb0bb
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0x14]
push 0xa0000101
push 0
push 0x1016eefe
push 3
mov ebx, 0x914
call fcn.100ecf50
add esp, 0x28
push dword [ebp - 8]
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x14]
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10006b8f
push 0xa61
push 0x4047b9a
push 6
call fcn.100eb0bb
add esp, 0xc
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10006bc5
push 0xa8d
push 0x4047b9a
push 6
call fcn.100eb0bb
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x10006bdf
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100eb0b5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10006be4
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10006bf5
push ebx
call fcn.100eb0a9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10009051
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [0x10178123]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10009094
push 0x19
push 0x4047b74
push 6
call fcn.100eb0bb
add esp, 0xc
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.100eba90
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100090ca
push ebx
call fcn.100eb0a9
add esp, 4
pop eax
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x1016e311]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], esp
fld qword [ebp - 0x18]
call fcn.10001a75
push eax
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x10009118
push 0x88
push 0x4047b74
push 6
call fcn.100eb0bb
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x10009134
push eax
mov ebx, eax
call fcn.10001271
inc eax
push eax
call fcn.100eb0b5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10009139
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000914a
push ebx
call fcn.100eb0a9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x1000a8ec
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 0x40
call fcn.100eb0b5
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0x40
mov dword [ebp - 8], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
nop
nop
cmp dword [ebp - 8], esp
je 0x1000a94d
push 0x2c
push 0x4047b39
push 6
call fcn.100eb0bb
add esp, 0xc
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
fild qword [ebx]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fdiv qword [0x1016f164]
fstp qword [ebp - 0x18]
push 0
push 0
push 0
push 0x80000601
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 2
mov ebx, 0x68
call fcn.100ed5e0
add esp, 0x1c
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x198
call fcn.100ebed0
add esp, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.10007cb4
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1000a9c5
push ebx
call fcn.100eb0a9
add esp, 4
mov eax, dword [ebp - 0x28]
jmp 0x1000a9cd
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.100eb0a9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret