joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d52c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44d6d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44d6b8
mov dl, 1
mov eax, dword [0x412480]
call fcn.00403280
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040406c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44d6a7
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043b560
test al, al
je 0x44d69a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44d6e8
lea eax, [ebp - 0x254]
call fcn.00408fa4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44d69a
xor eax, eax
push ebp
push 0x44d693
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44d720
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44d67c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042dc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44d67c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d69a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44d59d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416c38
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d6de
lea eax, [ebp - 0x260]
call fcn.0040406c
ret

Function at 0x44e00c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x472bb4]
cmp byte [eax + 0xa5], 0
jne 0x44e07d
cmp dword [0x472bcc], 0
jne 0x44e03e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44dfc8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x472bcc], eax
cmp dword [0x472bc8], 0
jne 0x44e059
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x472bc8], eax
cmp dword [0x472bd0], 0
jne 0x44e07d
push esp
push 0
push 0
push 0x44df6c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x472bd0], eax
pop edx
ret
Function at 0x44e174
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44e18b
add esp, 0xfffffff0
call fcn.004035bc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b114
mov eax, dword [0x470e40]
cmp word [eax + 2], 0
jne 0x44e1b3
mov eax, dword [0x470e40]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f84c
mov eax, dword [0x470f88]
cmp word [eax + 2], 0
jne 0x44e1cd
mov eax, dword [0x470f88]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044fa44
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411e1c]
call fcn.00403280
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411e1c]
call fcn.00403280
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41d2e8]
call fcn.00422f30
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44e354
mov eax, dword [0x470ccc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423300
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44ffe4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x470ccc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c864
test eax, eax
je 0x44e2c2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408984
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c88c
test eax, eax
je 0x44e2d6
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004042dc
mov eax, dword [0x470aa0]
cmp byte [eax], 0
jne 0x44e30a
mov eax, ebx
call fcn.0044e47c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004501c0
mov eax, ebx
call fcn.00450b84
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44e34a
call fcn.00403614
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e6fc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x472bb4]
cmp dword [eax + 0x30], 0
je 0x44e7a6
cmp dword [ebx + 0x94], 0
jne 0x44e7a0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44e68c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44e7a0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44e766
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44e7a0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414508
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44e775
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44f308
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44f33d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040415c
jmp 0x44f34a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004040c0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45039c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4503dd
mov eax, esi
call fcn.00436d68
test al, al
je 0x4503dd
mov eax, dword [ebx + 0x84]
call fcn.00436a90
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4503dd
push 0
mov eax, dword [ebx + 0x84]
call fcn.00436a90
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rsrc
nop
mov ebx, 0x40915c
mov ecx, 0x23157f08
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x329411d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x409368
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40941c
jmp 0x409411
cmp dword [esi + 0x10], 0x1000
jne 0x4093fd
test byte [esi + 0x15], 1
jne 0x4093fd
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x4093bc
cmp eax, 2
je 0x4093bc
cmp eax, 0x10
je 0x4093bc
cmp eax, 0x20
jne 0x4093d1
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4093d1
mov bl, 1
xor ebp, ebp
jmp 0x4093e2
mov eax, dword [esi]
add eax, ebp
call fcn.00409360
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jl 0x4093d5
test bl, bl
je 0x4093fd
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40941c
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409394
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4f1dce
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x4f1dce
lcall 0x5de5, 0x8b10c483
jmp loc.01032ee8

Function at 0x401572
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, 0x18
push eax
dec ecx
je 0x4015b7
jmp 0x40157c
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x40414c], eax
push 0x64
push 0x404174
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x404160], eax
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x40417a
push 0x404174
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 0x30
mov edx, dword [0x404160]
mov dword [ebp - 0x48], edx
mov ecx, str.rigas
mov dword [ebp - 0x34], ecx
mov edx, 0x401c3b
mov dword [ebp - 0x54], edx
lea ecx, [ebp - 0x5c]
mov dword [ecx], eax
push ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x404160]
push eax
push eax
push 0x12e
push 0x82
push 0xdc
push 0xb4
push 0
lea eax, str.faterfly
push eax
mov eax, str.rigas
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x404170], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x404170]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor edi, edi
lea ebx, [ebp - 0x50]
jmp 0x401686
push ebx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x40167f
mov esp, ebp
pop ebp
ret 0x10
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x26ca1cd7
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x4a157f5d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4504b0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x42c
push ebx
push esi
push edi
push ecx
push 0x18
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x450539
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x428
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x450539
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov ebx, dword [sym.imp.KERNEL32.dll_Module32NextW]
nop dword [eax + eax]
lea eax, [esp + 0x30]
push str.Engine.dll
push eax
call edi
add esp, 8
test eax, eax
je 0x450531
lea eax, [esp + 0x10]
push eax
push esi
call ebx
test eax, eax
jne 0x450500
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4513e2
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x451421
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x451421
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x451421
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x451421
cmp dword [ecx + 0x74], 0xe
jbe 0x451421
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40ad0f
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jge 0x40ad38
mov eax, 0xfffffffd
jmp 0x40aed9
mov ebx, dword [0x12f3cd8]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
je 0x40aea7
mov ebx, dword [0x12f3cd8]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0xa
jne 0x40ad87
mov ebx, dword [0x12f3cd8]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x40ad87
mov eax, 1
jmp 0x40ad8c
mov eax, 0
test eax, eax
je 0x40adbc
call fcn.0040aedf
mov dword [ebp - 4], eax
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x40ada9
mov eax, dword [ebp + 8]
call dword [ebp - 4]
nop
nop
leave
ret 4
mov ebx, dword [0x12f3cd8]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 6
jne 0x40adf3
mov ebx, dword [0x12f3cd8]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 2
jne 0x40adf3
mov eax, 1
jmp 0x40adf8
mov eax, 0
test eax, eax
jne 0x40ae48
mov ebx, dword [0x12f3cd8]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 6
jne 0x40ae37
mov ebx, dword [0x12f3cd8]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 3
jne 0x40ae37
mov eax, 1
jmp 0x40ae3c
mov eax, 0
test eax, eax
jne 0x40ae48
xor eax, eax
jmp 0x40ae4d
mov eax, 1
test eax, eax
je 0x40ae79
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x40ae62
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x12f3cd8]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x40aecf
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x40aed9
mov esp, ebp
pop ebp
ret 4

