joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43aea0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x43aed0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x43af0c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x43af0c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x43aff9
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x43af34
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x43af67
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.004e3cd5
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x25], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x43afc9
sub eax, 1
je 0x43afc9
sub eax, 2
jne 0x43aff9
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.004e3cd5
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x43afe9
lfence
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004e49e8
add esp, 0x10
cmp edi, eax
jne 0x43aff9
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x43aef7
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a44cd
mov esp, ebp
pop ebp
ret 4
Function at 0x43be20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x43bedf
cmp byte [esi + 0x3d], 0
je 0x43bedf
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x43becd
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x43be92
sub eax, 1
je 0x43be96
sub eax, 2
jne 0x43becd
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x43beb6
lfence
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004e49e8
add esp, 0x10
cmp edi, eax
jne 0x43becd
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.004a44cd
mov esp, ebp
pop ebp
ret

Function at 0x43d890
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502040
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x54c154]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004a4626
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0048fe24
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447a40
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0
mov esi, ecx
mov dword [ebp - 8], 0
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], esi
push ecx
mov eax, edx
mov dword [ebp - 0xc], esi
push 0
push 1
mov dword [ebp - 0x10], eax
push dword [eax + 4]
push dword [eax]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
jne 0x447aa8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov eax, esi
mov dword [esi + 4], 0x54dd80
mov byte [esi + 0xc], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 8]
test edi, edi
jne 0x447ab6
mov dword [esi], edi
mov dword [esi + 4], edi
jmp 0x447b2f
push edi
call fcn.004a4905
add esp, 4
mov ebx, eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ebx
push 0
push 0
push eax
mov eax, dword [ebp - 0x10]
push ebx
push 1
push dword [eax + 4]
push dword [eax]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
jne 0x447b10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov dword [esi + 4], 0x54dd80
push ebx
mov byte [esi + 0xc], 1
call fcn.004a450c
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 8], edi
je 0x447b27
push ebx
mov dword [ebp - 0xc], 0
xor edi, edi
call fcn.004a450c
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
mov dword [esi + 4], edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
mov byte [esi + 0xc], 0
xor ecx, ebp
pop esi
pop ebx
call fcn.004a44cd
mov esp, ebp
pop ebp
ret
Function at 0x451430
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50394b
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x54c154]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.00476860
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebx], vtable.oobe_set_password_view.0
mov dword [ebx + 0x14], vtable.oobe_set_password_view.1.0
mov dword [ebx + 0x460], eax
mov dword [ebx + 0x464], 0
lea ecx, [ebx + 0x468]
mov byte [ebp - 4], 1
call fcn.0041b8b0
mov byte [ebp - 4], 2
lea edi, [ebx + 0x49c]
mov dword [ebp + 8], edi
lea esi, [edi + 0xc]
mov eax, dword [0x5575f8]
mov dword [edi], vtable.sciter::behavior_factory.0
mov dword [edi + 8], str.drag_window
mov dword [edi + 4], eax
mov dword [ebp + 8], esi
mov dword [0x5575f8], edi
mov dword [esi], 0
mov dword [esi + 4], 0
push 0xc
lfence
call fcn.004a4626
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi], eax
mov dword [edi], vtable.sciter::drag_window_factory.0
lea esi, [ebx + 0x4b0]
xor eax, eax
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [esi + 0x18], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 7
mov word [esi + 0x18], ax
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 6
call fcn.0041eb70
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebx + 0x24], 0x800a0008
mov dword [ebx + 0x28], 0
mov dword [ebp + 8], esp
call fcn.004191e0
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
call fcn.00419030
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 7
call fcn.00419a40
add esp, 0x30
mov ecx, esi
push eax
call fcn.0041c6f0
lea ecx, [ebp - 0x34]
call fcn.00418320
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x451590
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x50]
call fcn.004161c0
lea ecx, [ebp - 0x68]
call fcn.004161c0
mov eax, dword [ebx + 0x4e0]
lea ecx, [ebx + 0x47c]
mov dword [0x557a28], eax
mov dword [0x557a20], eax
lea eax, [ebx + 0x4e4]
push eax
call fcn.0041eab0
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 4
Function at 0x451960
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503a2f
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
mov dword [esi + 4], vtable.ios_vulnerability_risks_controller.0
mov dword [esi], vtable.os_vulnerability_risks_controller.0
mov dword [esi + 4], vtable.os_vulnerability_risks_controller.1.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
lea edi, [esi + 0x14]
xor eax, eax
mov dword [ebp - 0x1c], edi
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [edi + 0x18], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 7
mov word [edi + 0x18], ax
mov dword [edi + 0x30], eax
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 6
call fcn.0041eb70
mov byte [ebp - 4], 7
push str.89223539_4011_4E16_8CF4_ADEC5C2935B8
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x18]
push eax
push ecx
push str.GlobalA51773DA_DD05_49D9_91B4_8B1FC4E508A3
lea ecx, [ebp - 0x1c]
call fcn.00408e80
mov ecx, eax
add esp, 0xc
mov eax, dword [esi + 8]
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x451a4c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 8], 0
mov eax, dword [ecx]
mov dword [ecx], 0
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x451a65
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1c], esp
call fcn.004219d0
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
call fcn.00421810
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 7
call fcn.00419a40
add esp, 0x30
mov ecx, edi
push eax
call fcn.0041c6f0
lea ecx, [ebp - 0x44]
call fcn.00418320
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x451ab4
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x60]
call fcn.004161c0
lea ecx, [ebp - 0x78]
call fcn.004161c0
mov eax, esi
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.004a44cd
mov esp, ebp
pop ebp
ret
Function at 0x4520a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503b73
mov eax, dword fs:[0]
push eax
sub esp, 0x858
mov eax, dword [0x54c154]
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
push str.os_vulnerability_risks_controller::request_update
lea ecx, [ebp - 0x850]
call fcn.0040a3c0
mov dword [ebp - 4], 0
mov ecx, dword [edi + 8]
add ecx, 0x14
push 0
mov eax, dword [ecx]
call dword [eax + 0x10]
lea eax, [ebp - 0x854]
mov dword [ebp - 0x854], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x452125
cmp dword [ebp - 0x854], 0
je 0x452125
mov ecx, 1
jmp 0x452127
xor ecx, ecx
test ecx, ecx
mov dword [ebp - 0x854], ecx
mov edx, str.IDS_OS_RISKS_NOTIF_X86_URL
lea ecx, [ebp - 0x28]
mov eax, str.IDS_OS_RISKS_NOTIF_X64_URL
cmove eax, edx
lea edx, [edi + 0x10]
push eax
call fcn.0041ade0
add esp, 4
push 5
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, dword [edi + 8]
lea ecx, [ebp - 0x43c]
push str.os_vulnerability_risks_view::EndDialog
call fcn.0040a3c0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x14]
mov eax, dword [ecx]
push 0
push 0
push 0x10
mov byte [esi + 0x4b0], 1
mov dword [esi + 0x250], 0
call dword [eax + 0x14]
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 1
call fcn.0040a5f0
lea eax, [edi + 0x64]
push eax
lea ecx, [ebp - 0x85c]
call fcn.004518a0
mov edx, eax
lea ecx, [ebp - 0x864]
call fcn.00452490
add esp, 4
push 0
push 0x3b9aca00
push dword [eax + 4]
push dword [eax]
call fcn.004fc5d0
push edx
push eax
push 0x5297c4
call fcn.00452320
lea ecx, [ebp - 0x28]
call fcn.004161c0
lea ecx, [ebp - 0x850]
call fcn.0040a5f0
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.004a44cd
mov esp, ebp
pop ebp
ret
Function at 0x452640
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50026d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00477460
mov edx, dword [ebx + 0x4ac]
lea ecx, [ebp - 0x2c]
push str.IDS_PRODUCT_NAME
call fcn.0041ade0
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x4526c5
push eax
push 0xfffffffffffffff2
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_SetClassLongW]
mov esi, dword [ebx + 0x4ac]
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
mov ecx, dword [eax + 0x10]
jb 0x4526d9
mov eax, dword [eax]
cmp ecx, 3
jne 0x45275d
push ecx
push 0x522510
push eax
call fcn.004104a0
add esp, 0xc
test eax, eax
jne 0x45275d
mov esi, dword [ebx + 0x18]
mov dword [ebp - 0x30], eax
call fcn.004164c0
lea ecx, [ebp - 0x30]
push ecx
push esi
mov eax, dword [eax + 0x84]
call eax
mov edi, dword [ebp - 0x30]
call fcn.004164c0
push edi
mov eax, dword [eax + 0x7c]
call eax
xor esi, esi
test eax, eax
cmove esi, edi
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
call fcn.004164c0
push 0x522510
push 0x522fb8
push esi
mov eax, dword [eax + 0xb8]
call eax
mov byte [ebp - 4], 2
test esi, esi
je 0x452753
call fcn.004164c0
push esi
mov eax, dword [eax + 0x80]
call eax
mov byte [ebp - 4], 0
mov esi, dword [ebx + 0x4ac]
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x452768
mov esi, dword [esi]
cmp eax, 5
jne 0x4527f3
push eax
push 0x522fbc
push esi
call fcn.004104a0
add esp, 0xc
test eax, eax
jne 0x4527f3
mov eax, dword [ebx + 0x14]
lea ecx, [ebx + 0x14]
call dword [eax]
mov esi, eax
mov dword [ebp - 0x30], 0
call fcn.004164c0
mov ecx, dword [eax + 0x84]
lea eax, [ebp - 0x30]
push eax
push esi
call ecx
mov edi, dword [ebp - 0x30]
call fcn.004164c0
push edi
mov eax, dword [eax + 0x7c]
call eax
xor esi, esi
test eax, eax
cmove esi, edi
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x4527f3
call fcn.004164c0
push 0x522fc8
push str.lang
push esi
mov eax, dword [eax + 0xb8]
call eax
mov byte [ebp - 4], 4
call fcn.004164c0
push esi
mov eax, dword [eax + 0x80]
call eax
jmp 0x4527f3
lea ecx, [ebp - 0x2c]
call fcn.004161c0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret
Function at 0x452930
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
mov eax, dword [0x54c154]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x24]
xorps xmm0, xmm0
mov edx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x28]
lea esi, [esp + 0x10]
push esi
push eax
push 0
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0x1c]
movaps xmmword [esp + 0x1c], xmm0
push dword [ecx]
push 0
push 0
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, dword [esp + 0xc]
test eax, eax
jne 0x4529be
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
mov eax, esi
mov dword [edi + 4], 0x54dd80
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov dword [edi], 0
mov dword [edi + 4], 0x54dd00
mov dword [esi], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xc], eax
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret
Function at 0x452d10
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503c8c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], 0
mov dword [edi + 4], vtable.ipopup_progress_controller.0
mov dword [edi], vtable.popup_progress_controller.1.0
mov dword [edi + 4], vtable.popup_progress_controller.0
mov dword [edi + 8], 0
lea esi, [edi + 0xc]
mov dword [esi], 0
mov dword [edi + 0x10], 0
xor ecx, ecx
mov dword [edi + 0x14], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 7
mov word [edi + 0x14], cx
mov byte [ebp - 4], 5
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x30], ecx
lea ecx, [ebp - 0x2c]
call fcn.004536a0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
lea ecx, [edi + 0x14]
cmp ecx, eax
je 0x452dd4
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00415d70
push 8
call fcn.004a4626
xorps xmm0, xmm0
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x30]
add esp, 4
movq qword [eax], xmm0
mov dword [eax], vtable.popup_progress_controller::comm_observer.0
mov dword [eax + 4], edi
cmp esi, ecx
je 0x452e05
mov ecx, dword [esi]
mov dword [esi], eax
test ecx, ecx
je 0x452e10
push 8
push ecx
jmp 0x452e08
push 8
push eax
call fcn.004a44fe
add esp, 8
mov esi, dword [esi]
push 0x10
call fcn.004a4626
add esp, 4
mov dword [ebp - 0x30], eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
push 0
mov dword [eax], esi
lea esi, [eax + 4]
push 0
push 0
mov dword [esi], 0
push 0
movq qword [eax + 8], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ecx, [ebp - 0x34]
cmp esi, ecx
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x452e5b
mov edx, dword [esi]
mov dword [esi], eax
test edx, edx
je 0x452e68
push edx
jmp 0x452e60
test eax, eax
je 0x452e68
push eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x34]
lea edx, [edi + 8]
cmp edx, eax
je 0x452ec0
mov esi, dword [edx]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
test esi, esi
je 0x452e98
cmp dword [esi + 0xc], 0
jne 0x452ec9
mov eax, dword [esi + 4]
test eax, eax
je 0x452e8d
push eax
call ecx
push 0x10
push esi
call fcn.004a44fe
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.004161c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [ebp - 0x30]
cmp dword [esi + 0xc], 0
je 0x452e83
call fcn.004dee57
int3
Function at 0x4536a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503dfd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x453815
mov ebx, dword [ebp - 0x14]
cmp ebx, 1
jle 0x45380c
mov edi, 2
cmp ebx, edi
jle 0x45376e
jmp 0x453728
mov eax, dword [ebp - 0x18]
push 9
push 0x529d10
push dword [eax + edi*4]
call fcn.004df080
add esp, 0xc
test eax, eax
jne 0x453769
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + edi*4]
add edx, 0x12
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0x1c], ecx
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x453750
sub eax, dword [ebp - 0x1c]
mov ecx, esi
sar eax, 1
push eax
push edx
call fcn.00415d70
inc edi
cmp edi, ebx
jl 0x453725
mov ecx, dword [esi + 0x10]
cmp ecx, 2
jb 0x45380c
mov eax, dword [esi + 0x14]
mov edx, esi
cmp eax, 8
jb 0x453786
mov edx, dword [esi]
cmp word [edx], 0x22
jne 0x45380c
mov edx, esi
cmp eax, 8
jb 0x453799
mov edx, dword [esi]
cmp word [edx + ecx*2 - 2], 0x22
jne 0x45380c
mov edx, esi
cmp eax, 8
jb 0x4537aa
mov edx, dword [esi]
lea eax, [ecx - 1]
mov dword [esi + 0x10], eax
lea eax, [eax*2 + 2]
push eax
lea eax, [edx + 2]
push eax
push edx
call fcn.004d7a30
mov eax, dword [esi + 0x10]
add esp, 0xc
lea ebx, [eax - 1]
cmp eax, ebx
jb 0x453833
lfence
mov edx, dword [esi + 0x10]
mov edi, 1
mov eax, edx
sub eax, ebx
cmp eax, edi
cmovb edi, eax
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4537ed
mov eax, dword [esi]
sub edx, edi
lea ecx, [eax + ebx*2]
mov dword [esi + 0x10], edx
sub edx, ebx
lea eax, [edx*2 + 2]
push eax
lea eax, [ecx + edi*2]
push eax
push ecx
call fcn.004d7a30
add esp, 0xc
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret
call fcn.004105c0
int3
Function at 0x453990
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503e3d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
call fcn.004a4626
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax], esi
mov dword [eax + 4], 0x453a40
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x459030
push 0
push 0
call fcn.004defef
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x453a24
cmp dword [esi + 0xc], 0
jne 0x453a32
mov eax, dword [ebp - 0x18]
mov dword [esi + 0xc], eax
mov al, 1
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x18], 0
call fcn.0048f7d4
call fcn.004dee57
int3