joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cfa0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d8338
push eax
mov dword fs:[0], esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
je 0x41d057
cmp dword [ebp + 0xc], 0
je 0x41d057
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d057
push esi
lea ecx, [edi + 0x3c]
call fcn.004070e0
push dword [ebp + 0xc]
lea ecx, [edi + 0x38]
call fcn.004070e0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp + 8]
call fcn.00406c50
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
je 0x41d01f
lea eax, [ebp + 8]
push eax
lea ecx, [edi + 0x40]
call fcn.0042ad30
mov eax, dword [ebp + 8]
lea edx, [eax - 0x10]
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d040
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x41d4d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
call fcn.0041dfb0
test eax, eax
je 0x41d512
cmp dword [esi + 0xb14], 0
jne 0x41d505
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x429410
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xb14], eax
push dword [0x516658]
mov ecx, esi
call fcn.00411bc0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41ead0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x516668], 0
push esi
mov esi, ecx
je 0x41eaee
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
xor eax, eax
pop esi
pop ebp
ret 8
push 0x10
call fcn.004a46ec
mov edx, eax
add esp, 4
test edx, edx
je 0x41eb07
xorps xmm0, xmm0
movdqu xmmword [edx], xmm0
jmp 0x41eb09
xor edx, edx
mov ecx, dword [0x516664]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
movdqu xmmword [edx], xmm0
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov dword [edx + 0xc], esi
cmp dword [esi + 0x54], 0
jne 0x41eb4f
cmp dword [0x516668], 0
jne 0x41eb4f
lea eax, [ebp + 8]
push eax
push 0
push edx
push 0x41eb60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x54], eax
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x42d0e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
lea eax, [ebp - 0x208]
push ebx
push edi
push 0x208
push 0
push eax
mov ebx, ecx
call fcn.004a4860
add esp, 0xc
lea eax, [ebp - 0x208]
push 0x104
push eax
mov eax, dword [ebp + 0x10]
lea eax, [eax + eax*2]
add eax, eax
push dword [ebx + eax*8 + 0x2990]
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push dword [ebp + 0xc]
lea ecx, [ebx + 0x28b8]
push dword [ebp + 8]
call fcn.0042e560
push dword [ebp + 8]
lea ecx, [ebx + 0x28b8]
call fcn.0042df20
test eax, eax
je 0x42d18c
cmp word [ebp - 0x208], 0
je 0x42d1a0
push 0x4df88c
mov ecx, ebx
call fcn.0042d210
lea eax, [ebp - 0x208]
mov ecx, ebx
push eax
call fcn.0042d210
cmp dword [ebp + 0xc], 1
mov edx, str._UP
mov eax, 0x4df890
mov ecx, ebx
cmovne eax, edx
push eax
call fcn.0042d210
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp + 0xc], 1
jne 0x42d1a0
lea eax, [ebp - 0x208]
mov ecx, ebx
push eax
call fcn.0042d210
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42e030
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov ecx, ebx
mov edx, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and edx, 0xfff
cmp edx, 0x412
sete dl
and ecx, 0xfff
cmp ecx, 0x412
sete dh
cmp eax, 0x100
ja 0x42e0ae
je case.0x42e0ca.260
mov ecx, eax
sub ecx, 0x7b
je 0x42e172
sub ecx, 0xc
jne case.0x42e0ca.259
mov eax, dword [esi + 0x5988]
neg eax
pop edi
sbb eax, eax
and eax, 4
pop esi
or eax, 3
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x111
ja 0x42e1c5
je case.0x42e0ca.258
lea ecx, [eax - 0x101]
cmp ecx, 5
ja case.0x42e0ca.259
jmp dword [ecx*4 + 0x42e1ec]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
test dh, dh
jne 0x42e0df
test dl, dl
je 0x42e0eb
cmp edi, 0xe5
jne 0x42e0eb
test eax, eax
js case.0x42e0ca.258
push dword [ebp - 4]
mov ecx, esi
push ebx
push 0
push eax
push edi
call fcn.0042e480
test eax, eax
je 0x42e123
lea ecx, [esi + 0x28b8]
call fcn.0043ffe0
dec eax
mov ecx, esi
push eax
push 0
push edi
call fcn.0042d0e0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esi + 0x5988], 0
mov edi, dword [ebp + 0x10]
jne 0x42e17d
cmp edi, 0xd
je 0x42e14f
cmp edi, 9
jne 0x42e17d
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
push 0
and eax, 1
push eax
push 0x28
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 1
push edi
mov ecx, esi
call fcn.0042e590
test eax, eax
je case.0x42e0ca.258
push dword [ebp - 4]
mov ecx, esi
push ebx
push 1
push dword [ebp + 0x14]
push edi
call fcn.0042e480
test eax, eax
je 0x42e123
lea ecx, [esi + 0x28b8]
call fcn.0043ffe0
dec eax
mov ecx, esi
push eax
push 1
push edi
call fcn.0042d0e0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x205
je 0x42e172
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
push dword [esi + 0x5984]
call dword [sym.imp.USER32.dll_CallWindowProcW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42e480
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
mov edi, ecx
cdq
push 0x14
mov dword [edi + 0x2968], eax
mov ax, word [ebp + 0x18]
mov dword [edi + 0x296c], edx
mov word [edi + 0x2970], ax
mov dword [edi + 0x28d8], 1
mov dword [edi + 0x2964], 2
call esi
and eax, 1
push 0x10
mov dword [ebp + 0x18], eax
call esi
shr eax, 0xf
and eax, 1
mov dword [edi + 0x28d0], eax
je 0x42e4e9
cmp dword [ebp + 0x10], 0
jne 0x42e4e9
mov dword [edi + 0x28d0], 0
lea ecx, [edi + 0x28b8]
call fcn.0043ffe0
mov esi, dword [ebp + 8]
test eax, eax
jne 0x42e507
cmp dword [ebp + 0x10], 0
jne 0x42e507
cmp si, 0xd
je 0x42e553
movzx eax, si
add eax, 0xffffffa5
cmp eax, 2
jbe 0x42e553
cmp dword [edi + 0x5988], 0
je 0x42e553
lea ecx, [edi + 0x28b8]
call fcn.0042d7a0
test eax, eax
jne 0x42e553
push 1
push dword [ebp + 0x18]
lea ecx, [edi + 0x28b8]
push dword [edi + 0x28d0]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0042cd60
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x14
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x14

Function at 0x4323b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7da8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push dword [ebp + 0x14]
mov esi, ecx
push dword [ebp + 0x10]
mov dword [ebp - 0x10], esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0047ad00
mov ecx, dword [esi + 0xc]
mov dword [ebp - 4], 0
mov dword [esi], vtable.CPinchZone.0
mov dword [esi + 0x15c], 0x200
mov dword [esi + 0x160], 0x38
mov dword [esi + 0x30], 4
mov dword [esi + 0x164], 0
mov dword [esi + 0x168], 0
mov dword [esi + 0x16c], 2
mov dword [esi + 0x17c], 0
mov dword [esi + 0x180], 0
mov dword [esi + 0x184], 0
mov dword [esi + 0x188], 0x20
mov dword [esi + 0x170], 0xffffffff
mov dword [esi + 0x174], 0xffffffff
mov dword [esi + 0x178], 0
mov dword [esi + 0x198], 2
mov dword [esi + 0x19c], 0
mov dword [esi + 0x1a0], 0
mov dword [esi + 0x190], 0x19
mov dword [esi + 0x194], 0x96
call fcn.0041e420
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x1a4], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4338d0
Capabilities:
Access peb ldr_data
Find taskbar
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7e41
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 2
push 0x200
lea ecx, [edi + 0x48]
mov dword [ebp - 4], 0
mov dword [edi], vtable.CPluginAction.0
call fcn.00433690
lea ecx, [edi + 0x88]
mov dword [edi + 0x74], 4
call fcn.00433650
lea eax, [edi + 0xb4]
mov dword [edi + 0x88], vtable.CPluginAction::CActionTrackerList.0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [edi + 0xcc]
mov byte [ebp - 4], 2
call fcn.0042ae40
push 0
push 0x4dc764
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x433978
push 5
push eax
call dword [sym.imp.USER32.dll_GetWindow]
push 0x4e0aa8
push eax
mov dword [edi + 0x10], eax
call fcn.0040a2c0
add esp, 8
test eax, eax
jne 0x43397f
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0xc], 0
call fcn.00439c50
push 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x38], 0x4b
mov dword [edi + 0x34], 0x1f4
mov dword [edi + 0x3c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x70], 0xc
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x40], 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x78], eax
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x437d70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
push 0
push str.OmgBJMainWnd
call esi
test eax, eax
jne 0x437dcf
push eax
push 0x4e0c9c
call esi
mov esi, eax
lea eax, [ebp - 0x208]
push 0x104
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x437dcd
lea eax, [ebp - 0x208]
push 0x4e0cd0
push eax
call fcn.004a6d58
add esp, 8
test eax, eax
je 0x437dcd
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x439be0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x439bf5
pop esi
pop ebp
ret 4
mov dword [eax + 0xc], 1
mov ecx, dword [esi + 0x1c]
push 0
call fcn.00483080
mov eax, dword [esi + 0x1c]
push 0
push dword [eax + 0xb8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
pop ebp
ret 4
Function at 0x43a200
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x43a30d
push 0x200
lea ecx, [ebp - 0x400]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x43a30d
lea eax, [ebp - 0x400]
push str.Netscape
push eax
call fcn.004a6d58
add esp, 8
test eax, eax
je 0x43a253
mov eax, 1
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x400]
push str.Internet_Explorer
push eax
call fcn.004a6d58
add esp, 8
test eax, eax
jne 0x43a24a
lea eax, [ebp - 0x400]
push str.Mozilla
push eax
call fcn.004a6d58
add esp, 8
test eax, eax
jne 0x43a24a
lea eax, [ebp - 0x400]
push str.Opera
push eax
call fcn.004a6d58
add esp, 8
test eax, eax
jne 0x43a24a
lea eax, [ebp - 0x400]
push str.Google_Chrome
push eax
call fcn.004a6d58
add esp, 8
test eax, eax
jne 0x43a24a
call fcn.0049d840
test eax, eax
je 0x43a30d
push 0x200
lea ecx, [ebp - 0x400]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x43a30d
lea eax, [ebp - 0x400]
push str.Internet_Explorer
push eax
call fcn.004a6d58
add esp, 8
test eax, eax
jne 0x43a24a
lea eax, [ebp - 0x400]
push str.Mozilla
push eax
call fcn.004a6d58
add esp, 8
neg eax
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x43c5a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push esi
push 0x40
mov ebx, ecx
lea eax, [ebp - 0xc8]
push eax
push 0x414
mov dword [ebp - 0x14], ebx
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0043dda0
add esp, 8
mov eax, dword [ebx + 0x28e0]
mov dword [ebp - 4], 0
test eax, eax
jne 0x43c636
mov ebx, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x2c]
cmp ebx, 8
mov edx, dword [ebp - 0x14]
cmovae ecx, esi
add edx, 0x28e4
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x43c620
jmp 0x43c707
push 0
push dword [ebx + 4]
push 0
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0047f650
mov edx, dword [ebp - 0x14]
add esp, 0x14
add edx, 0xfffffff0
or ecx, 0xffffffff
mov esi, dword [eax]
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43c669
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
lea edi, [ebx + 0x28e4]
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.0042ea60
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x43c685
mov eax, dword [eax]
mov cx, word [esi]
cmp cx, word [eax]
jne 0x43c6ab
test cx, cx
je 0x43c6a7
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x43c6ab
add esi, 4
add eax, 4
test cx, cx
jne 0x43c685
xor eax, eax
jmp 0x43c6b0
sbb eax, eax
or eax, 1
test eax, eax
setne al
cmp dword [ebp - 0x30], 8
mov byte [ebp - 0xd], al
jb 0x43c6cc
push dword [ebp - 0x44]
call fcn.004a46e7
mov al, byte [ebp - 0xd]
add esp, 4
mov esi, dword [ebp - 0x2c]
test al, al
je 0x43c703
mov dword [ebx + 0x28e0], 0
lea ecx, [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
cmp ebx, 8
cmovae ecx, esi
lea esp, [esp]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edi], ax
lea edi, [edi + 2]
test ax, ax
jne 0x43c6f0
jmp 0x43c706
mov ebx, dword [ebp - 0x18]
pop edi
cmp ebx, 8
jb 0x43c715
push esi
call fcn.004a46e7
add esp, 4
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x43dce0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
push 0x30
lea eax, [ebp - 0x30]
mov edi, ecx
push 0
push eax
call fcn.004a4860
add esp, 0xc
mov dword [ebp - 0x30], 0x30
lea eax, [ebp - 0x30]
push eax
push 0
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
push 0
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
cmp dword [ebp + 8], 0
mov esi, eax
je 0x43dd64
push esi
call sub.IMM32.dll_ImmIsIME
test eax, eax
je 0x43dd83
push 1
push 0x4e0ce0
call dword [sym.imp.USER32.dll_LoadKeyboardLayoutW]
test eax, eax
je 0x43dd83
push eax
push 1
push 0x50
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x78], esi
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x78]
cmp esi, eax
je 0x43dd83
push eax
push 1
push 0x50
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [edi + 0x78], eax
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43f5d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d812a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.004a3afd
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
jne 0x43f668
lea eax, [ebp + 8]
mov dword [ebp + 8], str.bad_locale_name
push eax
lea ecx, [ebp - 0x1c]
call fcn.004a9c05
push 0x509888
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], vtable.std::runtime_error.0
push eax
call fcn.004a55f4
push eax
push esi
call fcn.004a4002
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x43f980
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CPluginZone.0
cmp dword [0x515c8c], 0
mov dword [ebp - 4], 0
je 0x43fa14
mov ecx, 0x5172d8
call fcn.004400b0
test eax, eax
jne 0x43fa14
push dword [0x515c98]
call fcn.004a6088
push dword [0x515c94]
mov dword [0x515c98], 0
call fcn.004a6088
add esp, 8
mov dword [0x515c94], 0
push 0
push dword [0x515c8c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x515c8c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x515c8c], 0
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0047b030
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x443700
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d8148
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x443831
cmp byte [ebx + 0x45], 0
je 0x443831
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x44374f
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
push esi
mov dword [ebp - 4], 0
push edi
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x10]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4437bb
dec eax
je 0x4437bf
sub eax, 2
je 0x44380b
xor bl, bl
jmp 0x44380d
mov byte [ebx + 0x45], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x10]
cmovae eax, edx
sub esi, eax
je 0x4437f1
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004a9713
add esp, 0x10
cmp esi, eax
jne 0x4437b7
cmp byte [ebx + 0x45], 0
je 0x44380b
test esi, esi
jne 0x443781
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00408ef0
jmp 0x443781
mov bl, 1
cmp dword [ebp - 0x14], 0x10
pop edi
pop esi
jb 0x443820
push dword [ebp - 0x28]
call fcn.004a46e7
add esp, 4
mov al, bl
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov al, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x445b60
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x520
push ebx
push edi
push 0x208
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.004a3ac6
mov edi, eax
add esp, 4
test edi, edi
jne 0x445b8b
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
add eax, 4
mov ecx, eax
mov dword [ebp + 8], eax
call fcn.004a1540
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x104
lea eax, [ebp - 0x520]
push eax
call fcn.004a0f50
test eax, eax
je 0x445cbd
push esi
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x445be1
cmp eax, 2
jne 0x445c88
cmp word [ebp - 0x218], 0
je 0x445c88
cmp eax, 2
jne 0x445c21
push 0x104
push edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea edx, [ebp - 0x218]
mov eax, edi
sub edx, edi
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x445c11
push 2
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x445c63
push 0x100
lea eax, [ebp - 0x318]
push eax
push dword [ebp + 0xc]
push esi
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x445c63
lea eax, [ebp - 0x218]
push 0
push eax
lea eax, [ebp - 0x318]
jmp 0x445c72
lea eax, [ebp - 0x218]
push 0
push eax
lea eax, [ebp - 0x520]
mov ecx, dword [ebp - 4]
push eax
call fcn.004458d0
mov ebx, eax
test esi, esi
je 0x445c88
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x104
lea eax, [ebp - 0x520]
push eax
call fcn.004a0f50
test eax, eax
jne 0x445bd0
pop esi
push edi
call fcn.004a6088
add esp, 4
mov eax, ebx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x448970
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov ebx, ecx
xor esi, esi
mov ecx, dword [edi]
test ecx, ecx
je 0x4489c0
mov eax, dword [ecx]
lea edx, [ebp - 4]
push edx
push 0x10000302
push ecx
call dword [eax + 0xc]
cmp dword [ebp - 4], esi
je 0x4489c0
mov ecx, dword [edi]
test ecx, ecx
jne 0x4489a6
shr esi, 0x16
and esi, 1
jmp 0x4489d7
mov eax, dword [ecx]
lea edx, [ebp - 4]
push edx
push 0x10000313
push ecx
call dword [eax + 0xc]
mov esi, dword [ebp - 4]
shr esi, 0x16
and esi, 1
jmp 0x4489d7
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4489d7
mov esi, 1
mov edi, dword [ebp + 8]
test edi, edi
je 0x448b10
cmp dword [ebx + 0x70], 0
je 0x448b10
mov eax, dword [ebx + 0x44]
test al, al
js 0x448b10
test eax, 0x4000
jne 0x448b10
mov ecx, edi
call fcn.0047b120
test eax, eax
je 0x448b10
push 0
push 0
mov ecx, edi
call fcn.0047bbe0
test eax, 0x400
jne 0x448b10
cmp dword [ebp + 0xc], 0
je 0x448b10
test esi, esi
je 0x448a99
cmp dword [ebx + 0xbc], 0
jne 0x448b10
push edi
mov ecx, 0x516884
call fcn.00406490
mov eax, dword [ebx + 0xc]
cmp eax, 1
je 0x448a63
cmp eax, 5
je 0x448a63
cmp eax, 6
jne 0x448b10
mov ecx, dword [edi + 0xc]
push 0x10
call fcn.0041e480
test eax, eax
jne 0x448b10
push edi
push 6
push dword [ebx + 0x44]
mov ecx, 0x516884
push edi
call fcn.00406280
pop edi
pop esi
mov dword [ebx + 0xbc], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0xbc], 0
je 0x448b10
push edi
mov ecx, 0x516884
call fcn.00406490
mov eax, dword [ebx + 0xc]
cmp eax, 1
jne 0x448aee
mov esi, dword [edi + 0xc]
mov ecx, edi
call fcn.0047bfe0
push eax
mov ecx, esi
call fcn.0041e480
test eax, eax
jne 0x448b10
push edi
push eax
push dword [ebx + 0x44]
mov ecx, 0x516884
push edi
call fcn.00406280
pop edi
pop esi
mov dword [ebx + 0xbc], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 5
je 0x448af8
cmp eax, 6
jne 0x448b10
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp + 0x10]
push edi
call fcn.00447fc0
mov dword [ebx + 0xbc], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc