joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100094a0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov eax, 0x14
push esi
push edi
cmp dword [esp + 0x24], eax
jae 0x100094ba
mov dword [esp + 0x24], eax
test ebp, ebp
jne 0x100094cb
lea eax, [esp + 0x20]
call fcn.10009420
mov ebp, dword [esp + 0x20]
mov eax, dword [ebp + 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jle 0x100094e8
mov eax, dword [ebp + eax*4 + 0x50]
mov esi, dword [eax]
mov dword [esp + 0x10], eax
jmp 0x10009505
lea edi, [esp + 0x14]
lea esi, [esp + 0x10]
lea ebx, [esp + 0x20]
call fcn.10009450
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
test ebx, 0xfffe
jne 0x10009553
test eax, eax
je 0x10009553
cmp dword [esp + 0x24], 0x2000
ja 0x10009553
lea ecx, [esp + 0x24]
push ecx
mov edi, eax
call fcn.10008e10
mov edi, eax
add esp, 4
test edi, edi
je 0x10009553
test bl, 1
je 0x10009549
mov edx, dword [esp + 0x24]
push edx
push 0
push edi
call fcn.10012d20
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov edi, dword [ebp + esi*4 + 0x458]
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [edi + 0x1cc]
mov ebp, dword [esp + 0x24]
test ecx, ecx
je 0x10009582
cmp dword [edi + 0x214], eax
jne 0x100095a5
inc dword [edi + 0x210]
jmp 0x100095bf
mov edx, 1
lea ecx, [edi + 0x1cc]
xchg dword [ecx], edx
test edx, edx
jne 0x100095a5
mov dword [edi + 0x214], eax
mov dword [edi + 0x210], 1
jmp 0x100095bf
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
push ebp
lea edx, [esp + 0x1c]
push edx
push eax
push ecx
call fcn.100090c0
add esp, 0x10
mov edi, eax
push ebx
push ebp
mov eax, edi
call fcn.10007fd0
add esp, 8
test eax, eax
je 0x10009624
mov ecx, dword [eax - 4]
test cl, 3
mov edx, 0
sete dl
and ecx, 0xfffffff8
lea edx, [edx*4 + 8]
sub ecx, edx
mov edx, dword [0x1001cdcc]
test edx, edx
je 0x100095f8
cmp dword [edi + 0x10], edx
jae 0x10009601
mov edx, dword [edi + 0x10]
mov dword [0x1001cdcc], edx
mov edx, dword [0x1001d26c]
test edx, edx
je 0x1000960f
cmp ecx, edx
jbe 0x10009626
mov edx, dword [0x1001d2c0]
add ecx, edx
dec edx
not edx
and ecx, edx
mov dword [0x1001d26c], ecx
jmp 0x10009626
xor eax, eax
dec dword [edi + 0x210]
lea ecx, [edi + 0x1cc]
jne 0x1000954b
mov dword [ecx + 0x48], 0
xor edx, edx
xchg dword [ecx], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x10009960
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esp + 8], ebx
cmp esi, ebx
je 0x10009a2d
push ebp
mov edx, esi
mov dword [esp + 0x10], 1
call fcn.10008a40
test eax, eax
je 0x100099eb
mov eax, dword [esi - 4]
test al, 3
mov ecx, ebx
sete cl
and eax, 0xfffffff8
mov dword [esp + 0x10], ebx
lea ecx, [ecx*4 + 8]
sub eax, ecx
mov ebp, eax
cmp ebp, ebx
jne 0x100099c6
push str.nedmalloc:_nedpfree___called_with_a_block_not_created_by_nedmalloc__n
call fcn.1000cf92
add eax, 0x40
push eax
call fcn.1000d147
add esp, 8
call fcn.1000cf2c
push edi
lea eax, [esp + 0x10]
call fcn.10009420
mov edi, dword [esp + 0x10]
mov edx, dword [edi + 0x454]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, ebx
jle 0x100099ef
mov eax, dword [edi + eax*4 + 0x50]
jmp 0x10009a08
xor ebp, ebp
jmp 0x100099ab
lea edi, [esp + 0x1c]
lea esi, [esp + 0x18]
lea ebx, [esp + 0x10]
call fcn.10009450
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
test eax, eax
je 0x10009a33
cmp dword [esp + 0x14], 0
jne 0x10009a3a
lea ecx, [ebp - 0x14]
cmp ecx, 0x1ff4
ja 0x10009a4c
push 0
push ebp
mov edi, eax
call fcn.10008ee0
add esp, 8
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10
ret
cmp dword [esp + 0x14], 0
je 0x10009a4c
push esi
call dword [0x1001bec4]
add esp, 4
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10
ret
pop edi
pop ebp
mov eax, esi
pop esi
pop ebx
add esp, 0x10
jmp fcn.10008300

Function at 0x10009ac0
Capabilities:
Hash data using fnv

Disassembly:
movzx eax, word [ecx]
lea edx, [eax - 0x41]
cmp dx, 0x19
ja 0x10009acf
add eax, 0x20
movzx edx, word [ecx + 2]
movzx eax, ax
push esi
lea esi, [edx - 0x41]
xor eax, 0x50c5d1f
cmp si, 0x19
ja 0x10009ae8
add edx, 0x20
imul eax, eax, 0x1000193
movzx edx, dx
xor eax, edx
movzx edx, word [ecx + 4]
lea esi, [edx - 0x41]
cmp si, 0x19
ja 0x10009b03
add edx, 0x20
imul eax, eax, 0x1000193
movzx edx, dx
xor eax, edx
movzx edx, word [ecx + 6]
lea esi, [edx - 0x41]
cmp si, 0x19
pop esi
ja 0x10009b1f
add edx, 0x20
movzx ecx, word [ecx + 8]
imul eax, eax, 0x1000193
movzx edx, dx
xor eax, edx
lea edx, [ecx - 0x41]
cmp dx, 0x19
ja 0x10009b3a
add ecx, 0x20
imul eax, eax, 0x1000193
movzx ecx, cx
xor eax, ecx
ret
Function at 0x10009c50
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
sub esp, 0x34
mov eax, dword [0x1001b2a8]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
push ebx
push ebp
push esi
push edi
push 0
push 0
push 3
push 0
push 1
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x60]
push 0x80000000
push eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10009ca8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1000c11c
add esp, 0x34
ret
xor edi, edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x20], eax
cmp eax, 0x18
jb 0x10009d5b
push edi
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
lea edx, [esp + 0x24]
push edx
push 0x18
lea eax, [esp + 0x30]
push eax
push esi
call ebp
test eax, eax
je 0x10009d5b
cmp dword [esp + 0x24], 0x3851ef13
jne 0x10009d5b
cmp dword [esp + 0x28], 1
jne 0x10009d5b
mov ebx, dword [esp + 0x34]
push ebx
call fcn.1000c32b
mov edi, eax
add esp, 4
test edi, edi
je 0x10009d5b
push 0
lea ecx, [esp + 0x14]
push ecx
push ebx
push edi
push esi
mov dword [esp + 0x24], 0
call ebp
test eax, eax
je 0x10009d5b
test byte [esp + 0x2c], 1
mov ecx, dword [esp + 0x10]
je 0x10009d41
xor eax, eax
test ecx, ecx
je 0x10009d41
mov edx, eax
and edx, 3
mov dl, byte [esp + edx + 0x38]
xor byte [eax + edi], dl
inc eax
cmp eax, ecx
jb 0x10009d30
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
mov dword [ecx], edx
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x3c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000c11c
add esp, 0x34
ret
Function at 0x10009d80
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov ebx, eax
xor edi, edi
lea eax, [esp + 0xc]
push eax
push edi
lea ecx, [esp + 0x18]
push ecx
push edi
push ebp
push ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0xc]
cmp eax, 0x18
jb 0x10009e62
push esi
push eax
call fcn.1000c32b
mov esi, eax
add esp, 4
test esi, esi
je 0x10009e58
lea edx, [esp + 0x10]
push edx
push esi
lea eax, [esp + 0x1c]
push eax
push edi
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebp, dword [esp + 0x10]
cmp ebp, 0x18
jb 0x10009e4f
cmp dword [esi], 0x3851ef13
jne 0x10009e4f
mov ebx, 1
cmp dword [esi + 4], ebx
jne 0x10009e4f
add ebp, 0xffffffe8
push ebp
call fcn.1000c32b
mov edi, eax
add esp, 4
test edi, edi
je 0x10009e4f
push ebp
lea ecx, [esi + 0x18]
push ecx
push edi
call fcn.10010660
add esp, 0xc
test byte [esi + 8], bl
je 0x10009e37
xor eax, eax
test ebp, ebp
jle 0x10009e37
mov edx, eax
and edx, 3
mov cl, byte [edx + esi + 0x14]
xor byte [eax + edi], cl
add eax, ebx
cmp eax, ebp
jl 0x10009e25
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x24]
mov dword [edx], ebp
mov edx, dword [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
mov dword [eax], edx
push esi
call fcn.1000c2f1
add esp, 4
pop esi
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 8
ret
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x1000c11c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001b2a8]
jne 0x1000c126
repz ret
jmp fcn.1000d51c

Function at 0x10011b0c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1001b2a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000e0a8
and dword [ebp - 0x14], 0
cmp dword [0x1001cd14], 0
mov dword [ebp - 0x18], eax
jne 0x10011bbf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10011c67
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10011c67
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1001cd14], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1001cd18], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1001cd1c], eax
call edi
push eax
call esi
mov dword [0x1001cd24], eax
test eax, eax
je 0x10011bbf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1001cd20], eax
mov eax, dword [0x1001cd20]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10011c18
cmp dword [0x1001cd24], ecx
je 0x10011c18
push eax
call esi
push dword [0x1001cd24]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10011c18
test ebx, ebx
je 0x10011c18
call edi
test eax, eax
je 0x10011c0f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10011c0f
test byte [ebp - 8], 1
jne 0x10011c18
or dword [ebp + 0x10], 0x200000
jmp 0x10011c4b
mov eax, dword [0x1001cd18]
cmp eax, dword [ebp - 0x18]
je 0x10011c4b
push eax
call esi
test eax, eax
je 0x10011c4b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10011c4b
mov eax, dword [0x1001cd1c]
cmp eax, dword [ebp - 0x18]
je 0x10011c4b
push eax
call esi
test eax, eax
je 0x10011c4b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1001cd14]
call esi
test eax, eax
je 0x10011c67
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10011c69
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c11c
leave
ret
Function at 0x9ce7e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x9ce805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x9ce878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x9ce83a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x9ce86d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x9ce86b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x9ce831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x9ce7fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
call 0x43100c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x4014a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, 6
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
call fcn.00448108
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 0xc]
and ecx, 0xffff
push 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
call fcn.00448108
mov eax, dword [eax + 0xc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x4014ef
pop edi
xor al, al
pop esi
ret
mov dx, word [eax + 0xe]
pop edi
mov word [esi + 0x12], dx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov cx, word [eax + 0xc]
shl edx, 2
mov word [esi + 0x10], cx
mov dword [esi], 0
mov dword [esi + 0xc], edx
mov ecx, dword [eax]
add ecx, eax
mov al, 1
mov dword [esi + 0x14], ecx
pop esi
ret
Function at 0x404c70
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44c760
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push esi
push edi
mov edi, dword [esp + 0x4c]
cmp edi, 0xffffffff
mov ebp, ecx
jne 0x404cac
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
mov esi, dword [esp + 0x50]
mov eax, dword [esi + 4]
test eax, eax
jne 0x404cef
call fcn.00448108
mov eax, dword [eax + 0xc]
mov ecx, edi
and ecx, 0xffff
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, esi
call fcn.0043bffd
test eax, eax
jne 0x404cef
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
mov eax, dword [esi + 4]
lea edx, [esp + 0x24]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [esp + 0xc]
call fcn.004332b9
mov ecx, dword [esp + 0x28]
push 0xc0c0c0
push 1
push ecx
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 0
call fcn.004333a6
test eax, eax
jne 0x404d52
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
call fcn.004332e2
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
test esi, esi
jne 0x404d5a
xor eax, eax
jmp 0x404d5d
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x10]
push 0xc0c0c0
push eax
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov eax, dword [ebp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0043b5c7
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.0043b525
test edi, edi
mov byte [esp + 0x44], 1
jne 0x404d96
xor eax, eax
jmp 0x404d99
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x18]
call fcn.0043b5dc
test eax, eax
jne 0x404de2
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], al
call fcn.0043b644
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
call fcn.004332e2
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
test esi, esi
je 0x404de9
mov esi, dword [esi + 4]
mov ecx, dword [esp + 0x18]
push esi
push ecx
call fcn.0043b707
push 0xf
mov esi, eax
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push edx
push eax
push 0
push 0
lea ecx, [esp + 0x28]
call fcn.00444807
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
push 1
and eax, ecx
mov ecx, dword [esp + 0x14]
push 0
push 0
push eax
push 0
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
test esi, esi
je 0x404e3f
mov esi, dword [esi + 4]
mov edx, dword [esp + 0x18]
push esi
push edx
call fcn.0043b707
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 0
call fcn.0043b644
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
call fcn.004332e2
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
Function at 0x4063b0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x44c7c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov bl, byte [eax + 0xc]
mov esi, ecx
mov ecx, dword [esp + 0x2c]
push edi
mov byte [esp + 0x2c], bl
mov dword [ecx], 0
mov eax, dword [esi + 0x5c]
test eax, eax
jle 0x4065af
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x12
call edi
test ax, ax
jl 0x4065af
push 0x11
call edi
test ax, ax
jl 0x4065af
cmp bl, 0x20
je 0x406427
movsx edx, bl
push edx
call fcn.004244e0
add esp, 4
test eax, eax
je 0x4065af
mov eax, dword [esi + 0x94]
lea ebp, [esi + 0x94]
xor ecx, ecx
mov edi, dword [esp + 0x2c]
mov edx, dword [eax - 8]
test edx, edx
sete cl
mov eax, ecx
test eax, eax
je 0x40645f
mov edx, dword [esi + 0x1c]
push 0
push 0x1f4
push 0xc8
push edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x4064b4
push 1
push edi
lea ecx, [esp + 0x18]
call fcn.004325f6
lea eax, [esp + 0x14]
push 1
push eax
mov ecx, ebp
mov dword [esp + 0x2c], 0
call fcn.004326f1
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push ecx
push eax
call fcn.00424431
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call fcn.00438787
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.00438787
test bl, bl
je 0x4064bc
push edi
mov ecx, ebp
call fcn.00438b16
mov edx, dword [0x45fe70]
mov dword [esp + 0x2c], edx
mov ecx, esi
mov dword [esp + 0x24], 1
call fcn.00405b40
mov ebx, eax
mov eax, dword [esi + 0x1c]
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test ebx, ebx
lea edi, [eax + 1]
je 0x40659e
cmp edi, ebx
jne 0x4064fb
xor edi, edi
mov dword [esp + 0x18], edi
mov edx, dword [esi]
lea eax, [esp + 0x2c]
push eax
push edi
mov ecx, esi
call dword [edx + 0xd4]
mov eax, dword [ebp]
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esp + 0x30]
push ecx
push eax
call fcn.004242a5
add esp, 0xc
test eax, eax
je 0x406537
inc edi
cmp edi, ebx
jne 0x40652f
xor edi, edi
cmp edi, dword [esp + 0x18]
je 0x40657f
jmp 0x4064ff
cmp edi, 0xffffffff
mov dword [esp + 0x18], edi
je 0x40657f
xor edi, edi
test ebx, ebx
jle 0x406586
mov eax, dword [esp + 0x18]
push 3
cmp edi, eax
je 0x40655c
push 0
push edi
mov ecx, esi
call fcn.00432f11
jmp 0x406578
push 3
push edi
mov ecx, esi
call fcn.00432f11
mov edx, dword [esi + 0x1c]
push 0
push edi
push 0x1013
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
inc edi
cmp edi, ebx
jl 0x406546
jmp 0x406586
mov ecx, ebp
call fcn.00438712
mov eax, dword [esi + 0x1c]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x30]
mov dword [ecx], 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.00438787
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x407ae0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44c903
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0043b525
lea ebp, [esi + 0x10]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [ebp + 4], ecx
mov dword [ebp], 0x44f7ec
mov ebx, dword [esp + 0x2c]
mov dword [esi], method.CDC.virtual_0
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
mov edi, dword [ebx + 0xc]
xor eax, eax
cmp edi, ecx
mov byte [esp + 0x24], 1
sete al
cmp eax, ecx
mov dword [esi + 0x30], eax
je 0x407bc7
mov eax, dword [esp + 0x30]
lea edi, [esi + 0x20]
cmp eax, ecx
jne 0x407b59
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 0x50]
jmp 0x407b61
push eax
push edi
call dword [sym.imp.USER32.dll_CopyRect]
test ebx, ebx
jne 0x407b69
xor eax, eax
jmp 0x407b6c
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.0043b5dc
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
sub eax, ecx
mov ecx, dword [edi + 8]
push eax
sub ecx, edx
push ecx
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.0043bffd
test ebp, ebp
je 0x407ba5
mov ebp, dword [ebp + 4]
mov edx, dword [esi + 4]
push ebp
push edx
call fcn.0043b707
mov ecx, dword [edi]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x24]
lea edx, [esp + 0x14]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0043b996
jmp 0x407bd9
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
mov edx, dword [ebx + 8]
mov dword [esi + 8], edx
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x408cc0
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, ecx
push edi
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
push ebx
push eax
mov dword [ebp], 0xffffffff
push ecx
mov dword [ebp + 4], 0xffffffff
mov ecx, esi
mov byte [edi], 0
mov byte [esp + 0x34], 0
call fcn.00408ab0
test eax, eax
je 0x408d1a
mov edx, dword [esp + 0x24]
push edi
push ebp
push edx
push eax
mov ecx, esi
call fcn.00408e50
test al, al
mov byte [esp + 0x28], al
jne 0x408e40
mov eax, dword [esi + 0x28]
test eax, eax
je 0x408e40
cmp eax, 0xffffffff
je 0x408e40
mov eax, dword [esi + 0x34]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x10], ecx
jl 0x408e40
jg 0x408d4c
mov eax, dword [esi + 0x30]
test eax, eax
jbe 0x408e40
mov edx, dword [esi + 0x28]
mov eax, dword [esp + 0x18]
mov edi, ecx
mov ecx, dword [edi + edx]
add edi, edx
cmp eax, ecx
jne 0x408dfe
xor ecx, ecx
mov cl, byte [edi + 6]
cmp ebx, ecx
jne 0x408dfe
test ebx, ebx
je 0x408d89
mov edx, dword [esp + 0x1c]
push ebx
lea eax, [edi + 0x1a]
push edx
push eax
call fcn.00424574
add esp, 0xc
test eax, eax
jne 0x408dfe
mov ecx, dword [esi + 0x14]
mov eax, dword [edi + 0x10]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [edi + 0x14]
and ecx, 0xffff
push ecx
push eax
push 0
push edx
call fcn.00424540
cmp eax, dword [esi + 0x20]
jne 0x408daf
cmp edx, dword [esi + 0x24]
je 0x408dfe
mov ebx, dword [edi + 0xc]
xor ecx, ecx
cmp ebx, ecx
jg 0x408dfa
jl 0x408dc5
mov ecx, dword [edi + 8]
mov ebx, dword [esp + 0x24]
cmp ecx, ebx
ja 0x408dfa
push edx
push eax
lea ecx, [esi + 0x38]
call fcn.0040ae50
test eax, eax
je 0x408e40
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push ebp
push ecx
mov ecx, dword [esp + 0x24]
push ebx
push edx
push ecx
mov ecx, eax
call fcn.00408cc0
test al, al
jne 0x408e3b
jmp 0x408dfe
mov ebx, dword [esp + 0x20]
mov di, word [edi + 4]
test di, di
je 0x408e40
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x34]
and edi, 0xffff
xor eax, eax
add ecx, edi
cmp eax, edx
mov dword [esp + 0x10], ecx
jl 0x408d4c
jg 0x408e40
cmp ecx, dword [esi + 0x30]
jb 0x408d4c
mov al, byte [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x18
mov byte [esp + 0x28], 1
mov al, byte [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x18