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

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
mov byte [ecx + 0x31], al
test al, al
je 0x40261d
mov eax, dword [ecx + 0x54]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4
mov ecx, dword [ecx + 0x54]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4

Function at 0x403dc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 0x66666667
imul dword [esi + 0x18]
push ebx
push edi
sar edx, 1
mov edi, edx
shr edi, 0x1f
add edi, edx
mov ebx, edi
mov dword [ebp - 4], 5
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
push 0x40
sub eax, ebx
push eax
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 0x54]
push edx
push eax
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
add ebx, edi
dec dword [ebp - 4]
jne 0x403de0
mov edx, dword [esi + 0x54]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x54]
push 0
push 0
push 0x200
push eax
mov byte [esi + 0xc7], 1
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4040f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, 0x66666667
imul dword [esi + 0x18]
sar edx, 2
push ebx
mov ebx, dword [esi + 0x10]
push edi
mov edi, edx
shr edi, 0x1f
add edi, edx
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov byte [esi + 0xc8], 1
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], 9
jmp 0x404133
mov eax, dword [ebp - 0xc]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0xc]
add ebx, eax
mov eax, dword [esi + 0x18]
sub eax, dword [ebp - 4]
push 0x40
push eax
mov eax, dword [esi + 0x54]
push ecx
push ebx
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0xf
call dword [sym.imp.KERNEL32.dll_Sleep]
add dword [ebp - 4], edi
dec dword [ebp - 8]
jne 0x404130
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
cdq
push 0x40
sub eax, edx
mov edx, dword [esi + 0xc]
push 1
sar eax, 1
add eax, dword [esi + 0x10]
push ecx
push eax
mov eax, dword [esi + 0x54]
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 0x54]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x54]
push 0
push 0
push 0x200
push edx
mov byte [esi + 0xc7], 1
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4041d0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 0x54]
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push eax
call edi
mov ecx, dword [esi + 0x54]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi + 0x54]
push 2
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov eax, dword [esi + 0x54]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, 1
mov ecx, dword [esi + 0x54]
push 0xffffffffffffffec
push ecx
call edi
mov edx, dword [esi + 0x54]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov al, bl
mov cl, 0x13
imul cl
add al, 0x3c
movzx edx, al
mov eax, dword [esi + 0x54]
push 2
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xa
jle 0x404213
pop edi
pop ebx
ret
Function at 0x404b90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 0x66666667
imul dword [esi + 0x14]
push ebx
push edi
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
mov ebx, edi
mov dword [ebp - 4], 0xa
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
push 0x40
push eax
mov eax, dword [esi + 0xc]
sub ecx, ebx
push ecx
mov ecx, dword [esi + 0x54]
push edx
push eax
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
add ebx, edi
dec dword [ebp - 4]
jne 0x404bb1
mov ecx, dword [esi + 0x54]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x54]
push 0
push 0
push 0x200
push edx
mov byte [esi + 0xc7], 1
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404e70
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [esi + 0x54]
push 0
push ecx
mov dword [esi + 0x68], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x54]
push 0
push 0
push 0x200
push edx
mov byte [esi + 0xc7], 1
call dword [sym.imp.USER32.dll_SendMessageW]
ret

Function at 0x404ea0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 0x54]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x54]
push 0
push 0
push 0x200
push ecx
mov byte [esi + 0xc7], 1
call dword [sym.imp.USER32.dll_SendMessageW]
ret

Function at 0x405890
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4058ec
mov eax, dword [esi + 0x54]
push 0
push 0
push 0x200
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x54]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x10c]
mov eax, dword [esi + 0x54]
push 0x472
push str.ck_W
push edx
push eax
call sym.Install_vip.exe_int___cdecl_ShowTray_struct_HWND_____struct_HICON_____wchar_t_const___unsigned_int_
mov ecx, dword [esi + 0x54]
push 2
push 0x46581c
push 0x465824
push ecx
call sym.Install_vip.exe_int___cdecl_ShowBalloon_struct_HWND_____wchar_t_const___wchar_t_const___int_
add esp, 0x20
pop esi
pop ebp
ret 4

