joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459eb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea20a
mov eax, dword fs:[0]
push eax
mov eax, 0x1034
call fcn.004e1270
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1024], ecx
mov eax, dword [ebp - 0x1024]
add eax, 4
push eax
lea ecx, [ebp - 0x1034]
call fcn.00415330
mov dword [ebp - 4], 0
push 0x5132d0
lea ecx, [ebp - 0x1040]
call fcn.004153a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1040]
push ecx
lea ecx, [ebp - 0x1034]
call fcn.00415710
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1040]
call fcn.00415310
mov dword [ebp - 0x101c], 0
lea edx, [ebp - 0x101c]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x1034]
call fcn.004157f0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45a042
mov dword [ebp - 0x1018], 0x800
xor eax, eax
mov word [ebp - 0x1014], ax
push 0x1000
push 0
lea ecx, [ebp - 0x1012]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x1028], 0
mov dword [ebp - 0x1020], 0
lea edx, [ebp - 0x1028]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x1018]
push eax
lea ecx, [ebp - 0x1014]
push ecx
mov edx, dword [ebp - 0x1020]
push edx
mov eax, dword [ebp - 0x101c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x45a035
push 0
lea ecx, [ebp - 0x1014]
push ecx
lea ecx, [ebp - 0x1034]
call fcn.004157f0
push eax
push SysReAllocString
call fcn.0040ac10
mov edx, dword [ebp - 0x1018]
add edx, 1
push edx
push 0
lea eax, [ebp - 0x1014]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x1020]
add ecx, 1
mov dword [ebp - 0x1020], ecx
mov dword [ebp - 0x1018], 0x800
jmp 0x459faa
mov edx, dword [ebp - 0x101c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1034]
call fcn.00415310
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e11cc
mov esp, ebp
pop ebp
ret
Function at 0x45c970
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x240], ecx
call fcn.00406200
mov dword [ebp - 0x234], eax
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004600a0
add esp, 0xc
mov byte [ebp - 0x21d], 0
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.MSVCR120.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x45cb22
push 0x5c
lea edx, [ebp - 0x21c]
push edx
call fcn.00406530
add esp, 8
add eax, 2
mov dword [ebp - 0x23c], eax
mov byte [ebp - 0x14], 0x48
mov byte [ebp - 0x13], 0x56
mov byte [ebp - 0x12], 0x48
mov byte [ebp - 0x11], 0xb
mov byte [ebp - 0x10], 0x5f
mov byte [ebp - 0xf], 0x1a
mov byte [ebp - 0xe], 0x25
mov byte [ebp - 0xd], 0x5a
mov byte [ebp - 0xc], 0x29
mov byte [ebp - 0xb], 0x44
mov byte [ebp - 0xa], 0x50
mov byte [ebp - 9], 0x33
mov byte [ebp - 8], 0x17
mov byte [ebp - 7], 0
push 5
lea eax, [ebp - 0x14]
push eax
call sub.MSVCR120.dll_strlen
add esp, 4
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.0048e330
lea edx, [ebp - 0x14]
mov dword [ebp - 0x224], edx
cmp dword [ebp - 0x224], 0
jne 0x45ca72
mov dword [ebp - 0x230], 0
jmp 0x45cae8
mov eax, dword [ebp - 0x224]
push eax
call sub.MSVCR120.dll_strlen
add esp, 4
add eax, 1
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0x3fffffff
jle 0x45caa2
mov dword [ebp - 0x22c], 0
jmp 0x45cadc
mov eax, dword [ebp - 0x228]
shl eax, 1
call fcn.004e1240
mov dword [ebp - 0x238], esp
mov ecx, dword [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x228]
push edx
mov eax, dword [ebp - 0x224]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00417bd0
mov dword [ebp - 0x22c], eax
mov edx, dword [ebp - 0x22c]
mov dword [ebp - 0x230], edx
mov eax, dword [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.MSVCR120.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x45cb0a
mov byte [ebp - 0x21d], 1
push 5
lea edx, [ebp - 0x14]
push edx
call sub.MSVCR120.dll_strlen
add esp, 4
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0048e330
lea esp, [ebp - 0x240]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e11cc
mov esp, ebp
pop ebp
ret 4
Function at 0x45e8d0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eaaf7
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x220], ecx
mov byte [ebp - 0x219], 0
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.00415d20
test eax, eax
je 0x45e9fe
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
call fcn.00409f60
test eax, eax
je 0x45e9fe
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004153a0
mov dword [ebp - 4], 0
push str._sCorelDownloads
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.004155b0
lea ecx, [ebp - 0x230]
call fcn.004157f0
push eax
push 0x514038
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.00415f40
mov ecx, dword [ebp - 0x220]
call fcn.0045e7e0
push 0x104
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.00415890
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x220]
add ecx, 0x48
call fcn.004157f0
push eax
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.00415930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00415310
push str.dim_params.xml
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.004157f0
push eax
push 0x104
mov ecx, dword [ebp - 0x220]
add ecx, 0x2c
call fcn.00415890
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x220]
add ecx, 0x2c
call fcn.00415930
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.004157f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45ea71
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.004157f0
push eax
call fcn.00443ea0
mov byte [ebp - 0x219], al
jmp 0x45ea78
mov byte [ebp - 0x219], 1
movzx edx, byte [ebp - 0x219]
test edx, edx
je 0x45eac7
mov ecx, dword [ebp - 0x220]
add ecx, 0x2c
call fcn.004157f0
push eax
call fcn.00443da0
movzx eax, al
test eax, eax
je 0x45eac7
mov ecx, dword [ebp - 0x220]
add ecx, 0x2c
call fcn.004157f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x45eac0
mov byte [ebp - 0x219], 0
jmp 0x45eac7
mov byte [ebp - 0x219], 1
mov al, byte [ebp - 0x219]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e11cc
mov esp, ebp
pop ebp
ret 4
Function at 0x460730
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x56e6b4], 0x7af
jne 0x460779
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
push 0x574950
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x46076f
push 0x515670
push 0x10
push 0x574950
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
mov dword [0x56e6b4], 0x7d2
mov eax, 0x574950
mov esp, ebp
pop ebp
ret

