joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f540
Capabilities:
Extract resource via kernel32 functions
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x598b40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x14], ebp
call fcn.005885ac
mov edi, dword [esp + 0x70]
mov esi, dword [eax + 0xc]
push 0xe
push edi
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43f678
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43f6e8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x43f6e8
xor ebx, ebx
cmp word [ebp + 4], bx
jbe 0x43f659
lea ecx, [esp + 0x18]
call fcn.0043bb00
mov eax, ebx
xor edx, edx
and eax, 0xffff
mov dword [esp + 0x68], 0
lea ecx, [eax*8]
sub ecx, eax
mov dl, byte [ebp + ecx*2 + 7]
lea eax, [ebp + ecx*2]
xor ecx, ecx
mov edi, edx
mov cl, byte [eax + 6]
mov esi, ecx
mov ecx, dword [esp + 0x78]
cmp ecx, esi
jne 0x43f5f3
cmp dword [esp + 0x7c], edi
je 0x43f5ff
test ecx, ecx
jne 0x43f63d
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jne 0x43f63d
xor edx, edx
push 0
mov dx, word [eax + 0x12]
mov eax, dword [esp + 0x14]
push edi
push esi
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.0043c100
test eax, eax
je 0x43f663
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x18]
push edi
push esi
lea eax, [esp + 0x24]
push edx
push eax
call fcn.0043f2d0
test eax, eax
je 0x43f663
lea ecx, [esp + 0x18]
mov dword [esp + 0x68], 0xffffffff
call fcn.0043bda0
inc ebx
cmp bx, word [ebp + 4]
jb 0x43f5b1
mov eax, 1
jmp 0x43f6e8
lea ecx, [esp + 0x18]
mov dword [esp + 0x68], 0xffffffff
call fcn.0043bda0
xor eax, eax
jmp 0x43f6e8
lea ecx, [esp + 0x3c]
call fcn.0043bb00
mov esi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
push 0
push esi
push ebx
push edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x78], 1
call fcn.0043c090
test eax, eax
jne 0x43f6b8
lea ecx, [esp + 0x3c]
mov dword [esp + 0x68], 0xffffffff
call fcn.0043bda0
xor eax, eax
jmp 0x43f6e8
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x74]
push ecx
push esi
push ebx
lea eax, [esp + 0x48]
push edx
push eax
mov ecx, ebp
call fcn.0043f2d0
lea ecx, [esp + 0x3c]
mov esi, eax
mov dword [esp + 0x68], 0xffffffff
call fcn.0043bda0
mov eax, esi
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret 0x14
Function at 0x43f700
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x598b58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
mov ebx, dword [esp + 0x58]
push ebp
push esi
test ebx, ebx
push edi
mov dword [esp + 0x1c], ecx
je 0x43f72f
mov eax, dword [ebx + 4]
test eax, eax
jne 0x43f736
xor eax, eax
jmp 0x43f885
mov edi, dword [esp + 0x6c]
mov esi, dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
test edi, edi
jne 0x43f755
mov ecx, dword [esp + 0x68]
test ecx, ecx
jne 0x43f755
push eax
call esi
mov dword [esp + 0x6c], eax
mov edi, eax
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x43f7a6
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x43f7a6
test edi, edi
jle 0x43f7a6
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x30]
push eax
push 0
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageInfo]
lea edx, [esp + 0x40]
lea eax, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub eax, ebp
sub ecx, edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov ecx, dword [ebx + 4]
push ecx
call esi
xor edx, edx
cmp eax, edi
sete dl
xor ebx, ebx
mov dword [esp + 0x18], edx
test edi, edi
mov dword [esp + 0x14], ebx
jle 0x43f880
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x43f7ea
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x43f7ea
mov ecx, dword [esp + 0x10]
cmp dword [ecx], 0
je 0x43f864
mov edx, dword [esp + 0x64]
push 0
push ebx
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov esi, eax
test esi, esi
je 0x43f72f
mov eax, dword [esp + 0x68]
test eax, eax
je 0x43f815
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx]
jmp 0x43f819
mov edi, dword [esp + 0x14]
push 1
push esi
lea ecx, [esp + 0x38]
call fcn.0043bb10
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
push ebp
push edx
push eax
lea ecx, [esp + 0x3c]
push edi
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x70], 0
call fcn.0043f2d0
lea ecx, [esp + 0x30]
mov dword [esp + 0x5c], 0xffffffff
call fcn.0043bda0
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edi, dword [esp + 0x6c]
inc ebx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
inc eax
add edx, 4
cmp eax, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x43f7d1
mov eax, 1
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0x18
Function at 0x4400e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x598bf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], vtable.CBitmap.0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 4]
push eax
push ecx
mov dword [esp + 0x20], 0
call fcn.00439fa0
add esp, 8
test eax, eax
jne 0x44015e
mov dword [esp + 8], vtable.CGdiObject.0
lea ecx, [esp + 8]
mov dword [esp + 0x18], 1
call fcn.0057463f
xor eax, eax
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x18
push eax
lea ecx, [esp + 0xc]
call fcn.005745e8
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.0043fd20
mov esi, eax
mov dword [esp + 8], vtable.CGdiObject.0
lea ecx, [esp + 8]
mov dword [esp + 0x18], 2
call fcn.0057463f
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0x18

Function at 0x4404e0
Capabilities:
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x598c40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, ecx
push 0x400
lea ecx, [esp + 0x10]
call fcn.0057bacc
push 0
push 0x1000
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x90], 0
call fcn.0057499a
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x34]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x88], 1
call fcn.00440eb0
lea ecx, [esp + 0x34]
call fcn.00574cab
lea ecx, [esp + 0xc]
call fcn.0057bc03
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.0057bb54
push esi
push 2
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x4405af
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov edi, eax
mov eax, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [0x604e94]
push ebp
and ecx, 0xffff
push ecx
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
lea ecx, [esp + 0x34]
call fcn.00574afe
lea ecx, [esp + 0xc]
call fcn.0057bd4d
push ebx
call fcn.00424b28
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 0
call fcn.00574a76
lea ecx, [esp + 0xc]
mov dword [esp + 0x80], 0xffffffff
call fcn.0057bb66
mov ecx, dword [esp + 0x78]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 4
Function at 0x442db0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x598f59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0056c5f5
mov eax, dword [0x5f2228]
lea edi, [esi + 0x3c]
mov dword [esp + 0x14], 0
mov dword [edi], eax
mov edx, dword [0x5f2228]
lea ecx, [esi + 0x40]
mov dword [ecx], edx
mov eax, dword [0x5f2228]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
mov byte [esp + 0x18], 3
mov dword [esi], method.CWnd.virtual_0
mov dword [esi + 0x48], edx
call fcn.0056c0a6
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x4c], edx
mov ecx, edi
mov dword [esi + 0x50], eax
call fcn.0056bea8
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x54], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x60], edx
mov dword [esi + 0x58], 1
mov dword [esi + 0x64], 0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x4440e0
Capabilities:
Log keystrokes

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x70]
cmp dword [eax + 0x5c], 2
je 0x444234
mov ecx, dword [esp + 0x14]
cmp ecx, 0x60
jb 0x44410c
cmp ecx, 0x69
ja 0x44410c
mov edx, dword [eax + 0x7c]
test edx, edx
je 0x444234
push 2
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
test eax, eax
je 0x444234
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
mov ebp, eax
push ebp
call fcn.00442180
mov esi, eax
mov eax, dword [edi + 0x80]
add esp, 4
neg esi
sbb esi, esi
xor ebx, ebx
and esi, ebp
test eax, eax
jle 0x444182
push ebx
mov ecx, edi
call fcn.004449e0
mov ebp, eax
mov eax, dword [ebp + 0xc8]
test eax, eax
jne 0x444180
mov ecx, dword [edi + 0x70]
test byte [ecx + 0x5c], 1
je 0x444173
test esi, esi
jne 0x444173
push ebp
call fcn.00442180
add esp, 4
test eax, eax
je 0x444173
mov esi, ebp
mov eax, dword [edi + 0x80]
inc ebx
cmp ebx, eax
jl 0x444143
jmp 0x444182
mov esi, ebp
test esi, esi
je 0x444234
push esi
call fcn.00442180
add esp, 4
test eax, eax
je 0x444234
mov ebx, dword [esp + 0x14]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x16c]
test eax, eax
je 0x4441ba
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push ebx
push esi
call fcn.00443e70
mov ebp, eax
test ebp, ebp
je 0x444234
mov esi, dword [ebp + 0xfc]
mov ebx, dword [ebp + 0x7c]
mov eax, dword [esi + 0xc8]
test eax, eax
jne 0x4441e8
mov ecx, edi
call fcn.004440b0
push 1
mov ecx, edi
call fcn.00443c90
mov dword [edi + 0x40], 1
mov edx, dword [esi]
push 1
push 0
push 1
mov ecx, esi
call dword [edx + 0xbc]
mov eax, dword [esi]
push 1
push ebx
mov ecx, esi
call dword [eax + 0xc4]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x444228
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xa8]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x444240
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
cmp dword [edi + 4], 0x104
jne 0x4442fc
mov eax, dword [edi + 0xc]
shr eax, 0x10
test ah, 0x20
je 0x4442fc
call fcn.00443d60
mov ecx, dword [eax + 4]
test ecx, ecx
jg 0x4442fc
push 0
mov ecx, esi
call fcn.00443d60
mov ecx, eax
call fcn.004a2c70
test eax, eax
jne 0x4442fc
mov ecx, esi
call fcn.00443d60
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x4442a0
mov eax, dword [eax + 0x1c]
push eax
call fcn.004a2920
add esp, 4
test eax, eax
je 0x4442fc
cmp dword [edi + 8], 0x12
jne 0x4442c7
push 1
mov ecx, esi
call fcn.00443c90
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x20
ret 4
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4442db
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
jne 0x4442fc
mov eax, dword [edi + 8]
test eax, eax
je 0x4442fc
push eax
mov ecx, esi
call fcn.004440e0
test eax, eax
je 0x4442fc
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20
ret 4
mov eax, dword [edi + 4]
cmp eax, 0x105
je 0x44430d
cmp eax, 0x101
jne 0x44433d
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x44433d
mov eax, dword [esi + 0xac]
test eax, eax
je 0x44433d
push 0
mov ecx, esi
call fcn.00443d60
mov ecx, eax
call fcn.004a2c70
test eax, eax
jne 0x44433d
push eax
mov ecx, esi
call fcn.00443c90
mov eax, dword [edi + 4]
cmp eax, 0x7b
je 0x44434c
cmp eax, 0x105
jne 0x44438e
push 0
mov ecx, esi
call fcn.00443d60
mov ecx, eax
call fcn.004a2c70
test eax, eax
je 0x44438e
push 0x445b30
mov ecx, 0x605ab4
call fcn.005898a6
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
push ecx
push edx
push 0x7b
mov ecx, eax
call fcn.004c9f90
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20
ret 4
cmp dword [edi + 4], 0x20a
jne 0x44444b
push 0x445b30
mov ecx, 0x605ab4
call fcn.005898a6
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jle 0x4443dd
push 0x445b30
mov ecx, 0x605ab4
call fcn.005898a6
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
push ecx
push edx
push 0x20a
mov ecx, eax
call fcn.004c9f90
pop edi
pop esi
pop ebx
add esp, 0x20
ret 4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
lea ecx, [esp + 0xc]
mov ebx, eax
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
test ebx, ebx
je 0x44444b
cmp dword [ebx + 0xe0], 3
jne 0x44444b
mov edx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], edx
call fcn.0046b760
mov ecx, dword [esp + 0x1c]
push ecx
push ebp
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
pop ebp
je 0x44444b
mov edx, dword [edi + 8]
xor eax, eax
shr edx, 0x10
test dx, dx
setle al
push eax
mov ecx, ebx
call fcn.004ce6f0
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20
ret 4
mov eax, dword [edi + 4]
cmp eax, 0x100
jb 0x4442bc
cmp eax, 0x108
ja 0x4442bc
push edi
mov ecx, esi
call fcn.004a16c0
mov ecx, eax
call fcn.004c3d70
test eax, eax
je 0x4442bc
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20
ret 4
Function at 0x457460
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59a228
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0056c987
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x21c], 0
call dword [eax + 0x194]
mov ecx, dword [esi + 0x264]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
test ecx, ecx
je 0x4574b5
mov eax, dword [esp + 0x4c]
mov edx, dword [ecx]
push ebx
push ebp
push eax
call dword [edx + 0x64]
push ebx
push ebp
mov ecx, esi
call fcn.00455640
mov edi, eax
test edi, edi
je 0x45753d
cmp edi, dword [esi + 0x284]
jne 0x4574d8
push 0
push 0
push edi
mov ecx, esi
call fcn.00455140
lea ecx, [esp + 0x10]
call fcn.0048b1e0
mov dword [esp + 0x10], 0x5b4504
mov edx, dword [edi]
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x24]
push eax
push ecx
push ebx
push ebp
mov ecx, edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebx
call dword [edx + 0x84]
mov edx, dword [edi]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call dword [edx + 0x90]
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call fcn.0048b2a0
mov eax, dword [esi + 0x19c]
mov dword [esi + 0x284], 0
test eax, eax
je 0x457575
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x457590
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x457590
mov eax, dword [esi + 0x1a0]
test eax, eax
jne 0x457590
test edi, edi
je 0x457590
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x68]
test eax, eax
je 0x457590
mov eax, dword [edi]
push ebx
push ebp
mov ecx, edi
call dword [eax + 0x88]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 0xc

Function at 0x458390
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x90
mov dword [esp], 3
call fcn.0048fe30
mov ecx, eax
call fcn.0048fe80
test al, al
je 0x458422
lea eax, [esp + 4]
push eax
push 1
push 0
push str.Control_PanelDesktop
push reloc.oledlg.dll_OleUIAddVerbMenuA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x458433
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.WheelScrollLines
push ecx
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45840c
push 0xa
lea edx, [esp + 0x14]
push eax
push edx
call fcn.004270c6
add esp, 0xc
mov dword [esp], eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp]
add esp, 0x90
ret
lea ecx, [esp]
push 0
push ecx
push 0
push 0x68
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [esp]
add esp, 0x90
ret
Function at 0x45f3a0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
push esi
mov esi, dword [esp + 0x24]
push edi
cmp esi, 8
mov edi, ecx
je 0x45f3e5
cmp esi, 0x21
jb 0x45f3ba
cmp esi, 0x2e
jbe 0x45f3e5
cmp esi, 0x43
je 0x45f3ce
cmp esi, 0x56
je 0x45f3ce
cmp esi, 0x58
je 0x45f3ce
cmp esi, 0x5a
jne 0x45f3db
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x45f3e5
pop edi
xor eax, eax
pop esi
add esp, 0x1c
ret 8
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi + 0x1c]
lea edx, [esp + 8]
mov dword [esp + 0x14], ecx
push edx
mov ecx, edi
mov dword [esp + 0x10], 0x100
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], esi
call fcn.0056f956
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
add esp, 0x1c
ret 8

Function at 0x45f600
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
push ebx
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
jne 0x45f618
pop edi
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
mov ebx, dword [esp + 0x28]
cmp ebx, 0x26
je 0x45f630
cmp ebx, 0x28
je 0x45f630
cmp ebx, 0x22
je 0x45f630
cmp ebx, 0x21
jne 0x45f63d
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x45f647
pop edi
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
mov eax, dword [edi + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call esi
push 1
push eax
call esi
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 8]
lea edx, [esp + 0xc]
push edx
push eax
mov dword [esp + 0x18], 0x100
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_IsDialogMessageA]
neg eax
sbb eax, eax
pop esi
pop edi
pop ebx
neg eax
add esp, 0x1c
ret 8
Function at 0x46b628
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59b068
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
je 0x46b6e3
call fcn.0046b5c0
mov ecx, dword [esi]
mov edi, eax
lea eax, [esp + 0x10]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x46b6e3
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46b6e3
mov eax, dword [esp + 0x14]
test eax, eax
je 0x46b6e3
lea ecx, [esp + 8]
call fcn.0056a364
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 1
push 0
push 0x19
push edx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0
call fcn.0056a429
mov esi, dword [esi]
push esi
call fcn.005745d3
test eax, eax
je 0x46b6a1
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xc]
push edi
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov edx, dword [esp + 0xc]
push 0
push 0
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x30], 0xffffffff
call fcn.0056a38d
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov ecx, dword [esp + 0x28]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x46bb30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59b0f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00573965
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
lea edi, [esi + 0x18]
mov edx, dword [esp + 0x30]
mov ecx, edi
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x20], 0
mov dword [ecx], ebx
mov dword [esi + 0x10], eax
mov dword [esi], method.CDC.virtual_0
mov dword [ecx + 4], ebp
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.00573a1c
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
sub eax, edx
mov edx, dword [edi]
push eax
sub ecx, edx
mov edx, dword [esi + 0x10]
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 0x14], eax
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
neg ebp
neg ebx
push ebp
lea ecx, [esp + 0x2c]
push ebx
push ecx
mov ecx, esi
mov dword [esi + 0x28], eax
call fcn.00573d3a
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x470e30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59b3e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, 0xaa
mov ecx, 0x55
xor esi, esi
mov word [esp + 0x20], cx
mov word [esp + 0x22], ax
mov word [esp + 0x24], cx
mov word [esp + 0x26], ax
mov word [esp + 0x28], cx
mov word [esp + 0x2a], ax
mov word [esp + 0x2c], cx
mov word [esp + 0x2e], ax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], vtable.CBitmap.0
lea eax, [esp + 0x20]
mov dword [esp + 0x38], esi
push eax
push 1
push 1
push 8
push 8
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [esp + 0x1c]
call fcn.005745e8
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], vtable.CBrush.0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
mov byte [esp + 0x38], 1
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
lea ecx, [esp + 0x14]
call fcn.005745e8
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00573bb0
mov ebp, dword [esi]
push 0xf
mov ecx, edi
mov ebx, eax
call fcn.00448160
push eax
mov ecx, esi
call dword [ebp + 0x2c]
mov edx, dword [esi]
push 0x14
mov ecx, edi
mov ebp, eax
mov dword [esp + 0x44], edx
call fcn.00448160
mov edx, dword [esp + 0x40]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
push 0xf00021
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax]
mov eax, dword [eax + 8]
sub ecx, edx
sub eax, edi
push ecx
push eax
mov eax, dword [esi + 4]
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_PatBlt]
push ebx
mov ecx, esi
call fcn.00573bb0
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x40]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
lea ecx, [esp + 0x10]
call fcn.0057463f
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 2
call fcn.0057463f
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 3
call fcn.0057463f
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 8

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

Disassembly:
push 0xffffffffffffffff
push 0x59bb38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x34]
push esi
mov esi, ecx
push eax
lea ecx, [esp + 8]
call fcn.00477710
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
sub esp, 0x10
mov dword [esp + 0x30], 0
mov ecx, esp
push esi
mov dword [ecx], edx
mov edx, dword [esp + 0x44]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x18]
call fcn.004777f0
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.00474b50
mov ecx, dword [esp + 0x18]
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0x14