Function at 0x40bcb6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.0040bd18
test eax, eax
je 0x40bcf9
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x40bcf9
cmp word [eax], 0x5a4d
jne 0x40bcf9
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x40bcf9
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.0040bdea
mov eax, dword [ebp + 8]
jmp 0x40bd12
mov esp, ebp
pop ebp
ret 4

Function at 0x40bd18
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x40bdcb
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x48f91c
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 4]
mov eax, dword [ebp - 4]
jmp 0x48f953
mov esp, ebp
pop ebp
ret

Function at 0x4a08b8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x4a08f0
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4a08de
mov al, 1
jmp 0x4a093a
cmp dword [ebx + 0x54], ecx
jne 0x4a08e7
mov al, 2
jmp 0x4a093a
cmp dword [ebx + 0x7c], ecx
jne 0x4a093a
mov al, 3
jmp 0x4a093a
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4a0905
mov al, 4
jmp 0x4a093a
cmp ecx, 5
jne 0x4a0925
cmp ebx, 0
jne 0x4a0913
mov al, 5
jmp 0x4a093a
cmp ebx, 1
jne 0x4a091c
mov al, 6
jmp 0x4a093a
cmp ebx, 2
jne 0x4a0925
mov al, 7
jmp 0x4a093a
cmp ecx, 6
jne 0x4a0931
cmp ebx, 0
jne 0x4a0933
mov al, 8
jmp 0x4a093a
cmp ebx, 1
jne 0x4a093a
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x512d0e
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x512dc1
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x517aac
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.00512d0e
test eax, eax
je 0x517aef
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x517aef
cmp word [eax], 0x5a4d
jne 0x517aef
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x517aef
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.00517b0e
mov eax, dword [ebp + 8]
jmp 0x517b08
mov esp, ebp
pop ebp
ret 4

Function at 0x517cc4
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jge 0x517ced
mov eax, 0xfffffffd
jmp 0x517e8e
mov ebx, dword [0x12f4174]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
je 0x517e5c
mov ebx, dword [0x12f4174]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0xa
jne 0x517d3c
mov ebx, dword [0x12f4174]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x517d3c
mov eax, 1
jmp 0x517d41
mov eax, 0
test eax, eax
je 0x517d71
call fcn.00517e94
mov dword [ebp - 4], eax
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x517d5e
mov eax, dword [ebp + 8]
call dword [ebp - 4]
nop
nop
leave
ret 4
mov ebx, dword [0x12f4174]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 6
jne 0x517da8
mov ebx, dword [0x12f4174]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 2
jne 0x517da8
mov eax, 1
jmp 0x517dad
mov eax, 0
test eax, eax
jne 0x517dfd
mov ebx, dword [0x12f4174]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 6
jne 0x517dec
mov ebx, dword [0x12f4174]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 3
jne 0x517dec
mov eax, 1
jmp 0x517df1
mov eax, 0
test eax, eax
jne 0x517dfd
xor eax, eax
jmp 0x517e02
mov eax, 1
test eax, eax
je 0x517e2e
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x517e17
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x12f4174]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x517e84
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x517e8e
mov esp, ebp
pop ebp
ret 4
Function at 0x530bb0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x625e4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00617f47
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x530c32
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0061534d
mov eax, dword [eax]
push 0x12ccf40
push eax
call fcn.00605fa4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.006181d2
test bl, bl
je 0x530c32
push 0x12ccf40
lea ecx, [esp + 0xc]
call fcn.006185ae
push 0x12ccf4c
lea ecx, [esp + 0xc]
call fcn.006185ae
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x530c6e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.006181d2
jmp 0x530d39
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x530cf2
lea edx, [esp + 0x7c]
push 0x12ccf48
push edx
call fcn.00605fa4
add esp, 8
test eax, eax
je 0x530cf2
lea eax, [esp + 0x7c]
push 0x12ccf44
push eax
call fcn.00605fa4
add esp, 8
test eax, eax
je 0x530cf2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x530c82
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.006181d2
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x531550
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x5315b2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc