joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47f2e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540a4b
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x5854b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x43c], 0
lea ecx, [ebp - 0x438]
call fcn.004546c0
mov dword [ebp - 4], 0
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.00511800
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
je 0x47f36a
cmp dword [ebp - 0x440], 0x104
jbe 0x47f39f
lea edx, [ebp - 0x438]
push edx
mov ecx, dword [ebp + 8]
call fcn.004284a0
mov eax, dword [ebp - 0x43c]
or eax, 1
mov dword [ebp - 0x43c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.00428550
mov eax, dword [ebp + 8]
jmp 0x47f419
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.00511800
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
push 0
push 0x550fc0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x47f3e6
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00454b50
lea edx, [ebp - 0x438]
push edx
mov ecx, dword [ebp + 8]
call fcn.004284a0
mov eax, dword [ebp - 0x43c]
or eax, 1
mov dword [ebp - 0x43c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.00428550
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d77de
mov esp, ebp
pop ebp
ret
Function at 0x48cbb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540a4b
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x5854b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x43c], 0
lea ecx, [ebp - 0x438]
call fcn.004546c0
mov dword [ebp - 4], 0
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.00511800
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
je 0x48cc3a
cmp dword [ebp - 0x440], 0x104
jbe 0x48cc6f
lea edx, [ebp - 0x438]
push edx
mov ecx, dword [ebp + 8]
call fcn.004284a0
mov eax, dword [ebp - 0x43c]
or eax, 1
mov dword [ebp - 0x43c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.00428550
mov eax, dword [ebp + 8]
jmp 0x48cce9
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.00511800
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
push 0
push 0x552f7c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x48ccb6
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00454b50
lea edx, [ebp - 0x438]
push edx
mov ecx, dword [ebp + 8]
call fcn.004284a0
mov eax, dword [ebp - 0x43c]
or eax, 1
mov dword [ebp - 0x43c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.00428550
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d77de
mov esp, ebp
pop ebp
ret
Function at 0x48d580
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x48d58f
cmp dword [ebp + 0xc], 0
ja 0x48d597
mov eax, dword [ebp + 0x10]
jmp 0x48d734
mov eax, dword [ebp + 0x10]
xor eax, 0xffffffff
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0xc], 8
jb 0x48d6f5
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
xor edx, dword [ebp + 0x10]
and edx, 0xff
mov eax, dword [ebp + 0x10]
shr eax, 8
xor eax, dword [edx*4 + 0x552f88]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, dword [ebp + 0x10]
and eax, 0xff
mov ecx, dword [ebp + 0x10]
shr ecx, 8
xor ecx, dword [eax*4 + 0x552f88]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 0x10]
and ecx, 0xff
mov edx, dword [ebp + 0x10]
shr edx, 8
xor edx, dword [ecx*4 + 0x552f88]
mov dword [ebp + 0x10], edx
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
xor edx, dword [ebp + 0x10]
and edx, 0xff
mov eax, dword [ebp + 0x10]
shr eax, 8
xor eax, dword [edx*4 + 0x552f88]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, dword [ebp + 0x10]
and eax, 0xff
mov ecx, dword [ebp + 0x10]
shr ecx, 8
xor ecx, dword [eax*4 + 0x552f88]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 0x10]
and ecx, 0xff
mov edx, dword [ebp + 0x10]
shr edx, 8
xor edx, dword [ecx*4 + 0x552f88]
mov dword [ebp + 0x10], edx
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
xor edx, dword [ebp + 0x10]
and edx, 0xff
mov eax, dword [ebp + 0x10]
shr eax, 8
xor eax, dword [edx*4 + 0x552f88]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, dword [ebp + 0x10]
and eax, 0xff
mov ecx, dword [ebp + 0x10]
shr ecx, 8
xor ecx, dword [eax*4 + 0x552f88]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
sub eax, 8
mov dword [ebp + 0xc], eax
jmp 0x48d5a0
cmp dword [ebp + 0xc], 0
je 0x48d72e
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
xor edx, dword [ebp + 0x10]
and edx, 0xff
mov eax, dword [ebp + 0x10]
shr eax, 8
xor eax, dword [edx*4 + 0x552f88]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
sub edx, 1
mov dword [ebp + 0xc], edx
jne 0x48d6fb
mov eax, dword [ebp + 0x10]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x48f170
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5854b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x48f195
xor eax, eax
jmp 0x48f22d
mov edx, dword [ebp - 8]
cmp dword [edx + 0x14], 0
jne 0x48f1a5
xor eax, eax
jmp 0x48f22d
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.004d7d70
mov dword [ebp - 0x14], esp
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x48f1d5
xor eax, eax
jmp 0x48f22d
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x14]
add ecx, 0x1d4
call fcn.00433580
push 0
push 0
push 0
push str.textchanged
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x14]
mov eax, dword [edx + 0x20]
call eax
mov ecx, eax
call fcn.0043cce0
xor eax, eax
lea esp, [ebp - 0x14]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d77de
mov esp, ebp
pop ebp
ret 0x10

Function at 0x49a3b0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x489c], 1
jne 0x49a3fd
lea ecx, [ebp - 8]
push ecx
push 4
mov edx, dword [ebp - 4]
push edx
push 0x49b330
push 0
push 0
call fcn.0051b49f
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
ja 0x49a3ef
jmp 0x49a412
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x49a412
xor edx, edx
mov eax, dword [ebp - 4]
add eax, 0x489c
mov ecx, eax
mov eax, 2
lock cmpxchg dword [ecx], edx
mov esp, ebp
pop ebp
ret

Function at 0x49a8b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
mov eax, 1
test eax, eax
je 0x49a928
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x489c], 1
jne 0x49a8d0
jmp 0x49a928
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x489c], 2
jne 0x49a8e7
jmp 0x49a8fb
mov eax, dword [ebp - 4]
cmp dword [eax + 0x489c], 0
jne 0x49a8fb
mov ecx, dword [ebp - 4]
call fcn.0049a930
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x48a0]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jle 0x49a926
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x49a8b9
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4b7df0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 1
jne 0x4b7e70
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x1c]
call fcn.00441fd0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + 0x28]
jl 0x4b7e4b
mov dword [ebp - 0x10], 0
jmp 0x4b7e57
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x28]
sub edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4b7e0e
mov esp, ebp
pop ebp
ret
Function at 0x4beca0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540edb
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x5854b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xc0], 8
mov dword [ebp - 0xbc], 0x40
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x14], edx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x14]
mov dword [ecx + 0x5a8], 0
mov edx, dword [ebp - 0xa8]
cmp dword [edx + 4], 0
jne 0x4bedd5
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.004be730
mov dword [ebp - 0xb0], 0x40000000
push 0
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x18]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0xc], eax
push 0
mov ecx, dword [ebp - 0xb0]
push ecx
push 0
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x14]
mov eax, dword [edx + 0x20]
call eax
mov ecx, eax
call fcn.00406cd0
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.0043e3d0
push 1
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x14]
call fcn.00468330
push eax
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x14]
mov eax, dword [edx + 0x20]
call eax
mov ecx, eax
call fcn.00437280
mov ecx, dword [eax]
push ecx
push 0x30
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x14]
mov eax, dword [edx + 0x2c]
call eax
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xb8]
call fcn.00434250
mov byte [ebp - 0xa9], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.00433420
movzx edx, byte [ebp - 0xa9]
test edx, edx
je 0x4bee52
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x14]
add ecx, 0x598
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x14]
add eax, 0x598
push eax
push 0
push 0x1002
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0xa8]
mov byte [ecx + 0x1c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d77de
mov esp, ebp
pop ebp
ret 4
Function at 0x4c4010
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54226b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x5854b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x234], 0
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
lea ecx, [ebp - 0x230]
call fcn.00419d10
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x230]
call fcn.0047f2c0
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00457ae0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4c410f
push 0x208
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.00511800
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x4c410f
push 4
lea edx, [ebp + 0xc]
push edx
push 4
push 0
mov eax, dword [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4c410f
mov dword [ebp - 0x23c], 1
cmp dword [ebp - 0x234], 0
je 0x4c4125
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x240], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00428550
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d77de
mov esp, ebp
pop ebp
ret 8
Function at 0x4c6100
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
cmp dword [eax], 0x17
jne 0x4c6136
mov ecx, dword [ebp - 4]
call fcn.004c6450
movzx ecx, ax
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x4c6261
mov edx, dword [ebp + 8]
cmp dword [edx], 0xd
jne 0x4c61c3
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x34]
call eax
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ecx + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4c61b9
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x34]
call edx
mov ecx, dword [ebp - 4]
add ecx, 0x568
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x560], edx
mov dword [ecx + 0x564], eax
mov edx, dword [ebp - 4]
mov byte [edx + 0x578], 1
jmp 0x4c6261
mov eax, dword [ebp + 8]
cmp dword [eax], 0xe
jne 0x4c61fe
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x578], 0
mov edx, dword [ebp - 4]
cmp dword [edx + 0x558], 0
je 0x4c61fa
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x558]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x558]
mov edx, dword [eax + 8]
call edx
jmp 0x4c6261
mov eax, dword [ebp + 8]
cmp dword [eax], 9
jne 0x4c6255
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x558], 0
je 0x4c6253
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x578]
test eax, eax
je 0x4c6253
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x4c6253
mov edx, dword [ebp + 8]
add edx, 0xc
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x558]
mov eax, dword [ebp - 4]
mov edx, dword [edx]
mov ecx, dword [eax + 0x558]
mov eax, dword [edx + 4]
call eax
jmp 0x4c6261
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00440e60
mov esp, ebp
pop ebp
ret 4
Function at 0x4c6270
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
cmp dword [eax], 0xd
jne 0x4c62e7
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x34]
call eax
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ecx + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4c62dd
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 0xc]
sub ecx, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx + 0x55c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x10]
sub edx, dword [ecx + 4]
mov eax, dword [ebp - 4]
mov dword [eax + 0x560], edx
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x564], 1
jmp 0x4c6380
mov edx, dword [ebp + 8]
cmp dword [edx], 0xe
jne 0x4c6322
mov eax, dword [ebp - 4]
mov byte [eax + 0x564], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x558], 0
je 0x4c631e
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x558]
mov ecx, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x558]
mov eax, dword [edx + 8]
call eax
jmp 0x4c6380
mov ecx, dword [ebp + 8]
cmp dword [ecx], 9
jne 0x4c6374
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x4c6374
mov eax, dword [ebp - 4]
cmp dword [eax + 0x558], 0
je 0x4c6372
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x564]
test edx, edx
je 0x4c6372
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x558]
mov eax, dword [ebp - 4]
mov edx, dword [edx]
mov ecx, dword [eax + 0x558]
mov eax, dword [edx]
call eax
jmp 0x4c6380
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00440e60
mov esp, ebp
pop ebp
ret 4
Function at 0x4d62f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542b58
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5854b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x20]
test ecx, ecx
jne 0x4d632a
xor eax, eax
jmp 0x4d641d
mov ecx, dword [ebp - 0x10]
call fcn.004d6810
test eax, eax
je 0x4d6378
lea edx, [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0x4d6e80
push 0
push 0
call fcn.0051b49f
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0
jne 0x4d6369
xor eax, eax
jmp 0x4d641d
mov eax, 1
jmp 0x4d641d
mov eax, dword [ebp - 0x10]
add eax, 0x60
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x44]
push edx
lea ecx, [ebp - 0x24]
call fcn.004454a0
mov dword [ebp - 4], 0
push 0xff
push 0xff
push 0xff
push 0xff
lea ecx, [ebp - 0x14]
call fcn.00445280
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
call fcn.00469be0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x28]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x24]
call fcn.004ce8b0
mov eax, dword [ebp - 0x10]
add eax, 0x60
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
mov ecx, dword [ebp - 0x10]
call fcn.004d67f0
mov ecx, dword [ebp - 0x10]
call fcn.004d6bf0
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004458e0
mov eax, dword [ebp - 0x18]
jmp 0x4d641d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d9340
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [0x5854b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
push 0x208
push eax
mov word [ebp - 0x224], ax
mov byte [ebp - 0x2c2], al
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 7
mov dword [ebp - 0x2cc], 1
mov dword [ebp - 0x2c8], 0x104
call fcn.00511800
add esp, 0xc
lea eax, [ebp - 0x2c8]
lea ecx, [ebp - 0x2c1]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.004d9080
push eax
lea ecx, [ebp - 0x2c1]
call fcn.004d8e40
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d93e6
sub ecx, edx
sar ecx, 1
cmp ecx, 0x10
jb 0x4d940f
push ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x224]
call fcn.0041e0d0
jmp 0x4d946d
lea eax, [ebp - 0x23c]
push eax
call fcn.005392d0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x224]
cmp eax, esi
je 0x4d945b
mov ecx, eax
call fcn.00428550
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x224], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x214], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x23c]
call fcn.00428550
mov byte [ebp - 0x2c2], 1
cmp dword [ebp - 0x210], 8
lea eax, [ebp - 0x224]
push 0xfde9
cmovae eax, dword [ebp - 0x224]
lea ecx, [ebp - 0x2c0]
push eax
call fcn.004d8d50
push dword [ebp - 0x2c0]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call edi
lea esi, [eax + 1]
test ebx, ebx
je 0x4d9520
push dword [ebp - 0x2c0]
call edi
mov edi, dword [ebp + 0xc]
inc eax
cmp eax, edi
jle 0x4d94bb
xor esi, esi
jmp 0x4d9520
push edi
push 0
push ebx
call fcn.00511800
add esp, 0xc
push dword [ebp - 0x2c0]
push edi
push ebx
call fcn.004d92c0
cmp byte [ebp - 0x2c2], 0
je 0x4d9520
cmp dword [ebp - 0x210], 8
lea ecx, [ebp - 0x224]
mov eax, dword [ebp - 0x214]
cmovae ecx, dword [ebp - 0x224]
add eax, eax
push eax
push ecx
push 1
lea ecx, [ebp - 0x2c1]
call fcn.004d91a0
push eax
lea ecx, [ebp - 0x2c1]
call fcn.004d8f60
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0x2c0]
lea ecx, [ebp - 0x2bc]
cmp eax, ecx
je 0x4d9539
push eax
call fcn.005159bb
add esp, 4
mov edx, dword [ebp - 0x210]
cmp edx, 8
jb 0x4d9575
mov ecx, dword [ebp - 0x224]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d956b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d958a
push edx
push ecx
call fcn.004d72b3
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d77de
mov esp, ebp
pop ebp
ret 8
call fcn.00515480
int3

Function at 0x4d9f82
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret