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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef389
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x428], 0
lea ecx, [ebp - 0x424]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov dword [ebp - 4], 1
mov dword [ebp - 0x42c], 0x104
xor eax, eax
mov word [ebp - 0x420], ax
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
mov eax, dword [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x4925be
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x424]
call dword [sym.imp.mfc120u.dll_Ordinal_1520]
jmp 0x4925cf
push 0x52ad5c
lea ecx, [ebp - 0x424]
call dword [sym.imp.mfc120u.dll_Ordinal_1520]
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0
push 0x52ad64
lea ecx, [ebp - 0x424]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x492640
push str.ServerDump1.xml
push 0x104
lea ecx, [ebp - 0x424]
call dword [sym.imp.mfc120u.dll_Ordinal_5019]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x424]
call dword [sym.imp.mfc120u.dll_Ordinal_12430]
jmp 0x492653
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x424]
call dword [sym.imp.mfc120u.dll_Ordinal_1520]
lea eax, [ebp - 0x424]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov ecx, dword [ebp - 0x428]
or ecx, 1
mov dword [ebp - 0x428], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x424]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
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.004df9ac
mov esp, ebp
pop ebp
ret 4
Function at 0x494b70
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef6b7
mov eax, dword fs:[0]
push eax
mov eax, 0x6814
call fcn.004dfa50
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x681c], ecx
mov dword [ebp - 0x6820], 0
lea ecx, [ebp - 0x6818]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x6814]
call fcn.004d3da0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x681c]
add ecx, 4
call dword [sym.imp.mfc120u.dll_Ordinal_8064]
movzx eax, al
test eax, eax
jne 0x494c3f
xor ecx, ecx
mov word [ebp - 0x420], cx
push 0x206
push 0
lea edx, [ebp - 0x41e]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x681c]
add ecx, 4
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x6818]
call dword [sym.imp.mfc120u.dll_Ordinal_1520]
jmp 0x494d15
lea eax, [ebp - 0x6814]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x681c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x494cb4
xor ecx, ecx
mov word [ebp - 0x628], cx
push 0x206
push 0
lea edx, [ebp - 0x626]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x26b8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x628]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x6818]
call dword [sym.imp.mfc120u.dll_Ordinal_1520]
jmp 0x494d15
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x681c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x6818]
call dword [sym.imp.mfc120u.dll_Ordinal_1520]
lea eax, [ebp - 0x6818]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov ecx, dword [ebp - 0x6820]
or ecx, 1
mov dword [ebp - 0x6820], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6814]
call fcn.004d3ed0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6818]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
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.004df9ac
mov esp, ebp
pop ebp
ret 8
Function at 0x4959c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef84b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00495c20
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jne 0x495a04
jmp 0x495bb2
movzx eax, byte [0x573678]
test eax, eax
jne 0x495a21
mov ecx, dword [ebp - 0x228]
call fcn.00495cb0
mov byte [0x573678], 1
push 0x100
lea ecx, [ebp - 0x210]
push ecx
call fcn.00495ce0
add esp, 8
lea ecx, [ebp - 0x240]
call fcn.004142b0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
push str._s____s_r_n
lea ecx, [ebp - 0x240]
push ecx
call fcn.00414ba0
add esp, 0x10
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push 0x573470
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
je 0x495ba0
call fcn.00405870
mov dword [ebp - 0x230], eax
push 2
push 0
push 0
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x240]
call fcn.004147c0
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x495ae4
mov dword [ebp - 0x220], 0
jmp 0x495b5d
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCR120.dll_wcslen]
add esp, 4
add eax, 1
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0x3fffffff
jle 0x495b15
mov dword [ebp - 0x224], 0
jmp 0x495b51
mov eax, dword [ebp - 0x218]
shl eax, 1
call fcn.004dfa20
mov dword [ebp - 0x22c], esp
mov ecx, dword [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x218]
shl edx, 1
push edx
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.00405740
mov dword [ebp - 0x224], eax
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x220], edx
push 0
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x240]
call fcn.004147e0
push eax
mov ecx, dword [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.004142e0
lea esp, [ebp - 0x244]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret
Function at 0x49c8a0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0787
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x224], ecx
mov byte [ebp - 0x21d], 0
mov ecx, dword [ebp - 0x224]
call fcn.0049d2e0
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x224]
call fcn.0049c760
mov dword [ebp - 4], 0
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x230]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x260]
call fcn.004147c0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49cb04
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x22c], 0x104
mov edx, dword [ebp - 0x22c]
shl edx, 1
push edx
push 0
lea eax, [ebp - 0x21c]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp - 0x234]
push eax
mov ecx, dword [ebp - 0x230]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x49caf0
push 0x2c
call sub.mfc120u.dll_Ordinal_1506
add esp, 4
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x238], 0
je 0x49c9c5
mov ecx, dword [ebp - 0x238]
call fcn.0049f330
mov dword [ebp - 0x23c], eax
jmp 0x49c9cf
mov dword [ebp - 0x23c], 0
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x248], edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x26c]
push edx
mov ecx, dword [ebp - 0x224]
call fcn.0049c7d0
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x244]
push ecx
mov ecx, dword [ebp - 0x228]
add ecx, 4
call fcn.004145d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.004142e0
mov edx, dword [ebp - 0x228]
add edx, 0x1c
push edx
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x224]
call fcn.0049cb50
mov ecx, dword [ebp - 0x228]
add ecx, 0x24
push ecx
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp - 0x224]
call fcn.0049cdf0
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x254]
call fcn.00414370
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x254]
push ecx
mov ecx, dword [ebp - 0x224]
add ecx, 0x10
call fcn.0049f6a0
mov edx, dword [ebp - 0x228]
mov dword [eax], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.004142e0
mov dword [ebp - 0x22c], 0x104
mov eax, dword [ebp - 0x22c]
shl eax, 1
push eax
push 0
lea ecx, [ebp - 0x21c]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x234]
add edx, 1
mov dword [ebp - 0x234], edx
jmp 0x49c96b
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x21d], 1
mov cl, byte [ebp - 0x21d]
mov byte [ebp - 0x21e], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.004142e0
mov al, byte [ebp - 0x21e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret
Function at 0x49cb50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f07db
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x43c], ecx
mov byte [ebp - 0x421], 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x450]
push ecx
mov ecx, dword [ebp - 0x43c]
call fcn.0049c5e0
mov dword [ebp - 4], 0
push str.CustomData
push 0x52d18c
lea edx, [ebp - 0x450]
push edx
lea eax, [ebp - 0x474]
push eax
call fcn.004175b0
add esp, 0xc
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x444]
mov dword [ebp - 0x440], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x440]
push edx
lea eax, [ebp - 0x45c]
push eax
call fcn.004175b0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x474]
call fcn.004142e0
mov dword [ebp - 0x434], 0
lea ecx, [ebp - 0x434]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x45c]
call fcn.004147c0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49cd94
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x42c], 0x104
mov dword [ebp - 0x428], 0x104
mov edx, dword [ebp - 0x428]
shl edx, 1
push edx
push 0
lea eax, [ebp - 0x218]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x42c]
shl ecx, 1
push ecx
push 0
lea edx, [ebp - 0x420]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x438]
push edx
push 0
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x430]
push edx
mov eax, dword [ebp - 0x434]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x49cd80
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x468]
call fcn.00414370
mov byte [ebp - 4], 4
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x468]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004338f0
mov ecx, eax
call fcn.00414580
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x468]
call fcn.004142e0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x428], 0x104
mov dword [ebp - 0x42c], 0x104
mov ecx, dword [ebp - 0x428]
shl ecx, 1
push ecx
push 0
lea edx, [ebp - 0x218]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x42c]
shl eax, 1
push eax
push 0
lea ecx, [ebp - 0x420]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x430]
add edx, 1
mov dword [ebp - 0x430], edx
jmp 0x49cc97
mov eax, dword [ebp - 0x434]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x421], 1
mov cl, byte [ebp - 0x421]
mov byte [ebp - 0x422], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x45c]
call fcn.004142e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x450]
call fcn.004142e0
mov al, byte [ebp - 0x422]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret 8
Function at 0x49cdf0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f081c
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x230], ecx
mov byte [ebp - 0x219], 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x248]
push ecx
mov ecx, dword [ebp - 0x230]
call fcn.0049c5e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
lea edx, [ebp - 0x224]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x248]
call fcn.004147c0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49cfdb
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x220], 0x104
mov eax, dword [ebp - 0x220]
shl eax, 1
push eax
push 0
lea ecx, [ebp - 0x218]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x220]
push edx
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x228]
push ecx
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x49cfc7
push str.CustomData
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCR120.dll_wcscmp]
add esp, 8
test eax, eax
je 0x49cf8f
push 0x18
call sub.mfc120u.dll_Ordinal_1506
add esp, 4
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x238], 0
je 0x49cf25
mov ecx, dword [ebp - 0x238]
call fcn.0049f3c0
mov dword [ebp - 0x234], eax
jmp 0x49cf2f
mov dword [ebp - 0x234], 0
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x23c], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x22c], edx
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x22c]
add ecx, 4
call fcn.00414580
mov ecx, dword [ebp - 0x22c]
add ecx, 0x10
push ecx
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.0049d020
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0046c570
mov dword [ebp - 0x220], 0x104
mov edx, dword [ebp - 0x220]
shl edx, 1
push edx
push 0
lea eax, [ebp - 0x218]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x228]
add ecx, 1
mov dword [ebp - 0x228], ecx
jmp 0x49ceae
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x219], 1
mov al, byte [ebp - 0x219]
mov byte [ebp - 0x21a], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.004142e0
mov al, byte [ebp - 0x21a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret 8
Function at 0x4a6af0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1baa
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x56f734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CRLPCU::CMsgUtil.0
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x58], 0
je 0x4a6bb8
push 0xbb8
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x58]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x102
jne 0x4a6b7e
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x58]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x58]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
je 0x4a6ba7
push 1
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0x24], eax
jmp 0x4a6bae
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x5c], 0
je 0x4a6c2e
push 0xbb8
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x5c]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x102
jne 0x4a6bf4
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x5c]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x5c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x4a6c1d
push 1
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0x30], eax
jmp 0x4a6c24
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x5c], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x84
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.00440db0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.004142e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.004aa1f0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.004a0ca0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 4
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4aad40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f26bf
mov eax, dword fs:[0]
push eax
mov eax, 0x2030
call fcn.004dfa50
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2038], 0
lea ecx, [ebp - 0x2028]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x201c]
call dword [sym.imp.mfc120u.dll_Ordinal_286]
mov byte [ebp - 4], 2
push 0x52fba0
lea ecx, [ebp - 0x201c]
call dword [sym.imp.mfc120u.dll_Ordinal_1687]
push 0x52fba4
lea ecx, [ebp - 0x201c]
call dword [sym.imp.mfc120u.dll_Ordinal_1687]
mov dword [ebp - 0x2024], 0
lea ecx, [ebp - 0x2024]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x201c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4aaef3
mov dword [ebp - 0x2034], 0x800
mov dword [ebp - 0x203c], 0x800
mov dword [ebp - 0x202c], 0
mov dword [ebp - 0x2030], 0
lea ecx, [ebp - 0x2020]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov byte [ebp - 4], 3
lea edx, [ebp - 0x203c]
push edx
lea eax, [ebp - 0x2018]
push eax
lea ecx, [ebp - 0x2030]
push ecx
push 0
lea edx, [ebp - 0x2034]
push edx
lea eax, [ebp - 0x1014]
push eax
mov ecx, dword [ebp - 0x202c]
push ecx
mov edx, dword [ebp - 0x2024]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4aaed6
cmp dword [ebp - 0x2030], 1
jne 0x4aaeae
lea eax, [ebp - 0x2018]
push eax
lea ecx, [ebp - 0x1014]
push ecx
push str._t_t_t_cookie_key__s__value__s_____n
lea edx, [ebp - 0x2020]
push edx
call dword [sym.imp.mfc120u.dll_Ordinal_4772]
add esp, 0x10
lea eax, [ebp - 0x2020]
push eax
lea ecx, [ebp - 0x2028]
call dword [sym.imp.mfc120u.dll_Ordinal_1684]
mov ecx, dword [ebp - 0x202c]
add ecx, 1
mov dword [ebp - 0x202c], ecx
mov dword [ebp - 0x2034], 0x800
mov dword [ebp - 0x203c], 0x800
jmp 0x4aae32
mov edx, dword [ebp - 0x2024]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2020]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
lea eax, [ebp - 0x2028]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov ecx, dword [ebp - 0x2038]
or ecx, 1
mov dword [ebp - 0x2038], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x201c]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2028]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
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.004df9ac
mov esp, ebp
pop ebp
ret 8
Function at 0x4ac930
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2a6b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x56f734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
call sub.mfc120u.dll_Ordinal_12095
test eax, eax
je 0x4ac972
mov eax, 1
jmp 0x4aca8c
mov dword [ebp - 0x14], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov word [ebp - 0x10], ax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0x100
jne 0x4ac9a6
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0x74
jne 0x4ac9a6
mov dword [ebp - 0x14], 1
jmp 0x4aca7c
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x100
jne 0x4ac9f5
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0x4f
je 0x4ac9d6
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0x50
je 0x4ac9d6
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0x4e
je 0x4ac9d6
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0x4c
jne 0x4ac9f5
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x4ac9f5
mov dword [ebp - 0x14], 1
jmp 0x4aca7c
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x134
call fcn.004accc0
movzx eax, al
test eax, eax
je 0x4aca7c
mov ecx, dword [ebp - 0x18]
add ecx, 0x134
call fcn.004de0a0
push eax
lea ecx, [ebp - 0x1c]
call fcn.004acb70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004de0a0
test eax, eax
je 0x4aca6d
lea ecx, [ebp - 0x1c]
call fcn.004de0a0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
call edx
test eax, eax
jne 0x4aca60
mov dword [ebp - 0x24], 1
jmp 0x4aca67
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004acc40
cmp dword [ebp - 0x14], 0
je 0x4aca89
mov eax, 1
jmp 0x4aca8c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4