joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d0250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x699af8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x60]
lea eax, [esp + 0x3c]
push 0
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], 0
je 0x4d034f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
shr eax, 0x13
and al, 1
je 0x4d034f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4d034f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004da100
add esp, 8
movdqu xmm0, xmmword [eax]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x30]
push eax
movdqu xmmword [esp + 0x14], xmm0
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x2c]
sub dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
sub dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x30], 0
push eax
mov dword [esp + 0x38], 0
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x4d034f
movdqu xmm0, xmmword [esp + 0x2c]
movdqu xmmword [esp + 0x3c], xmm0
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.004d1c60
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4d03ce
push ebx
call fcn.004e4ad0
mov eax, dword [esi + 0xc]
xorps xmm0, xmm0
movq qword [esp + 0x2c], xmm0
mov ecx, dword [eax + 0xc]
movzx eax, byte [esi + 0x4d]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.004e47f0
mov dword [esp + 0x58], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
test ecx, ecx
je 0x4d03a2
push dword [eax + 0xc]
call fcn.004df430
mov eax, dword [esi + 0xc]
cmp byte [eax + 0x48], 0
je 0x4d03b2
mov ecx, esi
call fcn.004d0030
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.004e49d0
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + 0xc]
call fcn.004e5120
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.005472b9
add esp, 0x50
ret 4
Function at 0x4d2b30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x699ef8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x78], eax
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x98]
test esi, esi
je 0x4d2c44
push 0x48
lea eax, [esp + 0x40]
push 0
push eax
call fcn.00549c70
add esp, 0xc
lea ecx, [esp + 0x3c]
call fcn.004e0820
mov dword [esp + 0x90], 0
lea eax, [esp + 0x3c]
mov ecx, dword [edi + 0xc]
push eax
call fcn.004d0470
cmp byte [esp + 0x44], 0
je 0x4d2bdc
cmp word [esp + 0x48], 0
jbe 0x4d2bdc
mov ax, word [esp + 0x46]
test ax, ax
je 0x4d2bdc
movzx eax, ax
push eax
call fcn.004e6580
mov dword [esi + 0x18], eax
movzx eax, word [esp + 0x4c]
push eax
call fcn.004e6580
add esp, 8
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
call dword [eax + 4]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004da100
add esp, 8
movdqu xmm0, xmmword [eax]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x30]
push eax
movdqu xmmword [esp + 0x14], xmm0
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], eax
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.004e08e0
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.005472b9
add esp, 0x88
ret 4

Function at 0x4d3020
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov ebp, ecx
push 0x12
mov dword [esp + 0x14], ebp
xor esi, esi
mov dword [edi], 0
call ebx
test al, 0x80
mov eax, 4
push 0x10
cmovne esi, eax
call ebx
test al, al
jns 0x4d3056
or esi, 1
push 0x11
call ebx
test al, al
jns 0x4d3061
or esi, 2
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
call dword [eax + 8]
mov ebx, dword [esp + 0x20]
mov ecx, eax
mov ebp, dword [esp + 0x1c]
test ecx, ecx
je 0x4d3088
mov eax, dword [ecx]
push esi
push ebx
push ebp
mov eax, dword [eax + 0x84]
call eax
test al, al
jne 0x4d30a2
cmp dword [edi], 0
jne 0x4d30a8
mov ecx, dword [esp + 0x10]
push esi
push ebx
push ebp
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x4d30a8
mov dword [edi], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0x10
Function at 0x4d30c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov ebp, ecx
push 0x12
mov dword [ebx], 0
xor esi, esi
call edi
test al, 0x80
mov eax, 4
push 0x10
cmovne esi, eax
call edi
test al, al
jns 0x4d30f1
or esi, 1
push 0x11
call edi
test al, al
jns 0x4d30fc
or esi, 2
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x4d3127
mov eax, dword [ecx]
push esi
push dword [esp + 0x20]
push dword [esp + 0x20]
mov eax, dword [eax + 0x88]
call eax
test al, al
je 0x4d3127
mov dword [ebx], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
Function at 0x4d6450
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 8]
test edi, edi
je 0x4d64b5
cmp dword [edi], 0
mov esi, dword [esi]
je 0x4d6495
push 0x6eb9d0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4d64ab
push str.RegDeleteKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4d64ab
push 0
push dword [edi]
push 0
push 0
push dword [esp + 0x1c]
push esi
call eax
pop edi
pop esi
ret 4
cmp dword [edi + 4], 0
je 0x4d64ab
push dword [esp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
ret 4
pop edi
mov eax, 1
pop esi
ret 4
cmp byte [0x747478], 0
jne 0x4d64f5
push 0x6eb9d0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4d64e7
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x747474], eax
mov byte [0x747478], 1
jmp 0x4d64fa
mov eax, dword [0x747474]
mov byte [0x747478], 1
jmp 0x4d64fa
mov eax, dword [0x747474]
test eax, eax
je 0x4d6510
push 0
push dword [esi + 4]
push dword [esp + 0x14]
push dword [esi]
call eax
pop edi
pop esi
ret 4
push dword [esp + 0xc]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
ret 4
Function at 0x4d7450
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x69a7bb
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebp
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov ebp, ecx
mov ecx, dword [esp + 0x240]
xorps xmm0, xmm0
movq qword [esp + 0x14], xmm0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x238], 0
mov eax, dword [ebp + 4]
or eax, 0x2001f
push eax
push ecx
push dword [ebp]
lea ecx, [esp + 0x20]
call fcn.004d6fd0
mov esi, eax
test esi, esi
jne 0x4d757b
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x24]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0x100
push eax
lea eax, [esp + 0x40]
push eax
push esi
push dword [esp + 0x30]
call edi
test eax, eax
jne 0x4d754f
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.004d7450
mov esi, eax
test esi, esi
jne 0x4d757b
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x40]
push eax
push esi
push dword [esp + 0x30]
call edi
test eax, eax
je 0x4d7516
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d7566
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
push dword [esp + 0x10]
mov ecx, ebp
mov dword [esp + 0x1c], 0
call fcn.004d6450
mov esi, eax
mov dword [esp + 0x238], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d759d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
mov eax, esi
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.005472b9
add esp, 0x22c
ret 4
Function at 0x4d7730
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x410]
sub esp, 0x410
push 0xffffffffffffffff
push 0x69a800
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x73d6e0]
xor eax, ebp
mov dword [ebp + 0x40c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x418]
mov eax, dword [ebp + 0x41c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x420]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp + 0x404], xmm0
mov dword [ebp + 0x408], ecx
mov dword [ebp + 0x404], 0
push 0x404
push 0
lea eax, [ebp]
push eax
call fcn.00549c70
add esp, 0xc
mov dword [ebp], 0
mov byte [ebp - 4], 1
push 0x60
push 0
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call ebx
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jne 0x4d77fc
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x1c], eax
test edi, edi
jne 0x4d77fc
call fcn.004d60a0
mov esi, eax
jmp 0x4d78ce
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4d7819
call fcn.004d60a0
jmp 0x4d78c1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x4d7834
call fcn.004d60a0
jmp 0x4d78c1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x18], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x4d784f
mov esi, 0x8007000e
jmp 0x4d78c3
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp]
call fcn.004d5f30
mov dword [ebp - 4], 1
jmp 0x4d787b
mov eax, dword [ebp]
test eax, eax
jne 0x4d7889
mov esi, 0x8007000e
jmp 0x4d78c3
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x4d78a4
call fcn.004d60a0
jmp 0x4d78c1
xor edx, edx
mov eax, dword [ebp]
mov word [eax + ecx*2], dx
push dword [ebp + 0x424]
push dword [ebp]
lea ecx, [ebp + 0x404]
call fcn.004d75d0
mov esi, eax
test edi, edi
je 0x4d78ce
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x4d78e2
lea ecx, [ebp]
call fcn.004d66d0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x40c]
xor ecx, ebp
call fcn.005472b9
lea esp, [ebp + 0x410]
pop ebp
ret 0x10
Function at 0x4d8540
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, ecx
test ebx, ebx
jne 0x4d8554
pop ebp
lea eax, [ebx + 0xd]
pop ebx
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
lea ebx, [ebx]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d8565
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x4d8560
push esi
push ebx
push 7
push 0
push dword [esp + 0x24]
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x4d8610
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 8]
push esi
mov esi, ecx
test edx, edx
jne 0x4d8622
lea eax, [edx + 0xd]
pop esi
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
jmp 0x4d8630
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d8630
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [esp + 0x1c]
push 0
push dword [esp + 0x1c]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x4d9cc0
Capabilities:
Check os version

Disassembly:
sub esp, 0x148
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x144], eax
push ebx
push esi
mov esi, dword [esp + 0x158]
lea eax, [esp + 8]
push edi
push 0x30
push 0
push eax
mov ebx, ecx
call fcn.00549c70
push 0x110
lea eax, [esp + 0x50]
mov dword [esp + 0x4c], 0x114
push 0
push eax
mov edi, 0x30
call fcn.00549c70
add esp, 0x18
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4d9d25
cmp dword [esp + 0x40], 6
jae 0x4d9d2a
mov edi, 0x2c
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0
test eax, eax
jne 0x4d9d57
push esi
call dword [sym.imp.USER32.dll_GetParent]
or dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
jmp 0x4d9d5f
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov eax, dword [0x7486d4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 0x30], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x439
push dword [ebx]
mov dword [esp + 0x44], 0
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x150]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005472b9
add esp, 0x148
ret 0xc
Function at 0x4da040
Capabilities:
Get file version info

Disassembly:
sub esp, 0x10
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [0x7474d0]
test eax, eax
jne 0x4da0ec
push edi
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0x6eb598
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x4da0d7
push esi
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x4da0d6
push esi
push edi
push dword [esp + 0x14]
push 0x6eb598
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4da0cf
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0x6ea1a4
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4da0cf
mov eax, dword [esp + 8]
movzx eax, word [eax + 0xa]
mov dword [0x7474d0], eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
mov eax, dword [0x7474d0]
mov ecx, 6
test eax, eax
pop edi
cmove eax, ecx
mov dword [0x7474d0], eax
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.005472b9
add esp, 0x10
ret
Function at 0x4dd4a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x34
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [esp + 0x3c]
push esi
mov esi, ecx
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x4dd666
push ebp
mov ebp, dword [sym.imp.USER32.dll_IsRectEmpty]
push ebx
call ebp
test eax, eax
jne 0x4dd665
push edi
push ebx
lea eax, [esp + 0x24]
xor edi, edi
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esi + 0x88]
sub eax, dword [esi + 0x80]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x8c]
sub eax, dword [esi + 0x84]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
movdqu xmm0, xmmword [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
movdqu xmmword [esp + 0x18], xmm0
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x4dd53f
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xbc]
call eax
test al, al
cmovne edi, esi
push dword [esi + 0x84]
mov ebx, dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [esp + 0x24]
push dword [esi + 0x80]
push eax
call ebx
mov esi, dword [esi + 0x78]
test esi, esi
je 0x4dd664
cmp byte [esi + 0x71], 0
jne 0x4dd649
mov eax, dword [esi + 0x88]
sub eax, dword [esi + 0x80]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x8c]
sub eax, dword [esi + 0x84]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
movdqu xmm0, xmmword [esp + 0x14]
push eax
push eax
movdqu xmmword [esp + 0x3c], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x4dd664
lea eax, [esp + 0x20]
push eax
call ebp
test eax, eax
jne 0x4dd664
test edi, edi
jne 0x4dd5f2
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xbc]
call eax
test al, al
je 0x4dd616
mov edi, esi
jmp 0x4dd616
cmp edi, esi
je 0x4dd616
push esi
call fcn.004dc430
add esp, 4
test al, al
je 0x4dd616
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xc0]
call eax
xor ecx, ecx
test al, al
cmove edi, ecx
push dword [esi + 0x84]
lea eax, [esp + 0x24]
push dword [esi + 0x80]
push eax
call ebx
mov esi, dword [esi + 0x78]
test esi, esi
jne 0x4dd563
pop edi
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005472b9
add esp, 0x34
ret 8
push edi
mov ecx, esi
call fcn.004df5a0
push dword [esp + 0x4c]
mov eax, dword [esi]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call dword [eax + 0xa4]
pop edi
pop ebp
mov ecx, dword [esp + 0x38]
pop esi
pop ebx
xor ecx, esp
call fcn.005472b9
add esp, 0x34
ret 8
Function at 0x4e0420
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 8
push esi
mov esi, ecx
push edi
cmp eax, 0xffffffff
jne 0x4e0529
mov eax, dword [esi + 8]
movsd xmm0, qword [eax + 0x68]
comisd xmm0, xmmword [eax + 0x10]
jbe 0x4e0455
cmp dword [eax + 0x70], 0
jle 0x4e0455
mov dword [eax + 0x70], 0xffffffff
mov eax, dword [esi + 8]
cmp dword [eax + 0x70], 0
jle 0x4e046a
movsd xmm0, qword [eax + 0x18]
addsd xmm0, qword [eax + 0x68]
jmp 0x4e0474
movsd xmm0, qword [eax + 0x68]
subsd xmm0, qword [eax + 0x20]
movsd qword [eax + 0x68], xmm0
mov eax, dword [esi + 8]
movsd xmm0, qword [0x6f8788]
comisd xmm0, xmmword [eax + 0x68]
jbe 0x4e05e0
cmp dword [eax + 0x70], 0
jge 0x4e05e0
mov ecx, dword [esi + 0xc]
push 0xffffffffffffffff
mov eax, dword [ecx]
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 8]
movsd xmm0, qword [0x6f8788]
mov dword [eax + 0x44], 1
mov eax, dword [esi + 8]
movsd qword [eax + 0x68], xmm0
mov eax, dword [esi + 8]
mov dword [eax + 0x70], 0xffffffff
mov edi, dword [esi + 8]
mov eax, dword [edi + 0x48]
test eax, eax
je 0x4e04ea
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x4e04ea
mov dword [edi + 0x48], 0
mov edi, dword [esi + 8]
push dword [edi + 0x4c]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4e0501
mov dword [edi + 0x4c], 0
mov ecx, dword [esi + 0xc]
push 0
push 0
push 0x7f04
mov eax, dword [ecx]
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x3c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp eax, 0xfffffffe
jne 0x4e0603
mov eax, dword [esi + 8]
movsd xmm0, qword [eax + 0x68]
subsd xmm0, qword [eax + 0x30]
movsd qword [eax + 0x68], xmm0
mov eax, dword [esi + 8]
movsd xmm0, qword [eax + 0x28]
comisd xmm0, xmmword [eax + 0x68]
jbe 0x4e05e0
mov ecx, dword [esi + 0xc]
push 0xfffffffffffffffe
mov eax, dword [ecx]
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 8]
movsd xmm0, qword [0x6f8788]
mov dword [eax + 0x44], 1
mov eax, dword [esi + 8]
movsd qword [eax + 0x68], xmm0
mov eax, dword [esi + 8]
mov dword [eax + 0x70], 1
mov edi, dword [esi + 8]
mov eax, dword [edi + 0x48]
test eax, eax
je 0x4e05a8
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x4e05a8
mov dword [edi + 0x48], 0
mov edi, dword [esi + 8]
push dword [edi + 0x4c]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4e05bf
mov dword [edi + 0x4c], 0
mov ecx, dword [esi + 0xc]
push 0
mov eax, dword [ecx]
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x40]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 1
push eax
push 0
push 0
push 0x7f04
call fcn.004e01c0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
mov dword [esi + 4], 0
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4e0a30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x69b393
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.0049d6f0
mov dword [esp + 0x14], 0
lea ecx, [esi + 0x10]
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.004fa700
mov byte [esp + 0x14], 1
mov byte [esi + 0x30], 0
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4e1570
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
test dword [esp + 0xc], ebx
jne 0x4e157f
xor al, al
pop ebx
ret
push ebp
push 0
push 0
push ebx
push dword [esp + 0x18]
call sub.IMM32.dll_ImmGetCompositionStringW
mov ebp, eax
test ebp, ebp
jg 0x4e1599
pop ebp
xor al, al
pop ebx
ret
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, ebp
shr edi, 1
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x1c], ecx
lea eax, [edi + 1]
cmp ecx, eax
ja 0x4e15dd
cmp dword [esi + 0x14], eax
je 0x4e15dd
push 1
push eax
mov ecx, esi
call fcn.00409440
test al, al
je 0x4e15dd
cmp dword [esi + 0x14], 8
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x10], ecx
jb 0x4e15d5
mov eax, dword [esi]
jmp 0x4e15d7
mov eax, esi
xor edx, edx
mov word [eax + ecx*2], dx
mov eax, dword [esi + 0x10]
cmp edi, eax
ja 0x4e1601
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], edi
jb 0x4e15f7
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + edi*2], cx
jmp 0x4e160d
mov eax, esi
xor ecx, ecx
mov word [eax + edi*2], cx
jmp 0x4e160d
push 0
sub edi, eax
mov ecx, esi
push edi
call fcn.0041d3e0
cmp dword [esi + 0x14], 8
jb 0x4e1615
mov esi, dword [esi]
push ebp
push esi
push ebx
push dword [esp + 0x20]
call sub.IMM32.dll_ImmGetCompositionStringW
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret
Function at 0x4e2430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x69b6a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x40]
mov dword [esp + 0xc], esi
test esi, esi
je 0x4e2477
call fcn.0042d0f0
mov dword [esp + 0x38], 0
xorps xmm0, xmm0
push 0
push dword [esp + 0x48]
lea ecx, [esp + 0x1c]
movq qword [esp + 0x2c], xmm0
push edi
movdqu xmmword [esp + 0x20], xmm0
call fcn.004fa980
mov eax, dword [esi + 0x48]
mov esi, dword [eax]
cmp esi, eax
je 0x4e24f9
mov eax, dword [esp + 0x10]
jmp 0x4e24b0
mov edi, dword [esi + 8]
test edi, edi
je 0x4e24cb
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.004fa9d0
test al, al
jne 0x4e24d4
mov eax, dword [esp + 0x10]
mov esi, dword [esi]
cmp esi, dword [eax + 0x48]
jne 0x4e24b0
jmp 0x4e24f9
mov ecx, dword [esi + 4]
mov eax, dword [esi]
push esi
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x14]
dec dword [eax + 0x4c]
call fcn.005472b4
push edi
call fcn.005472b4
add esp, 8
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x10]
call fcn.0042d100
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005472b9
add esp, 0x30
ret 8