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

Disassembly:
push 0xffffffffffffffff
push 0x420f02
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x432ed8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [sym.imp.MessageFrameWork.dll_const_CORE::coreref::vftable]
mov dword [esi], eax
mov dword [esi + 4], 1
mov dword [esp + 0x28], 0
lea edi, [esi + 0xc]
mov dword [esi], vtable.CORE::operationContext.0
mov dword [edi], 0
mov byte [esp + 0x28], 1
mov ebx, dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::PropertyBag::constructor_void_]
lea ebp, [esi + 0x10]
mov ecx, ebp
call ebx
mov byte [esp + 0x28], 2
lea ecx, [esi + 0x1c]
call ebx
mov byte [esp + 0x28], 3
lea ebx, [esi + 0x28]
mov dword [ebx], 0
mov byte [esp + 0x28], 4
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
push 0xffffffffffffffff
mov dword [esi + 8], ecx
push edx
mov ecx, edi
call dword [sym.imp.MessageFrameWork.dll_private:_void___thiscall_CORE::corestring_wchar_t_::_setdata_wchar_t_const___unsigned_int_]
mov eax, dword [esp + 0x38]
xor edi, edi
push edi
push eax
mov ecx, ebp
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::PropertyBag::attach_class_CORE::PropertyBag_const___wchar_t_const__]
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x414a9a
push edi
push eax
lea ecx, [esi + 0x1c]
call dword [0x4223d4]
mov ecx, ebx
call dword [sym.imp.MessageFrameWork.dll_public:_class_CORE::corestring_wchar_t_____thiscall_CORE::corestring_wchar_t_::newGuid_void_]
push 0x433d74
lea ecx, [esp + 0x1c]
mov byte [esi + 0x2c], 0
mov byte [esi + 0x2d], 1
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::coresync::constructor_class_CORE::coresyncObject__]
mov byte [esp + 0x28], 5
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 8]
cmp dword [eax + 0x30], edi
je 0x414ae5
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x40]
add eax, 0x40
cmp ecx, edi
je 0x414b01
mov dword [ecx + 0x30], esi
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x40]
add eax, 0x40
mov dword [esi + 0x34], ecx
mov dword [eax], esi
mov byte [esp + 0x28], 4
lea ecx, [esp + 0x18]
call dword [sym.imp.MessageFrameWork.dll_public_virtual:_void___thiscall_CORE::coresync::destructor_void_]
mov dword [esp + 0x28], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
Function at 0x414b40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x420f62
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x432ed8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CORE::operationContext.0
mov dword [esp + 0x20], 4
push 0x433d74
lea ecx, [esp + 0x14]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::coresync::constructor_class_CORE::coresyncObject__]
mov byte [esp + 0x20], 5
mov eax, dword [esi + 0x30]
test eax, eax
mov ecx, dword [esi + 0x34]
je 0x414ba9
mov dword [eax + 0x34], ecx
mov eax, dword [esi + 0x34]
test eax, eax
je 0x414bc0
mov edx, dword [esi + 0x30]
mov dword [eax + 0x30], edx
jmp 0x414bc0
mov eax, dword [esi + 8]
mov dword [eax + 0x40], ecx
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x40]
test eax, eax
je 0x414bc0
mov dword [eax + 0x30], 0
mov eax, dword [esi + 8]
cmp dword [eax + 0x30], 0
je 0x414bd5
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x20], 4
lea ecx, [esp + 0x10]
call dword [sym.imp.MessageFrameWork.dll_public_virtual:_void___thiscall_CORE::coresync::destructor_void_]
mov byte [esp + 0x20], 3
lea ecx, [esi + 0x28]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
mov byte [esp + 0x20], 2
mov edi, dword [sym.imp.MessageFrameWork.dll_public_virtual:_void___thiscall_CORE::PropertyBag::destructor_void_]
lea ecx, [esi + 0x1c]
call edi
mov byte [esp + 0x20], 1
lea ecx, [esi + 0x10]
call edi
mov byte [esp + 0x20], 0
lea ecx, [esi + 0xc]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
mov dword [esp + 0x20], 0xffffffff
mov ecx, esi
call dword [sym.imp.MessageFrameWork.dll_public_virtual:_void___thiscall_CORE::coreref::destructor_void_]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x414e80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42101b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x432ed8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xc], 0
jne 0x414efd
mov eax, dword [esp + 0x38]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
add esi, 4
push esi
mov dword [ecx], 0
call dword [sym.imp.MessageFrameWork.dll_private:_void___thiscall_CORE::corestring_wchar_t_::_dataAttachTemp_class_CORE::corestring_wchar_t__const__]
mov dword [esp + 0x38], 0
call dword [sym.imp.MessageFrameWork.dll_public:_static_class_CORE::MessageFrameWork____cdecl_CORE::MessageFrameWork::System_void_]
mov dword [esp + 0x38], 0xffffffff
mov ecx, eax
call dword [sym.imp.MessageFrameWork.dll_public:_bool___thiscall_CORE::MessageFrameWork::IsWorkerInstalled_class_CORE::corestring_wchar_t___unsigned_long_int_]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
mov edi, dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::PropertyBag::constructor_void_]
lea ecx, [esp + 0x10]
call edi
mov dword [esp + 0x30], 1
lea ecx, [esi + 4]
push ecx
push str.QueueName
lea ecx, [esp + 0x18]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::PropertyBag::set_wchar_t_const___class_CORE::corestring_wchar_t___]
mov edx, dword [esp + 0x38]
push edx
push str.Timeout
lea ecx, [esp + 0x18]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::PropertyBag::setInt_wchar_t_const___int_]
lea ecx, [esp + 0x1c]
call edi
mov byte [esp + 0x30], 2
mov eax, dword [esi + 0xc]
push 0
push 0
push 0
push 1
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x3c]
push edx
push str.IsWorkerInstalled
push 0x427100
call dword [sym.imp.MessageFrameWork.dll_public:_static_class_CORE::MessageFrameWork____cdecl_CORE::MessageFrameWork::System_void_]
mov ecx, eax
call dword [sym.imp.MessageFrameWork.dll_public:_enum_CORE::MessageHandler::respType___thiscall_CORE::MessageHandler::SendMsg_wchar_t_const___wchar_t_const___class_CORE::PropertyBag___class_CORE::PropertyBag___void____cdecl___void___class_CORE::corestring_wchar_t____class_CORE::PropertyBag___class_CORE::MsgBinary____void___class_CORE::MessageChannel___unsigned_long_int__void___class_CORE::MsgBinary___bool__class_CORE::MsgBinary___class_CORE::corestring_wchar_t____bool_]
test eax, eax
sete bl
mov byte [esp + 0x30], 1
mov esi, dword [sym.imp.MessageFrameWork.dll_public_virtual:_void___thiscall_CORE::PropertyBag::destructor_void_]
lea ecx, [esp + 0x1c]
call esi
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
call esi
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
Function at 0x4152d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4210d9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x432ed8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::PropertyBag::constructor_void_]
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x14]
push edx
push eax
push ecx
mov ecx, esi
jmp loc.004950d8

Function at 0x415360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4210d9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x432ed8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::PropertyBag::constructor_void_]
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x14]
push edx
mov eax, edx
push eax
push ecx
mov ecx, esi
call fcn.00415250
mov bl, al
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0xc]
call dword [sym.imp.MessageFrameWork.dll_public_virtual:_void___thiscall_CORE::PropertyBag::destructor_void_]
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret 0xc

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

Disassembly:
push 0xffffffffffffffff
push 0x421253
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x432ed8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push 0
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
push 0
mov ecx, esi
call fcn.00415720
mov dword [esp + 0x18], 0
lea edi, [esi + 0x44]
mov ecx, edi
call fcn.004153f0
mov byte [esp + 0x18], 1
mov dword [esi], vtable.CORE::serviceClient.0
mov dword [edi], vtable.CORE::serviceClient.1.0
mov dword [esi + 0x2c], edi
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x14
Function at 0x41684e
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x432ed8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004167e3
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004176d0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x41689d
cmp dword [ebp - 0x1c], 5
jb 0x4168b5
jmp 0x4168b1
cmp dword [ebp - 0x10], 1
jne 0x4168b5
cmp dword [ebp - 0x1c], 4
ja 0x4168b1
jne 0x4168b5
cmp dword [ebp - 0x18], 0
jbe 0x4168b5
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x427400
call fcn.00401550
test eax, eax
jge 0x4168d6
mov byte [0x433cc4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00416d51
add ebp, 0x78
leave
ret

Function at 0x416d51
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x432ed8]
jne 0x416d5b
repz ret
jmp fcn.00419a9c

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

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x417ccf
call fcn.00419ce6
mov dword [eax], esi
call fcn.00419cd3
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004172bc
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x417cab
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x417cfe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00419cf9
pop ecx
call fcn.00419cd3
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x417d25
test al, 1
je 0x417d25
test byte [esp + 0xc], 2
je 0x417d25
call fcn.00419ce6
mov dword [eax], 5
call fcn.00419cd3
mov dword [eax], 0xd
jmp 0x417cf5
xor eax, eax
pop esi
ret
Function at 0x41a49b
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4330d8]
je 0x41a4b6
inc edi
cmp edi, 0x17
jb 0x41a4a7
cmp edi, 0x17
jae 0x41a636
push ebp
push 3
call fcn.0041c7a0
cmp eax, 1
pop ecx
je 0x41a602
push 3
call fcn.0041c7a0
test eax, eax
pop ecx
jne 0x41a4ea
cmp dword [0x432f10], 1
je 0x41a602
cmp ebx, 0xfc
je 0x41a635
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x434220
push ebp
call fcn.0041a325
add esp, 0xc
test eax, eax
je 0x41a520
push esi
push esi
push esi
push esi
push esi
call fcn.004171c0
add esp, 0x14
push 0x104
mov esi, 0x434239
push esi
push 0
mov byte [0x43433d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41a564
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0041a325
add esp, 0xc
test eax, eax
je 0x41a564
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004171c0
add esp, 0x14
push esi
call fcn.00418680
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x41a5a9
push esi
call fcn.00418680
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x434534
push 0x427acc
sub ecx, eax
push ecx
push eax
call fcn.0041c6ed
add esp, 0x14
test eax, eax
je 0x41a5a9
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004171c0
add esp, 0x14
jmp 0x41a5ab
xor esi, esi
push 0x427ac8
push ebx
push ebp
call fcn.0041c67c
add esp, 0xc
test eax, eax
je 0x41a5cb
push esi
push esi
push esi
push esi
push esi
call fcn.004171c0
add esp, 0x14
push dword [edi*8 + 0x4330dc]
push ebx
push ebp
call fcn.0041c67c
add esp, 0xc
test eax, eax
je 0x41a5ed
push esi
jmp 0x495010
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0041c4bf
add esp, 0xc
jmp 0x41a635
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x41a635
cmp ebp, 0xffffffff
je 0x41a635
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4330dc]
push dword [esi]
call fcn.00418680
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x41c4bf
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004194d8
xor ebx, ebx
cmp dword [0x43494c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x41c595
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x41c675
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x41c675
push eax
call fcn.0041946a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43494c], eax
call esi
push eax
call fcn.0041946a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x434950], eax
call esi
push eax
call fcn.0041946a
mov dword [0x434954], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00418034
test eax, eax
pop ecx
pop ecx
je 0x41c563
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004171c0
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x41c595
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041946a
cmp eax, ebx
pop ecx
mov dword [0x43495c], eax
je 0x41c595
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041946a
pop ecx
mov dword [0x434958], eax
mov eax, dword [0x434958]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x41c61a
cmp dword [0x43495c], ecx
je 0x41c61a
push eax
call fcn.004194e1
push dword [0x43495c]
mov esi, eax
call fcn.004194e1
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x41c61a
cmp edi, ebx
je 0x41c61a
call esi
cmp eax, ebx
je 0x41c5e7
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41c5e7
test byte [ebp - 0x18], 1
jne 0x41c61a
lea eax, [ebp - 0x10]
push eax
call fcn.0041806b
test eax, eax
pop ecx
je 0x41c602
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004171c0
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x41c611
or dword [ebp + 0x10], 0x200000
jmp 0x41c655
or dword [ebp + 0x10], 0x40000
jmp 0x41c655
mov eax, dword [0x434950]
cmp eax, dword [ebp - 8]
je 0x41c655
push eax
call fcn.004194e1
cmp eax, ebx
pop ecx
je 0x41c655
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41c655
mov eax, dword [0x434954]
cmp eax, dword [ebp - 8]
je 0x41c655
push eax
call fcn.004194e1
cmp eax, ebx
pop ecx
je 0x41c655
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43494c]
call fcn.004194e1
cmp eax, ebx
pop ecx
je 0x41c675
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41c677
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x418ae9
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x433768
call fcn.004192f0
push 1
call fcn.00418b8d
pop ecx
test al, al
je 0x418ad3
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00418b5b
mov byte [ebp - 0x24], al
mov eax, dword [0x4347f0]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x418ad3
test eax, eax
jne 0x4189f7
mov dword [0x4347f0], ecx
push 0x401038
push 0x40101c
call fcn.0042651e
pop ecx
pop ecx
test eax, eax
je 0x4189da
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x418ac3
push 0x401018
push section..text
call fcn.004264c2
pop ecx
pop ecx
mov dword [0x4347f0], 2
jmp 0x4189fc
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00418ce1
pop ecx
call fcn.00419082
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x418a2d
push esi
call fcn.00418c4d
pop ecx
test al, al
je 0x418a2d
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x436264]
call esi
call fcn.00419088
mov esi, eax
cmp dword [esi], edi
je 0x418a4b
push esi
call fcn.00418c4d
pop ecx
test al, al
je 0x418a4b
push dword [esi]
call fcn.004267c1
pop ecx
call fcn.004191a9
movzx esi, ax
call fcn.0042646f
push esi
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.004191df
test al, al
je 0x418ada
test bl, bl
jne 0x418a79
call fcn.0042679c
push edi
push 1
call fcn.00418cfe
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x418ac3
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.0041908e
push esi
call fcn.004267f9
push dword [ebp - 0x20]
call fcn.004267ab
int3
call fcn.004d2000
jmp 0x41896d
Function at 0x402142
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43a14c]
jne 0x40214c
repz ret
jmp fcn.00402c71

Function at 0x41069c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43a14c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405a1d
and dword [ebp - 0x14], 0
cmp dword [0x43cfc0], 0
mov dword [ebp - 0x18], eax
jne 0x41074f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4107f7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4107f7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43cfc0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43cfc4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43cfc8], eax
call edi
push eax
call esi
mov dword [0x43cfd0], eax
test eax, eax
je 0x41074f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43cfcc], eax
mov eax, dword [0x43cfcc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4107a8
cmp dword [0x43cfd0], ecx
je 0x4107a8
push eax
call esi
push dword [0x43cfd0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4107a8
test ebx, ebx
je 0x4107a8
call edi
test eax, eax
je 0x41079f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41079f
test byte [ebp - 8], 1
jne 0x4107a8
or dword [ebp + 0x10], 0x200000
jmp 0x4107db
mov eax, dword [0x43cfc4]
cmp eax, dword [ebp - 0x18]
je 0x4107db
push eax
call esi
test eax, eax
je 0x4107db
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4107db
mov eax, dword [0x43cfc8]
cmp eax, dword [ebp - 0x18]
je 0x4107db
push eax
call esi
test eax, eax
je 0x4107db
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43cfc0]
call esi
test eax, eax
je 0x4107f7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4107f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402142
leave
ret
Function at 0x42b5d0
Capabilities:
Get disk information
Get system information on windows
Manipulate console buffer
Write file on windows

Disassembly:
sub esp, 0x430
mov eax, dword [0x43a14c]
xor eax, esp
mov dword [esp + 0x42c], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push edi
mov ebx, 0x1519a5
mov edi, 0x8e46a7b8
jmp 0x42b600
cmp dword [0x4411dc], 0x3dc
mov dword [0x440e44], edi
jne 0x42b616
push 0
call esi
dec ebx
jne 0x42b600
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
xor esi, esi
lea ecx, [ecx]
cmp dword [0x4411dc], 0x933
jne 0x42b677
xor eax, eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x48]
push ecx
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call edi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
cmp esi, 0x845fef
jne 0x42b691
mov edx, dword [0x43bd40]
add edx, 0xa231
mov dword [0x4411dc], edx
cmp dword [0x4411dc], 0x141
jne 0x42b6cc
xor edx, edx
lea ecx, [esp + 0x34]
push ecx
push edx
xor eax, eax
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
call ebp
mov dword [0x43d4e8], 0xec58acac
mov dword [0x43d4ec], 0xffffffff
inc esi
cmp esi, 0x12d1832
jl 0x42b630
call fcn.0042b160
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00402142
add esp, 0x430
ret 0x10