joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4031e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x9c
push eax
call esi
test eax, eax
jne 0x40322a
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call esi
test eax, eax
jne 0x40322a
pop edi
pop esi
add esp, 0x9c
ret
cmp dword [esp + 0x18], 2
jne 0x403285
mov eax, dword [esp + 0xc]
cmp eax, 6
jb 0x403248
pop edi
mov eax, 4
pop esi
add esp, 0x9c
ret
cmp eax, 5
jne 0x403277
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x403264
pop edi
mov eax, 3
pop esi
add esp, 0x9c
ret
cmp eax, 1
jne 0x403277
pop edi
mov eax, 2
pop esi
add esp, 0x9c
ret
pop edi
mov eax, 1
pop esi
add esp, 0x9c
ret
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x9c
ret
Function at 0x4040c0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x1c
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4040df
add esp, 0x1c
ret
lea ecx, [esp + 4]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x404106
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add esp, 0x1c
ret
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push 0
lea edx, [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 8]
push 0x10
push edx
push 0
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x404153
mov ecx, dword [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add esp, 0x1c
ret
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add esp, 0x1c
ret
Function at 0x404170
Capabilities:
Delete file
Extract resource via kernel32 functions
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x426a16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x20]
xor ebx, ebx
push 0x104
push eax
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x43056c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.VRVHOOK.DLL
call fcn.0041a5cc
lea eax, [esp + 0x18]
push eax
call fcn.00405c30
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
add esp, 8
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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]
lea ecx, [esp + 0x14]
call fcn.0041a55e
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [0x430d18]
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x20]
push 0x43055c
push edx
mov dword [esp + 0x134], ebx
call fcn.00407f6d
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x40431c
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Vrvhook.dll
call fcn.0041a5cc
lea eax, [esp + 0x14]
push eax
call fcn.00405c30
add esp, 8
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [esp + 0x134]
push 0x43054c
cmp ecx, ebx
je 0x4042ac
push str.IDR_VRV_NT
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x4042be
jmp 0x4042df
push str.IDR_VRV_9X
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x4042df
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x4042df
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, ebx
jne 0x4042f1
lea ecx, [esp + 0x10]
mov byte [esp + 0x12c], bl
call fcn.0041a55e
jmp 0x40432a
push edi
push 1
push eax
push ebp
call fcn.0040822e
push edi
call fcn.00407ebf
add esp, 0x14
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], 1
mov byte [esp + 0x12c], bl
call fcn.0041a55e
lea edx, [esp + 0x20]
lea ecx, [esp + 0x1c]
push edx
call fcn.0041a6e7
cmp edi, ebx
je 0x404337
push edi
call fcn.00407ebf
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x12c], 0xffffffff
call fcn.0041a55e
mov ecx, dword [esp + 0x124]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x120
ret
Function at 0x404980
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x426a80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x408
push ebx
push esi
xor ebx, ebx
mov dword [esp + 0x418], ebx
mov eax, dword [esp + 0x420]
mov dword [esp + 0xc], 0x400
xor esi, esi
cmp dword [eax - 8], ebx
je 0x4049d7
lea ecx, [esp + 8]
push ecx
push 0xf003f
push ebx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x404a1a
lea ecx, [esp + 0x420]
mov byte [esp + 0x418], bl
call fcn.0041a55e
lea ecx, [esp + 0x424]
mov dword [esp + 0x418], 0xffffffff
call fcn.0041a55e
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x408]
mov dword fs:[0], ecx
add esp, 0x414
ret
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push ebx
push ebx
push 0x434b88
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x404a58
mov eax, dword [esp + 0x424]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.0040847e
add esp, 8
test eax, eax
jne 0x404a58
mov esi, 1
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x420]
mov byte [esp + 0x418], bl
call fcn.0041a55e
lea ecx, [esp + 0x424]
mov dword [esp + 0x418], 0xffffffff
call fcn.0041a55e
mov ecx, dword [esp + 0x410]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x414
ret

