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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652e58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [ebp + 0x10]
shr eax, 0x10
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x598c99
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebp + 0x14], ebx
xor edi, edi
mov dword [ebp - 4], edi
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
jle 0x598de9
push esi
push 0x30
lea edx, [ebp - 0x40]
push 0
push edx
call fcn.006100a0
push pe_nt_image_headers32
lea eax, [ebp - 0x150]
push 0
push eax
mov dword [ebp - 0x40], 0x30
call fcn.006100a0
add esp, 0x18
lea ecx, [ebp - 0x154]
push ecx
mov dword [ebp - 0x154], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x598d14
mov eax, dword [ebp - 0x150]
cmp eax, 5
jae 0x598d1b
cmp eax, 4
jne 0x598d14
cmp dword [ebp - 0x14c], 0x5a
jae 0x598d1b
mov dword [ebp - 0x40], 0x2c
lea eax, [ebp - 0x40]
push eax
push 1
push edi
lea edx, [ebp - 0x21c]
push ebx
mov dword [ebp - 0x18], 0x64
mov dword [ebp - 0x3c], 0x3f
mov dword [ebp - 0x1c], edx
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test dword [ebp - 0x38], 0x100
jne 0x598dd8
push 0x10
call fcn.00611c8b
mov esi, eax
add esp, 4
test esi, esi
je 0x598dd8
mov eax, dword [ebp - 0x38]
or eax, 0x100
mov dword [ebp - 0x38], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x34]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x598d80
add ecx, 0xfffffd94
jmp 0x598d82
xor ecx, ecx
push esi
lea edx, [ebp - 0x40]
push edx
call fcn.00597db0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005fb5ce
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x598dc7
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x40]
push edx
push 1
push edi
push ebx
mov dword [ebp - 0x20], esi
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push ebx
inc edi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp edi, eax
jl 0x598cb6
pop esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x10]
push eax
add ecx, 0x20
mov dword [ebp + 0x10], ebx
call fcn.00594900
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x598e20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x664f87
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 4], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], edi
mov dword [ebp - 4], 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 4
lea ecx, [esi + 0x24]
call fcn.004ebcf0
mov dword [ebp - 4], 6
mov ecx, dword [ebp + 8]
push edi
push ecx
lea ecx, [esi + 0x50]
call fcn.005b0e10
mov byte [ebp - 4], 7
lea eax, [esi + 0x26c]
mov dword [ebp + 8], eax
mov dword [eax + 0x10], edi
mov byte [ebp - 4], 8
lea ecx, [eax + 0x20]
mov dword [ebp - 0x14], ecx
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov byte [ebp - 4], 0xa
mov dword [eax + 0x2c], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x1c], 0xc0c0c0
mov dword [eax], 0x10
mov dword [eax + 4], 0xf
mov dword [eax + 8], 0x16
mov dword [eax + 0xc], 0x15
mov byte [ebp - 4], 0xb
mov edx, dword [0x700724]
lea eax, [esi + 0x29c]
mov dword [ebp - 0x14], eax
add eax, 4
mov dword [ebp + 8], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0xe
mov dword [esi], vtable.CUSBShadowView.1.0
mov dword [esi + 0x50], vtable.CUSBShadowView.0
mov dword [esi + 0x2d0], edi
mov dword [esi + 0x2d4], edi
mov byte [ebp - 4], 0xf
lea eax, [esi + 0x2fc]
mov dword [esi + 0x2d8], edi
mov dword [ebp + 8], eax
mov dword [eax + 4], edi
lea ecx, [eax + 8]
mov dword [ebp - 0x14], ecx
mov dword [ecx + 0xc], edi
mov byte [ebp - 4], 0x11
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov byte [ebp - 4], 0x12
mov edx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [eax + 0x20], edx
mov byte [ebp - 4], 0x14
mov dword [eax], vtable.CPagedHeaderCtrl.0
mov dword [eax + 0x24], edi
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], edi
mov dword [eax + 0x30], edi
mov byte [ebp - 4], 0x15
lea ecx, [esi + 0x348]
mov byte [esi + 0x344], 1
call fcn.00425980
mov byte [ebp - 4], 0x16
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
lea edi, [esi + 0x358]
mov ecx, 0x700724
mov dword [ebp + 8], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x59b520
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.0048ef80
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 5
push ebx
push esi
mov dword [ebp - 8], 0
call edi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x59b5ee
push 0xf0
push ebx
push esi
call edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
test eax, eax
je 0x59b574
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov eax, dword [ebp - 0xc]
push eax
push esi
mov dword [ebp - 4], 0
call edi
test eax, eax
je 0x59b5d7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x59b5d7
push ebx
push edi
call fcn.00597960
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
add esp, 8
push ecx
mov ebx, eax
mov eax, dword [ebp + 0x10]
push edx
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x59b5c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp ebx, edi
je 0x59b5e0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x59b5e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x59b5ee
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x59fb90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
test ecx, ecx
je 0x59fb9e
lea edi, [ecx - 0x24]
jmp 0x59fba0
xor edi, edi
cmp byte [ecx + 0x1c], 0
mov esi, dword [ebp + 0xc]
je 0x59fbd7
mov eax, dword [edi + 8]
push 0xe801
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, 2
jne 0x59fbc8
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x59fbdc
test esi, esi
jne 0x59fbd7
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x59fbdc
cmp esi, 1
je 0x59fbf2
mov eax, dword [ebp + 0x10]
mov ecx, eax
shr ecx, 0x10
movsx edx, cx
cwde
push edx
push eax
lea ecx, [edi + 0x24]
call fcn.0059f950
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x5a1980
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6659b2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
cmp dword [ebp + 8], ebx
je 0x5a19d3
lea eax, [edi + 0x68]
mov dword [edi], 0x672ac0
mov dword [ebp + 8], eax
mov dword [eax], vtable.std::ios_base.0
mov dword [ebp - 4], ebx
mov dword [eax], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov eax, 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [edi + ecx], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov edx, dword [edi]
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov esi, dword [edx + 4]
add esi, edi
mov ecx, esi
call fcn.0045fe60
lea eax, [edi + 0x10]
push 0x20
mov ecx, esi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ebx
call fcn.00470d30
mov byte [esi + 0x40], al
cmp dword [esi + 0x38], ebx
jne 0x5a1a1f
mov eax, dword [esi + 0xc]
or eax, 4
or eax, 4
push ebx
push eax
mov ecx, esi
call fcn.0045fce0
mov dword [ebp - 4], 4
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea esi, [edi + 0x10]
mov dword [edi + ecx], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov ecx, esi
mov dword [ebp + 8], esi
call fcn.0046ede0
mov byte [ebp - 4], 5
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], bl
mov byte [esi + 0x49], bl
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x54], ebx
mov edx, dword [0x712e8c]
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ebx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x5a57b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x665ef0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea eax, [esi + 8]
mov dword [esi + 4], ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], ebx
mov dword [ebp - 4], 1
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 4
mov dword [esi], vtable.CxSkinButton.0
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [ebp - 4], 5
mov dword [esi + 0x38], ebx
mov byte [ebp - 4], 6
mov dword [esi + 0x3c], ebx
mov byte [ebp - 4], 7
mov dword [esi + 0x40], ebx
mov byte [ebp - 4], 8
mov dword [esi + 0x44], ebx
mov byte [ebp - 4], 9
mov dword [esi + 0x48], ebx
mov byte [ebp - 4], 0xa
mov ecx, 1
xor edx, edx
push 0x12
mov word [esi + 0x5c], cx
mov word [esi + 0x4c], dx
mov dword [esi + 0x54], ebx
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [esi + 0x50], eax
mov byte [esi + 0x24], bl
mov word [esi + 0x2c], bx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x5a6200
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 3
push 0
push str.SOFTWAREStaffCopAdminProtect
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x5a6228
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, 4
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 8]
push edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.SIZE
push ecx
mov dword [ebp - 8], 0
call ebx
test eax, eax
je 0x5a6265
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [ebp - 8]
test edi, edi
jne 0x5a6275
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 1
push edi
call fcn.0061227d
mov esi, eax
add esp, 8
test esi, esi
je 0x5a62c8
push edi
push 0
push esi
call fcn.006100a0
mov edx, dword [ebp - 8]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push esi
lea ecx, [ebp - 0xc]
push ecx
push 0
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x10]
push str.DATA
push edx
mov dword [ebp - 0xc], 3
call ebx
test eax, eax
jne 0x5a62bf
cmp dword [ebp - 4], eax
jne 0x5a62d1
push esi
call fcn.0061056f
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
push ecx
push esi
push edx
call fcn.00610e50
push esi
call fcn.0061056f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
add esp, 0x10
pop esi
pop edi
mov dword [eax], ecx
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5a6310
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
lea eax, [ebp - 4]
push eax
push 0
push 3
push 0
push 0
push 0
push str.SOFTWAREStaffCopAdminProtect
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x5a6340
xor eax, eax
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push str.SIZE
push edx
mov dword [ebp - 8], esi
call edi
test eax, eax
jne 0x5a637f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push esi
push eax
push 3
push 0
push str.DATA
push ecx
call edi
test eax, eax
je 0x5a6387
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5a63a0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 3
push 0
push str.SOFTWAREStaffCopAdminProtect
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x5a63c6
xor eax, eax
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.SIZE
push ecx
call esi
test eax, eax
je 0x5a63ed
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
push str.DATA
push eax
call esi
test eax, eax
je 0x5a640d
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5a6430
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x658a88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push edi
xor edi, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x10]
push eax
push 3
push edi
push str.SOFTWAREStaffCopAdminProtect
push connect
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x5a64b5
push esi
mov esi, dword [ebp - 0x10]
push ebx
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push edi
push str.SIZE
mov dword [ebp - 0x24], esi
mov ebx, 4
push esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x5a64ad
cmp dword [ebp - 0x18], ebx
je 0x5a64cd
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x5a64d8
mov dword [ebp - 4], 0xffffffff
xor eax, eax
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], edi
jne 0x5a6508
cmp esi, edi
je 0x5a64e4
push esi
call ebx
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0xffffffff
cmp esi, edi
je 0x5a64f5
push esi
call ebx
mov dword [ebp - 0x24], edi
pop ebx
pop esi
xor eax, eax
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp esi, edi
je 0x5a6514
push esi
call ebx
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0xffffffff
cmp esi, edi
je 0x5a6525
push esi
call ebx
mov dword [ebp - 0x24], edi
mov ecx, dword [ebp - 0xc]
pop ebx
pop esi
mov eax, 1
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x5a6540
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x665f49
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push esi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x21f]
mov dword [ebp - 0x14], ebx
push ebx
push eax
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x220], bl
call fcn.006100a0
push 0x103
lea ecx, [ebp - 0x11b]
push ebx
push ecx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x11c], bl
call fcn.006100a0
add esp, 0x18
push ebx
push ebx
lea edx, [ebp - 0x18]
push edx
push ebx
lea eax, [ebp - 0x10]
push eax
push 0x104
lea ecx, [ebp - 0x220]
push ecx
push 0x66f270
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x11c]
push str._8.8X
push eax
call fcn.00614a62
mov esi, dword [ebp + 8]
add esp, 0xc
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, esi
call fcn.00415220
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], 1
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5a9f70
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x666728
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00460980
xor ecx, ecx
mov dword [ebp - 4], ecx
lea edx, [esi + 0x18]
mov dword [esi + 0x20], edx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [esi + 0x50], cl
mov byte [esi + 0x4a], cl
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea edx, [esi + 0x28]
mov dword [esi + 0x30], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov edx, dword [ebp + 8]
mov dword [eax], ecx
mov dword [esi + 0x54], edx
mov eax, dword [0x715870]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x44], ecx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x5aacf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x64a988
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x5aae4f
cmp byte [edi + 0x4a], bl
je 0x5aae4f
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffff
call edx
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
jne 0x5aad4e
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
mov dword [ebp - 0x18], ecx
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x5aad73
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
push esi
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x5aad8c
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x10]
push ebx
push edx
mov edx, dword [esi + 0x18]
push eax
lea eax, [edi + 0x4c]
push eax
call edx
sub eax, 0
je 0x5aadd2
dec eax
je 0x5aadd6
sub eax, 2
je 0x5aae2d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041a2e0
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x4a], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x5aade6
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x10]
sub esi, ecx
je 0x5aae0f
cmp ebx, 0x10
jae 0x5aadf5
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.006161f6
add esp, 0x10
cmp esi, eax
jne 0x5aadb0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x4a], 0
je 0x5aae2d
test esi, esi
jne 0x5aad80
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00471de0
jmp 0x5aad7a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041a2e0
pop esi
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
mov al, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5abd80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6668f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], vtable.CAgentListBase.0
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 4], ebx
push ebx
lea ecx, [esi + 0x28]
mov byte [esi + 0x24], bl
call fcn.005b2cd0
mov byte [ebp - 4], 1
push ebx
lea ecx, [esi + 0x2c]
call fcn.005b2cd0
mov byte [ebp - 4], 2
push str.E16BEF60_B9F4_4604_8624_735092A03F31
xor eax, eax
mov dword [esi + 0x30], ebx
push ebx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
push ebx
mov dword [esi + 0x1c], eax
push ebx
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
mov dword [esi + 0x30], eax
call fcn.006136ab
push eax
call fcn.006135ff
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret