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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e840a
mov eax, dword fs:[0]
push eax
mov eax, 0x1034
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 - 0x1024], ecx
mov eax, dword [ebp - 0x1024]
add eax, 4
push eax
lea ecx, [ebp - 0x1034]
call fcn.00414300
mov dword [ebp - 4], 0
push 0x50fde0
lea ecx, [ebp - 0x1040]
call fcn.00414370
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1040]
push ecx
lea ecx, [ebp - 0x1034]
call fcn.004146e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1040]
call fcn.004142e0
mov dword [ebp - 0x101c], 0
lea edx, [ebp - 0x101c]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x1034]
call fcn.004147c0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4555b2
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 0x4555a5
push 0
lea ecx, [ebp - 0x1014]
push ecx
lea ecx, [ebp - 0x1034]
call fcn.004147c0
push eax
push SysReAllocString
call fcn.00409ff0
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 0x45551a
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.004142e0
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 0x457ee0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x240], ecx
call fcn.00405870
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.0045b5e0
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 0x458092
push 0x5c
lea edx, [ebp - 0x21c]
push edx
call fcn.00405bb0
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.00489ac0
lea edx, [ebp - 0x14]
mov dword [ebp - 0x224], edx
cmp dword [ebp - 0x224], 0
jne 0x457fe2
mov dword [ebp - 0x230], 0
jmp 0x458058
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 0x458012
mov dword [ebp - 0x22c], 0
jmp 0x45804c
mov eax, dword [ebp - 0x228]
shl eax, 1
call fcn.004dfa20
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.00416c20
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 0x45807a
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.00489ac0
lea esp, [ebp - 0x240]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret 4
Function at 0x459e00
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8cef
mov eax, dword fs:[0]
push eax
sub esp, 0x224
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 - 0x220], ecx
mov byte [ebp - 0x219], 0
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.00414db0
test eax, eax
je 0x459f2e
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.00409340
test eax, eax
je 0x459f2e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00414370
mov dword [ebp - 4], 0
push str._sCorelDownloads
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.00414580
lea ecx, [ebp - 0x230]
call fcn.004147c0
push eax
push 0x510b48
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.00414f90
mov ecx, dword [ebp - 0x220]
call fcn.00459d10
push 0x104
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.00414860
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x220]
add ecx, 0x48
call fcn.004147c0
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.00414900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004142e0
push str.dim_params.xml
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.004147c0
push eax
push 0x104
mov ecx, dword [ebp - 0x220]
add ecx, 0x2c
call fcn.00414860
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x220]
add ecx, 0x2c
call fcn.00414900
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.004147c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x459fa1
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.004147c0
push eax
call fcn.0043f300
mov byte [ebp - 0x219], al
jmp 0x459fa8
mov byte [ebp - 0x219], 1
movzx edx, byte [ebp - 0x219]
test edx, edx
je 0x459ff7
mov ecx, dword [ebp - 0x220]
add ecx, 0x2c
call fcn.004147c0
push eax
call fcn.0043f200
movzx eax, al
test eax, eax
je 0x459ff7
mov ecx, dword [ebp - 0x220]
add ecx, 0x2c
call fcn.004147c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x459ff0
mov byte [ebp - 0x219], 0
jmp 0x459ff7
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.004df9ac
mov esp, ebp
pop ebp
ret 4
Function at 0x45bc70
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x56b6ac], 0x7af
jne 0x45bcb9
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
push 0x571938
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x45bcaf
push 0x51213c
push 0x10
push 0x571938
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
mov dword [0x56b6ac], 0x7d2
mov eax, 0x571938
mov esp, ebp
pop ebp
ret

Function at 0x45bcd0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x56b6b0], 0x7af
jne 0x45bd33
push 0x104
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x418]
push edx
push 0x56b6b0
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x512140
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x45bd33
mov dword [0x56b6b0], 0
mov eax, dword [0x56b6b0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret

Function at 0x45bd50
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x56b6b4], 0x7af
jne 0x45bd9c
mov dword [ebp - 4], 0x101
lea eax, [ebp - 4]
push eax
push 0x571958
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x45bd92
push 0x512148
push 0x101
push 0x571958
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
mov dword [0x56b6b4], 0x7d2
mov eax, 0x571958
mov esp, ebp
pop ebp
ret
Function at 0x45e100
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9345
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x56f734]
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 0x45e15f
mov ecx, dword [ebp - 0x10]
and ecx, 1
je 0x45e15f
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.00430510
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x18]
call fcn.00408500
mov byte [ebp - 4], 3
mov eax, dword [0x56b7d0]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408500
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.004544a0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x68]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
mov edx, dword [0x56b7cc]
push edx
call fcn.00408500
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.004300a0
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.00454d00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.00413490
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.004085e0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x78]
call fcn.004544a0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x78]
push edx
lea ecx, [ebp + 0xc]
call fcn.004300a0
mov ecx, eax
call fcn.00454bb0
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78]
call fcn.00413490
cmp dword [ebp - 0x30], 0
jl 0x45e268
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x50]
call fcn.00430510
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00442950
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.00471d60
jmp 0x45e297
mov dword [ebp - 0x38], 4
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x58]
call fcn.00430510
mov byte [ebp - 4], 9
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x48]
call fcn.00442950
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00471d60
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0045f400
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004085e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00471d60
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004085a0
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 0x45fca0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9908
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x56f734]
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.0045fad0
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 0x45fd7c
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00460220
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.004609e0
mov ecx, eax
call fcn.004603e0
push 0x400
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
call fcn.00460760
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.00409cb0
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 0x464ba0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea47b
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x56f734]
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 0x464c4d
mov dword [ebp - 4], 0xffffffff
jmp 0x464c5d
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 0x46bd10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb464
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x56f734]
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.004142e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.004142e0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.004142e0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.004142e0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.004142e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x46c7a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [0x5723a4]
test eax, eax
jne 0x46c89a
cmp dword [0x5723a0], 0
jne 0x46c893
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.Shcore.DLL
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 [0x5723a0], eax
cmp dword [0x5723a0], 0
je 0x46c893
push str.GetDpiForMonitor
mov ecx, dword [0x5723a0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x57239c], eax
push str.GetProcessDpiAwareness
mov edx, dword [0x5723a0]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x572394], eax
push str.SetProcessDpiAwareness
mov eax, dword [0x5723a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x572398], eax
cmp dword [0x572394], 0
je 0x46c875
cmp dword [0x572398], 0
je 0x46c875
cmp dword [0x57239c], 0
jne 0x46c893
mov dword [0x57239c], 0
mov dword [0x572394], 0
mov dword [0x572398], 0
mov byte [0x5723a4], 1
mov al, byte [0x5723a4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret
Function at 0x46d4b0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], ecx
mov dword [ebp - 0x20], 0x1f4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
call eax
movzx ecx, al
test ecx, ecx
je 0x46d52b
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
je 0x46d52b
push 0x1f4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x46d52b
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
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 - 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
add ecx, 0x10
call fcn.004a8280
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x46d56e
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x46d55d
push 1
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x14], eax
jmp 0x46d564
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
je 0x46d599
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0xc]
mov edx, dword [eax + 0xb8]
call edx
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
je 0x46d5c2
push 1
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0xb0]
call eax
mov dword [ebp - 0x1c], eax
jmp 0x46d5c9
mov dword [ebp - 0x1c], 0
mov esp, ebp
pop ebp
ret

Function at 0x46dfc0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb8fb
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 dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
call fcn.004a81c0
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.0042fe40
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.004085a0
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 0x474730
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x56f734]
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 0x474769
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x80
je 0x474767
mov byte [ebp - 0x15], 1
jmp 0x474780
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x80
je 0x474780
mov byte [ebp - 0x15], 1
movzx edx, byte [ebp - 0x15]
test edx, edx
je 0x474842
push 0
push 0xf012
push 0x112
mov ecx, dword [ebp - 0x1c]
call fcn.00408b40
call fcn.0046c740
cmp eax, 2
jne 0x474842
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.0046c640
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x254]
cmp ecx, dword [ebp - 0x20]
jne 0x474807
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x258]
cmp eax, dword [ebp - 0x24]
je 0x474842
mov ecx, dword [ebp - 0x1c]
call fcn.00475100
lea ecx, [ebp - 0x14]
call fcn.00408010
lea ecx, [ebp - 0x14]
call fcn.004d01c0
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.004088f0
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.004df9ac
mov esp, ebp
pop ebp
ret
Function at 0x491360
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef210
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x56f734]
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 0x4913b5
xor eax, eax
jmp 0x491490
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 0x4913d3
xor eax, eax
jmp 0x491490
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 0x491412
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 0x491475
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 0x491473
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 0x491475
jmp 0x491409
jmp 0x49147d
mov dword [ebp - 4], 0xffffffff
jmp 0x49148d
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