joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403640
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x592557
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x613384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
lea ebx, [eax + 4]
mov dword [ebp - 4], 0
mov dword [ebx], vtable.mui::MuDialog::CloseCallback.0
mov dword [eax + 8], vtable.ui::Menu::ActionCallback.0
lea edi, [eax + 0xc]
mov byte [ebp - 4], 2
mov dword [edi], vtable.rvSetup::AdminHelperClient::Callback.0
mov dword [eax], vtable.rvSetup::SetupDlg.0
mov dword [eax + 8], vtable.rvSetup::SetupDlg.2.0
add eax, 0x10
push eax
mov dword [ebx], vtable.rvSetup::SetupDlg.1.0
mov dword [edi], vtable.rvSetup::SetupDlg.3.0
call fcn.00404690
add esp, 4
push 0
push 0
push 3
push 0x26c
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push 0x3fc
push eax
call fcn.00404aa0
add esp, 0xc
push eax
push 0
push 0x25
push str.c:ent_slave_rootworkspace_vncconnect_buildsclients_vnc_7.6.xlabelcon_windows_64libs_rvsetup_setupdlg.cxx
push str.rvSetup_setupdlg_title
call fcn.00455eb0
add esp, 0x10
push eax
push str.SetupDlg
call fcn.0042b750
mov esi, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], esi
push 0x78
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 4
push 0x3fc
push eax
call fcn.00404aa0
push eax
push str.vncconnectbanner
push 0
push esi
call fcn.0042c1c0
mov esi, dword [ebp - 0x10]
push 1
push 0
mov dword [esi + 0x18], eax
push dword [esi + 0x14]
call fcn.0042ea60
mov dword [esi + 0x1c], eax
add esp, 0x40
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
push 0x5abc58
mov byte [ebp - 4], 0xb
push 0
push dword [esi + 0x14]
lea ecx, [esi + 0x44]
call fcn.004329a0
mov ecx, dword [esi + 0x14]
push 1
push esi
mov byte [ebp - 4], 0xc
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x90], esi
call fcn.00432650
push edi
lea ecx, [esi + 0x98]
mov byte [ebp - 4], 0xd
call fcn.00408ef0
movaps xmm0, xmmword [0x5abe60]
mov byte [esi + 0x180], 0
mov eax, dword [esi + 0x14]
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
mov dword [eax + 0x64], ebx
mov edi, dword [esi + 0x14]
push 0xffffffffffffffff
push str.contentBg
mov byte [ebp - 4], 0xf
call fcn.00448d00
push dword [ebp - 0x24]
mov esi, eax
call fcn.0054454b
mov ecx, dword [ebp - 0x28]
add esp, 0xc
mov dword [ebp - 0x24], esi
test ecx, ecx
je 0x403831
mov eax, str.contentText
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x403828
test dl, dl
je 0x403824
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x403828
add ecx, 2
add eax, 2
test dl, dl
jne 0x403808
xor eax, eax
jmp 0x40382d
sbb eax, eax
or eax, 1
test eax, eax
je 0x40384d
push 0xffffffffffffffff
push str.contentText
invalid
Function at 0x406170
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5929f9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x613384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 0x10], edi
call fcn.00405e30
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
movzx eax, byte [esi + 0x10]
mov byte [edi + 0x10], al
push 0xffffffffffffffff
push dword [esi + 0x14]
mov dword [ebp - 4], 0
call fcn.00448d00
add esp, 8
mov dword [edi + 0x14], eax
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 1
mov dword [ecx], 0
push 0xffffffffffffffff
push dword [esi + 0x18]
call fcn.0045fa30
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 2
mov dword [ecx], 0
push 0xffffffffffffffff
push dword [esi + 0x1c]
call fcn.0045fa30
lea eax, [esi + 0x20]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x20]
call fcn.00405e30
movzx eax, byte [esi + 0x2c]
mov byte [edi + 0x2c], al
movzx eax, byte [esi + 0x2d]
mov byte [edi + 0x2d], al
movzx eax, byte [esi + 0x2e]
mov byte [edi + 0x2e], al
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, edi
mov byte [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40ae10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59357e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x613384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
lea edx, [edi + 4]
mov dword [edx], vtable.plat::Timer::Callback.0
mov dword [edi], vtable.rvSetup::Download.0
mov dword [edx], vtable.rvSetup::Download.1.0
mov dword [edi + 8], eax
mov dword [ebp - 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], edx
mov dword [edi + 0x28], 0
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
mov ecx, dword [eax]
push dword [eax + 4]
push 0x5ae084
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [edi + 0x30], eax
mov edx, dword [eax]
mov ecx, eax
push 0xffffffffffffffff
mov byte [ebp - 4], 2
call dword [edx + 4]
mov ecx, dword [edi + 0x30]
push 0x40000000
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [edi + 0x30]
push edi
mov eax, dword [ecx]
call dword [eax + 0x1c]
push 0x3e8
lea ecx, [edi + 0x10]
call fcn.0046ac80
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x420590
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0xc], esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, dword [ebp + 0xc]
mov edx, eax
mov dword [esi], edx
test edi, edi
je 0x4205c8
mov ecx, edi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4205b7
sub ecx, ebx
sar ecx, 1
jmp 0x4205ca
xor ecx, ecx
lea eax, [edx + 1]
mov dword [esi + 4], 0
lea ebx, [esi + 4]
add eax, ecx
mov dword [ebp - 4], eax
mov dword [ebp + 0xc], ebx
je 0x4205ff
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00544c6b
add esp, 4
mov dword [ebp + 0xc], eax
jmp 0x420606
mov dword [ebp + 0xc], 0
push dword [ebx]
call fcn.0054454b
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
add esp, 4
mov dword [ebx], ecx
mov word [ecx + eax*2 - 2], dx
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax], cx
mov eax, dword [esi]
inc eax
push eax
push dword [ebx]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebx]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420640
lea eax, [ebp - 0xc]
sub ecx, edx
push eax
lea eax, [ebp - 8]
sar ecx, 1
push eax
push 0xb0
push dword [ebp + 8]
mov dword [esi], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi]
mov ecx, dword [ebp - 8]
cmp ecx, edx
jg 0x420678
test ecx, ecx
js 0x420678
mov eax, ecx
jmp 0x42067a
xor eax, eax
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, ecx
jl 0x42068c
cmp eax, edx
jg 0x42068c
sub eax, ecx
jmp 0x42068e
xor eax, eax
mov dword [esi + 8], eax
test edi, edi
je 0x42069d
push edi
mov ecx, esi
call fcn.004210f0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x437760
Capabilities:
Get thread local storage value
Set global application hook
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597c90
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x613384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
call fcn.00470bb0
add esp, 4
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push 0xffffffffffffffff
push eax
call fcn.004491e0
mov esi, dword [ebp + 0x14]
mov dword [ebp - 4], 0
test esi, esi
je 0x4377de
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4377d3
cmp byte [eax], 0
je 0x4377d3
push 0xffffffffffffffff
push 0x5b53a8
lea ecx, [ebp - 0x14]
call fcn.004491e0
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x14]
call fcn.004491e0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x437650
push 5
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
push eax
push dword [0x6173c0]
call esi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x24], 0
push 1
push 0xffffffffffffffff
push 0xfde9
push dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00481da0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x18], 0
push 1
push 0xffffffffffffffff
push 0xfde9
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00481da0
mov eax, dword [ebp + 0x10]
or eax, 0x50000
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
cmp byte [ebp - 0x18], 0
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
je 0x437894
test ecx, ecx
je 0x437894
mov eax, dword [ebp - 0x20]
add eax, eax
push eax
push ecx
call fcn.0045fa10
mov ecx, dword [ebp - 0x1c]
add esp, 8
push ecx
call fcn.0054454b
add esp, 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
cmp byte [ebp - 0x24], 0
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 5
je 0x4378ce
test ecx, ecx
je 0x4378ce
mov eax, dword [ebp - 0x2c]
add eax, eax
push eax
push ecx
call fcn.0045fa10
mov ecx, dword [ebp - 0x28]
add esp, 8
push ecx
call fcn.0054454b
add esp, 4
push dword [0x6173c0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push 0
push dword [0x6173c0]
call esi
push dword [ebp - 0x14]
call fcn.0054454b
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43b780
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598576
mov eax, dword fs:[0]
push eax
mov eax, 0x201c
call fcn.00545280
mov eax, dword [0x613384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2010]
push 0x1000
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x43b8ed
push 4
lea eax, [ebp - 0x2010]
push str.LOC:
push eax
call fcn.0055307d
add esp, 0xc
test eax, eax
jne 0x43b8ed
push 1
push 0xffffffffffffffff
push 0xfde9
lea eax, [ebp - 0x2008]
push eax
lea ecx, [ebp - 0x2028]
call fcn.0046c430
push 0
push 0xae
push str.c:ent_slave_rootworkspace_vncconnect_buildsclients_vnc_7.6.xlabelcon_windows_64_rvcoreuilibsuiwindialog.cxx
push dword [ebp - 0x2024]
mov dword [ebp - 4], 0
call fcn.00455eb0
add esp, 0x10
mov dword [ebp - 0x201c], 0
mov dword [ebp - 0x2018], 0
mov byte [ebp - 0x2014], 0
push 1
push 0xffffffffffffffff
push 0xfde9
push eax
lea ecx, [ebp - 0x201c]
mov byte [ebp - 4], 1
call fcn.00481da0
push dword [ebp - 0x2018]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [ebp - 0x2014], 0
mov ecx, dword [ebp - 0x2018]
mov byte [ebp - 4], 2
je 0x43b898
test ecx, ecx
je 0x43b898
mov eax, dword [ebp - 0x201c]
add eax, eax
push eax
push ecx
call fcn.0045fa10
mov ecx, dword [ebp - 0x2018]
add esp, 8
push ecx
call fcn.0054454b
add esp, 4
mov dword [ebp - 0x201c], 0
mov dword [ebp - 0x2018], 0
cmp byte [ebp - 0x2020], 0
mov eax, dword [ebp - 0x2024]
mov dword [ebp - 4], 3
je 0x43b8e4
test eax, eax
je 0x43b8e4
push dword [ebp - 0x2028]
push eax
call fcn.0045fa10
mov eax, dword [ebp - 0x2024]
add esp, 8
push eax
call fcn.0054454b
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00544c5a
mov esp, ebp
pop ebp
ret 8

Function at 0x43b910
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 8
call fcn.0054450d
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
test esi, esi
je 0x43b94e
push dword [0x617488]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [ebp + 8]
push esi
mov dword [esi], ecx
mov dword [esi + 4], eax
push dword [0x617488]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
mov esp, ebp
pop ebp
ret
xor esi, esi
push esi
push dword [0x617488]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43bd40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebx + 4]
test esi, esi
jne 0x43bd56
pop esi
xor al, al
pop ebx
pop ebp
ret 4
push edi
push dword [0x617488]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call edi
test eax, eax
je 0x43bdbf
push dword [0x617488]
call edi
push dword [0x617488]
cmp dword [eax], esi
jne 0x43bd93
call edi
mov esi, eax
push dword [esi + 4]
push dword [0x617488]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 8
push esi
jmp 0x43bdb7
call edi
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x43bdbf
nop dword [eax]
mov edx, dword [ecx + 4]
cmp dword [ecx], esi
je 0x43bdb1
mov eax, ecx
mov ecx, edx
test ecx, ecx
jne 0x43bda0
jmp 0x43bdbf
push 8
mov dword [eax + 4], edx
push ecx
call fcn.0054453d
add esp, 8
movzx eax, byte [ebp + 8]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, ebx
call fcn.00475ee0
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4

Function at 0x43be90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [0x617488]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call edi
test eax, eax
je 0x43bf09
push esi
push dword [0x617488]
call edi
mov esi, dword [ebp + 8]
push dword [0x617488]
cmp dword [eax], esi
jne 0x43bede
call edi
mov esi, eax
push dword [esi + 4]
push dword [0x617488]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 8
push esi
call fcn.0054453d
add esp, 8
pop esi
pop edi
pop ebp
ret
call edi
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x43bf08
mov edx, dword [ecx + 4]
cmp dword [ecx], esi
je 0x43befa
mov eax, ecx
mov ecx, edx
test ecx, ecx
jne 0x43bee7
pop esi
pop edi
pop ebp
ret
push 8
push ecx
mov dword [eax + 4], edx
call fcn.0054453d
add esp, 8
pop esi
pop edi
pop ebp
ret

Function at 0x43c110
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x613384]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push str.opening_clipboard
push 0x61748c
mov edi, ecx
call fcn.00406750
add esp, 8
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43c15b
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00544c5a
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5b5958
lea ecx, [ebp - 0x14c]
call fcn.0043c210
push 0x5fa4dc
lea eax, [ebp - 0x14c]
push eax
call fcn.005461fc
int3
Function at 0x43c510
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59865c
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x613384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x43c6aa
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0
mov byte [ebp - 0x15c], 0
push 1
push 0xffffffffffffffff
push 0xfde9
push esi
lea ecx, [ebp - 0x164]
mov dword [ebp - 4], 0
call fcn.00481da0
mov eax, dword [ebp - 0x160]
mov ecx, eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x16c], eax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c5a0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
xor ecx, ecx
test eax, eax
cmovg ecx, eax
lea ebx, [ecx + ecx]
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp - 0x170], edi
test edi, edi
jne 0x43c5e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5b58e4
jmp 0x43c6b6
push edi
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 2
call fcn.00420520
mov esi, dword [ebp - 0x168]
test ebx, ebx
jle 0x43c60c
push ebx
push dword [ebp - 0x16c]
push esi
call fcn.005478f0
add esp, 0xc
test esi, esi
je 0x43c617
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp byte [ebp - 0x15c], 0
mov ecx, dword [ebp - 0x160]
mov byte [ebp - 4], 5
je 0x43c646
test ecx, ecx
je 0x43c646
mov eax, dword [ebp - 0x164]
add eax, eax
push eax
push ecx
call fcn.0045fa10
mov ecx, dword [ebp - 0x160]
add esp, 8
push ecx
call fcn.0054454b
add esp, 4
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0
mov byte [ebp - 4], 4
mov dword [ebp - 0x170], 0
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x43c68c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5b5900
jmp 0x43c6b6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00544c5a
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5b58f0
lea ecx, [ebp - 0x158]
call fcn.0040a6b0
push 0x5f5000
lea eax, [ebp - 0x158]
push eax
call fcn.005461fc
int3
Function at 0x43db00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 2
mov dword [ebp - 4], ecx
jne 0x43dbec
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 4]
cmp eax, 0x100
je 0x43db29
cmp eax, 0x104
jne 0x43dbec
movzx eax, byte [ecx + 8]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x10
mov dword [ebp + 0xc], eax
call esi
movsx ebx, ax
push 0x11
shr ebx, 0xf
call esi
movsx edi, ax
push 0x12
shr edi, 0xf
call esi
mov esi, dword [ebp - 4]
and edi, 1
movzx edx, ax
and ebx, 1
shr edx, 0xf
and edx, 1
shl edi, 0x1a
mov esi, dword [esi + 0x40]
mov eax, esi
shl edx, 0x1b
or edx, edi
shl ebx, 0x19
or edx, ebx
mov ecx, dword [eax + 4]
or edx, dword [ebp + 0xc]
cmp byte [ecx + 0xd], 0
jne 0x43db9e
cmp dword [ecx + 0x10], edx
jge 0x43db8b
mov ecx, dword [ecx + 8]
jmp 0x43db8f
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x43db81
cmp eax, esi
je 0x43db9e
cmp edx, dword [eax + 0x10]
jge 0x43dba0
mov eax, esi
cmp eax, esi
je 0x43dbe9
mov edi, dword [eax + 0x14]
mov esi, dword [edi + 8]
test esi, esi
jne 0x43dbca
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
test esi, esi
jne 0x43dbca
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x43dbdf
call fcn.00434eb0
mov esi, eax
test esi, esi
je 0x43dbdf
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x10]
call edx
test al, al
je 0x43dbdf
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov dword [eax + 8], 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43def0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598878
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x613384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
cmp dword [ecx + 0x1c], 0
lea ebx, [ecx + 0x1c]
je 0x43df3b
push 0xffffffffffffffff
push 0
call fcn.00448d00
push dword [ebx]
mov esi, eax
call fcn.0054454b
add esp, 0xc
mov dword [ebx], esi
mov edi, dword [ebp + 8]
mov ecx, 0x611860
mov esi, edi
and esi, 0x1ffffff
push esi
call fcn.00493c10
mov dword [ebp + 8], eax
test eax, eax
jne 0x43df9d
push esi
call fcn.00495bf0
mov esi, eax
add esp, 4
test esi, esi
je 0x43e052
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push esi
call fcn.0049c550
movzx ecx, ax
add esp, 8
cmp cx, 0xffff
je 0x43e052
mov eax, ecx
shr eax, 8
test al, al
jne 0x43e052
movzx eax, cl
mov dword [ebp + 8], eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.00494cf0
push dword [eax]
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00408590
push dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.0054454b
mov ebx, dword [ebp - 0x10]
add esp, 4
mov ecx, ebx
mov eax, dword [ebx]
push dword [ebx + 0xc]
call dword [eax]
mov eax, dword [ebp + 8]
and edi, 0xfe000000
movzx eax, al
mov edx, 0x44
or edi, eax
mov eax, dword [ebx + 4]
test eax, eax
mov dword [ebp - 0x10], edi
lea ecx, [eax + 0x38]
cmove ecx, edx
mov dword [ebp - 0x18], ecx
mov edx, dword [ecx]
mov esi, edx
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x43e022
cmp dword [eax + 0x10], edi
jge 0x43e00f
mov eax, dword [eax + 8]
jmp 0x43e013
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x43e005
cmp esi, edx
je 0x43e022
cmp edi, dword [esi + 0x10]
jge 0x43e04f
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xb]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x5b5989
call fcn.0043c790
mov ecx, dword [ebp - 0x18]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp + 8]
push eax
call fcn.0043c950
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4403c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598b80
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x613384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov dword [esi], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 4]
mov dword [edi + 4], 0
mov dword [edi], 0
cmp byte [esi + 8], 0
mov dword [ebp + 0x10], eax
je 0x440435
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x440435
mov eax, dword [esi]
add eax, eax
push eax
push ecx
call fcn.0045fa10
add esp, 8
push dword [esi + 4]
call fcn.0054454b
mov eax, dword [ebp + 0xc]
xor ecx, ecx
add esp, 4
test eax, eax
cmovle eax, ecx
mov dword [esi], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 4], eax
movzx eax, byte [edi + 8]
mov byte [esi + 8], al
mov eax, dword [edi + 0xc]
mov dword [edi + 0xc], ecx
mov dword [esi + 0xc], eax
movups xmm0, xmmword [edi + 0x10]
movups xmmword [esi + 0x10], xmm0
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
movzx eax, byte [edi + 0x28]
mov byte [esi + 0x28], al
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x440660
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598c00
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x613384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push 1
sub eax, ecx
mov dword [ebp - 4], 0
push eax
push 0xfde9
push ecx
mov ecx, esi
call fcn.00481da0
push 0xffffffffffffffff
push dword [ebp + 0x10]
mov dword [ebp - 4], 1
call fcn.00448d00
mov dword [esi + 0xc], eax
add esp, 8
mov eax, dword [ebp + 0x14]
movups xmm0, xmmword [eax]
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 4]
mov byte [esi + 0x28], 0
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], 0xffffffff
movups xmmword [esi + 0x10], xmm0
test eax, eax
je 0x440736
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x440710
sub eax, edx
sar eax, 1
mov dword [esi + 0x38], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x1c
mov dword [esi + 0x38], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x1c