joyce8/EMBER2024-capa huggingface dataset:
Function at 0x734d7b
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg dword [esp + 0xc], edi
mov eax, 0x343745c0
lea eax, [ebx + edi]
neg edx
sub esp, 0x16
shl dh, 3
jmp fcn.00734a2e
call fcn.00734d38
movsd dword es:[edi], dword [esi]
cmp al, 0xd2
mov ch, 0x44
not byte [ebp + 0xbf89909]
mov dh, 0x35
stosb byte es:[edi], al
cmp byte [edi - 0x56], bl
pop ds
dec ebx
loop 0x734d41
sub esp, 0x14
add esp, 0xb
push word [esp + 2]
lea esp, [esp + 3]
jmp 0x734acd
neg edx
jmp 0x734da1
add ebp, ecx
rol dword [eax], cl
add byte [eax], al
int1
xchg edx, eax
sub esp, 0x12
jns 0x734d0a
js 0x734df4
sal byte [edx - 0x20], 1
xchg dword [edx - 0xb], esi
ja 0x734d74
xor byte [ecx - 0x40], 0xea
add eax, 0x20cea7b4
dec byte [ebx + 0x74ff2404]
and al, 0x18
ret 0x1c
xchg dword [esp], edx
call fcn.00734f19

Function at 0x7358ac
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp + 5]
jmp 0x735896
lea edx, [esi*4]
clc
jno 0x73583e
jo 0x735861
mov ss, word [edi]
xchg edx, esp
adc dword [edx + 0x791e8814], ebp
mov byte [edx - 0x46], cl
and eax, 0xec2fdcb5
aam 0x47
out dx, al

Function at 0x860c9b
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
lea esp, [esp + 1]
mov dword [esp + 0x2c], edi
lea esp, [esp + 0x2c]
jmp 0x860c62
pop dword [esp + 1]
lea esp, [esp + 5]
jmp 0x860c7e

Function at 0x860d8d
Capabilities:
Parse pe header

Disassembly:
push word [esp + 1]
mov dword [esp + 5], ecx
mov dword [esp], esi
mov dword [esp + 2], eax
call fcn.00860c9b
push sp
mov byte [esp], bl
push word [esp]
mov dword [esp + 1], eax
lea esp, [esp]
mov dword [esp + 2], eax
jmp 0x860cca
jmp 0x860d30
Function at 0x403b76
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x403b85
pop dword [ebp - 0x14]
mov eax, 0x403b85
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xefab7b90
sub dword [ebp - 0x24], 0xa1593645
mov dword [ebp - 0x20], 0x2f7cdb61
sub dword [ebp - 0x20], 0xfd498f1c
mov dword [ebp - 0x1c], 0xf11426ae
add dword [ebp - 0x1c], 0x5b381d80
mov dword [ebp - 0x18], 0xd1b0d6ed
sub dword [ebp - 0x18], 0xd1b0d6ed
lea eax, [ebp - 0x24]
push eax
mov eax, 0x6003cf54
sub eax, 0x5fc3bf28
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xd718dedf
sub dword [ebp - 0x24], 0x62a67589
mov dword [ebp - 0x20], 0x63ac0b9c
sub dword [ebp - 0x20], 0x223faa27
mov dword [ebp - 0x1c], 0xc58a2e4
add dword [ebp - 0x1c], 0x5716c988
mov dword [ebp - 0x18], 0x5e958b7b
sub dword [ebp - 0x18], 0x5e958b7b
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xa8a909e4
sub eax, 0xa868f9c0
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3f2cf
push 0
call eax
mov ecx, 0x5885
xor edx, edx
add edx, eax
mov edi, 0x412a00
add edi, dword [ebp - 0x14]
mov esi, 0xeca7356
add esi, 0x4142121a
xor dword [ebp - 0x10], ecx
mov ebx, dword [edi]
xor dword [ebp - 8], ebx
sub ebx, esi
xor dword [ebp - 0xc], edi
mov dword [edx], ebx
add dword [ebp - 8], 0xb022a7f
add edx, 0xf9656c21
add edx, 0x69a93e3
add edi, 0x253532a2
sub edi, 0x2535329e
loop 0x403c98
add eax, 0xba78b07e
add eax, 0x4588a469
mov ebx, eax
add eax, 0x30f59065
sub eax, 0x30f59060
mov ecx, 0xcc7f8941
sub ecx, 0xcc3f8941
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x40d442
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403050]
jne 0x40dfdd
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x410948], eax
mov dword [0x410944], ecx
mov dword [0x410940], edx
mov dword [0x41093c], ebx
mov dword [0x410938], esi
mov dword [0x410934], edi
mov word [0x410960], ss
mov word [0x410954], cs
mov word [0x410930], ds
mov word [0x41092c], es
mov word [0x410928], fs
mov word [0x410924], gs
pushfd
pop dword [0x410958]
mov eax, dword [ebp]
mov dword [0x41094c], eax
mov eax, dword [ebp + 4]
mov dword [0x410950], eax
lea eax, [ebp + 8]
mov dword [0x41095c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x410898], 0x10001
mov eax, dword [0x410950]
mov dword [0x41084c], eax
mov dword [0x410840], 0xc0000409
mov dword [0x410844], 1
mov eax, dword [0x403050]
mov dword [ebp - 0x328], eax
mov eax, dword [0x410124]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x410890], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x403210
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x410890], 0
jne 0x40e0c9
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4032e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x45b020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403378
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403358
xor eax, eax
push ebp
push 0x403351
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403394
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403358
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x45b020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x45b020], ax
mov esp, ebp
pop ebp
ret

Function at 0x40405c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45d048], 0
je 0x4040bd
cmp word [0x45d21c], 0xd7b2
jne 0x404085
cmp dword [0x45d224], 0
jbe 0x404085
mov eax, 0x45d218
call dword [0x45d234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45b06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4040e4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45b030], 0
jne 0x4040d9
push 0
push 0x45b064
push 0x45b06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405e04
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405e6a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404450
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ea4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405e54
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e71
lea eax, [ebp - 0x10]
call fcn.004041e0
ret

Function at 0x40b1ac
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b1e5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004042d0
jmp 0x40b1ee
mov eax, ebx
mov edx, esi
call fcn.00404234
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b1f8
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b219
mov al, byte [esp]
jmp 0x40b21b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b8b0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b718
mov eax, dword [0x45c0ec]
cmp byte [eax], 0
je 0x40b92c
mov eax, dword [0x45bef8]
call fcn.00402d10
call fcn.00402bb4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040899c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b974
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b962
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45bea8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45d664]
call fcn.00405270
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c1f4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c2ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404278
lea eax, [ebp - 8]
call fcn.004046f0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004046a0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c2b4
mov eax, ebx
call fcn.00402a28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c2ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004046a0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c297
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c2dc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c297
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c2b4
mov eax, dword [ebp - 0x10]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c2d1
lea eax, [ebp - 8]
call fcn.004041e0
ret

Function at 0x40c7a4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c808
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404450
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408518
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c80f
lea eax, [ebp - 0xc]
call fcn.004041e0
ret
Function at 0x41b7d4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x45d884
cmp dword [esi], 0
jne 0x41b87a
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x45d880]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x45b3ec
mov ecx, 2
call fcn.00402c48
mov edx, 0x41b7ac
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0041b7cc
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.0041b7cc
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x41b841
mov eax, dword [ebp - 8]
mov dword [0x45d880], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41cab0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41cab6
ret

Function at 0x41ef9c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41efed
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41efd4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41efc4
jmp 0x41efed
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41efd5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f470
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x42f3bc
call sub.user32.dll_EnumWindows
ret

Function at 0x42f590
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x42f60d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042eff0
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x42f5b5
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042ebf0
cmp dword [ebp - 4], 0
je 0x42f5f7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004046a0
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f614
lea eax, [ebp - 4]
call fcn.004041e0
ret

Function at 0x4325fc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x45daf0], 0
je 0x43274b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45c08c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43274b
mov eax, dword [0x45daf4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45daf0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43271a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x45daf0]
call fcn.00414330
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x432712
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x432712
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x432712
mov eax, dword [ebp - 0x14]
call fcn.0043b404
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x432712
push ebp
call fcn.004325b8
pop ecx
test al, al
jne 0x432712
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4326ce
mov eax, dword [ebp - 0x14]
call fcn.00439f34
dec eax
jle 0x432712
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403674
cmp byte [ebp - 1], 0
je 0x432712
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x432712
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45daf4]
call fcn.00431d84
inc edi
dec ebx
jne 0x432661
mov eax, dword [0x45daf4]
cmp dword [eax + 8], 0
jle 0x432732
mov eax, dword [0x45daf4]
call fcn.00431e14
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43274b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00432420
pop ecx
test al, al
jne 0x43274b
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435d4c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x435d98
mov eax, esi
call fcn.0044b79c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x435d98
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x435d98
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x435ed7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x435dd8
cmp eax, 0x108
ja 0x435dd8
mov eax, esi
call fcn.0044b79c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x435ece
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x435ed7
jmp 0x435ece
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x435eb7
cmp eax, 0x20a
ja 0x435eb7
test byte [esi + 0x50], 0x80
jne 0x435e0a
sub eax, 0x203
je 0x435e07
sub eax, 3
je 0x435e07
sub eax, 3
jne 0x435e0a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x435e1e
dec eax
je 0x435e33
dec eax
je 0x435e50
dec eax
je 0x435e33
jmp 0x435e57
mov ecx, ebx
mov eax, dword [0x45c08c]
mov eax, dword [eax]
mov edx, esi
call fcn.00455130
jmp 0x435ece
cmp byte [esi + 0x5d], 1
jne 0x435e49
mov eax, esi
mov si, 0xffed
call fcn.00403674
jmp 0x435ed7
or word [esi + 0x54], 1
jmp 0x435ece
and word [esi + 0x54], 0xfffe
jmp 0x435ece
mov eax, dword [0x45daac]
cmp byte [eax + 0x20], 0
je 0x435ece
mov eax, dword [0x45daac]
cmp dword [eax + 0x1c], 0
je 0x435ece
mov eax, dword [ebx]
mov edx, dword [0x45daac]
cmp eax, dword [edx + 0x1c]
jne 0x435ece
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0044b6e0
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403674
jmp 0x435ed7
cmp eax, 0xb00b
jne 0x435ece
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00434660
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43956c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x439588
cmp dword [esi + 4], 0
je 0x4395b5
test byte [ebx + 0x55], 1
jne 0x4395a7
mov eax, ebx
call fcn.0043810c
test eax, eax
jne 0x4395a7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4396c5
mov edx, esi
mov eax, ebx
call fcn.00439090
jmp 0x4396c5
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4396be
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043b404
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00435c80
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043956c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043b404
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4396c5
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret