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

Disassembly:
push 0xffffffffffffffff
push 0x41f55b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x434204]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QObject::constructor_class_QObject__]
mov dword [esi], vtable.ProxySettings.0
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esp + 0x14], 0
mov dword [esi + 0xc], eax
mov ecx, eax
mov edx, 1
lock xadd dword [ecx], edx
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esi + 0x10], eax
mov ecx, eax
mov edx, 1
lock xadd dword [ecx], edx
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esi + 0x14], eax
mov ecx, eax
mov edx, 1
lock xadd dword [ecx], edx
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esi + 0x20], eax
mov ecx, eax
mov edx, 1
lock xadd dword [ecx], edx
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esi + 0x24], eax
mov ecx, eax
mov edx, 1
lock xadd dword [ecx], edx
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esi + 0x28], eax
mov ecx, eax
mov edx, 1
lock xadd dword [ecx], edx
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esi + 0x30], eax
mov ecx, eax
mov edx, 1
lock xadd dword [ecx], edx
push 0x428618
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 3
mov dword [esi + 0x34], 0
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_char_const__]
mov ecx, esi
mov dword [esi + 8], 1
mov dword [esi + 0x18], 2
call fcn.00410ad0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x410eb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41ce8f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x434204]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esi + 0x30]
mov dword [esp + 0x14], 2
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x410ef9
mov edx, dword [esi + 0x30]
push edx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
lea ecx, [esi + 0x1c]
mov byte [esp + 0x14], 1
call fcn.004010b0
lea ecx, [esi + 8]
mov byte [esp + 0x14], 0
call fcn.004010b0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QObject::destructor_void_]
test byte [esp + 0x1c], 1
je 0x410f33
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x411340
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x41f66f
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x434204]
xor eax, esp
mov dword [esp + 0x238], eax
push esi
push edi
mov eax, dword [0x434204]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
mov esi, dword [esp + 0x258]
mov dword [esp + 0x10], 0
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esp + 0x14], esi
mov dword [esi], eax
mov ecx, eax
mov edx, 1
lock xadd dword [ecx], edx
push 0
push 2
mov dword [esp + 0x258], 0
mov dword [esp + 0x18], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x22c
mov edi, eax
lea eax, [esp + 0x1c]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push edi
mov dword [esp + 0x20], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41145a
jmp 0x4113f0
mov edx, dword [esp + 0x25c]
cmp dword [esp + 0x20], edx
je 0x41140e
lea eax, [esp + 0x18]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4113f0
jmp 0x41145a
push 0xffffffffffffffff
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const___int_]
add esp, 0xc
push eax
mov ecx, esi
mov dword [esp + 0x254], 1
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
mov eax, dword [esp + 0xc]
mov byte [esp + 0x250], 0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41145a
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.0041c0a6
add esp, 0x248
ret
Function at 0x4121f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x41f843
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x434204]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QBuffer::constructor_class_QObject__]
push ecx
mov eax, esp
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 1
mov dword [esp + 0x14], esp
mov dword [eax], 3
call dword [sym.imp.QtCore4.dll_public_virtual:_bool___thiscall_QBuffer::open_class_QFlags_enum_QIODevice::OpenModeFlag__]
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
cdq
push edx
push eax
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.QtCore4.dll_public:_long_long___int64____thiscall_QIODevice::write_char_const___long_long___int64__]
push 0
push 0
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public_virtual:_bool___thiscall_QBuffer::seek_long_long___int64__]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x18]
push edx
push edi
mov ecx, esi
call fcn.00412040
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x24], 0
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QBuffer::destructor_void_]
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 0xc
Function at 0x41c0a6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x434204]
jne 0x41c0b0
repz ret
jmp fcn.0041c500

Function at 0x41cc20
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x18
lea eax, [esp + 4]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const___int_]
add esp, 0xc
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toLocal8Bit_void_]
mov edx, dword [esp + 8]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x41cc62
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
push esi
push 4
push 0x30
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 4
mov dword [esp + 0x20], 4
call dword [sym.imp.QtCore4.dll_public:_static_struct_QVectorData____cdecl_QVectorData::allocate_int__int_]
mov esi, eax
add esp, 8
test esi, esi
jne 0x41cc94
call dword [sym.imp.QtCore4.dll_void___cdecl_qBadAlloc_void_]
mov dword [esp + 4], esi
mov dword [esi], 1
mov edx, dword [esp + 4]
mov eax, 8
mov dword [edx + 8], eax
mov ecx, dword [esp + 4]
mov dword [ecx + 4], eax
mov eax, dword [esp + 4]
or dword [eax + 0xc], 1
mov eax, dword [esp + 4]
and dword [eax + 0xc], 0xfffffffd
mov edx, dword [esp + 4]
push 0x20
add edx, 0x10
push 0
push edx
call dword [sym.imp.QtCore4.dll_void____cdecl_qMemSet_void___int__unsigned_int_]
add esp, 0xc
lea ecx, [esp + 8]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::detach_void_]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x30]
push ecx
push edx
push eax
call sub.QtCore4.dll_void___cdecl_qWinMain_struct_HINSTANCE_____struct_HINSTANCE_____char___int__int___class_QVector_char____
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
add esp, 0x18
cmp edx, 1
je 0x41cd29
mov eax, dword [esp + 4]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
push ecx
push edx
lea ecx, [esp + 0xc]
call fcn.0041ca70
mov eax, dword [esp + 4]
add eax, 0x10
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.00401ab0
mov esi, eax
mov eax, dword [esp + 0xc]
add esp, 8
test eax, eax
je 0x41cd61
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41cd61
mov edx, dword [esp + 4]
push 4
push edx
call dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QVectorData::free_struct_QVectorData___int_]
add esp, 8
mov eax, dword [esp + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41cd7c
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov eax, esi
pop esi
add esp, 0x18
ret 0x10
Function at 0x401100
Capabilities:
Check for peb beingdebugged flag
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x2c
mov dword [edx], 0
mov dword [ecx], 0
mov dword [ebp - 0x1c], edx
xor edx, edx
mov dword [ebp - 0x20], ecx
call section..text
cmp word [ebx], 0
mov edx, eax
je 0x40113f
mov eax, ebx
nop
add eax, 2
cmp word [eax], 0
jne 0x401130
sub eax, ebx
sar eax, 1
add edx, eax
lea eax, [edx + edx + 2]
mov dword [esp + 4], 0
mov edi, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 8], eax
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
mov edx, eax
test eax, eax
je 0x4011f7
mov dword [ebp - 0x24], eax
mov eax, ebx
call section..text
lea ecx, [eax*4 + 4]
mov ebx, eax
mov dword [esp + 8], ecx
mov dword [ebp - 0x28], ecx
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x24]
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x401207
mov ecx, dword [ebp - 0x28]
mov esi, eax
lea ecx, [eax + ecx - 4]
test ebx, ebx
jle 0x401227
lea esi, [esi]
mov dword [esi], edx
cmp word [edx], 0
je 0x401200
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4011d0
sub eax, edx
add eax, 2
add esi, 4
add edx, eax
cmp ecx, esi
jne 0x4011c0
mov eax, dword [ebp - 0x1c]
mov dword [ecx], 0
mov dword [eax], ebx
mov eax, dword [ebp - 0x20]
mov dword [eax], edi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 2
jmp 0x4011de
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x4011f7
mov ecx, eax
jmp 0x4011e7
Function at 0x4013d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
mov ebx, edx
sub esp, 0x3c
mov esi, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], 0
call esi
sub esp, 0x18
test eax, eax
je 0x401528
cmp word [edi], 0
mov edx, eax
je 0x401540
mov eax, edi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x401430
sub eax, edi
sar eax, 1
lea ecx, [edx - 1]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], ecx
cmp eax, ecx
jae 0x401460
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [edx + edx]
mov dword [ebp - 0x1c], edx
mov ecx, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x24], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [esp + 0x14], edx
mov dword [ebp - 0x1c], eax
mov dword [esp + 8], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call esi
sub esp, 0x18
call dword [sym.imp.kernel32.dll_GetThreadLocale]
mov ecx, dword [ebp - 0x20]
mov dword [esp + 0x14], ecx
mov esi, dword [ebp - 0x1c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 8], edi
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
mov ebx, eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
xor eax, eax
sub esp, 0xc
cmp ebx, 2
sete al
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
jmp 0x40143d
Function at 0x4015e0
Capabilities:
Create service
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x260
mov dword [esp + 8], 2
mov dword [esp + 4], str.ServicesActive
mov dword [esp], 0
call sub.advapi32.dll_OpenSCManagerW
sub esp, 0xc
test eax, eax
je 0x401718
lea esi, [ebp - 0x228]
mov dword [esp + 4], 0x104
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
lea ecx, [esi + eax*2]
sub esp, 8
xor eax, eax
lea esi, [esi]
nop
movzx edx, word [eax + str.msiexec__V]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x401638
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 3
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x10000000
mov dword [esp + 8], 0x407066
mov dword [esp + 4], 0x407066
mov dword [esp], ebx
call sub.advapi32.dll_CreateServiceW
sub esp, 0x34
test eax, eax
je 0x4016e0
mov dword [esp], eax
call sub.advapi32.dll_CloseServiceHandle
sub esp, 4
xor esi, esi
mov dword [esp], ebx
call sub.advapi32.dll_CloseServiceHandle
mov eax, esi
sub esp, 4
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x431
je 0x4016c1
mov dword [esp], 2
mov esi, 1
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 4], str.Failed_to_create_MSI_service_n
mov dword [esp], eax
call fcn.00401550
jmp 0x4016c3
mov dword [esp], 2
mov esi, 1
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 4], str.Failed_to_open_the_service_control_manager._n
mov dword [esp], eax
call fcn.00401550
lea esp, [ebp - 8]
mov eax, esi
pop ebx
pop esi
pop ebp
ret

Function at 0x401750
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
movzx ecx, word [eax]
and ecx, 0xfffffffd
cmp cx, 0x2d
je 0x401760
xor eax, eax
ret
add eax, 2
jmp fcn.00401280
Function at 0x401c50
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x10
cmp word [edx], 0
je 0x401ce0
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x401c68
sub eax, esi
add eax, 6
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ecx, eax
test eax, eax
je 0x401ce7
xor eax, eax
lea esi, [esi]
nop
movzx edx, word [esi + eax]
mov word [ecx + eax + 4], dx
add eax, 2
test dx, dx
jne 0x401ca8
mov dword [ecx], 0
mov eax, dword [ebx]
test eax, eax
je 0x401cd0
lea esi, [esi]
mov ebx, eax
mov eax, dword [eax]
test eax, eax
jne 0x401cc8
mov dword [ebx], ecx
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov eax, 6
jmp 0x401c76
test byte [section..data], 2
jne 0x401cfd
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov dword [esp + 0xc], str.Out_of_memory__n
mov dword [esp + 8], str.StringListAppend
mov dword [esp + 4], 0x406000
mov dword [esp], 1
call fcn.00401930
jmp 0x401cf0

Function at 0x401e00
Capabilities:
Access peb ldr_data
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x1c
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov dword [esi], eax
sub esp, 0xc
test eax, eax
je 0x401e4d
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
sub esp, 8
test eax, eax
je 0x401e84
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, ebx
call fcn.00401d90
mov dword [esp], 2
mov ebx, eax
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Unable_to_load_dll__s_n
mov dword [esp], eax
call fcn.00401550
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov eax, ebx
call fcn.00401d90
mov dword [esp], 2
mov ebx, eax
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Dll__s_does_not_implement_function__s_n
mov dword [esp], eax
call fcn.00401550
mov eax, dword [esi]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
push eax
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]
Function at 0x401f40
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, eax
sub esp, 0x10
cmp word [eax], 0
je 0x402038
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x401f58
sub eax, ebx
add eax, 0xa
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, eax
sub esp, 0xc
xor eax, eax
test edx, edx
je 0x402078
lea esi, [esi]
nop
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x401fa0
movzx ecx, word [edx]
test cx, cx
je 0x402048
mov eax, edx
nop
add eax, 2
cmp word [eax], 0
jne 0x401fc0
sub eax, edx
sar eax, 1
jne 0x401fe3
jmp 0x402030
cmp bx, 0x5c
je 0x401ff0
sub eax, 1
je 0x402030
movzx ebx, word [edx + eax*2]
lea esi, [ebx - 0x2e]
cmp si, 1
ja 0x401fd8
mov ecx, edx
cmp bx, 0x2e
je 0x402050
lea esi, [esi]
nop
add ecx, 2
cmp word [ecx], 0
jne 0x402000
xor eax, eax
lea esi, [esi]
nop
movzx ebx, word [eax + str..msi]
mov word [ecx + eax], bx
add eax, 2
test bx, bx
jne 0x402010
lea esp, [ebp - 8]
mov eax, edx
pop ebx
pop esi
pop ebp
ret
mov ebx, ecx
jmp 0x401ff0
mov eax, 0xa
jmp 0x401f66
mov ecx, edx
jmp 0x402009
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
xor edx, edx
jmp 0x402023
test byte [section..data], 2
je 0x402074
mov dword [esp + 0xc], str.No_memory._n
mov dword [esp + 8], str.get_path_with_extension
mov dword [esp + 4], 0x406000
mov dword [esp], 1
call fcn.00401930
xor edx, edx
jmp 0x402023
Function at 0x405510
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sub.ucrtbase.dll__configure_narrow_argv
call sub.ucrtbase.dll__initialize_narrow_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___argv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.004055d0
mov dword [esp], eax
call 0x405580
jmp dword [sym.imp.ucrtbase.dll_exit]

Function at 0x4055d0
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call fcn.004055c0
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov ebx, eax
movzx eax, byte [eax]
test al, al
je 0x40563e
xor ecx, ecx
xor edx, edx
jmp 0x405616
cmp al, 0x5c
jne 0x405698
add edx, 1
movzx eax, byte [ebx + 1]
add ebx, 1
test al, al
je 0x405633
cmp al, 9
je 0x40561e
cmp al, 0x20
jne 0x405600
test ecx, ecx
je 0x405633
xor edx, edx
jmp 0x40560b
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x405630
cmp al, 0x20
je 0x405630
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
sub esp, 4
test byte [ebp - 0x30], 1
jne 0x405659
mov word [ebp - 0x2c], 1
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.004020b0
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
cmp al, 0x22
jne 0x405622
and edx, 1
jne 0x405622
xor ecx, 1
jmp 0x40560b
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
push eax
push 0x69
mov ecx, dword [ebp + 8]
add ecx, dword [ebp + 0xc]
add ecx, dword [ebp + 0x10]
add ecx, dword [ebp + 0x14]
push ecx
call fcn.00401e20
add esp, 0xc
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x48]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [ebp - 8]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x401050
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xa3de3eeb
mov ecx, dword [ebp - 4]
mov edx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ecx + 0xa8], edx
mov eax, dword [ebp - 4]
mov dword [eax], 0x96e
mov dword [ebp - 8], 0x40
mov ecx, dword [ebp - 8]
push ecx
push 0x1000
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x40], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x40], 0
je 0x4011b4
mov eax, dword [ebp - 4]
mov ecx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [eax + 0xa4], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xf4], 0x31a4f6f8
mov dword [ebp - 8], 0xee73cb90
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x88], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xe8], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xa4], 0
je 0x401199
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx]
jae 0x401197
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x20], 4
jae 0x40117d
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
cmp eax, dword [edx]
jae 0x40117d
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x108]
mov eax, dword [ebp - 8]
movzx ecx, byte [edx + eax]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax + 0x88]
xor ecx, eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov edx, dword [ebp - 8]
mov byte [eax + edx], cl
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax]
jae 0x40117b
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
add eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x401117
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xd8]
add ecx, 3
mov edx, dword [ebp - 4]
mov dword [edx + 0xd8], ecx
jmp 0x4010ff
jmp 0x4011a2
mov eax, dword [ebp - 4]
push eax
call fcn.004011c0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x40]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x48], ecx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4