joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471c30
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push 0xffffffffffffffff
push 0x4e5858
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x30]
xor edi, edi
push eax
mov ecx, 0x527304
mov dword [esp + 0x28], edi
call fcn.004c58c0
lea ecx, [esp + 0x30]
push ecx
mov ecx, 0x527300
call fcn.004c58c0
mov ecx, dword [esp + 0x2c]
mov ebx, 3
mov dword [0x527920], ebx
lea eax, [ecx - 2]
cmp eax, 0xe
ja case.default.0x471c8c
jmp dword [eax*4 + 0x471e90]
mov dword [esp + 0xc], vtable.CMenu.0
mov dword [esp + 0x10], edi
lea edx, [esp + 0x14]
mov byte [esp + 0x24], 1
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
call fcn.004d72f1
mov eax, dword [eax + 0xc]
push 0x138
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
push eax
lea ecx, [esp + 0x10]
call fcn.004c67af
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.USER32.dll_GetSubMenu]
push edi
push eax
call ebx
push eax
call fcn.004c677c
mov edi, eax
mov eax, dword [0x52700c]
test eax, eax
je 0x471d06
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.MenuDragText
call fcn.004c57f5
push edi
call fcn.004187b0
add esp, 8
mov ecx, dword [edi + 4]
push 0x10
push ecx
call ebx
push eax
call fcn.004c677c
test eax, eax
je 0x471d20
push eax
mov ecx, esi
call fcn.0046acc0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 0
push esi
push edx
push eax
push 2
mov ecx, edi
call fcn.004c28ab
mov dword [esp + 0xc], vtable.CMenu.0
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call fcn.004c6806
jmp 0x471e6a
mov ecx, esi
call fcn.00474fd0
jmp 0x471e6a
mov ecx, esi
call fcn.00475020
jmp 0x471e6a
mov ecx, esi
call fcn.004765c0
jmp 0x471e6a
mov ecx, esi
call fcn.00475120
jmp 0x471e6a
mov ecx, esi
call fcn.00476530
jmp 0x471e6a
mov ecx, esi
call fcn.00476580
jmp 0x471e6a
mov ecx, esi
call fcn.00475620
jmp 0x471e6a
mov ecx, esi
call fcn.00476150
jmp 0x471e6a
mov ecx, esi
call fcn.00474940
jmp 0x471e6a
mov ecx, esi
call fcn.004753a0
jmp 0x471e6a
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov dword [esp + 0xc], vtable.CMenu.0
mov dword [esp + 0x10], edi
mov byte [esp + 0x24], bl
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
lea ecx, [esp + 0x10]
call fcn.004c67af
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.0046acc0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edi
push esi
push eax
push ecx
push 2
lea ecx, [esp + 0x20]
call fcn.004c28ab
lea ecx, [esp + 0xc]
call fcn.004c6806
mov dword [esp + 0xc], vtable.CMenu.0
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 4
call fcn.004c6806
jmp 0x471e6a
mov ecx, esi
call fcn.00475eb0
jmp 0x471e6a
mov ecx, esi
call fcn.00475070
jmp 0x471e6a
mov ecx, esi
call fcn.004750c0
jmp 0x471e6a
mov edx, dword [esi + 0x1c]
add ecx, 0x77ef
push edi
push ecx
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0xffffffff
call fcn.004c5787
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8
Function at 0x4725f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5a10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0
mov byte [ebp - 4], 1
call fcn.004d0b16
mov edi, eax
test edi, edi
je 0x4726af
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x4726af
mov eax, dword [0x52251c]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push 1
lea edx, [ebp + 8]
push ecx
push edx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00472430
test eax, eax
je 0x4726a3
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebx
test ax, ax
jge 0x47272c
push 0x10
call ebx
test ax, ax
jge 0x47272c
push 0x12
call ebx
test ax, ax
jge 0x47272c
mov eax, dword [esi + 0x9f4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1304
push eax
call ebx
test eax, eax
jg 0x4726d1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004c5787
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.004c5787
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 0x38], 8
lea edi, [eax - 1]
test edi, edi
jl 0x4726a3
mov edx, dword [esi + 0x9f4]
lea ecx, [ebp - 0x38]
push ecx
push edi
push 0x1305
push edx
call ebx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x472729
push 1
push eax
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004c54fc
push ecx
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edx
mov byte [ebp - 4], 3
call fcn.004c54fc
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00472830
dec edi
jmp 0x4726db
push 1
push edi
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.004c54fc
push ecx
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
mov byte [ebp - 4], 4
call fcn.004c54fc
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00472830
jmp 0x4726a3
Function at 0x473c80
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4e5c88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x12
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x473cdb
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.004c5787
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
lea eax, [esp + 0x14]
push 6
push eax
lea ecx, [esp + 0x30]
call fcn.004bd709
mov eax, dword [eax]
mov esi, str.res:__
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
or ebp, 0xffffffff
cmp dl, bl
jne 0x473d1d
test cl, cl
je 0x473d19
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x473d1d
add eax, 2
add esi, 2
test cl, cl
jne 0x473cf2
xor eax, eax
jmp 0x473d21
sbb eax, eax
sbb eax, ebp
test eax, eax
lea ecx, [esp + 0x14]
sete bl
call fcn.004c5787
test bl, bl
jne 0x473e6d
push 0x2f
lea ecx, [esp + 0x2c]
call fcn.004c5c4e
test eax, eax
jl 0x473e6d
mov eax, dword [esp + 0x28]
cmp byte [eax], 0x25
je 0x473e6d
lea ecx, [esp + 0x14]
push 5
push ecx
lea ecx, [esp + 0x30]
call fcn.004bd709
mov eax, dword [eax]
mov esi, 0x51d7e4
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x473d96
test cl, cl
je 0x473d92
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x473d96
add eax, 2
add esi, 2
test cl, cl
jne 0x473d6e
xor eax, eax
jmp 0x473d9a
sbb eax, eax
sbb eax, ebp
test eax, eax
lea ecx, [esp + 0x14]
sete bl
call fcn.004c5787
test bl, bl
jne 0x473e6d
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.004c54fc
call fcn.0041bfa0
add esp, 4
test eax, eax
jne 0x473e6d
push 0x2e
lea ecx, [esp + 0x2c]
call fcn.004bd781
test eax, eax
jl 0x473e6d
mov ecx, dword [0x52251c]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x14]
mov ebx, 1
push eax
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call fcn.004bd5d4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.004c58c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.004c5787
lea ecx, [esp + 0x10]
call fcn.004c5ca9
mov eax, dword [esp + 0x10]
lea esi, [edi + 0x2e4]
push eax
mov ecx, esi
call fcn.004bd7a3
test eax, eax
jl 0x473e5f
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
mov ecx, dword [ecx - 8]
add edx, ecx
mov al, byte [edx + eax]
cmp al, 0x20
je 0x473e91
cmp al, 0x3b
je 0x473e91
cmp al, 0x2e
je 0x473e91
test al, al
je 0x473e91
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.004c5787
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], ebp
call fcn.004c5787
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.004c5787
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], ebp
call fcn.004c5787
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 4
Function at 0x474ac0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push 0
call fcn.004d0b16
test eax, eax
je 0x474b9e
mov ecx, dword [eax + 0xf8]
test ecx, ecx
je 0x474b9e
mov ecx, dword [esi + 0x29c]
mov edx, dword [esi + 0x2a0]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov edx, dword [eax + 0xf8]
lea ecx, [esp + 4]
push edi
push ecx
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
call fcn.004c1de6
mov esi, eax
lea eax, [esp + 8]
push eax
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x1c]
and edx, 0xffff
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
and eax, 0xffff
shl edx, 0x10
or edx, eax
push edx
push 0
push 0x204
push ecx
call edi
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x1c]
and edx, 0xffff
shl edx, 0x10
and eax, 0xffff
or edx, eax
push edx
push 0
push 0x205
push ecx
call edi
push 0
push 0
push 0
push 0x48
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push 0x48
call dword [sym.imp.USER32.dll_keybd_event]
pop edi
pop esi
add esp, 8
ret

Function at 0x475180
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x4e5ec3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push str._ProgramFiles_Internet_Exploreriexplore.exe
lea ecx, [esp + 4]
mov dword [esp + 0x114], 0
call fcn.004c57f5
mov eax, dword [esp]
mov byte [esp + 0x110], 1
cmp byte [eax], 0x25
jne 0x4751e8
lea ecx, [esp + 4]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea edx, [esp + 4]
lea ecx, [esp]
push edx
call fcn.004c5910
mov eax, dword [esp]
mov ecx, dword [esp + 0x118]
push esi
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 1
push 0x5269d8
push ecx
push eax
push str.open
push 0
call esi
cmp eax, 0x20
ja 0x47522a
mov edx, dword [esp + 0x11c]
push 1
push 0x5269d8
push edx
push str.IEXPLORE.EXE
push str.open
push 0
call esi
lea ecx, [esp + 4]
mov byte [esp + 0x114], 0
call fcn.004c5787
lea ecx, [esp + 0x11c]
mov dword [esp + 0x114], 0xffffffff
call fcn.004c5787
mov ecx, dword [esp + 0x10c]
pop esi
mov dword fs:[0], ecx
add esp, 0x114
ret
Function at 0x479370
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e64d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [0x52730c], ebx
mov dword [esp + 0x10], vtable.CMenu.0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
lea ecx, [esp + 0x14]
call fcn.004c67af
mov eax, dword [0x52251c]
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push ecx
push esi
mov ecx, edi
mov byte [esp + 0x30], 1
call fcn.0045c540
push esi
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.004c54fc
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.0045cf50
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
call fcn.004c5f20
cmp eax, ebx
je 0x47940f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x479411
xor eax, eax
mov ecx, dword [esp + 0x18]
push ebx
push eax
mov eax, dword [esp + 0x24]
push eax
push ecx
push 0x101
lea ecx, [esp + 0x24]
call fcn.004c28ab
mov esi, eax
cmp esi, ebx
je 0x479461
cmp esi, 0x6600
jb 0x479450
cmp esi, 0x75ff
ja 0x479450
mov edx, dword [esp + 0x14]
mov ecx, edi
push edx
push esi
call fcn.004792f0
jmp 0x479461
mov eax, dword [edi + 0x1c]
push ebx
push esi
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esp + 0x14]
push ebx
push ecx
call fcn.004a3a40
add esp, 8
lea ecx, [esp + 0x10]
call fcn.004c6806
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], bl
call fcn.004c5787
mov dword [esp + 0x10], vtable.CMenu.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 2
call fcn.004c6806
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4
Function at 0x479f50
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4e6608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x14], ebx
mov ebp, dword [0x527304]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x20], 0
mov esi, ebp
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x479fac
test cl, cl
je 0x479fa8
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x479fac
add eax, 2
add esi, 2
test cl, cl
jne 0x479f88
xor eax, eax
jmp 0x479fb1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47a0e2
mov eax, dword [edi - 8]
cmp byte [eax + edi - 1], 0x2f
jne 0x47a029
mov ecx, dword [ebp - 8]
dec eax
cmp ecx, eax
jne 0x47a029
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.004bd709
mov esi, dword [0x527304]
mov eax, dword [eax]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x47a00a
test cl, cl
je 0x47a006
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x47a00a
add eax, 2
add esi, 2
test cl, cl
jne 0x479fe2
xor eax, eax
jmp 0x47a00f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x10]
sete bl
call fcn.004c5787
test bl, bl
jne 0x47a0e2
mov ebx, dword [esp + 0x14]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x47a0e2
mov eax, dword [esp + 0x28]
lea esi, [ebx + 0x33c]
push 0
push eax
mov ecx, esi
call fcn.004bff4a
test eax, eax
je 0x47a062
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.004c58c0
jmp 0x47a09b
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.004c54fc
push esi
mov ecx, ebx
call fcn.00479c70
test eax, eax
je 0x47a0e2
push 0
mov ecx, ebx
call fcn.004d0b16
test eax, eax
je 0x47a0e2
mov ecx, dword [eax + 0xf8]
test ecx, ecx
je 0x47a0e2
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.004c54fc
mov ecx, ebx
call fcn.0047a110
test eax, eax
je 0x47a0e2
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.004c5787
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.004c5787
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 8
Function at 0x47c090
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4e6910
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [esp + 0x24]
mov ebp, dword [sym.imp.USER32.dll_LoadImageA]
push 0x10
push 0x10
push 0x10
push 1
push eax
push 0
mov dword [esp + 0x30], 1
call ebp
mov esi, eax
test esi, esi
je 0x47c0eb
mov ecx, dword [edi + 0x378]
push esi
push 0xffffffffffffffff
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x47c126
mov edx, dword [esp + 0x24]
push 0x10
push 0x10
push 0x10
push 0
push edx
push 0
call ebp
mov esi, eax
test esi, esi
je 0x47c1fa
lea eax, [edi + 0x374]
test eax, eax
je 0x47c113
mov eax, dword [eax + 4]
push 0
push esi
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
push esi
mov edi, eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test edi, edi
jl 0x47c1fa
mov eax, dword [esp + 0x28]
test eax, eax
je 0x47c1c5
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.004c54fc
lea ecx, [esp + 0x2c]
push ecx
call fcn.004166b0
add esp, 8
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 2
call fcn.004c58c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], 1
call fcn.004c5787
lea edx, [esp + 0x20]
lea eax, [esp + 0xc]
push edx
push 0x52701c
push eax
call fcn.004c59b6
push 0x51e250
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x24], 3
call fcn.004c5a1c
mov eax, dword [eax]
mov edx, dword [esp + 0x24]
push 1
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x28]
call fcn.004c5787
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 1
call fcn.004c5787
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.004c5787
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call fcn.004c5787
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 0xc
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.004c5787
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call fcn.004c5787
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov eax, 0xfffffffd
mov dword fs:[0], ecx
pop ebp
add esp, 0x10
ret 0xc
Function at 0x47dea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e6baf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [esp + 0x10], 0
lea eax, [esp + 0x34]
lea ecx, [esp + 0xc]
push eax
mov edi, 1
push 0x52702c
push ecx
mov dword [esp + 0x34], edi
call fcn.004c59b6
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x30], 2
call fcn.004c54fc
call fcn.004156a0
add esp, 4
test eax, eax
je 0x47df1b
mov esi, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.004c54fc
mov dword [esp + 0x10], edi
jmp 0x47e06e
mov eax, dword [esp + 0x34]
mov esi, str.SearchEngine.ini
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x47df4c
test cl, cl
je 0x47df48
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x47df4c
add eax, 2
add esi, 2
test cl, cl
jne 0x47df24
xor eax, eax
jmp 0x47df51
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x47e010
call fcn.00446110
test eax, eax
jne 0x47e010
push str.Resource_
lea eax, [esp + 0x20]
push 0x527028
push eax
call fcn.004c5a1c
lea ecx, [esp + 0x34]
lea edx, [esp + 0x18]
push ecx
push eax
push edx
mov byte [esp + 0x34], 3
call fcn.004c59b6
push str..default.En
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x30], 4
push eax
call fcn.004c5a1c
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 5
call fcn.004c58c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call fcn.004c5787
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 3
call fcn.004c5787
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 2
call fcn.004c5787
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.004c54fc
call fcn.004156a0
add esp, 4
test eax, eax
je 0x47e010
mov esi, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.004c54fc
mov dword [esp + 0x10], edi
jmp 0x47e06e
push str.Resource_
lea ecx, [esp + 0x1c]
push 0x527028
push ecx
call fcn.004c5a1c
lea edx, [esp + 0x34]
mov byte [esp + 0x28], 6
push edx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004c59b6
mov esi, dword [esp + 0x30]
push str..default
push eax
push esi
mov byte [esp + 0x34], 7
call fcn.004c5a1c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], edi
mov byte [esp + 0x28], 6
call fcn.004c5787
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.004c5787
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.004c5787
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 0
call fcn.004c5787
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 8
Function at 0x47e740
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
sub esp, 0xc
xor eax, eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esp + 0x1c], 1
sete al
mov edi, eax
call dword [sym.imp.USER32.dll_GetFocus]
mov ebx, eax
mov eax, dword [esi + 0x258]
cmp eax, 8
jne 0x47e790
push ebx
call sub.IMM32.dll_ImmGetContext
mov esi, eax
push esi
call sub.IMM32.dll_ImmGetOpenStatus
cmp edi, eax
je 0x47e780
push edi
push esi
call sub.IMM32.dll_ImmSetOpenStatus
push esi
push ebx
call sub.IMM32.dll_ImmReleaseContext
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
lea edx, [esp + 0xc]
push str.0000
push edx
call fcn.004ad970
lea ecx, [esp + 0x14]
add esp, 8
xor edx, edx
cmp eax, ecx
setne dl
cmp edi, edx
je 0x47e808
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x47e7da
push 0x10
push ebx
call sub.IMM32.dll_ImmSimulateHotKey
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0
push 0x11
call esi
push 0
push 0
push 0
push 0x20
call esi
push 0
push 2
push 0
push 0x11
call esi
push 0
push 2
push 0
push 0x20
call esi
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x482d10
Capabilities:
Log keystrokes via application hook

Disassembly:
push 0xffffffffffffffff
push 0x4e7150
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [0x52794c], ebx
mov dword [esp + 0xc], vtable.CMenu.0
mov dword [esp + 0x10], ebx
mov eax, dword [esi + 0x9c]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x54], ebx
call fcn.004c67af
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov edi, dword [esp + 0x58]
cmp edi, ebx
jl 0x482f00
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
mov ebp, dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esi + 0x1c]
push 1
push edi
push 0x403
push edx
mov dword [esi + 0xd8], 0xffffffff
call ebx
mov eax, dword [esi + 0x1c]
push eax
call ebp
call fcn.004d72f1
mov eax, dword [eax + 4]
push 1
push 0x28
push 0x100
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
call fcn.004d72f1
mov eax, dword [eax + 4]
push 1
push 0x28
push 0x101
mov eax, dword [eax + 0x1c]
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
push edi
push 2
mov ecx, esi
call fcn.00482800
mov dword [0x5279b8], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x482a80
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
test eax, eax
mov dword [0x5279bc], eax
jne 0x482e1d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x482a80
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x5279bc], eax
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x28]
push eax
push edi
push 0x433
push ecx
call ebx
lea edx, [esp + 0x28]
mov ecx, esi
push edx
call fcn.004c8c12
lea eax, [esp + 0x38]
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, esi
call fcn.00482f40
mov ecx, dword [eax]
push edi
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x9c]
push eax
mov dword [esp + 0x24], edx
call dword [sym.imp.USER32.dll_GetSubMenu]
lea ecx, [esi + 0xa4]
mov dword [esp + 0x5c], eax
call fcn.004c67dc
mov ecx, dword [esp + 0x5c]
push ecx
lea ecx, [esi + 0xa4]
call fcn.004c67af
call fcn.004d72f1
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x18]
push 0
mov edx, dword [eax + 0x1c]
mov eax, dword [esp + 0x20]
push edx
push eax
push ecx
push 0x40
lea ecx, [esi + 0xa4]
call fcn.004c28ab
mov edx, dword [0x5279bc]
push edx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
xor eax, eax
mov dword [0x5279bc], eax
mov dword [0x5279b8], eax
push eax
mov eax, dword [esi + 0x1c]
push edi
push 0x403
push eax
call ebx
mov ecx, dword [esi + 0x1c]
push ecx
call ebp
push edi
mov edi, dword [esi + 0xe4]
xor edx, edx
mov ecx, esi
test edi, edi
setne dl
push edx
call fcn.00482800
mov edi, dword [esi + 0xd8]
test edi, edi
jge 0x482d79
pop ebp
lea ecx, [esp + 0xc]
call fcn.004c67dc
mov dword [esp + 0xc], vtable.CMenu.0
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], 1
call fcn.004c6806
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 4