joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100660d0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008d00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100661ca
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100661c3
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x100661a9
call ebx
cmp dword [ebp - 0x14], eax
jne 0x100661a9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100661a9
mov edx, dword [esi]
test edx, edx
jne 0x10066172
push 0x200
push edx
push dword [0x10091688]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100661c3
jmp 0x1006619d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1006619d
shl eax, 3
push eax
push edx
push 0
push dword [0x10091688]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100661c3
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10066131
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x1006620f
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x1006620f
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10066209
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.10065f60
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x100661d6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006d89d
mov esp, ebp
pop ebp
ret
Function at 0x10066220
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1008d00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x10094140]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp - 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10066281
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d89d
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x100662a2
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x100662c3
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x100662c3
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x100662bd
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x100662c3
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, byte [esi + 0x14]
and bl, 1
and cl, 0xfd
mov al, bl
add al, al
shl bl, 2
or cl, al
xor eax, eax
and cl, 0xfb
or cl, bl
mov byte [esi + 0x14], cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006d89d
mov esp, ebp
pop ebp
ret
Function at 0x10066320
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [0x10094148]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 4], edi
mov ebx, ecx
test edx, edx
je 0x10066411
mov eax, dword [0x10094140]
add eax, 0x14
movzx ecx, byte [eax]
shr ecx, 1
and ecx, 1
cmp ecx, ebx
jne 0x10066365
inc esi
add eax, 0x2c
cmp esi, edx
jb 0x10066348
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x10066411
xor eax, eax
lea ecx, [ebp - 0x10]
test ebx, ebx
setne al
or edx, 0xffffffff
push eax
call fcn.100660d0
mov ecx, dword [0x10094148]
add esp, 4
cmp esi, ecx
jae 0x100663c5
imul edi, esi, 0x2c
mov eax, dword [0x10094140]
movzx eax, byte [edi + eax + 0x14]
shr eax, 1
and eax, 1
cmp eax, ebx
je 0x100663ba
mov edx, ebx
mov ecx, esi
call fcn.10066220
mov dword [ebp - 4], eax
test eax, eax
jne 0x100663c2
mov ecx, dword [0x10094148]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x10066391
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10066411
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x10066402
mov edi, eax
push dword [edi + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x100663f6
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x100663d5
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x10091688]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10069030
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x1008d00c]
xor eax, esp
mov dword [esp + 0x60], eax
push esi
push 0x40
lea eax, [esp + 0x24]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0x20
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x2c]
shr eax, 3
mov edx, 0x3f
and eax, 0x3f
mov dword [esp + 0x18], 0xefcdab89
add ecx, eax
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
sub edx, eax
mov dword [esp + 0x28], 0
add esp, 0xc
mov dword [esp + 0x20], esi
mov byte [ecx], 0x80
inc ecx
cmp edx, 8
jae 0x100690d2
push edx
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
call fcn.100689b0
push 0x38
lea eax, [esp + 0x30]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
jmp 0x100690e1
lea eax, [edx - 8]
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
mov dword [esp + 0x58], eax
lea ecx, [esp + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
call fcn.100689b0
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0xe]
pop esi
xor ecx, esp
call fcn.1006d89d
mov esp, ebp
pop ebp
ret
Function at 0x10069620
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push str.cl_interp
call fcn.10069810
push str.cl_sidespeed
mov dword [0x1008fae8], eax
call fcn.10069810
push str.cl_interp_ratio
mov dword [0x1008faec], eax
call fcn.10069810
push str.cl_updaterate
mov dword [0x1008faf0], eax
call fcn.10069810
push str.cl_cmdrate
mov dword [0x1008faf4], eax
call fcn.10069810
push str.tf_weapon_criticals_bucket_cap
mov dword [0x1008faf8], eax
call fcn.10069810
push str.tf_weapon_criticals_bucket_bottom
mov dword [0x1008fafc], eax
call fcn.10069810
push str.tf_weapon_criticals_bucket_default
mov dword [0x1008fb00], eax
call fcn.10069810
push str.sv_gravity
mov dword [0x1008fb04], eax
call fcn.10069810
push str.cl_flipviewmodels
mov dword [0x1008fb08], eax
call fcn.10069810
push str.sv_maxunlag
mov dword [0x1008fb0c], eax
call fcn.10069810
push str.tf_enable_glows_after_respawn
mov dword [0x1008fb10], eax
call fcn.10069810
push str.glow_outline_effect_enable
mov dword [0x1008fb14], eax
call fcn.10069810
push str.r_drawspecificstaticprop
mov dword [0x1008fb18], eax
call fcn.10069810
push str.sv_namechange_cooldown_seconds
mov dword [0x1008fb1c], eax
call fcn.10069810
push str.mp_idlemaxtime
mov dword [0x1008fb20], eax
call fcn.10069810
push str.sv_maxusrcmdprocessticks
mov dword [0x1008fb24], eax
call fcn.10069810
push str.sv_maxusrcmdprocessticks_holdaim
mov dword [0x1008fb28], eax
call fcn.10069810
push str.tf_weapon_criticals_nopred
mov dword [0x1008fb2c], eax
call fcn.10069810
push str.cl_wpn_sway_interp
mov dword [0x1008fb30], eax
call fcn.10069810
push str.viewmodel_fov
mov dword [0x1008fb34], eax
call fcn.10069810
push str.r_aspectratio
mov dword [0x1008fb38], eax
call fcn.10069810
push str.tf_use_min_viewmodels
mov dword [0x1008fb3c], eax
call fcn.10069810
mov ecx, dword [0x1009156c]
mov dword [0x1008fb40], eax
mov eax, dword [ecx]
call dword [eax + 0x44]
mov esi, eax
test esi, esi
je 0x10069800
nop
mov eax, dword [esi]
mov ecx, esi
and dword [esi + 0x14], 0xffbfbfed
call dword [eax + 0x10]
cmp eax, str.name
jne 0x100697bc
mov eax, dword [esi]
mov ecx, esi
push 0
mov dword [esi + 0x58], 0
call dword [eax + 0x24]
mov dword [esi + 0x58], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x100697d2
mov eax, 0x811c9dc5
jmp 0x100697e6
movsx eax, al
inc ecx
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
call fcn.100277c0
mov dword [ebp - 4], eax
mov ecx, 0x1008fb44
lea eax, [ebp - 4]
push eax
call fcn.10069900
mov dword [eax], esi
mov esi, dword [esi + 4]
test esi, esi
jne 0x10069790
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10069810
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov al, byte [esi]
test al, al
jne 0x1006982c
mov eax, 0x811c9dc5
jmp 0x10069842
movsx eax, al
lea ecx, [esi + 1]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
call fcn.100277c0
mov dword [esp + 0xc], eax
mov ecx, 0x1008fb44
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.10069920
mov eax, dword [eax]
cmp dword [eax + 0xc], 0
jne 0x100698b0
mov ecx, dword [0x1009156c]
push esi
mov eax, dword [ecx]
call dword [eax + 0x34]
mov cl, byte [esi]
mov ebx, eax
test cl, cl
jne 0x1006987d
mov eax, 0x811c9dc5
jmp 0x10069893
movsx eax, cl
lea ecx, [esi + 1]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
call fcn.100277c0
mov dword [esp + 0xc], eax
mov ecx, 0x1008fb44
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.10069920
mov eax, dword [eax]
mov dword [eax + 0xc], ebx
mov al, byte [esi]
test al, al
jne 0x100698bd
mov eax, 0x811c9dc5
jmp 0x100698d3
movsx eax, al
lea ecx, [esi + 1]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
call fcn.100277c0
mov dword [esp + 0xc], eax
mov ecx, 0x1008fb44
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.10069920
pop edi
pop esi
pop ebx
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x1006d7c3
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1006d79f
pop esi
leave
ret 8
Function at 0x4068db
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068ff
xor eax, eax
test eax, eax
je 0x406912
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406912
xor ecx, ecx
jmp 0x406915
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406a38
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x46590c], 0
push esi
jne 0x406a6f
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a49
mov dword [ecx*4 + 0x465908], eax
inc ecx
cmp ecx, 0x100
jl 0x406a44
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406aa0
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x465908]
xor eax, esi
inc ecx
dec edx
jne 0x406a82
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x17f571b7
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x221238c9
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401d4a
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [0x418714], 0
mov eax, dword [0x418714]
mov ebx, 0xffffffff
push ebx
call dword [sym.imp.USER32.DLL_GetAsyncKeyState]
mov dword [0x418ebf], eax
mov dword [0x418174], 0
mov eax, dword [0x418174]
lea edx, [edx + 0x418977]
add dword [0x4195a1], edx
sub edx, eax
shr edx, 1
add edx, eax
mov ecx, edx
add ecx, 0x94e
add dword [0x418b51], ecx
ror ecx, 2
shr ecx, 1
sub ecx, eax
add dword [0x418e06], ecx
call fcn.00402f28
mov dword [0x41818c], eax
push 0x2547545c
pop edi
push edi
mov esi, 0x1eeae871
mov eax, esi
push eax
mov eax, 0x535b7a47
mov esi, eax
push esi
mov edi, 0x174cf46c
mov ebp, edi
push ebp
push 0x418ab134
pop ebx
push ebx
push 0x21ff1beb
pop eax
push eax
push 0x67cf697b
pop edx
push edx
mov edx, 0x47777e77
push edx
mov esi, 0
mov edi, esi
push edi
push 0x30a185
pop ebx
add ebx, 0x103f1b
push dword [ebx]
pop dword [0x41855f]
mov ebx, dword [0x41855f]
call ebx
mov dword [0x418f49], eax
or eax, eax
je 0x401e19
sub ebp, edi
ret

Function at 0x42d080
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x42d098
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x42d176
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042d9e0
add esp, 8
sar eax, 0xc
cmp eax, 3
jne 0x42d171
mov dword [ebp - 0x10], 0xfff
mov dword [ebp - 0xc], 0x9922c
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0042d9e0
add esp, 8
and eax, dword [ebp - 0x10]
add eax, 0x8702
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
cmp dword [ebp - 4], 0
jne 0x42d14a
push 0x154b
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x42d14a
xor eax, eax
jmp 0x42d176
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
add ecx, dword [eax]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx - 0x8702]
add eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
add edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx - 0x8702], eax
jmp 0x42d08f
mov esp, ebp
pop ebp
ret

Function at 0x42d9e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x240be8
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0x240be8
push 0x15b9
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x42da15
xor eax, eax
jmp 0x42da1f
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
movzx eax, word [eax + edx*2]
mov esp, ebp
pop ebp
ret
Function at 0x59ecd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb3000]
push edi
jmp 0x59ecea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x59ecf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59ece0
mov eax, 1
add ebx, ebx
jne 0x59ed03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x59ed14
jne 0x59ed33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59ed33
dec eax
add ebx, ebx
jne 0x59ed20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x59ecf8
add ebx, ebx
jne 0x59ed2f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x59ed85
xor ecx, ecx
sub eax, 3
jb 0x59ed4b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x59edba
sar eax, 1
mov ebp, eax
jmp 0x59ed56
add ebx, ebx
jne 0x59ed56
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59ed24
inc ecx
add ebx, ebx
jne 0x59ed64
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59ed24
add ebx, ebx
jne 0x59ed71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x59ed66
jne 0x59ed82
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x59ed66
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x59eda4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x59ed96
jmp 0x59ece6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x59eda4
add edi, ecx
jmp 0x59ece6
pop esi
mov edi, esi
mov ecx, 0x4ee4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x59edc2
cmp byte [edi], 0x13
jne 0x59edc2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x59edc7
lea edi, [esi + 0x19a000]
mov eax, dword [edi]
or eax, eax
je 0x59ee36
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d858c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d8650]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x59edf4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1d8658]
or eax, eax
je 0x59ee30
mov dword [ebx], eax
add ebx, 4
jmp 0x59ee11
call dword [esi + 0x1d8654]
mov ebp, dword [esi + 0x1d865c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x59ee6a
sub esp, 0xffffff80
jmp 0x4ad0e6
Function at 0x406fe0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov edi, edx
cmp dword [ecx], edi
jne 0x4070a4
cmp dword [ecx + 8], 0xffffff65
jne 0x4070a4
movzx eax, word [ecx + 0xc]
sub eax, 0x41
je 0x40704f
sub eax, 2
jne 0x4070a4
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4070a4
mov ecx, edi
call fcn.00422670
mov esi, eax
mov ecx, edi
mov edx, esi
call fcn.00413790
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4070a4
call fcn.00411970
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4070a4
push 0
push 0
push 0x1004
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4070a4
xor esi, esi
test ebx, ebx
je 0x4070a4
lea esp, [esp]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], 2
push eax
push esi
push 0x102b
push edi
mov dword [ebp - 0x34], 2
call dword [sym.imp.USER32.dll_SendMessageW]
inc esi
cmp esi, ebx
jb 0x407080
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4102a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450b00
push 0x444118
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov edi, edx
mov esi, ecx
mov dword [esi + 4], edi
mov ebx, dword [ebp + 8]
mov dword [esi + 8], ebx
mov dword [ebp - 4], 0
push 0x40
call fcn.00410660
mov dword [ebp - 4], 0xffffffff
mov eax, 0x5a4d
cmp word [edi], ax
je 0x41030a
mov eax, 0xc000012f
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x3c]
test eax, eax
jne 0x410329
mov eax, 0xc000007b
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x10000000
jae 0x410311
cmp eax, ebx
jae 0x410311
lea edx, [eax + edi]
mov dword [esi + 0xc], edx
mov dword [ebp - 4], 1
push 0x18
mov ecx, esi
call fcn.00410660
mov edx, dword [esi + 0xc]
movzx eax, word [edx + 6]
lea ecx, [eax + eax*4]
movzx eax, word [edx + 0x14]
lea eax, [eax + ecx*8]
add eax, 0x18
push eax
mov ecx, esi
call fcn.00410660
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0xc]
cmp dword [ecx], 0x4550
jne 0x410311
movzx eax, word [ecx + 0x18]
mov word [esi + 0x18], ax
mov edx, 0x10b
cmp ax, dx
je 0x410398
mov edx, 0x20b
cmp ax, dx
jne 0x410311
movzx eax, word [ecx + 6]
mov dword [esi + 0x10], eax
movzx eax, word [ecx + 0x14]
add eax, 0x18
add eax, ecx
mov dword [esi + 0x14], eax
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4