Function at 0x406410
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x406428
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40645a
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x406456
cmp esi, eax
jae 0x40645a
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x406448
cmp esi, eax
jb 0x406460
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x408ff0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x45dad8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x475080]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
cmp eax, 0x10
je 0x4091b0
cmp eax, 0x113
je 0x409193
cmp eax, 0x7e9
je 0x409065
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push ecx
push edx
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, esi
call fcn.00402cb0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [esi + 0x19bc], 0
je 0x409163
mov ecx, dword [ebp + 0x10]
fild dword [ebp + 0x10]
test ecx, ecx
jns 0x409082
fadd dword [0x469138]
fdiv qword [0x469110]
mov edx, dword [ebp + 0x14]
mov dword [esi + 0x19c0], edx
mov ecx, section..data
fstp dword [esi + 0x24c]
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
call edx
add eax, 0x10
mov dword [esp + 0x40], eax
mov dword [esp + 0x80], 0
fld dword [esi + 0x24c]
mov eax, dword [esi + 0x19c0]
sub esp, 8
fstp qword [esp]
mov ebx, 1
test eax, eax
jne 0x4090da
push str._.0f__
jmp 0x4090ea
cmp eax, ebx
jne 0x4090e5
push str._.1f__
jmp 0x4090ea
push str._.2f__
lea edi, [esp + 0x4c]
call fcn.00406090
mov eax, dword [esi + 0x118]
mov edi, dword [esp + 0x4c]
mov byte [eax + 0x31], bl
mov eax, dword [esi + 0x118]
add esp, 0xc
mov edx, edi
call fcn.004023f0
fld dword [esi + 0x24c]
fcomp qword [0x469110]
fnstsw ax
test ah, 1
jne 0x409133
mov ecx, dword [esi + 0x54]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [edi - 0x10]
mov dword [esp + 0x80], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409225
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x409225
mov eax, 0x51eb851f
mul dword [ebp + 0x10]
shr edx, 5
mov dword [esi + 0x250], edx
mov dword [esi + 0x19c0], 0
cmp edx, 0x64
jne 0x409225
mov byte [esi + 0x244], 1
jmp 0x409225
mov eax, dword [esi + 0x19c8]
inc eax
cdq
idiv dword [esi + 0x19c4]
mov dword [esi + 0x19c8], edx
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
call eax
jmp 0x409225
mov ecx, dword [esi + 0x54]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x54]
push 0
push 0
push 0x200
mov ebx, 1
push edx
mov byte [esi + 0xc7], bl
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esi + 0x258]
call sym.Install_vip.exe_public:_void___thiscall_CNsInstaller::AutoRun_void_
lea ecx, [esi + 0x258]
call sym.Install_vip.exe_public:_void___thiscall_CNsInstaller::WaitUpdate_void_
mov byte [esi + 0x234], bl
test byte [0x4780d0], bl
jne 0x40921b
or dword [0x4780d0], ebx
mov ecx, 0x4780d8
call sym.Install_vip.exe_public:_void___thiscall_CNsApp::constructor_void_
push 0x45de80
call fcn.0041daac
add esp, 4
mov ecx, 0x4780d8
call sym.Install_vip.exe_public:_void___thiscall_CNsApp::ExitApp_void_
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40ad50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cf38
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push edi
mov eax, dword [0x475080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [esi + 0x3ec], 0
jle 0x40aeda
xor edi, edi
jmp 0x40ad90
cmp byte [esi + 0xc7], 0
jne 0x40af27
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x64
jl 0x40ad90
dec dword [esi + 0x3ec]
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x3ec]
push eax
push 0x465c9c
lea edi, [ebp - 0x10]
call fcn.00406090
mov edx, dword [ebp - 0x10]
mov ebx, dword [esi + 0x228]
lea eax, [esi + 0x228]
lea edi, [edx - 0x10]
sub ebx, 0x10
add esp, 8
cmp edi, ebx
je 0x40aea4
cmp dword [ebx + 0xc], 0
jl 0x40ae9a
mov ecx, dword [edi]
cmp ecx, dword [ebx]
jne 0x40ae9a
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x40ae37
cmp eax, dword [edi]
jne 0x40ae37
mov dword [ebp - 0x14], edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40ae73
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40af38
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edi + 4]
lea edx, [ecx + ecx + 2]
push edx
lea edx, [edi + 0x10]
push edx
lea ecx, [ecx + ecx + 2]
push ecx
add eax, 0x10
push eax
call fcn.0041e011
add esp, 0x10
lea eax, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x40ae8c
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [esi + 0x228], eax
jmp 0x40aea4
mov ebx, dword [edx - 0xc]
push edx
push eax
call fcn.00405bc0
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aecd
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
cmp dword [esi + 0x3ec], 0
jg 0x40ad84
mov ecx, dword [esi + 0x3e8]
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi + 0x54]
push 0
mov ebx, 1
push eax
mov dword [esi + 0x68], ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x54]
push 0
push 0
push 0x200
push ecx
mov byte [esi + 0xc7], bl
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 0x54]
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00405f00
int3
Function at 0x40b6a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov esi, ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, esi
call fcn.00403320
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov edx, dword [esi + 0x54]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x200
push edx
call edi
mov eax, dword [esi + 0x54]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x54]
push 0
push 0
push 0x200
push ecx
mov byte [esi + 0xc7], 1
call edi
pop edi
pop esi
pop ebp
ret 8

Function at 0x40b700
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push edi
push eax
mov esi, ecx
call fcn.004033d0
movzx ecx, di
shr edi, 0x10
mov eax, edi
test ecx, ecx
js 0x40b74d
cmp ecx, dword [esi + 0x14]
jg 0x40b74d
test eax, eax
js 0x40b74d
cmp eax, dword [esi + 0x18]
jg 0x40b74d
mov ecx, dword [esi + 0x108]
cmp eax, ecx
jle 0x40b796
sub eax, ecx
cdq
idiv dword [esi + 0x10c]
pop edi
mov dword [esi + 0x110], eax
pop esi
pop ebp
ret 8
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esi + 0x54]
push 0
push ecx
mov byte [esi + 0x100], 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x54]
push 0
push 0
push 0x200
push edx
mov byte [esi + 0xc7], 1
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x54]
push 0
push 0
push 0xfbd
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebp
ret 8
Function at 0x40c3f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ccc8
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x475080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov al, byte [edi + 4]
test al, al
je 0x40c5be
mov ebx, dword [ebp + 8]
cmp ebx, 0x25
jne 0x40c458
mov eax, dword [edi + 0x13c]
test eax, eax
jle 0x40c43b
dec eax
mov dword [edi + 0x13c], eax
mov eax, dword [edi + 0x13c]
cmp dword [edi + 0x130], eax
jle 0x40c4e0
mov dword [edi + 0x130], eax
jmp 0x40c4e0
cmp ebx, 0x27
jne 0x40c479
mov eax, dword [edi + 0x134]
mov ecx, dword [eax - 0xc]
mov eax, dword [edi + 0x13c]
cmp eax, ecx
jge 0x40c4e0
inc eax
mov dword [edi + 0x13c], eax
jmp 0x40c4e0
cmp ebx, 0x2e
jne 0x40c488
lea eax, [edi - 0x54]
call fcn.0040c370
jmp 0x40c4e0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x40c4e0
cmp ebx, 0x43
jne 0x40c4b2
cmp dword [edi + 0x154], 0
jle 0x40c4e0
lea eax, [edi - 0x54]
call fcn.0040c200
jmp 0x40c4e0
cmp ebx, 0x58
jne 0x40c4c1
lea esi, [edi - 0x54]
call fcn.0040c160
jmp 0x40c4e0
cmp ebx, 0x56
jne 0x40c4d3
lea ebx, [edi - 0x54]
call fcn.0040c260
mov ebx, dword [ebp + 8]
jmp 0x40c4e0
cmp ebx, 0x41
jne 0x40c4e0
lea eax, [edi - 0x54]
call fcn.0040c3a0
lea esi, [edi - 0x54]
push 0
call fcn.00401530
call fcn.0040bd00
mov ecx, dword [edi + 0x130]
mov eax, dword [edi + 0x13c]
lea edx, [edi + 0x134]
push edx
sub eax, ecx
lea edx, [ebp + 8]
call fcn.0040e6a0
mov dword [ebp - 4], 0
test byte [0x4780d0], 1
jne 0x40c53a
or dword [0x4780d0], 1
mov ecx, 0x4780d8
call sym.Install_vip.exe_public:_void___thiscall_CNsApp::constructor_void_
push 0x45de80
call fcn.0041daac
add esp, 4
lea eax, [ebp + 8]
push eax
push esi
call fcn.0040b8f0
add eax, dword [edi + 0x140]
add eax, dword [edi - 0x48]
test byte [0x4780d0], 1
mov dword [0x47847c], eax
jne 0x40c579
or dword [0x4780d0], 1
mov ecx, 0x4780d8
call sym.Install_vip.exe_public:_void___thiscall_CNsApp::constructor_void_
push 0x45de80
call fcn.0041daac
add esp, 4
mov ecx, dword [edi - 0x28]
push ecx
mov ecx, 0x4780d8
call sym.Install_vip.exe_public:_void___thiscall_CNsApp::DrawCaret_struct_HWND____
mov edx, dword [edi - 0x28]
push esi
push ebx
push 0xfb9
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c5be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40c5e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d698
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x475080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov al, byte [ebx + 4]
test al, al
je 0x40c78c
mov eax, dword [ebx + 0x134]
mov eax, dword [eax - 0xc]
mov esi, dword [ebp + 8]
lea edi, [ebx + 0x134]
cmp eax, dword [ebx + 0x160]
jl 0x40c643
cmp si, 8
je 0x40c643
cmp dword [ebx + 0x154], 0
je 0x40c78c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x40c78c
cmp si, 9
je 0x40c78c
cmp si, 0xd
jne 0x40c692
mov eax, dword [ebx - 0x28]
lea edx, [ebx - 0x54]
push edx
push 0
push 0xfcd
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp si, 8
jne 0x40c6cd
cmp dword [ebx + 0x154], 0
jle 0x40c6ac
lea ecx, [ebx - 0x54]
push ecx
call fcn.0040d190
jmp 0x40c706
mov edx, dword [edi]
cmp dword [edx - 0xc], 0
jle 0x40c706
mov eax, dword [ebx + 0x13c]
test eax, eax
jle 0x40c706
dec eax
push edi
call fcn.0040e280
dec dword [ebx + 0x13c]
jmp 0x40c706
cmp dword [ebx + 0x154], 0
jle 0x40c6df
lea eax, [ebx - 0x54]
push eax
call fcn.0040d190
mov ecx, dword [edi]
mov ecx, dword [ecx - 0xc]
mov eax, dword [ebx + 0x13c]
push esi
cmp ecx, eax
jne 0x40c6f6
call fcn.0040e8f0
jmp 0x40c700
mov ebx, edi
call fcn.0040e3c0
mov ebx, dword [ebp - 0x10]
inc dword [ebx + 0x13c]
lea esi, [ebx - 0x54]
call fcn.0040bd00
mov ecx, dword [ebx + 0x130]
mov eax, dword [ebx + 0x13c]
sub eax, ecx
push edi
lea edx, [ebp + 8]
call fcn.0040e6a0
lea edx, [ebp + 8]
push edx
push esi
mov dword [ebp - 4], 0
call fcn.0040b8f0
add eax, dword [ebx + 0x140]
mov ecx, dword [ebx - 0x48]
lea edi, [eax + ecx]
call fcn.00401000
push 0
mov dword [eax + 0x3a4], edi
call fcn.00401530
mov edx, dword [ebx - 0x28]
push esi
push 0
push 0xfb9
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c78c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x411230
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cae6
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
push edi
mov eax, dword [0x475080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov esi, dword [ebp - 0x50]
add esi, 0x14
call fcn.00405900
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x50]
add esi, 0x1c
call fcn.00405900
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x50]
mov dword [eax], 0
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x50]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x50]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x10], 0
mov edi, dword [ebp - 0x50]
add edi, 0x14
mov edx, 0x465988
call fcn.00405a60
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x18], 0
mov edi, dword [ebp - 0x50]
add edi, 0x1c
mov edx, 0x465988
call fcn.00405a60
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x28], 0
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x30], 0
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x34], 1
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x38], 0x32
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x3c], 1
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4123b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c85b
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x475080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x14
mov esi, dword [ebp - 0x30]
add esi, 0x14
call fcn.00405920
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x18], edx
mov eax, dword [ebp + 8]
add eax, 0x1c
mov esi, dword [ebp - 0x30]
add esi, 0x1c
call fcn.00405920
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x40]
mov dword [eax + 0x40], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4