joyce8/EMBER2024-capa huggingface dataset:
Function at 0x300aa17a
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x494
mov eax, dword [0x3003a2ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push edi
lea ecx, [ebp - 0x494]
mov dword [ebp - 0x470], eax
call fcn.300b630e
and dword [ebp - 0x468], 0
xor eax, eax
push 0x300aa340
mov word [ebp - 0x210], ax
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.MSO.dll_Ordinal_364]
cmp word [ebp - 0x210], 0
jne 0x300aa1e1
mov edi, 0x8000ffff
jmp 0x300aa309
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x494]
call fcn.300b66c6
mov edi, eax
test edi, edi
jl 0x300aa309
push esi
mov esi, 0x3010bc18
push esi
push esi
push 0x3005f11c
push ebx
lea eax, [ebp - 0x468]
push eax
call fcn.3004280b
mov edi, eax
test edi, edi
jl 0x300aa308
lea eax, [ebp - 0x460]
push eax
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x46c], eax
cmp eax, 0xffffffff
jne 0x300aa249
mov edi, 0x80070057
jmp 0x300aa308
test byte [ebp - 0x460], 0x10
jne 0x300aa2bc
and dword [ebp - 0x464], 0
push esi
push esi
push 0x3005ea98
push ebx
lea eax, [ebp - 0x464]
push eax
call fcn.3004280b
mov edi, eax
test edi, edi
jl 0x300aa332
push 0xffffffffffffffff
lea eax, [ebp - 0x434]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x464]
push eax
call fcn.3004952d
mov edi, eax
test edi, edi
jl 0x300aa332
lea eax, [ebp - 0x434]
push eax
push dword [ebp - 0x464]
lea ecx, [ebp - 0x494]
call fcn.300b6932
lea eax, [ebp - 0x464]
push eax
call fcn.300067bd
lea eax, [ebp - 0x460]
push eax
push dword [ebp - 0x46c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x300aa249
lea ecx, [ebp - 0x494]
call fcn.300b6346
mov edi, eax
test edi, edi
jl 0x300aa2fc
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x470]
call fcn.30005a6e
mov edi, eax
push dword [ebp - 0x46c]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
lea eax, [ebp - 0x468]
push eax
call fcn.300067bd
lea ecx, [ebp - 0x494]
call fcn.300b631c
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.30002772
leave
ret 8
lea eax, [ebp - 0x464]
push eax
call fcn.300067bd
jmp 0x300aa2fc

