Function at 0x5a9640
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
push ebx
push esi
mov ebx, ecx
lea ecx, [ebp - 0x8c]
push edi
mov edi, edx
call fcn.004056a0
cmp dword [0x7484f8], 0
je 0x5a9683
cmp dword [0x7484fc], 7
lea ecx, [ebp - 0x8c]
mov eax, 0x7484e8
cmova eax, dword [0x7484e8]
push eax
call fcn.00405460
push str.resourcecompiler.exe
lea ecx, [ebp - 0x8c]
call fcn.00405500
push ecx
lea ecx, [ebp - 0x188]
call fcn.0040b970
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00430f50
cmp dword [eax + 0x14], 7
jbe 0x5a96b6
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x178]
call fcn.00429d80
mov edx, 0x71e884
mov ecx, eax
call fcn.0040e5e0
mov edx, ebx
mov ecx, eax
call fcn.00429d80
lea ecx, [ebp - 0x34]
call fcn.00413980
xorps xmm0, xmm0
mov dword [ebp - 0xd8], 0x44
lea eax, [ebp - 0x34]
movlpd qword [ebp - 0xd4], xmm0
push eax
lea ecx, [ebp - 0x188]
movlpd qword [ebp - 0xcc], xmm0
movups xmmword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0xc4], xmm0
movlpd qword [ebp - 0xbc], xmm0
movlpd qword [ebp - 0xb4], xmm0
movlpd qword [ebp - 0xac], xmm0
movlpd qword [ebp - 0xa4], xmm0
movlpd qword [ebp - 0x9c], xmm0
call fcn.0040b8b0
cmp dword [eax + 0x14], 7
jbe 0x5a9748
mov eax, dword [eax]
cmp dword [ebp - 0x78], 7
lea edx, [ebp - 0x5c]
push edx
lea edx, [ebp - 0xd8]
push edx
push 0
push 0
push 0x8000020
push 0
push 0
push 0
lea ecx, [ebp - 0x8c]
cmova ecx, dword [ebp - 0x8c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.00413980
test esi, esi
jne 0x5a9a69
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push esi
lea ecx, [ebp - 4]
push ecx
push 0x400
push eax
push esi
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov edx, dword [ebp - 4]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
movups xmmword [ebp - 0x1c], xmm0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5a97c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.004134e0
mov ecx, dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test ecx, ecx
je 0x5a9852
cmp dword [ebp - 8], 7
lea eax, [ebp - 0x1c]
push 0
cmova eax, dword [ebp - 0x1c]
push 0
push 0
push 0
push ecx
push eax
push 0
push 0xfde9
call esi
mov edi, eax
test edi, edi
jle 0x5a9852
push 0
push edi
lea ecx, [ebp - 0x34]
call fcn.00413bf0
cmp dword [ebp - 0x20], 0xf
lea ecx, [ebp - 0x34]
push 0
cmova ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 7
push 0
cmova eax, dword [ebp - 0x1c]
push edi
push ecx
push dword [ebp - 0xc]
push eax
push 0
push 0xfde9
call esi
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [ebp - 0x64], xmm0
jmp 0x5a986b
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov ecx, dword [ebp - 8]
cmp ecx, 7
jbe 0x5a98a5
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5a989b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9ab3
push ecx
push edx
call fcn.005ab85c
add esp, 8
mov ecx, ebx
mov dword [ebp - 0xc], 0
xorps xmm0, xmm0
mov dword [ebp - 8], 0
movups xmmword [ebp - 0x1c], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5a98c0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x1c]
call fcn.004134e0
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x5a994c
cmp dword [ebp - 8], 7
lea eax, [ebp - 0x1c]
push 0
cmova eax, dword [ebp - 0x1c]
push 0
push 0
push 0
push ecx
push eax
push 0
push 0xfde9
call esi
mov edi, eax
test edi, edi
jle 0x5a994c
push 0
push edi
lea ecx, [ebp - 0x34]
call fcn.00413bf0
cmp dword [ebp - 0x20], 0xf
lea ecx, [ebp - 0x34]
push 0
cmova ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 7
push 0
cmova eax, dword [ebp - 0x1c]
push edi
push ecx
push dword [ebp - 0xc]
push eax
push 0
push 0xfde9
call esi
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [ebp - 0x3c], xmm0
jmp 0x5a9965
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov ecx, dword [ebp - 8]
cmp ecx, 7
jbe 0x5a999f
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5a9995
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9ab8
push ecx
push edx
call fcn.005ab85c
add esp, 8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x38], 0xf
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x74]
cmova ecx, dword [ebp - 0x4c]
cmp dword [ebp - 0x60], 0xf
push ecx
cmova eax, dword [ebp - 0x74]
push eax
push str.CreateProcess_for_compiler_failed:__s___s__n
call fcn.00473960
mov ecx, dword [ebp - 0x38]
add esp, 0xc
cmp ecx, 0xf
jbe 0x5a9a01
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5a99f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9abd
push ecx
push edx
call fcn.005ab85c
add esp, 8
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp ecx, 0xf
jbe 0x5a9a47
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5a9a3d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9abd
push ecx
push edx
call fcn.005ab85c
add esp, 8
or esi, 0xffffffff
lea ecx, [ebp - 0x188]
call fcn.00405360
lea ecx, [ebp - 0x8c]
call fcn.00413980
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x5a9a7f
mov eax, dword [ebp - 0x5c]
push dword [ebp - 0x58]
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
jmp 0x5a9a4a
push 0xffffffffffffffff
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x5c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call esi
push dword [ebp - 0x58]
call esi
cmp edi, 1
jne 0x5a9a47
mov esi, dword [ebp - 4]
jmp 0x5a9a4a
call fcn.005c695f
call fcn.005c695f
call fcn.005c695f
int3