Function at 0x404ab0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x426aa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], ebx
xor esi, esi
cmp dword [eax - 8], ebx
je 0x404b06
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
push edx
push ebx
push 0xf003f
push ebx
push 0x434b88
push ebx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
je 0x404b37
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], bl
call fcn.0041a55e
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0041a55e
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x10]
push 1
push ebx
push 0x434b88
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x10], eax
je 0x404b63
mov esi, 1
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], bl
call fcn.0041a55e
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0041a55e
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x404f20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x244
push esi
mov esi, dword [esp + 0x24c]
test esi, esi
je 0x404fc0
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x404f78
lea ecx, [esp + 8]
push esi
push ecx
lea edx, [esp + 0x10]
push 0x4305c8
push edx
call fcn.00407d6b
add esp, 0x10
mov ecx, 0x4f
xor eax, eax
lea edi, [esp + 0x110]
mov dword [esp + 0x10c], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10c]
lea ecx, [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
pop edi
je 0x404fc0
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
pop esi
add esp, 0x244
ret
xor eax, eax
pop esi
add esp, 0x244
ret
Function at 0x405b90
Capabilities:
Shutdown system

Disassembly:
mov eax, dword [0x4585f0]
sub esp, 0x14
test eax, eax
je 0x405c03
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x405c20
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp]
push 0
push 0
lea edx, [esp + 0xc]
push 0
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x405c20
mov ecx, dword [esp + 0x18]
push eax
or ecx, 4
push ecx
jmp 0x405c16
mov eax, dword [esp + 0x18]
cmp eax, 8
jne 0x405c11
mov eax, 1
or al, 4
push 0
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x405c26
xor eax, eax
add esp, 0x14
ret
mov eax, 1
add esp, 0x14
ret
Function at 0x405c30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x426b97
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov dword [esp + 0x1c], 0
mov eax, dword [0x430d18]
mov dword [esp + 0x28], 1
mov dword [esp + 4], eax
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 3
call fcn.0041a98e
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [esp + 8]
call fcn.0041a9dd
lea ecx, [esp + 4]
call fcn.0041aada
push 0x430954
lea ecx, [esp + 8]
call fcn.00418f87
cmp eax, 0xffffffff
je 0x405e47
mov eax, dword [esp + 4]
push ebx
push 0x430954
lea ecx, [esp + 0xc]
mov esi, dword [eax - 8]
call fcn.00418f87
sub esi, eax
lea ecx, [esp + 0x10]
sub esi, 2
push esi
push ecx
lea ecx, [esp + 0x10]
call fcn.00418e1b
mov bl, 4
push 0x430950
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], bl
call fcn.00418f87
lea edx, [esp + 0x18]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00418e97
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 5
call fcn.0041a697
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.0041a55e
push 0x430950
lea ecx, [esp + 0x3c]
call fcn.00418f87
cmp eax, 0xffffffff
jne 0x405d81
lea eax, [esp + 0x38]
push 0x430954
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0041a7f3
lea edx, [esp + 0x10]
mov byte [esp + 0x2c], 6
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0041a78d
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 7
call fcn.0041a697
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 6
call fcn.0041a55e
mov byte [esp + 0x2c], bl
lea ecx, [esp + 0x14]
jmp 0x405e31
push 0x430950
lea ecx, [esp + 0x3c]
call fcn.00418f87
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.00418e97
mov edx, dword [esp + 0x38]
push 0x430950
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 8
mov esi, dword [edx - 8]
call fcn.00418f87
sub esi, eax
lea eax, [esp + 0x14]
push esi
push eax
lea ecx, [esp + 0x40]
call fcn.00418e1b
lea ecx, [esp + 0x18]
push 0x430954
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x38], 9
call fcn.0041a7f3
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0xa
call fcn.0041a697
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 9
call fcn.0041a55e
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
call fcn.0041a976
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x10]
call fcn.0041a976
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 8
call fcn.0041a55e
mov byte [esp + 0x2c], bl
lea ecx, [esp + 0x18]
call fcn.0041a55e
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 3
call fcn.0041a55e
pop ebx
jmp 0x405e55
lea edx, [esp + 0x34]
lea ecx, [esp + 8]
push edx
call fcn.0041a697
mov esi, dword [esp + 0x30]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0041a2d3
mov dword [esp + 0x1c], 1
lea ecx, [esp + 8]
mov byte [esp + 0x28], 2
call fcn.0041a55e
lea ecx, [esp + 4]
mov byte [esp + 0x28], 1
call fcn.0041a55e
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 0
call fcn.0041a55e
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x406a30
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x14]
mov dword [esp + 0x10], ebp
push 0x1c
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x406ace
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x406ace
mov eax, dword [esi + 0x3c]
xor ecx, ecx
add eax, esi
sub edi, esi
mov cx, word [eax + 0x14]
lea edx, [ecx + eax + 0x18]
xor ecx, ecx
mov cx, word [eax + 6]
cmp ecx, ebp
jbe 0x406ace
lea eax, [edx + 0x10]
mov edx, dword [eax]
mov esi, dword [eax - 8]
mov ebx, dword [eax - 4]
cmp edx, esi
ja 0x406aa5
mov edx, esi
cmp edi, ebx
jb 0x406aaf
add edx, ebx
cmp edi, edx
jbe 0x406abf
inc ebp
add eax, 0x28
cmp ebp, ecx
jb 0x406a97
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
inc ebp
sub edi, ebx
mov dword [edx], ebp
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x406ae0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
sub esp, 0x404
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x414]
lea edx, [esp + 0xc]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x418]
mov dword [esp + 8], 0
push eax
push ecx
push edx
call fcn.00408995
add esp, 0xc
mov esi, eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0x410]
lea ecx, [esp + 8]
push 0
push ecx
lea edx, [esp + 0x14]
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, esi
pop edi
pop esi
add esp, 0x404
ret

Function at 0x408613
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x408633
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040a3fe
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x408656
test byte [esp + 8], 2
je 0x408656
call fcn.0040a471
mov dword [eax], 0xd
call fcn.0040a47a
mov dword [eax], 5
jmp 0x40862f
xor eax, eax
ret

Function at 0x41cd81
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x41cdb9
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0041aa05
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041a9dd
jmp 0x41cdc5
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x41d4a4
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jge 0x41d4c6
mov eax, 0xfffffffd
jmp 0x41d53e
mov ebx, dword [0x5a923c]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x41d50c
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 [0x5a923c]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x41d534
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x41d53e
mov esp, ebp
pop ebp
ret 4
Function at 0x43bdc5
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, dword fs:[0x30]
mov al, byte [ecx + 2]
leave
ret

Function at 0x46457f
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 0x4645b7
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4645a5
mov al, 1
jmp 0x464601
cmp dword [ebx + 0x54], ecx
jne 0x4645ae
mov al, 2
jmp 0x464601
cmp dword [ebx + 0x7c], ecx
jne 0x464601
mov al, 3
jmp 0x464601
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4645cc
mov al, 4
jmp 0x464601
cmp ecx, 5
jne 0x4645ec
cmp ebx, 0
jne 0x4645da
mov al, 5
jmp 0x464601
cmp ebx, 1
jne 0x4645e3
mov al, 6
jmp 0x464601
cmp ebx, 2
jne 0x4645ec
mov al, 7
jmp 0x464601
cmp ecx, 6
jne 0x4645f8
cmp ebx, 0
jne 0x4645fa
mov al, 8
jmp 0x464601
cmp ebx, 1
jne 0x464601
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4880c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x516a9b
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.0050a992
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x488142
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005081b0
mov eax, dword [eax]
push 0x596284
push eax
call fcn.004f9994
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0050ac1d
test bl, bl
je 0x488142
push 0x596284
lea ecx, [esp + 0xc]
call fcn.0050afad
push 0x599e04
lea ecx, [esp + 0xc]
call fcn.0050afad
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 0x48817e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0050ac1d
jmp 0x488249
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 0x488202
lea edx, [esp + 0x7c]
push 0x599e00
push edx
call fcn.004f9994
add esp, 8
test eax, eax
je 0x488202
lea eax, [esp + 0x7c]
push 0x599dfc
push eax
call fcn.004f9994
add esp, 8
test eax, eax
je 0x488202
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 0x488192
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.0050ac1d
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 0x488a40
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 0x488aa2
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
Function at 0x488ab0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x516b1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5a5034]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x488be8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x488b16
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0050ac1d
xor eax, eax
jmp 0x488c5f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0050ad5a
push esi
lea ecx, [esp + 0xc]
call fcn.0050afe9
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x599e3c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x488c3d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x599e34
push closesocket
call fcn.00488a40
test eax, eax
jne 0x488c3d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x599e20
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00488a40
test eax, eax
jne 0x488c3d
lea eax, [esp + 0x14]
push 0x599e18
push eax
call fcn.004fab70
mov esi, eax
add esp, 8
test esi, esi
jne 0x488c1c
lea ecx, [esp + 0x14]
push 0x599e14
push ecx
call fcn.004faaf0
mov esi, eax
add esp, 8
test esi, esi
jne 0x488c1c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x488c1f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0050ad0a
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x488b2e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0050ac1d
xor eax, eax
jmp 0x488c5f
mov byte [esi], 0
push 0x599e10
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0050ac1d
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4