Function at 0x300b2937
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
jne 0x300b2954
mov esi, 0x80070057
jmp 0x300b29a3
and dword [ebx], 0
push 2
lea eax, [ebp - 8]
push eax
push 0x2000000d
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x300b2978
mov esi, 0x80004005
jmp 0x300b29a3
cmp dword [ebp - 8], 0
mov eax, 0x300b29c4
je 0x300b2988
mov eax, 0x300b29b8
push eax
lea eax, [ebp - 4]
push eax
call fcn.30011a90
mov esi, eax
test esi, esi
jl 0x300b29a3
push ebx
lea ecx, [ebp - 4]
call fcn.30011afd
mov esi, eax
lea eax, [ebp - 4]
push eax
call fcn.30005cf0
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x300ce84b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
xor esi, esi
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call fcn.30005e6f
push eax
push esi
push 0x1a4
lea eax, [ebp - 0x10]
push eax
call fcn.30005e75
mov edi, eax
cmp edi, esi
jl 0x300ce97e
call fcn.30005e6f
push eax
push esi
push 0x1a5
lea eax, [ebp - 0xc]
push eax
call fcn.30005e75
mov edi, eax
cmp edi, esi
jl 0x300ce97e
call fcn.30005e6f
push eax
push esi
push 0x1a9
lea eax, [ebp - 8]
push eax
call fcn.30005e75
mov edi, eax
cmp edi, esi
jl 0x300ce97e
call fcn.30005e6f
push eax
push esi
push 0x1a6
lea eax, [ebp - 4]
push eax
call fcn.30005e75
mov edi, eax
cmp edi, esi
jl 0x300ce97e
push ebx
push 0x2c
lea eax, [ebp - 0x3c]
push esi
push eax
call sub.MSVCR90.dll_memset
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x3c]
push eax
xor ebx, ebx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x28], esi
inc ebx
push ebx
lea esi, [edi + 0xaa0]
push esi
mov dword [ebp - 0x3c], 0xd
call dword [sym.imp.cdlmso.dll_public:_int___stdcall_Cdl::DLListView::InsertColumn_unsigned_int__struct_tagLVCOLUMNW__const_]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x3c]
push eax
push 2
mov dword [ebp - 0x28], ebx
pop ebx
push ebx
push esi
call dword [sym.imp.cdlmso.dll_public:_int___stdcall_Cdl::DLListView::InsertColumn_unsigned_int__struct_tagLVCOLUMNW__const_]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x3c]
push eax
push 3
mov dword [ebp - 0x28], ebx
pop ebx
push ebx
push esi
call dword [sym.imp.cdlmso.dll_public:_int___stdcall_Cdl::DLListView::InsertColumn_unsigned_int__struct_tagLVCOLUMNW__const_]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x3c]
push eax
push 4
push esi
mov dword [ebp - 0x28], ebx
call dword [sym.imp.cdlmso.dll_public:_int___stdcall_Cdl::DLListView::InsertColumn_unsigned_int__struct_tagLVCOLUMNW__const_]
push 0x20
push 0x20
push 0x1036
push esi
call dword [sym.imp.cdlmso.dll_public:_struct_HWND______stdcall_Cdl::ELEventFrame::operator_struct_HWND____void_const]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi]
push edi
call dword [eax + 0x64]
mov edi, eax
pop ebx
push edi
call fcn.300befcc
lea eax, [ebp - 4]
push eax
call fcn.300067bd
lea eax, [ebp - 8]
push eax
call fcn.300067bd
lea eax, [ebp - 0xc]
push eax
call fcn.300067bd
lea eax, [ebp - 0x10]
push eax
call fcn.300067bd
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x300d65f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
mov eax, dword [0x3003a2ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x474], eax
push 0x105
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor ebx, ebx
cmp eax, ebx
jne 0x300d662c
xor eax, eax
jmp 0x300d6755
add eax, eax
lea ecx, [ebp + eax - 0x260]
cmp word [ecx], 0x5c
je 0x300d664b
push 0x5c
pop edx
mov word [ecx], dx
xor ecx, ecx
mov word [ebp + eax - 0x25e], cx
push esi
push edi
push 0x106
lea eax, [ebp - 0x260]
push eax
mov esi, 0x300d6800
push esi
call fcn.30002c8e
push 8
push ebx
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
cmp edi, ebx
jne 0x300d668b
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
je 0x300d673d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x300d67ec
push edi
call esi
push 0x300d67cc
push edi
mov dword [ebp - 0x478], eax
call esi
mov dword [ebp - 0x470], eax
cmp eax, ebx
je 0x300d673d
mov edi, 0x300d67b8
mov esi, 0x300d6768
cmp dword [ebp - 0x474], ebx
je 0x300d6715
cmp dword [ebp - 0x478], ebx
je 0x300d673d
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x474]
call dword [ebp - 0x478]
cmp eax, ebx
jne 0x300d670e
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x468]
push eax
push ebx
push ebx
lea eax, [ebp - 0x54]
push eax
push ebx
push edi
push esi
mov dword [ebp - 0x46c], 0x104
call dword [ebp - 0x470]
cmp eax, ebx
je 0x300d6741
cmp eax, 0x642
je 0x300d6741
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x468]
push eax
push ebx
push ebx
push ebx
push ebx
push edi
push esi
mov dword [ebp - 0x46c], 0x104
call dword [ebp - 0x470]
test eax, eax
je 0x300d6741
xor eax, eax
jmp 0x300d6753
lea eax, [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x3010ea74], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.30002772
leave
ret 4
Function at 0x300d68df
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x3003a2ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
mov dword [ebp - 0x21c], eax
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x214]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x300d69c8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x214], ebx
xor edi, edi
mov dword [ebp - 0x218], 0x208
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
push ebx
push ebx
push 0x3005c530
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x214], ebx
je 0x300d696c
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x218]
cmp eax, ebx
je 0x300d6997
cmp eax, 0x208
ja 0x300d6997
shr eax, 1
mov edi, eax
je 0x300d6997
lea eax, [ebp + edi*2 - 0x212]
cmp word [eax], 0x5c
je 0x300d6997
dec edi
dec eax
dec eax
cmp edi, ebx
jne 0x300d698a
push dword [ebp - 0x21c]
xor eax, eax
mov word [ebp + edi*2 - 0x210], ax
lea eax, [ebp - 0x210]
push eax
call fcn.300d684f
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.30002772
leave
ret 4

Function at 0x300e72cc
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x300e7350
call fcn.30001f70
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
movzx edx, word [eax]
mov ecx, 0x5a4d
cmp dx, cx
jne 0x300e730a
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov esi, 0xe0
cmp word [ecx + 0x14], si
jne 0x300e730a
add esi, 0x2b
cmp word [ecx + 0x18], si
jne 0x300e730a
mov eax, dword [ecx + 0x50]
jmp 0x300e732b
mov ecx, 0x4550
cmp dx, cx
jne 0x300e7337
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x300e7337
add ecx, 0x2b
cmp word [eax + 0x18], cx
jne 0x300e7337
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x1c], eax
jmp 0x300e733b
and dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.3000218c
ret 4
Function at 0x29a01815
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x29a169b8]
jne 0x29a0181f
repz ret
jmp fcn.29a0e56f
Function at 0x405a03
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x405a12
pop dword [ebp - 0xc]
mov eax, 0x12d24778
sub eax, 0x1291ed66
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x4d437234
add dword [ebp - 0x1c], 0x10ed317
mov dword [ebp - 0x18], 0xbd79ea61
add dword [ebp - 0x18], 0x74b961e4
mov dword [ebp - 0x14], 0xdb1aa862
sub dword [ebp - 0x14], 0x8ece6434
mov dword [ebp - 0x10], 0xd4bada01
sub dword [ebp - 0x10], 0xd4bada01
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x980a5717
sub eax, 0x97c9d613
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xe293ad3f
add dword [ebp - 0x1c], 0x91debc17
mov dword [ebp - 0x18], 0xceb855e4
add dword [ebp - 0x18], 0x72b40b91
mov dword [ebp - 0x14], 0x789f483
add dword [ebp - 0x14], 0x5be577e9
mov dword [ebp - 0x10], 0x903ed040
add dword [ebp - 0x10], 0x6fc12fc0
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xdbc8172d
sub eax, 0xdb87962d
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3a5f4
push 0
call eax
mov ecx, 0x920abb02
sub ecx, 0x920a6571
mov esi, eax
mov edx, 0x46e400
add edx, dword [ebp - 0xc]
mov edi, 0x10cc7e9b
add edi, 0xa53eb752
add dword [ebp - 4], ebx
mov ebx, dword [edx]
sub ebx, edi
mov dword [ebp - 8], 0x2af13c3b
mov dword [esi], ebx
xor dword [ebp - 8], ecx
add esi, 4
add edx, 0xffd60186
sub edx, 0xffd60182
loop 0x405b2e
add eax, 0xb7009ad4
sub eax, 0xb6ff51bd
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

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

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x425f30
push esi
call fcn.00406212
push esi
call fcn.00405c71
mov edi, eax
test edi, edi
jne 0x405cef
xor eax, eax
jmp 0x405d47
push edi
call fcn.004064a6
test byte [0x42a258], 0x80
je 0x405d0c
mov ax, word [edi]
test ax, ax
je 0x405ceb
cmp ax, 0x5c
je 0x405ceb
sub edi, esi
sar edi, 1
jmp 0x405d26
call fcn.00406555
test eax, eax
je 0x405d20
test byte [eax], 0x10
je 0x405ceb
push esi
call fcn.00405c12
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405d12
call fcn.00405bc6
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405dc2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405de1
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405de7
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_CreateFileW]
ret 0xc
Function at 0x461df0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c66da
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4fafc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00461d50
lea ecx, [ebx + 0x18]
mov dword [ebp - 4], 0
mov dword [ebx], vtable.BrowseFile.0
call sub.mfc140u.dll_CStringArray::CStringArray
lea ecx, [ebx + 0x2c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebx + 0x30]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebx + 0x38]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebx + 0x40]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x4dc1c0
lea ecx, [ebx + 0x2c]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push str.Executable_Files__.exe_.exeAll_Files__._.
lea ecx, [ebx + 0x38]
mov dword [ebx + 0x34], 6
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push 0x4dfaac
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
lea eax, [ebp + 8]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__22]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 7
push eax
mov ecx, ebx
call fcn.004ab7d0
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [ebx + 0x3c], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x462230
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6839
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4fafc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 8]
mov dword [esi], vtable.DiskInfo.0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 2
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
test edi, edi
je 0x4622fa
push edi
lea ecx, [esi + 8]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push edi
mov ecx, esi
call fcn.0047d730
push edi
mov ecx, esi
call fcn.0048cca0
push edi
mov ecx, esi
call fcn.0047c8a0
mov eax, esi
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 0x463600
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4fafc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x44]
push 0x40
push 0
push eax
mov dword [esi], vtable.MemoryStatus.0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x44], 0x40
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x20]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x38]
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp - 4]
mov dword [esi + 0x1c], edx
xor ecx, ebp
mov edx, dword [ebp - 0x28]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi + 0x24], edx
pop esi
call fcn.004beeb3
mov esp, ebp
pop ebp
ret
Function at 0x464a20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c728d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4fafc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x18]
mov dword [esi], vtable.ShellExec.0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x30]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x3c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 5
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x28], 1
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
call sub.mfc140u.dll_AfxGetThread
test eax, eax
je 0x464ae2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
test eax, eax
je 0x464ae2
mov eax, dword [eax + 0x20]
mov dword [esi + 4], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x464ea0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c73bd
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4fafc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x140]
mov dword [edi], vtable.SystemStatus.0
call fcn.00463600
lea esi, [edi + 8]
xorps xmm0, xmm0
push 0x110
movups xmmword [esi], xmm0
lea eax, [edi + 0x30]
push 0
movups xmmword [esi + 0x10], xmm0
push eax
mov dword [esi + 0x20], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi + 0x2c], 0x114
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword fs:[0x2c]
mov ecx, dword [0x518498]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x516b44]
cmp eax, dword [ecx + 4]
jg 0x465047
movzx eax, word [0x516b42]
mov ecx, dword [0x516b40]
mov dword [edi + 0x30], eax
movzx eax, ch
mov dword [edi + 0x34], eax
movzx eax, cl
test cl, cl
je 0x465023
push 0
push 0xa
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004b7a90
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x28]
push 0x4dd768
push eax
call fcn.0045ede0
add esp, 0x1c
cmp dword [eax + 0x14], 7
jbe 0x464f85
mov eax, dword [eax]
push 0x80
push eax
lea eax, [edi + 0x40]
push 0x80
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp ecx, 7
jbe 0x464fd3
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x464fc9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465013
push ecx
push edx
call fcn.004bea18
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x465023
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x465019
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x465019
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bea18
add esp, 8
mov dword [edi + 0x3c], 2
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004beeb3
mov esp, ebp
pop ebp
ret
push 0x516b44
call fcn.004bee2b
add esp, 4
cmp dword [0x516b44], 0xffffffff
jne 0x464f32
call fcn.004b48f0
push 0x516b44
mov dword [0x516b40], eax
call fcn.004bedda
add esp, 4
jmp 0x464f32
Function at 0x46a170
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c83d6
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x4fafc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.__r_n_
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x40]
call fcn.004636e0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
push 0x8000
push 0xa
mov dword [ebp - 0x20], 0xa
call dword [eax + 0x1c]
cmp dword [esi + 0x82c], 0
jne 0x46a253
mov edi, 0x64
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x38]
test eax, eax
jne 0x46a253
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x46a248
cmp dword [ebp - 0x20], ecx
jg 0x46a248
mov ebx, dword [ebp - 0x2c]
cmp ebx, 0x64
jge 0x46a248
mov eax, edi
cdq
idiv ecx
cmp eax, ebx
je 0x46a248
mov dword [ebp - 0x2c], eax
cmp eax, 0x64
jle 0x46a236
xor ecx, ecx
sub eax, 0x64
cmp eax, 0x64
jle 0x46a233
inc ecx
cmp ecx, 3
jl 0x46a225
mov dword [ebp - 0x2c], eax
call fcn.0046bc00
test eax, eax
je 0x46a248
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call dword [eax + 0x3c]
add edi, 0x64
cmp edi, 0xc8
jl 0x46a1f1
add dword [esi + 0x82c], 0xffffffff
jns 0x46a268
mov eax, dword [esi + 0x828]
mov dword [esi + 0x82c], eax
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x38]
test eax, eax
jne 0x46a286
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x38]
test eax, eax
je 0x46a31f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edi, 0x64
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
test eax, eax
jne 0x46a2f5
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x46a2ea
cmp dword [ebp - 0x20], ecx
jg 0x46a2ea
mov ebx, dword [ebp - 0x2c]
cmp ebx, 0x64
jge 0x46a2ea
mov eax, edi
cdq
idiv ecx
cmp eax, ebx
je 0x46a2ea
mov dword [ebp - 0x2c], eax
cmp eax, 0x64
jle 0x46a2d8
xor ecx, ecx
sub eax, 0x64
cmp eax, 0x64
jle 0x46a2d5
inc ecx
cmp ecx, 3
jl 0x46a2c7
mov dword [ebp - 0x2c], eax
call fcn.0046bc00
test eax, eax
je 0x46a2ea
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call dword [eax + 0x3c]
add edi, 0x64
cmp edi, 0x258
jl 0x46a295
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
test eax, eax
je 0x46a31f
cmp dword [esi + 0x18], 0
jne 0x46a318
cmp dword [esi + 0x1c], 0
jne 0x46a318
cmp dword [esi + 0x20], 0
jne 0x46a318
cmp dword [esi + 0x24], 0
je 0x46a31f
mov esi, 1
jmp 0x46a321
xor esi, esi
lea ecx, [ebp - 0x40]
call fcn.00465d80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret