joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x251b1de1
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x7f11744c
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x406450
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4064b6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA_1
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404844
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040313c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4064a0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4064bd
lea eax, [ebp - 0x10]
call fcn.004045d4
ret

Function at 0x40b7a4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x40b7dd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004046c4
jmp 0x40b7e6
mov eax, ebx
mov edx, esi
call fcn.00404628
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b7f0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x40b811
mov al, byte [esp]
jmp 0x40b813
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40be98
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bd10
mov eax, dword [0x46f968]
cmp byte [eax], 0
je 0x40bf14
mov eax, dword [0x46f6c8]
call fcn.00402f80
call fcn.004028fc
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408fd0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40bf5c
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x40bf4a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46f660]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x470668]
call fcn.00405948
push eax
call sub.user32.dll_LoadStringA
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA
add esp, 0x444
ret
Function at 0x40c804
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c8da
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040466c
lea eax, [ebp - 8]
call fcn.00404ae4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a94
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c8c4
mov eax, ebx
call fcn.00402794
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c8bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a94
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c8a7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c8ec
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c8a7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c8c4
mov eax, dword [ebp - 0x10]
call fcn.004027b4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c8e1
lea eax, [ebp - 8]
call fcn.004045d4
ret

Function at 0x40cea4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40cf08
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404844
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.004089f8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cf0f
lea eax, [ebp - 0xc]
call fcn.004045d4
ret

Function at 0x41ea7c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x470888
cmp dword [edi], 0
jne 0x41eaf8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x470884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46e404
mov ecx, 2
call fcn.00402990
mov edx, 0x41ea54
lea eax, [esi + 5]
call fcn.0041ea74
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041ea74
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41eacd
mov dword [0x470884], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x420114
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42011a
ret
Function at 0x422624
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x422675
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42265c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42264c
jmp 0x422675
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x42265d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42efbc
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42f125
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0040466c
mov eax, dword [ebp - 0x10]
call fcn.0042ec70
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x42f00e
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404b34
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0042f244
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x42f0e3
xor eax, eax
push ebp
push 0x42f0dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0042edb8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0042f134
test al, al
je 0x42f0ba
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004046c4
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x42f0ba
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404a94
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x42f0b4
mov eax, dword [ebp - 0x14]
call fcn.00404a94
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004047cc
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0042efbc
dec ebx
cmp ebx, 0xffffffff
jne 0x42f06d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f0e3
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0042edb8
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 0x10]
call fcn.00404a94
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0042eda4
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f12c
lea eax, [ebp - 0x3c]
call fcn.004045d4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004045f8
ret
Function at 0x42f0e3
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42f125
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0040466c
mov eax, dword [ebp - 0x10]
call fcn.0042ec70
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x42f00e
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404b34
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0042f244
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x42f0e3
xor eax, eax
push ebp
push 0x42f0dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0042edb8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0042f134
test al, al
je 0x42f0ba
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004046c4
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x42f0ba
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404a94
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x42f0b4
mov eax, dword [ebp - 0x14]
call fcn.00404a94
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004047cc
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0042efbc
dec ebx
cmp ebx, 0xffffffff
jne 0x42f06d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f0e3
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0042edb8
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 0x10]
call fcn.00404a94
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0042eda4
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f12c
lea eax, [ebp - 0x3c]
call fcn.004045d4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004045f8
ret

Function at 0x42f134
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00403100
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x46fad0]
cmp byte [edx + 0xc], 0
je 0x42f198
mov edx, dword [0x46fac4]
cmp dword [edx], 2
jne 0x42f198
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x45b714
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41506c]
call fcn.00404f94
xor eax, eax
push ebp
push 0x45b858
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46edec], 0
jne 0x45b767
mov ecx, dword [0x46f578]
mov dl, 1
mov eax, dword [0x4078d0]
call fcn.0040c028
call fcn.00403ff0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403100
mov eax, ebx
call fcn.00404e64
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x45b868
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405f18
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404e74
test eax, eax
jle 0x45b7ff
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
test eax, eax
je 0x45b7f8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040485c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404844
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408710
test eax, eax
jne 0x45b7f8
mov ebx, 0x15
jmp 0x45b804
mov ebx, 0x10
jmp 0x45b804
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x46edec]
call fcn.0045b66c
mov eax, dword [ebp - 8]
call fcn.0045b66c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405f30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b85f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004045f8
lea eax, [ebp - 0x10]
mov edx, dword [0x41506c]
call fcn.00405064
ret

Function at 0x467c6c
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407314
ret

Function at 0x468bd4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x468c0c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x468bea
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x468bf9
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x468c08
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4693c8
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x46f8e0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4693ee
push 0
mov eax, dword [0x46f8e0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x100013c0
Capabilities:
Contain obfuscated stackstrings
Read file via mapping

Disassembly:
sub esp, 0x214
push ebp
mov al, 0x6c
push esi
push edi
mov byte [esp + 0x19], al
mov byte [esp + 0x1d], al
or ecx, 0xffffffff
lea edi, [esp + 0x18]
xor eax, eax
mov byte [esp + 0x18], 0x47
mov byte [esp + 0x1a], 0x6f
mov byte [esp + 0x1b], 0x62
mov byte [esp + 0x1c], 0x61
mov byte [esp + 0x1e], 0x5c
mov byte [esp + 0x1f], 0
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x10], 0x54
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0x11], 0x53
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov byte [esp + 0x12], 0x56
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
mov byte [esp + 0x13], 0x4e
mov byte [esp + 0x14], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov byte [esp + 0xc], 0x5f
and ecx, 3
mov byte [esp + 0xd], 0x25
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
mov byte [esp + 0xe], 0x64
mov byte [esp + 0xf], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor eax, 0xc9
lea ecx, [esp + 0x120]
push eax
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x120]
push edx
push 0
push 0xf001f
call fcn.10002f40
mov esi, eax
test esi, esi
je 0x10001507
push 0
push 0
push 0
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x10001500
push 0
push 0
push edi
call fcn.10004720
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
add esp, 0x214
ret
Function at 0x10001520
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x204
lea eax, [esp + 0x104]
push esi
push eax
call fcn.10001600
add esp, 4
lea ecx, [esp + 0x108]
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x100015cd
mov ecx, dword [esp + 0x214]
lea eax, [esp + 0x210]
mov dword [esp + 0x11], eax
push edi
lea eax, [esp + 8]
lea edx, [esp + 0x210]
mov dword [esp + 0x19], ecx
push 0
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x19], edx
mov edx, dword [esp + 0x224]
push 0x15
push ecx
push esi
mov dword [esp + 0x1c], 0
mov byte [esp + 0x20], 1
mov dword [esp + 0x21], 0xffffffff
mov dword [esp + 0x31], edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 0x204
ret 0x10
mov edx, dword [esp + 0x218]
mov eax, dword [esp + 0x214]
mov ecx, dword [esp + 0x210]
push edx
mov edx, dword [esp + 0x210]
push eax
push ecx
push edx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
pop esi
add esp, 0x204
ret 0x10
Function at 0x10001b60
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
sub esp, 0x214
mov al, 0x6c
mov cl, 0x69
mov byte [esp + 7], al
mov byte [esp + 8], al
mov byte [esp + 0xb], al
mov byte [esp + 0xc], al
mov byte [esp + 0x1d], al
push ebx
mov byte [esp + 0x1d], cl
mov byte [esp + 0x1f], cl
mov byte [esp + 0x22], cl
lea eax, [esp + 0x18]
push esi
lea ecx, [esp + 0xc]
mov dl, 0x6e
xor ebx, ebx
push eax
push ecx
mov byte [esp + 0x14], dl
mov byte [esp + 0x15], 0x74
mov byte [esp + 0x16], 0x64
mov byte [esp + 0x19], 0x2e
mov byte [esp + 0x1a], 0x64
mov byte [esp + 0x1d], bl
mov byte [esp + 0x24], 0x4c
mov byte [esp + 0x25], 0x64
mov byte [esp + 0x26], 0x72
mov byte [esp + 0x27], 0x49
mov byte [esp + 0x28], dl
mov byte [esp + 0x2a], 0x74
mov byte [esp + 0x2c], 0x61
mov byte [esp + 0x2f], 0x7a
mov byte [esp + 0x30], 0x65
mov byte [esp + 0x31], 0x54
mov byte [esp + 0x32], 0x68
mov byte [esp + 0x33], 0x75
mov byte [esp + 0x34], dl
mov byte [esp + 0x35], 0x6b
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov byte [esp + 0x44], bl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.10004390
add esp, 8
cmp eax, ebx
je 0x10001c6a
mov edx, dword [eax]
push 8
mov dword [0x10006038], edx
mov ecx, dword [eax + 4]
push 0x10006030
push eax
mov dword [0x1000603c], ecx
call fcn.10001cd0
add esp, 0xc
lea edx, [esp + 0x11c]
push edx
call fcn.100018b0
add esp, 4
lea eax, [esp + 0x11c]
push ebx
push 0x80
push 3
push ebx
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10001cc3
lea ecx, [esp + 0x18]
push ebx
push ecx
lea edx, [esp + 0x13]
push 1
push edx
push esi
mov byte [esp + 0x1f], 0x64
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
add esp, 0x214
ret