joyce8/EMBER2024-capa huggingface dataset:
Function at 0x504410
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62c57b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x6d8314]
xor eax, esp
mov dword [esp + 0x78], eax
push esi
mov eax, dword [0x6d8314]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x34], 7
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], eax
mov word [esp + 0x38], ax
mov byte [esp + 0x50], 1
movupd xmmword [esp + 0x54], xmm0
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], eax
mov word [esp + 0x64], ax
mov dword [esp + 0x90], eax
sub esp, 0x70
movdqu xmm0, xmmword [ebp + 8]
lea eax, [esp + 0x7c]
mov dword [esp + 0x8c], 3
mov ecx, esp
push eax
movdqu xmmword [esp + 0x80], xmm0
call fcn.00498d90
mov ecx, dword [esi]
add ecx, 0x528
push 0x12
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [esp + 0xc]
call fcn.00498780
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.006116d0
mov esp, ebp
pop ebp
ret 0x10

Function at 0x504500
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62c5b8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x6d8314]
xor eax, esp
mov dword [esp + 0x70], eax
push esi
mov eax, dword [0x6d8314]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], eax
mov word [esp + 0x44], ax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], eax
mov word [esp + 0x5c], ax
mov dword [esp + 0x88], eax
lea ecx, [esp + 0x2c]
movdqu xmm0, xmmword [ebp + 8]
push 0xb
push str.Sample_Text
movdqu xmmword [esp + 0x14], xmm0
movaps xmm0, xmmword [0x693b60]
movdqu xmmword [esp + 0x24], xmm0
call fcn.00415c10
sub esp, 0x68
lea eax, [esp + 0x74]
mov ecx, esp
push eax
call fcn.004a0b10
mov ecx, dword [esi]
add ecx, 0x528
push 0x88
mov eax, dword [ecx]
call dword [eax + 0x30]
lea ecx, [esp + 0xc]
call fcn.004a0a50
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.006116d0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5048d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62c57b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x6d8314]
xor eax, esp
mov dword [esp + 0x78], eax
push esi
mov eax, dword [0x6d8314]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x34], 7
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], eax
mov word [esp + 0x38], ax
mov byte [esp + 0x50], 1
movupd xmmword [esp + 0x54], xmm0
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], eax
mov word [esp + 0x64], ax
mov dword [esp + 0x90], eax
sub esp, 0x70
movdqu xmm0, xmmword [ebp + 8]
lea eax, [esp + 0x7c]
mov dword [esp + 0x8c], 3
mov ecx, esp
push eax
movdqu xmmword [esp + 0x80], xmm0
call fcn.00498d90
mov ecx, dword [esi]
add ecx, 0x52c
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [esp + 0xc]
call fcn.00498780
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.006116d0
mov esp, ebp
pop ebp
ret 0x10

Function at 0x5049c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62c62b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x6d8314]
xor eax, esp
mov dword [esp + 0x90], eax
push esi
mov eax, dword [0x6d8314]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x30], 7
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], eax
mov word [esp + 0x34], ax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], eax
mov word [esp + 0x4c], ax
mov byte [esp + 0x64], 1
movupd xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], eax
mov word [esp + 0x7c], ax
mov dword [esp + 0xa8], eax
sub esp, 0x88
movdqu xmm0, xmmword [ebp + 8]
lea eax, [esp + 0x94]
mov ecx, esp
push eax
movdqu xmmword [esp + 0x98], xmm0
call fcn.00499dd0
push ecx
mov eax, esp
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [esi]
add ecx, 0x52c
mov eax, dword [ecx]
call dword [eax + 0x10]
lea ecx, [esp + 0xc]
call fcn.00499ae0
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.006116d0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x504ad0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62c3fb
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x6d8314]
xor eax, esp
mov dword [esp + 0x90], eax
push esi
mov eax, dword [0x6d8314]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x30], 0xf
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], eax
mov word [esp + 0x4c], ax
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], eax
mov word [esp + 0x64], ax
mov byte [esp + 0x7c], 1
movupd xmmword [esp + 0x84], xmm0
mov dword [esp + 0xa8], eax
lea ecx, [esp + 0x1c]
movdqu xmm0, xmmword [ebp + 8]
push eax
push 0x65ee88
movdqu xmmword [esp + 0x14], xmm0
call fcn.00431010
lea eax, [esp + 0xc]
push eax
push ecx
mov eax, esp
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [esi]
add ecx, 0x52c
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [esp + 0xc]
call fcn.0049b200
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.006116d0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5218e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x6d8314]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x210]
mov dword [ebp - 0x21c], 0
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
mov dword [ebp - 0x210], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x521952
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.failed_to_open_key__last_error:__d_lstatus___d
push 0xf
push str.webbrowserhelper::getIEVersion
call fcn.00584a40
add esp, 0x14
push 0x6523fc
jmp 0x5219d7
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x218], 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 0x214], 0
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push str.Version
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x5219c4
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.failed_to_query_key__last_error:__d__status:_d
push 0x1a
jmp 0x52193b
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00415d10
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.006116d0
mov esp, ebp
pop ebp
ret

Function at 0x5219f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 8]
mov dword [ebp - 0xc], edx
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerMAINFeatureControlFEATURE_BROWSER_EMULATION
push SysReAllocString
mov esi, ecx
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x521a56
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.setIeVersion_failed_to_open_key._last_error:__d__status___d
push 0x35
push str.webbrowserhelper::setIeVersion
call fcn.00584a40
add esp, 0x14
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 8
jb 0x521a5e
mov esi, dword [esi]
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x521a99
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.setIeVersion:_failed_to_set_key___last_error:__d__status:_d
push 0x3d
push str.webbrowserhelper::setIeVersion
call fcn.00584a40
add esp, 0x14
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5286d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62f7e8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6d8314]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [0x6d8314]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea eax, [esp + 0x20]
mov ecx, 0x701c94
push eax
call fcn.004564c0
lea ecx, [esp + 4]
mov dword [esp + 0x48], 0
push ecx
mov ecx, eax
call fcn.00431e70
cmp dword [esp + 0x18], 8
lea eax, [esp + 4]
push 1
cmovae eax, dword [esp + 8]
push 0
push eax
push 0x6687f8
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x18], 8
jb 0x528760
push dword [esp + 4]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x18], 7
cmp dword [esp + 0x34], 8
mov dword [esp + 0x14], 0
mov word [esp + 4], ax
jb 0x52878b
push dword [esp + 0x20]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.006116d0
mov esp, ebp
pop ebp
ret

Function at 0x529470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 0x2e4]
test ecx, ecx
je 0x529483
pop ebp
jmp fcn.00542af0
pop ebp
ret 4

Function at 0x531350
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 1
cmovae eax, dword [ebp + 8]
push 0
push eax
push 0x6687f8
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp + 0x1c], 8
jb 0x531387
push dword [ebp + 8]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
pop ebp
ret
Function at 0x533b20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6199cb
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6d8314]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push ecx
call fcn.004499d0
push dword [ebp + 8]
mov dword [ebp - 4], 0
lea ecx, [edi + 0x30]
mov dword [edi], vtable.std::_Packaged_state_void____cdecl___void__.0
call fcn.00533d50
mov dword [ebp - 4], 1
lea ebx, [edi + 0x48]
mov dword [edi], vtable.std::_Task_async_state_void__0_.0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov byte [ebp - 4], 2
lea eax, [edi + 4]
mov ecx, 1
lock xadd dword [eax], ecx
sub esp, 0x2c
mov esi, esp
sub esp, 8
mov ecx, esp
call fcn.00449bd0
mov ecx, esi
call fcn.00449b50
lea ecx, [esi + 0xc]
call fcn.00449be0
mov dword [esi + 0x1c], 0
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x18], 0
mov byte [esi + 0x14], 0
push edi
mov word [esi + 0x28], 0
call fcn.00533ca0
add esp, 0x30
cmp ebx, eax
je 0x533bf4
push eax
mov ecx, ebx
call fcn.00449c30
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x533c20
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x533c20
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x533c20
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, edi
mov byte [edi + 0x26], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x534e90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
and eax, 0xfff0
mov esi, ecx
push edi
cmp eax, 0xf020
je 0x534efe
cmp eax, 0xf120
jne 0x534f56
mov ecx, dword [esi + 0x5ac]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test ecx, ecx
je 0x534ee4
call fcn.004fd130
push eax
call ebx
test eax, eax
je 0x534ee4
mov ecx, dword [esi + 0x5ac]
push 1
call fcn.004fd130
push eax
call edi
mov ecx, dword [esi + 0x5a8]
test ecx, ecx
je 0x534f56
call fcn.004fd130
push eax
call ebx
test eax, eax
je 0x534f56
push 1
jmp 0x534f48
mov ecx, dword [esi + 0x5ac]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test ecx, ecx
je 0x534f30
call fcn.004fd130
push eax
call ebx
test eax, eax
je 0x534f30
mov ecx, dword [esi + 0x5ac]
push 0
call fcn.004fd130
push eax
call edi
mov ecx, dword [esi + 0x5a8]
test ecx, ecx
je 0x534f56
call fcn.004fd130
push eax
call ebx
test eax, eax
je 0x534f56
push 0
mov ecx, dword [esi + 0x5a8]
call fcn.004fd130
push eax
call edi
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005c7c40
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x536610
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x630eaa
mov eax, dword fs:[0]
push eax
sub esp, 0x870
mov eax, dword [0x6d8314]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x85c]
push 3
xor ebx, ebx
mov ecx, esi
push ebx
push eax
mov dword [ebp - 0x868], ebx
call fcn.00428c60
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x874]
cmp dword [ebp - 0x848], 8
lea eax, [ebp - 0x85c]
push ebx
cmovae eax, dword [ebp - 0x85c]
push ebx
push ecx
push eax
mov dword [ebp - 0x874], ebx
mov dword [ebp - 0x870], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test eax, eax
je 0x53684d
xor eax, eax
mov dword [ebp - 0x878], 1
push 0x7fe
push eax
mov word [ebp - 0x814], ax
lea eax, [ebp - 0x812]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x5366cd
mov eax, dword [esi]
jmp 0x5366cf
mov eax, esi
push 0x400
lea ecx, [ebp - 0x814]
push ecx
lea ecx, [ebp - 0x878]
push ecx
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x536768
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x844]
call fcn.00415d10
push 5
push str.FAT32
mov byte [ebp - 4], 1
mov ebx, 1
push dword [eax + 0x10]
mov ecx, eax
mov dword [ebp - 0x868], ebx
push 0
call fcn.004140b0
test eax, eax
je 0x536768
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x82c]
call fcn.00415d10
mov dword [ebp - 4], 2
mov ebx, 3
mov edx, str.NTFS
mov dword [ebp - 0x868], ebx
mov ecx, eax
call fcn.00495430
mov byte [ebp - 0x85d], 1
test al, al
jne 0x53676f
mov byte [ebp - 0x85d], 0
test bl, 2
je 0x5367a8
and ebx, 0xfffffffd
cmp dword [ebp - 0x818], 8
jb 0x53678b
push dword [ebp - 0x82c]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], 0
mov word [ebp - 0x82c], ax
mov dword [ebp - 4], 0
test bl, 1
je 0x5367c8
cmp dword [ebp - 0x830], 8
jb 0x5367c8
push dword [ebp - 0x844]
call edi
add esp, 4
cmp byte [ebp - 0x85d], 0
jne 0x53684d
mov edx, dword [ebp - 0x870]
mov ecx, dword [ebp - 0x874]
call fcn.006121fe
mulsd xmm0, qword [0x693628]
lea eax, [ebp - 0x844]
push 2
push 0
push eax
mov ecx, esi
movsd qword [ebp - 0x86c], xmm0
call fcn.00428c60
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x536810
mov eax, dword [eax]
push eax
call fcn.00536af0
cmp dword [ebp - 0x830], 8
mov bl, al
jb 0x53682c
push dword [ebp - 0x844]
call edi
add esp, 4
movsd xmm0, qword [ebp - 0x86c]
test bl, bl
je 0x536858
cvttsd2si eax, xmm0
cmp eax, 0x6000
jle 0x536858
mulsd xmm0, qword [0x6937c8]
jmp 0x536850
xorps xmm0, xmm0
movsd qword [ebp - 0x86c], xmm0
cmp dword [ebp - 0x848], 8
jb 0x536874
push dword [ebp - 0x85c]
call edi
movsd xmm0, qword [ebp - 0x86c]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006116d0
mov esp, ebp
pop ebp
ret 4
Function at 0x5369e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62ae28
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6d8314]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
mov dword [ebp - 0x34], eax
call edi
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005c4f06
add esp, 4
mov ebx, eax
mov dword [ebp - 0x30], ebx
push ebx
push esi
call edi
cmp word [ebx], 0
mov esi, ebx
je 0x536abf
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ebx, dword [sym.imp.MSVCR120.dll_wcschr]
push esi
call edi
test eax, eax
je 0x536aaa
cmp eax, 1
je 0x536aaa
cmp eax, 2
je 0x536aaa
cmp eax, 4
je 0x536aaa
cmp eax, 5
je 0x536aaa
cmp eax, 6
je 0x536aaa
push esi
call fcn.005368a0
test al, al
jne 0x536aaa
push esi
lea ecx, [ebp - 0x2c]
call fcn.00415d10
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], 0
call fcn.00472df0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.004148d0
push 0
push esi
call ebx
add esp, 8
cmp word [eax + 2], 0
lea esi, [eax + 2]
jne 0x536a55
mov ebx, dword [ebp - 0x30]
push ebx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006116d0
mov esp, ebp
pop ebp
ret 4
Function at 0x536af0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x616f78
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6d8314]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push 4
xor eax, eax
mov dword [ebp - 0x18], 7
push 0x6812c0
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00415c10
mov dword [ebp - 4], 0
cmp word [esi], 0
jne 0x536b51
xor ecx, ecx
jmp 0x536b65
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x536b56
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00428400
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push 0
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x536bd6
push 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push ecx
push 0xc
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x38], 8
push ecx
push 0xc
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x34], 0
push ecx
push 0x2d1400
push eax
mov byte [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp byte [ebp - 0x3c], 1
jne 0x536bd6
mov bl, 1
jmp 0x536bd8
xor bl, bl
cmp dword [ebp - 0x18], 8
jb 0x536bea
push dword [ebp - 0x2c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006116d0
mov esp, ebp
pop ebp
ret 4
Function at 0x545950
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x632a50
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x6d8314]
xor eax, esp
mov dword [esp + 0x50], eax
push esi
mov eax, dword [0x6d8314]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
lea eax, [esp + 0x40]
mov ecx, 0x701c94
push eax
call fcn.004f9000
push str.Screenshots
mov edx, eax
mov dword [esp + 0x6c], 0
lea ecx, [esp + 0x2c]
call fcn.00431bb0
add esp, 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x68], 1
push ecx
mov ecx, eax
call fcn.00431e70
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
push 1
cmovae eax, dword [esp + 0x10]
push 0
push eax
push 0x6687f8
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x20], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x5459fb
push dword [esp + 0xc]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
cmp dword [esp + 0x3c], 8
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
jb 0x545a22
push dword [esp + 0x28]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], 7
cmp dword [esp + 0x54], 8
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
jb 0x545a49
push dword [esp + 0x40]
call esi
add esp, 4
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.006116d0
mov esp, ebp
pop ebp
ret

Function at 0x5479e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x632ed0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x6d8314]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x20], eax
lea eax, [esi + 8]
push eax
call fcn.005501a0
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x24]
push eax
call fcn.005501a0
mov esi, dword [esi + 4]
sub esp, 0x10
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x1c]
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 4], eax
lea eax, [esp + 0x24]
push eax
add ecx, 8
call fcn.005501a0
push dword [esp + 0x18]
push esi
call fcn.005512a0
add esp, 0x18
lea ecx, [esp + 0x14]
call fcn.004287e0
push dword [esp + 0x14]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call esi
add esp, 4
lea ecx, [esp + 0x24]
call fcn.004287e0
push dword [esp + 0x24]
call esi
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x555290
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6199cb
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6d8314]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push ecx
call fcn.004499d0
push dword [ebp + 8]
mov dword [ebp - 4], 0
lea ecx, [edi + 0x30]
mov dword [edi], vtable.std::_Packaged_state_void____cdecl___void__.0
call fcn.00555ab0
mov dword [ebp - 4], 1
lea ebx, [edi + 0x48]
mov dword [edi], vtable.std::_Task_async_state_void__0_.0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov byte [ebp - 4], 2
lea eax, [edi + 4]
mov ecx, 1
lock xadd dword [eax], ecx
sub esp, 0x2c
mov esi, esp
sub esp, 8
mov ecx, esp
call fcn.00449bd0
mov ecx, esi
call fcn.00449b50
lea ecx, [esi + 0xc]
call fcn.00449be0
mov dword [esi + 0x1c], 0
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x18], 0
mov byte [esi + 0x14], 0
push edi
mov word [esi + 0x28], 0
call fcn.00555810
add esp, 0x30
cmp ebx, eax
je 0x555364
push eax
mov ecx, ebx
call fcn.00449c30
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x555390
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x555390
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x555390
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, edi
mov byte [edi + 0x26], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4