Function at 0x41d7a8
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x80
lea ebp, [esp - 4]
mov eax, dword [0x47cbc0]
xor eax, ebp
mov dword [ebp + 0x80], eax
push 0x1e0
mov eax, 0x45d39c
call fcn.004400cd
xor ebx, ebx
mov dword [ebp - 4], ebx
push 7
pop esi
push ebx
lea ecx, [ebp + 0x64]
mov dword [ebp + 0x7c], esi
call fcn.0040171f
push ebx
lea ecx, [ebp]
mov dword [ebp + 0x18], esi
call fcn.0040171f
push dword [0x462734]
mov esi, 0x47e098
push esi
mov byte [ebp - 4], 3
call fcn.00401926
mov ecx, eax
call fcn.0041c2d6
xor edi, edi
inc edi
test al, al
je 0x41d85f
push str.RsrcMgr::runSfx:
lea ecx, [ebp - 0x18c]
call fcn.0041ee2f
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0041f062
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 5
call fcn.00401480
push ebx
push edi
lea ecx, [ebp - 0x74]
call fcn.00401537
push ebx
push edi
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 3
call fcn.00401537
push edi
push dword [0x462734]
lea eax, [ebp]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.0040138d
push esi
mov byte [ebp - 4], 6
call fcn.00401926
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 3
call fcn.0041c3c6
push 0x44
pop ecx
mov byte [ebp - 4], 7
mov edx, ecx
lea eax, [ebp - 0x1ec]
mov byte [eax], bl
inc eax
dec edx
jne 0x41d89d
push 0x10
mov dword [ebp - 0x1ec], ecx
pop ecx
lea eax, [ebp - 0x20]
mov byte [eax], bl
inc eax
dec ecx
jne 0x41d8af
mov eax, dword [ebp + 0xbc]
dec eax
push eax
lea ecx, [ebp + 0xa8]
call fcn.0041cb49
cmp word [eax], 0x5c
je 0x41d8de
push 0x462a20
lea ecx, [ebp + 0xa8]
call fcn.004013bd
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0xa8]
push eax
lea ecx, [ebp + 0x64]
call fcn.00401582
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x8c]
push eax
lea ecx, [ebp + 0x64]
call fcn.00401582
cmp dword [ebp + 0xc0], 8
mov ecx, dword [ebp + 0xac]
jae 0x41d917
lea ecx, [ebp + 0xac]
cmp dword [ebp + 0x7c], 8
mov eax, dword [ebp + 0x68]
jae 0x41d923
lea eax, [ebp + 0x68]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x1ec]
push edx
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
jne 0x41da0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp byte [ebp + 0x58], bl
je 0x41d9a8
push str.Error:_Unable_to_create_SFX_process:_err
lea ecx, [ebp - 0x100]
call fcn.0041ee2f
lea ecx, [ebp - 0xc8]
push ecx
push esi
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0041f00e
mov ecx, eax
call fcn.0041f062
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 9
call fcn.0041c485
push ebx
push edi
lea ecx, [ebp - 0xc8]
call fcn.00401537
lea ecx, [ebp - 0x100]
push ebx
push edi
call fcn.00401537
push 5
pop esi
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 3
call fcn.0041b10c
push ebx
push edi
lea ecx, [ebp]
call fcn.00401537
push ebx
push edi
lea ecx, [ebp + 0x64]
call fcn.00401537
push ebx
push edi
lea ecx, [ebp + 0x8c]
call fcn.00401537
push ebx
push edi
lea ecx, [ebp + 0xa8]
call fcn.00401537
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 + 0x80]
xor ecx, ebp
call fcn.0043f432
add ebp, 0x84
leave
ret 0x38
push 0x15f90
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
je 0x41dada
cmp eax, 0x102
jne 0x41da84
cmp byte [ebp + 0x58], bl
je 0x41da7d
push str.Error:_Timeout_reached_while_waiting_for_SFX_process_to_complete.
lea ecx, [ebp - 0x138]
call fcn.0041ee2f
lea ecx, [ebp - 0xe4]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0041f062
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0xb
call fcn.0041c485
push ebx
push edi
lea ecx, [ebp - 0xe4]
call fcn.00401537
push ebx
push edi
lea ecx, [ebp - 0x138]
call fcn.00401537
push 6
jmp 0x41d9aa
cmp byte [ebp + 0x58], bl
je 0x41d9a8
push str.Error:_Error_occurred_while_waiting_for_SFX_process_to_complete.
lea ecx, [ebp - 0x1a8]
call fcn.0041ee2f
lea ecx, [ebp - 0x90]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.0041f062
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0xd
call fcn.0041c485
push ebx
push edi
lea ecx, [ebp - 0x90]
call fcn.00401537
lea ecx, [ebp - 0x1a8]
jmp 0x41d9a1
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41db4e
call esi
mov dword [ebp - 0x10], eax
cmp eax, 0x12
je 0x41db4e
cmp byte [ebp + 0x58], bl
je 0x41d9a8
push str.Error:_Unable_to_close_SFX_process_handle:_err
lea ecx, [ebp - 0x170]
call fcn.0041ee2f
lea ecx, [ebp - 0x58]
push ecx
push dword [ebp - 0x10]
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.0041f00e
mov ecx, eax
call fcn.0041f062
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0xf
call fcn.0041c485
push ebx
push edi
lea ecx, [ebp - 0x58]
call fcn.00401537
lea ecx, [ebp - 0x170]
jmp 0x41d9a1
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x41dbb9
call esi
mov esi, eax
cmp esi, 0x12
je 0x41dbb9
cmp byte [ebp + 0x58], bl
je 0x41d9a8
push str.Error:_Unable_to_close_SFX_thread_handle:_err
lea ecx, [ebp - 0x11c]
call fcn.0041ee2f
lea ecx, [ebp - 0x3c]
push ecx
push esi
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.0041f00e
mov ecx, eax
call fcn.0041f062
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0x11
call fcn.0041c485
push ebx
push edi
lea ecx, [ebp - 0x3c]
call fcn.00401537
lea ecx, [ebp - 0x11c]
jmp 0x41d9a1
cmp byte [ebp + 0x58], bl
je 0x41dc0d
push str.SFX_execution_completed_successfully_
lea ecx, [ebp - 0x154]
call fcn.0041ee2f
lea ecx, [ebp - 0xac]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.0041f062
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0x13
call fcn.0041c485
push ebx
push edi
lea ecx, [ebp - 0xac]
call fcn.00401537
push ebx
push edi
lea ecx, [ebp - 0x154]
call fcn.00401537
xor esi, esi
jmp 0x41d9ab