Function at 0x460790
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x56e6b8], 0x7af
jne 0x4607f3
push 0x104
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x418]
push edx
push 0x56e6b8
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x515674
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x4607f3
mov dword [0x56e6b8], 0
mov eax, dword [0x56e6b8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e11cc
mov esp, ebp
pop ebp
ret

Function at 0x460810
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x56e6bc], 0x7af
jne 0x46085c
mov dword [ebp - 4], 0x101
lea eax, [ebp - 4]
push eax
push 0x574970
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x460852
push 0x51567c
push 0x101
push 0x574970
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
mov dword [0x56e6bc], 0x7d2
mov eax, 0x574970
mov esp, ebp
pop ebp
ret
Function at 0x462e60
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb1c5
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x572734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x462ebf
mov ecx, dword [ebp - 0x10]
and ecx, 1
je 0x462ebf
mov edx, dword [ebp - 0x10]
and edx, 0xfffffffe
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x1c], 5
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00431bf0
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x18]
call fcn.004090b0
mov byte [ebp - 4], 3
mov eax, dword [0x56e7d4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004090b0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x24]
push edx
lea ecx, [ebp - 0x68]
call fcn.00458e80
mov byte [ebp - 4], 5
lea eax, [ebp - 0x68]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
mov edx, dword [0x56e7d0]
push edx
call fcn.004090b0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 6
lea ecx, [ebp + 0xc]
call fcn.004d51b0
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.00459710
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.00414560
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00409190
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x78]
call fcn.00458e80
mov byte [ebp - 4], 7
lea edx, [ebp - 0x78]
push edx
lea ecx, [ebp + 0xc]
call fcn.004d51b0
mov ecx, eax
call fcn.004595c0
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78]
call fcn.00414560
cmp dword [ebp - 0x30], 0
jl 0x462fc8
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x50]
call fcn.00431bf0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00447540
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.00405d70
jmp 0x462ff7
mov dword [ebp - 0x38], 4
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x58]
call fcn.00431bf0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x48]
call fcn.00447540
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00405d70
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00464110
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00409190
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00405d70
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00409150
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x464980
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb778
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x572734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.004647b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp dword [ebp + 8], 0xffffffff
je 0x464a5c
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00464f00
sub esp, 0xc
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.004656c0
mov ecx, eax
call fcn.004650c0
push 0x400
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
call fcn.00465440
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
push str.Date
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
push SysReAllocString
call fcn.0040a8d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
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 4
Function at 0x469890
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec2eb
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x572734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
push 8
push 0
lea eax, [ebp - 0x2c]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
push 8
push 0
lea ecx, [ebp - 0x24]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
push 8
push 0
lea edx, [ebp - 0x1c]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x50
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
jmp 0x46993d
mov dword [ebp - 4], 0xffffffff
jmp 0x46994d
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x470a40
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed334
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x572734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00415310
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00415310
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00415310
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00415310
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.00415310
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4710c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [0x5753bc]
test eax, eax
jne 0x4711ba
cmp dword [0x5753b8], 0
jne 0x4711b3
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x51df7c
push 0x104
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.MSVCR120.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x5753b8], eax
cmp dword [0x5753b8], 0
je 0x4711b3
push str.GetDpiForMonitor
mov ecx, dword [0x5753b8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5753b4], eax
push str.GetProcessDpiAwareness
mov edx, dword [0x5753b8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5753ac], eax
push str.SetProcessDpiAwareness
mov eax, dword [0x5753b8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5753b0], eax
cmp dword [0x5753ac], 0
je 0x471195
cmp dword [0x5753b0], 0
je 0x471195
cmp dword [0x5753b4], 0
jne 0x4711b3
mov dword [0x5753b4], 0
mov dword [0x5753ac], 0
mov dword [0x5753b0], 0
mov byte [0x5753bc], 1
mov al, byte [0x5753bc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e11cc
mov esp, ebp
pop ebp
ret
Function at 0x471de0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed536
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
push str.MD::RL
lea ecx, [ebp - 0x38]
call fcn.00445780
mov dword [ebp - 4], 0
mov dword [ebp - 0x58], 0x1f4
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x30]
call eax
movzx ecx, al
test ecx, ecx
je 0x471e91
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 4], 0
je 0x471e91
push 0x1f4
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x471e91
push 0xffffffffffffffff
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x1f4
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x3c]
add ecx, 0x10
call fcn.004a9b10
mov ecx, dword [ebp - 0x3c]
add ecx, 0x10
call fcn.004aae50
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 4], 0
je 0x471edf
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x471ece
push 1
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x48], eax
jmp 0x471ed5
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0xc], 0
je 0x471f0a
push 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ecx]
mov ecx, dword [edx + 0xc]
mov edx, dword [eax + 0xb8]
call edx
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x44], 0
je 0x471f33
push 1
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 0xb0]
call eax
mov dword [ebp - 0x4c], eax
jmp 0x471f3a
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00445840
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e11cc
mov esp, ebp
pop ebp
ret
Function at 0x472960
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed7f8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x572734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
call fcn.004a9a50
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
lea eax, [ebp + 8]
push eax
call fcn.004315c0
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x30]
call edx
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00409150
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x479020
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x15], 0
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x479059
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x80
je 0x479057
mov byte [ebp - 0x15], 1
jmp 0x479070
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x80
je 0x479070
mov byte [ebp - 0x15], 1
movzx edx, byte [ebp - 0x15]
test edx, edx
je 0x479132
push 0
push 0xf012
push 0x112
mov ecx, dword [ebp - 0x1c]
call fcn.00409730
call fcn.00471060
cmp eax, 2
jne 0x479132
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x254]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x258]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x258
push ecx
mov edx, dword [ebp - 0x1c]
add edx, 0x254
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.004029d0
push eax
call fcn.00470f60
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x254]
cmp ecx, dword [ebp - 0x20]
jne 0x4790f7
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x258]
cmp eax, dword [ebp - 0x24]
je 0x479132
mov ecx, dword [ebp - 0x1c]
call fcn.004799f0
lea ecx, [ebp - 0x14]
call fcn.00408bc0
lea ecx, [ebp - 0x14]
call fcn.004a0830
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.004094e0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 1
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x1c8]
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e11cc
mov esp, ebp
pop ebp
ret
Function at 0x495c30
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1120
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x572734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x495c85
xor eax, eax
jmp 0x495d60
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx], 0x4550
je 0x495ca3
xor eax, eax
jmp 0x495d60
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + ecx + 0x78]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x18], 0
jmp 0x495ce2
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0x18]
jae 0x495d45
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR120.dll__stricmp]
add esp, 8
test eax, eax
jne 0x495d43
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
lea eax, [edx + ecx*2]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x24], ecx
jmp 0x495d45
jmp 0x495cd9
jmp 0x495d4d
mov dword [ebp - 4], 0xffffffff
jmp 0x495d5d
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret