Function at 0x403230
Capabilities:
Accept command line arguments
Create process on windows
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x11510
call fcn.004169a0
mov eax, dword [0x431114]
xor eax, esp
mov dword [esp + 0x1150c], eax
mov eax, dword [esp + 0x11514]
push esi
mov esi, ecx
cmp word [esi + 0x28c004], 0
push edi
lea edi, [esi + 0x28c004]
mov dword [esp + 0x10], eax
je 0x4038e8
lea eax, [esi + 0x28c20c]
push eax
call fcn.00402ff0
mov dword [esp + 0x14], eax
test eax, eax
je 0x4038e8
mov ecx, dword [esi + 0x28c828]
push 0
push edi
call fcn.00412390
test al, al
je 0x4038e8
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x8ea]
push edx
mov word [esp + 0x8ec], cx
call fcn.00416560
lea eax, [esi + 0x28c414]
add esp, 0xc
cmp word [eax], 0
jne 0x4032d6
lea eax, [esp + 0x8e0]
push eax
mov ecx, esi
call fcn.00402f10
jmp 0x4032ef
lea edx, [esp + 0x8e0]
sub edx, eax
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4032e0
lea ecx, [esp + 0x8e0]
push ecx
push str.wszDirExtract___s__n
call fcn.0040e270
mov ecx, dword [esi + 0x28c828]
add esp, 8
push 0
lea edx, [esp + 0x8e4]
push edx
call fcn.00412450
test eax, eax
jne 0x403332
lea eax, [esp + 0x8e0]
push eax
push str.Failed_to_create___s__n
call fcn.0040e270
add esp, 8
cmp dword [esi + 0x28c000], 0
jne 0x403348
mov ecx, esi
call fcn.004024e0
mov dword [esi + 0x28c000], eax
push ebx
push ebp
lea eax, [esi + 0x28c20c]
push eax
lea ecx, [esp + 0x1314]
push str._sKmSFX.zip
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [esp + 0x131c]
push 0
push edx
call fcn.00408e80
mov ebp, eax
lea eax, [esp + 0x2bc]
push eax
push 0xffffffffffffffff
push ebp
call fcn.00406890
mov eax, dword [esp + 0x2c8]
add esp, 0x20
xor edi, edi
mov dword [esp + 0x14], eax
test eax, eax
jle 0x4034c1
lea ecx, [ecx]
lea ecx, [esp + 0x78]
push ecx
push edi
push ebp
call fcn.00406890
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x6f6]
push eax
mov word [esp + 0x6f8], dx
call fcn.00416560
add esp, 0x18
xor eax, eax
mov edi, edi
movzx ecx, word [esp + eax + 0x7c]
mov word [esp + eax + 0x6e0], cx
add eax, 2
test cx, cx
jne 0x4033d0
lea ecx, [esp + 0x6e0]
push ecx
lea edx, [esp + 0x8ec]
push edx
lea eax, [esp + 0xf08]
push 0x42753c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [esp + 0xf10]
push ecx
push edi
push ebp
call fcn.00408f30
mov ebx, eax
push ebx
lea edx, [esp + 0xf20]
push edx
push str._____s____d__n
call fcn.0040e270
add esp, 0x28
test ebx, ebx
je 0x4034a3
lea eax, [esp + 0x6e0]
push eax
lea eax, [esi + 0x28c20c]
push eax
lea ecx, [esp + 0xd00]
push 0x42753c
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [esp + 0xd08]
push edx
push edi
push ebp
call fcn.00408f30
add esp, 0x1c
push 0
push 0
lea eax, [esp + 0xf08]
push eax
lea ecx, [esp + 0xd04]
push ecx
mov ecx, dword [esi + 0x28c828]
call fcn.004135e0
mov ecx, dword [esi + 0x28c828]
lea edx, [esp + 0xcf8]
push edx
call fcn.004128c0
lea eax, [esp + 0xf00]
push eax
jmp 0x4034ab
lea ecx, [esp + 0xf00]
push ecx
push 0
push 2
mov ecx, esi
call fcn.004023d0
inc edi
cmp edi, dword [esp + 0x14]
jl 0x4033a0
push ebp
call fcn.00408f70
add esp, 4
xor edx, edx
xor ecx, ecx
push ecx
mov word [esp + 0x151c], dx
lea edx, [esp + 0x4dc]
push edx
push str.LaunchEXE
xor eax, eax
mov word [esp + 0x1114], cx
mov ecx, dword [esi + 0x28c824]
xor bl, bl
push str.Runtime
mov byte [esp + 0x23], bl
mov word [esp + 0xb00], ax
call fcn.00410a30
test al, al
je 0x403526
lea eax, [esp + 0x4d8]
push eax
call fcn.0041674b
add esp, 4
test eax, eax
je 0x403526
mov bl, 1
push 0
lea ecx, [esp + 0x4dc]
push ecx
mov ecx, dword [esi + 0x28c824]
push str.WaitForEXE
push str.Runtime
call fcn.00410a30
test al, al
je 0x403562
lea edx, [esp + 0x4d8]
push edx
call fcn.0041674b
add esp, 4
test eax, eax
je 0x403562
mov byte [esp + 0x13], 1
test bl, bl
je 0x403888
mov ecx, dword [esi + 0x28c824]
push 0
lea eax, [esp + 0x4dc]
push eax
push str.Execute
push str.Runtime
call fcn.00410a30
test al, al
je 0x403658
lea eax, [esp + 0x4d8]
lea edx, [eax + 2]
jmp 0x4035a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4035a0
sub eax, edx
sar eax, 1
je 0x403658
lea ecx, [esp + 0x4d8]
push ecx
push str.Execute___s__n
call fcn.0040e270
add esp, 8
lea edx, [esp + 0x4d8]
push edx
mov ecx, esi
call fcn.00402aa0
xor eax, eax
jmp 0x4035e0
movzx ecx, word [esp + eax + 0x4d8]
mov word [esp + eax + 0xaf0], cx
add eax, 2
test cx, cx
jne 0x4035e0
push 0
lea eax, [esp + 0xcfc]
push eax
lea ecx, [esp + 0xaf8]
push ecx
mov ecx, dword [esi + 0x28c828]
call fcn.00412bb0
cmp word [esp + 0xcf8], 0
je 0x403643
lea edx, [esp + 0x8e8]
push edx
lea eax, [esp + 0xcfc]
push eax
lea ecx, [esp + 0xaf8]
push ecx
mov ecx, dword [esi + 0x28c828]
call fcn.00412790
lea edx, [esp + 0xaf0]
push edx
push str._After_replace__s__n
call fcn.0040e270
add esp, 8
mov ecx, dword [esi + 0x28c824]
push 0
lea eax, [esp + 0x4dc]
push eax
push str.CmdLine
push str.Runtime
call fcn.00410a30
test al, al
je 0x4036d8
lea eax, [esp + 0x4d8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403685
sub eax, edx
sar eax, 1
je 0x4036d8
lea ecx, [esp + 0x4d8]
push ecx
push str.CmdLine_____s__n
call fcn.0040e270
add esp, 8
lea edx, [esp + 0x4d8]
push edx
mov ecx, esi
call fcn.00402aa0
xor eax, eax
lea esp, [esp]
movzx ecx, word [esp + eax + 0x4d8]
mov word [esp + eax + 0x1108], cx
add eax, 2
test cx, cx
jne 0x4036c0
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [esp + 0x1108]
push eax
lea ecx, [esp + 0xaf4]
push ecx
lea edx, [esp + 0x1520]
push str.__s___s
push edx
call ebx
lea eax, [esp + 0x1528]
push eax
push str.wszCommand_____s__n
call fcn.0040e270
add esp, 0x18
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebp, eax
test ebp, ebp
je 0x403765
mov edi, 1
cmp dword [esp + 0x14], edi
jle 0x403765
mov edx, dword [ebp + edi*4]
push edx
push str.szArglist_i______s__n
call fcn.0040e270
mov eax, dword [ebp + edi*4]
push eax
lea ecx, [esp + 0x1524]
push ecx
mov edx, ecx
push str._s___s_
push edx
call ebx
inc edi
add esp, 0x18
cmp edi, dword [esp + 0x14]
jl 0x403735
push ebp
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
push 0x44
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x3c]
push eax
call fcn.00416560
lea edx, [esp + 0x1524]
push edx
lea eax, [esp + 0xb00]
push eax
mov ecx, 1
push str.tszExecute_____s___wszCommand_____s__n
mov dword [esp + 0x4c], 0x44
mov dword [esp + 0x78], 1
mov dword [esp + 0x54], str.winsta0default
mov word [esp + 0x7c], cx
call fcn.0040e270
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x702]
push edx
mov word [esp + 0x704], cx
call fcn.00416560
add esp, 0x24
push 0
lea eax, [esp + 0x6e4]
push eax
lea ecx, [esp + 0xaf8]
push ecx
mov ecx, dword [esi + 0x28c828]
call fcn.00412bb0
lea edx, [esp + 0x6e0]
push edx
push str.wszPath_____s__n
call fcn.0040e270
add esp, 8
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x6e8]
push edx
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x1538]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40386a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failure____ld_n
call fcn.0040e270
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40388e
cmp byte [esp + 0x13], 0
je 0x40387b
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov dword [edx], ecx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40388e
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [esi + 0x28c828]
lea eax, [esi + 0x28c004]
push eax
call fcn.004128c0
mov ebp, dword [esp + 0x1c]
xor eax, eax
test ebp, ebp
jle 0x4038e6
lea ebx, [ebx]
lea edi, [eax + 1]
push edi
lea eax, [esi + 0x28c20c]
push eax
lea eax, [esp + 0x4e0]
push str._sKmSFX.zip
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x4d8]
push ecx
mov ecx, dword [esi + 0x28c828]
call fcn.004128c0
mov eax, edi
cmp eax, ebp
jl 0x4038b0
pop ebp
pop ebx
mov ecx, dword [esp + 0x11514]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.004164fa
add esp, 0x11510
ret 4