joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42cb70
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x74
push esi
push edi
mov esi, ecx
call fcn.0042c960
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
push 0
mov dword [esi + 0x16c], eax
mov dword [esi + 0x170], ecx
mov edx, dword [0x4c4d8c]
push edx
mov edx, dword [0x4c3598]
push 0
push 0
push ecx
mov ecx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x9c]
push eax
push ecx
push 0x80000000
push str.Psychlops_Window
push edx
push 0x40010
call dword [sym.imp.USER32.dll_CreateWindowExA]
lea edi, [esi + 0xc]
mov dword [edi], eax
test eax, eax
jne 0x42cc01
push str.Failed_to_regist_main_window.
push str.API_ERROR
push 0x4bd664
lea ecx, [esp + 0x30]
call fcn.00403d80
push 0x4b5284
lea eax, [esp + 0x28]
push eax
call fcn.0046d8b8
push ebx
push eax
call dword [sym.imp.USER32.dll_GetDC]
push 0xc
lea ebx, [esi + 8]
push eax
mov dword [ebx], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
lea ecx, [esi + 0x10]
push ecx
push ebx
push edi
mov ecx, esi
call fcn.0042bb20
push 1
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
mov byte [esi + 0x15c], 1
mov dword [esi + 0x7a4], 0
call dword [sym.imp.USER32.dll_PeekMessageA]
mov eax, dword [0x4c3580]
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call dword [sym.imp.USER32.dll_ShowCursor]
pop ebx
pop edi
pop esi
add esp, 0x74
ret 0x10

Function at 0x435c40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x495fb0
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4c1cfc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
fld qword [esp + 0x50]
sub esp, 0x38
mov eax, esp
fstp qword [esp + 0x30]
fld qword [esp + 0x80]
mov dword [eax], vtable.Psychlops::Interval.0
mov ecx, dword [esp + 0x60]
fstp qword [esp + 0x28]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x64]
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x18], ecx
mov edx, dword [esp + 0x74]
mov dword [eax + 0x1c], edx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0x20], ecx
mov edx, dword [esp + 0x7c]
xor ebx, ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x88], esp
mov dword [eax + 0x24], edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x9c], esp
push 1
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x49d740
mov byte [esp + 0x70], 1
mov byte [ecx + 4], bl
call fcn.00401ef0
mov eax, dword [esp + 0x70]
push eax
mov ecx, esi
mov byte [esp + 0x6c], bl
call fcn.00435a40
lea ecx, [esp + 0x20]
mov esi, eax
mov dword [esp + 0x14], 0xffffffff
call fcn.00440a60
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 0x3c
Function at 0x43a740
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x49657c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4c1cfc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.Psychlops::MatrixExpression.0
lea ecx, [esi + 0x58]
mov dword [esp + 0x18], 1
call fcn.00440a60
xor ebx, ebx
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], bl
call fcn.00440a60
mov dword [esi], vtable.Psychlops::Matrix.0
cmp byte [esi + 0x14], bl
je 0x43a7b3
mov eax, dword [esi + 0x10]
push eax
call fcn.0046ed1d
add esp, 4
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov byte [esi + 0x14], bl
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x441d50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
push edi
push eax
push 4
lea ecx, [ebp - 8]
push 1
push ecx
mov dword [ebp - 4], esi
call fcn.0047296e
add esp, 0x10
cmp eax, 4
je 0x441dbf
cmp byte [esi + 0x1c], 0
je 0x441d8b
mov edx, dword [esi + 0x18]
push edx
call fcn.0047156e
add esp, 4
push 0x49e444
push 0x49e464
push esi
mov byte [esi + 0x1c], 0
call fcn.0046e65a
add esp, 4
push eax
lea ecx, [ebp - 0x110]
call fcn.00403d80
push 0x4b5284
lea eax, [ebp - 0x110]
push eax
call fcn.0046d8b8
lea ecx, [ebp - 8]
push 4
push ecx
call fcn.00451cc0
add esp, 8
test eax, eax
jne 0x441e10
cmp byte [esi + 0x1c], al
je 0x441de2
mov edx, dword [esi + 0x18]
push edx
call fcn.0047156e
add esp, 4
push 0x49e478
push 0x49e498
push esi
mov byte [esi + 0x1c], 0
call fcn.0046e65a
add esp, 4
push eax
lea ecx, [ebp - 0x60]
call fcn.00403d80
push 0x4b5284
lea eax, [ebp - 0x60]
push eax
call fcn.0046d8b8
push 0
push 0
push 0
push 0x49e4ac
call fcn.004518d0
add esp, 0x10
lea edi, [esi + 0x20]
mov dword [edi], eax
test eax, eax
jne 0x441e71
cmp byte [esi + 0x1c], al
je 0x441e3d
mov ecx, dword [esi + 0x18]
push ecx
call fcn.0047156e
add esp, 4
push 0x49e4b4
push 0x49e4d4
push esi
mov byte [esi + 0x1c], 0
call fcn.0046e65a
add esp, 4
push eax
lea ecx, [ebp - 0x1c0]
call fcn.00403d80
push 0x4b5284
lea edx, [ebp - 0x1c0]
push edx
call fcn.0046d8b8
push eax
call fcn.004523e0
add esp, 4
mov dword [esi + 0x24], eax
test eax, eax
jne 0x441ec3
push eax
push eax
push edi
call fcn.004519f0
add esp, 0xc
mov ecx, esi
call fcn.00441d30
push 0x49e4e8
push 0x49e508
push esi
call fcn.0046e65a
add esp, 4
push eax
lea ecx, [ebp - 0xb8]
call fcn.00403d80
push 0x4b5284
lea eax, [ebp - 0xb8]
push eax
call fcn.0046d8b8
mov ecx, dword [edi]
push ecx
call fcn.004523e0
add esp, 4
mov dword [esi + 0x28], eax
push 0
test eax, eax
jne 0x441f18
push eax
push edi
call fcn.004519f0
add esp, 0xc
mov ecx, esi
call fcn.00441d30
push 0x49e51c
push 0x49e53c
push esi
call fcn.0046e65a
add esp, 4
push eax
lea ecx, [ebp - 0x168]
call fcn.00403d80
push 0x4b5284
lea edx, [ebp - 0x168]
push edx
call fcn.0046d8b8
mov eax, dword [edi]
push eax
call fcn.0047298c
mov esi, dword [ebp - 4]
add esp, 8
test eax, eax
je 0x441f75
lea ecx, [esi + 0x28]
push ecx
lea edx, [esi + 0x24]
push edx
lea eax, [esi + 0x20]
push eax
call fcn.004519f0
add esp, 0xc
mov ecx, esi
call fcn.00441d30
push str.The_requested_file_is_not_PNG.
push 0x49e570
push esi
call fcn.0046e65a
add esp, 4
push eax
lea ecx, [ebp - 0x218]
call fcn.00403d80
push 0x4b5284
lea ecx, [ebp - 0x218]
push ecx
call fcn.0046d8b8
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x20]
push edx
push eax
call fcn.00452260
mov ecx, dword [esi + 0x20]
push 4
push ecx
call fcn.00451b70
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
push edx
push eax
call fcn.004503b0
add esp, 0x18
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44a770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x497c27
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4c1cfc]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 8]
mov esi, dword [ebp + 0x20]
mov eax, dword [esi]
lea ecx, [edx + ebx + 0x18]
mov edx, dword [eax + 0x24]
push ecx
push ebx
mov ecx, esi
call edx
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 8]
mov eax, dword [esi]
lea ecx, [edx + ebx + 0x38]
mov edx, dword [eax + 0x20]
push ecx
push ebx
mov ecx, esi
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
mov ecx, ebx
call edx
mov esi, dword [ebx + 0xf8]
mov eax, dword [ebx + 0xfc]
add eax, esi
cmp esi, eax
jbe 0x44a7eb
call fcn.0046da61
mov edi, dword [ebx + 0xe0]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], 0
mov eax, dword [ebx + 0xf8]
mov esi, dword [ebx + 0xfc]
add esi, eax
cmp eax, esi
jbe 0x44a818
call fcn.0046da61
mov eax, dword [ebx + 0xe0]
test edi, edi
je 0x44a826
cmp edi, eax
je 0x44a82b
call fcn.0046da61
cmp dword [esp + 0x24], esi
je 0x44a94d
lea ecx, [esp + 0x20]
call fcn.0044cdb0
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.0044cdb0
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.0044cdb0
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
call fcn.0044cdb0
mov ecx, dword [esi + 8]
sub ecx, dword [edi + 4]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [edx + 4]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
call fcn.00401900
mov dword [esp + 0x1c], eax
mov ecx, ebx
mov dword [esp + 0x80], 0
call fcn.0041f180
fsub qword [0x49ec08]
mov eax, dword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
push 0
fld qword [ebp + 0x10]
sub esp, 0x20
fadd qword [0x49a810]
mov edi, esp
sub esp, 0x10
lea esi, [ebx + 0x108]
fiadd dword [esp + 0x54]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
fstp qword [esp + 8]
fld qword [ebp + 8]
fadd qword [0x49a7f0]
fstp qword [esp]
push eax
call fcn.0040b290
add esp, 0x40
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x80], 0xffffffff
jb 0x44a8fe
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0046d8ad
add esp, 4
mov eax, dword [esp + 0x20]
add dword [esp + 0x18], 0xa
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
test eax, eax
jne 0x44a947
call fcn.0046da61
xor eax, eax
xor ecx, ecx
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x18]
cmp dword [esp + 0x24], edx
jb 0x44a93a
call fcn.0046da61
inc dword [esp + 0x24]
mov edi, dword [esp + 0x20]
jmp 0x44a801
mov eax, dword [eax]
mov ecx, eax
jmp 0x44a929
mov eax, ebx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x45ce30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x10
push ebx
mov bl, byte [edx + 8]
cmp bl, 3
je 0x45cfda
mov ecx, dword [esp + 0x20]
push ebp
mov ebp, dword [edx]
push esi
xor esi, esi
push edi
mov dword [esp + 0x24], esi
test bl, 2
je 0x45ce88
movzx eax, byte [edx + 9]
movzx esi, byte [ecx]
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 1]
mov dword [esp + 0x10], edi
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 2]
sub eax, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov edi, 3
jmp 0x45ce9b
movzx eax, byte [ecx + 3]
movzx edi, byte [edx + 9]
sub edi, eax
mov dword [esp + 0x10], edi
mov edi, 1
test bl, 4
je 0x45ceaf
movzx ecx, byte [ecx + 4]
movzx eax, byte [edx + 9]
sub eax, ecx
mov dword [esp + edi*4 + 0x10], eax
inc edi
xor ecx, ecx
xor eax, eax
cmp edi, ecx
jle case.0x45cef6.3
jmp 0x45cec0
cmp dword [esp + eax*4 + 0x10], ecx
jg 0x45cecc
mov dword [esp + eax*4 + 0x10], ecx
jmp 0x45ced1
mov esi, 1
inc eax
cmp eax, edi
jl 0x45cec0
cmp si, cx
je case.0x45cef6.3
movzx eax, byte [edx + 9]
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x45cef6.3
movzx eax, byte [eax + 0x45cff4]
jmp dword [eax*4 + 0x45cfe0]
mov edx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp edx, ecx
jbe case.0x45cef6.3
lea esp, [esp]
mov cl, byte [eax]
shr cl, 1
and cl, 0x55
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x45cf10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edi, dword [edx + 4]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov ecx, edx
mov eax, 0xf0
sar eax, cl
mov ebx, 0xf
sar ebx, cl
and al, 0xf0
or al, bl
test edi, edi
jbe case.0x45cef6.3
mov edi, edi
mov bl, byte [esi]
mov cl, dl
shr bl, cl
inc esi
and bl, al
sub edi, 1
mov byte [esi - 1], bl
jne 0x45cf50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x45cef6.3
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [esp + edx*4 + 0x10]
shr byte [esi - 1], cl
cmp ebx, ebp
jb 0x45cf76
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x45cef6.3
mov edi, edi
xor edx, edx
mov eax, ebx
div edi
movzx ax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc esi
inc ebx
inc esi
movzx ecx, word [esp + edx*4 + 0x10]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, ebp
jb 0x45cfa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x46bfee
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c1cfc]
jne 0x46bff8
repz ret
jmp fcn.004765dc

Function at 0x47c80e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00475fca
and dword [ebp - 4], 0
cmp dword [0x4c7248], 0
mov ebx, eax
jne 0x47c8bf
push 0x4aa098
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x47c970
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4aa08c
push edi
call esi
test eax, eax
je 0x47c970
push eax
call fcn.00475f58
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4c7248], eax
call esi
push eax
call fcn.00475f58
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4c724c], eax
call esi
push eax
call fcn.00475f58
mov dword [esp], str.GetUserObjectInformationW
push edi
mov dword [0x4c7250], eax
call esi
push eax
call fcn.00475f58
pop ecx
mov dword [0x4c7258], eax
test eax, eax
je 0x47c8bf
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00475f58
pop ecx
mov dword [0x4c7254], eax
mov eax, dword [0x4c7254]
cmp eax, ebx
je 0x47c917
cmp dword [0x4c7258], ebx
je 0x47c917
push eax
call fcn.00475fd3
push dword [0x4c7258]
mov esi, eax
call fcn.00475fd3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x47c917
test edi, edi
je 0x47c917
call esi
test eax, eax
je 0x47c90e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x47c90e
test byte [ebp - 0xc], 1
jne 0x47c917
or dword [ebp + 0x10], 0x200000
jmp 0x47c950
mov eax, dword [0x4c724c]
cmp eax, ebx
je 0x47c950
push eax
call fcn.00475fd3
pop ecx
test eax, eax
je 0x47c950
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x47c950
mov eax, dword [0x4c7250]
cmp eax, ebx
je 0x47c950
push eax
call fcn.00475fd3
pop ecx
test eax, eax
je 0x47c950
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4c7248]
call fcn.00475fd3
pop ecx
test eax, eax
je 0x47c970
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x47c972
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48a514
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00475fca
and dword [ebp - 4], 0
cmp dword [0x4c73b4], 0
mov ebx, eax
jne 0x48a5c5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x48a676
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4afd0c
push edi
call esi
test eax, eax
je 0x48a676
push eax
call fcn.00475f58
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4c73b4], eax
call esi
push eax
call fcn.00475f58
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4c73b8], eax
call esi
push eax
call fcn.00475f58
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4c73bc], eax
call esi
push eax
call fcn.00475f58
pop ecx
mov dword [0x4c73c4], eax
test eax, eax
je 0x48a5c5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00475f58
pop ecx
mov dword [0x4c73c0], eax
mov eax, dword [0x4c73c0]
cmp eax, ebx
je 0x48a61d
cmp dword [0x4c73c4], ebx
je 0x48a61d
push eax
call fcn.00475fd3
push dword [0x4c73c4]
mov esi, eax
call fcn.00475fd3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x48a61d
test edi, edi
je 0x48a61d
call esi
test eax, eax
je 0x48a614
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x48a614
test byte [ebp - 0xc], 1
jne 0x48a61d
or dword [ebp + 0x10], 0x200000
jmp 0x48a656
mov eax, dword [0x4c73b8]
cmp eax, ebx
je 0x48a656
push eax
call fcn.00475fd3
pop ecx
test eax, eax
je 0x48a656
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x48a656
mov eax, dword [0x4c73bc]
cmp eax, ebx
je 0x48a656
push eax
call fcn.00475fd3
pop ecx
test eax, eax
je 0x48a656
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4c73b4]
call fcn.00475fd3
pop ecx
test eax, eax
je 0x48a676
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x48a678
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401674
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebp, ebp
push dword [esi + 0x1420]
call fcn.00401c63
pop ecx
lea edi, [esi + 0x1418]
push ebp
mov ebx, eax
push dword [esi + 0x141c]
push dword [edi]
call dword [0x406020]
push dword [esi + 0x1420]
push ebx
push dword [edi]
call dword [0x40601c]
cmp eax, dword [esi + 0x1420]
jne 0x401705
lea eax, [esi + 0x1210]
push ebp
push eax
call dword [0x406048]
cmp eax, 0xffffffff
mov dword [esi + 0x1424], eax
jne 0x4016e2
lea eax, [esi + 4]
push 0x4071ac
push eax
call dword [0x406004]
push 0x37
jmp 0x401716
xor eax, eax
xor byte [eax + ebx], 7
inc eax
cmp eax, 0x7d0
jl 0x4016e4
push dword [esi + 0x1420]
push ebx
push dword [esi + 0x1424]
call dword [0x406044]
jmp 0x401717
lea eax, [esi + 4]
push 0x407190
push eax
call dword [0x406004]
push 0x36
pop ebp
push ebx
call fcn.00401b7a
mov esi, dword [esi + 0x1424]
pop ecx
cmp esi, 0xffffffff
je 0x401730
push esi
call dword [0x40600c]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret
Function at 0x40150b
Capabilities:
Enumerate processes

Disassembly:
push ebx
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x104
push 0
push dword [esp + 0x18]
mov ebx, eax
call sub.MSVCRT.dll_memset
push 0x128
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x10
mov esi, eax
push esi
push ebx
mov dword [esi], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x401569
mov eax, dword [esp + 0xc]
cmp eax, dword [esi + 8]
je 0x40155a
push esi
push ebx
call sub.KERNEL32.dll_Process32Next
jmp 0x401544
lea eax, [esi + 0x24]
push eax
push dword [esp + 0x14]
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
ret

Function at 0x40157a
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
push dword [esp + 0xc]
call fcn.00402803
mov esi, eax
pop ecx
test si, si
jne 0x4015a3
push dword [esp + 0xc]
call dword [sym.imp.MSVCRT.dll_atoi]
mov esi, eax
pop ecx
test si, si
je 0x40162f
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, 0x100
je 0x4015c0
push 0x10
call edi
xor ecx, ecx
test ax, ax
setge cl
mov eax, ecx
jmp 0x4015c2
xor eax, eax
test eax, eax
jne 0x40162f
test si, 0x200
je 0x4015dd
push 0x11
call edi
xor ecx, ecx
test ax, ax
setge cl
mov eax, ecx
jmp 0x4015df
xor eax, eax
test eax, eax
jne 0x40162f
test si, 0x400
je 0x4015fa
push 0x12
call edi
xor ecx, ecx
test ax, ax
setge cl
mov eax, ecx
jmp 0x4015fc
xor eax, eax
test eax, eax
jne 0x40162f
test si, 0x800
je 0x401617
push 0x5b
call edi
xor ecx, ecx
test ax, ax
setge cl
mov eax, ecx
jmp 0x401619
xor eax, eax
test eax, eax
jne 0x40162f
and esi, 0xff
push esi
call edi
test ax, ax
jge 0x40162f
mov al, 1
jmp 0x401631
xor al, al
pop edi
pop esi
ret
Function at 0x401efc
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10000
call fcn.004029e0
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
xor edi, edi
cmp dword [esi + 0xc], ebx
jle 0x401f5c
mov eax, dword [esi + 8]
mov ecx, ebx
add ecx, dword [esi + 0x10]
push edi
mov eax, dword [eax + edi*8]
push ecx
push eax
call fcn.004012ce
add esp, 0xc
test eax, eax
je 0x401f61
mov eax, ebx
mov ecx, esi
add eax, dword [esi + 0x10]
push eax
call fcn.00401634
test al, al
jne 0x401f53
mov eax, ebx
mov ecx, esi
add eax, dword [esi + 0x10]
push eax
call fcn.00401695
test al, al
jne 0x401f5c
inc edi
add ebx, 0x10
cmp edi, dword [esi + 0xc]
jl 0x401f17
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [esi + 8]
push dword [eax + edi*8]
inc edi
lea eax, [ebp - 0x10000]
push edi
push 0x4045fc
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x10000]
push 0
push 0x4045f4
push eax
push dword [0x404dfc]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.MSVCRT.dll_exit]
Function at 0x401fa0
Capabilities:
Create thread
Terminate process

Disassembly:
mov eax, 0x402aec
call fcn.00402950
sub esp, 0x30
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push ebx
push ebx
push 0x4022de
push ebx
mov esi, ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [esi + 0x10]
cmp dword [eax], 0x23
jne 0x4020c7
push dword [esi]
call sub.MSVCRT.dll_strlen
neg eax
sbb eax, eax
pop ecx
inc eax
mov dword [ebp - 0x10], eax
jne 0x401fee
push str._____________________________n
mov ecx, esi
call fcn.00401e46
push 0x404dd8
lea eax, [ebp - 0x1c]
push 0x40462c
push eax
call fcn.0040217f
add esp, 0xc
mov edi, 0x404628
lea ecx, [ebp - 0x14]
push edi
push ecx
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.004021da
push dword [eax]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00401e46
push dword [ebp - 0x14]
and byte [ebp - 4], 0
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [0x404de0]
call sub.MSVCRT.dll_strlen
add esp, 0xc
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x10], eax
jne 0x4020a5
push 0x404de0
lea eax, [ebp - 0x14]
push 0x40461c
push eax
call fcn.0040217f
add esp, 0xc
lea ecx, [ebp - 0x1c]
push edi
push ecx
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.004021da
push dword [eax]
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00401e46
push dword [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
mov eax, dword [esi]
push 1
push 0x404030
push eax
push dword [0x404dfc]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
je 0x4020c7
push ebx
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [esi + 0x10]
cmp dword [eax], 8
jne 0x402105
mov edi, dword [eax + 4]
push edi
call fcn.0040157a
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
pop ecx
test al, al
jne 0x4020f2
push 0xa
call ebx
push edi
call fcn.0040157a
test al, al
pop ecx
je 0x4020e3
push edi
call fcn.0040157a
test al, al
pop ecx
je 0x402103
push 0xa
call ebx
jmp 0x4020f2
xor ebx, ebx
mov eax, dword [esi + 0x10]
cmp dword [eax], 2
jne 0x402170
mov eax, dword [esi + 8]
mov edi, dword [eax]
push edi
call sub.MSVCRT.dll_strlen
mov esi, dword [esi + 0x10]
pop ecx
lea edi, [eax + edi - 6]
push dword [esi + 8]
push dword [esi + 4]
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
push ecx
xor ecx, ecx
mov cl, ah
movzx ecx, cl
movzx eax, al
push ecx
push eax
lea eax, [ebp - 0x3c]
push str._02X_02X_02X
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x3c]
push edi
push eax
call sub.MSVCRT.dll_strcmp
add esp, 0x1c
test eax, eax
je 0x402170
push ebx
call dword [sym.imp.MSVCRT.dll_exit]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x402795
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
test eax, eax
je 0x4027b5
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4027b9
xor al, al
jmp 0x4027fe
push ebx
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
mov ebx, eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [esi + 4], edi
lea eax, [edi + 1]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push edi
push ebx
push eax
mov dword [esi], eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi + 4]
mov ecx, dword [esi]
add esp, 0x10
and byte [eax + ecx], 0
mov al, 1
pop ebx
pop edi
pop esi
ret 8

Function at 0x408b40
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xffffffa7
mov ecx, dword [ebp - 0x67]
mov bh, 0x8b
jne 0x408b5d
adc eax, 0xf86a8d00
push 0
mov eax, dword [esi]
push edx
invalid