Function at 0x52a03c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x52a045
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x52a5bc
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040e034
xor edx, edx
mov dword [eax + 0x20], edx
mov byte [ebp - 0x1a], 0
mov eax, ebx
cmp eax, 5
ja case.default.0x52a083
jmp dword [eax*4 + 0x52a08a]
cmp dword [esi + 0x54], 0
je 0x52a0b3
lea eax, [esi + 0x50]
mov edx, dword [esi + 0x54]
call fcn.0040959c
lea eax, [esi + 0x48]
mov edx, dword [edi + 4]
call fcn.00409eac
cmp dword [esi + 0x48], 0
je 0x52a0f6
lea eax, [ebp - 0x2c]
mov edx, dword [edi + 0xc]
call fcn.00409eac
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x48]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x20]
mov edx, 1
call fcn.005280c0
mov edx, dword [ebp - 0x20]
lea eax, [esi + 0x48]
call fcn.0040959c
lea eax, [esi + 0x4c]
mov edx, dword [edi + 8]
call fcn.00409eac
cmp word [esi + 0x1a], 0
je 0x52a14a
lea eax, [ebp - 0x30]
mov edx, dword [edi + 8]
call fcn.00409eac
mov eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
mov edx, dword [edi + 0xc]
call fcn.00409eac
mov eax, dword [ebp - 0x34]
push eax
movzx eax, word [edi + 0x1e]
push eax
movzx eax, word [edi + 0x20]
push eax
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 0x38]
mov edx, dword [edi + 4]
call fcn.00409eac
mov ecx, dword [ebp - 0x38]
mov edx, esi
mov eax, dword [esi + 0x1c]
call dword [esi + 0x18]
cmp byte [ebp - 0x1a], 0
je 0x52a15c
mov dword [ebp - 0x10], 0xffffffff
jmp 0x52a584
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x52a584
lea eax, [ebp - 0x3c]
mov edx, dword [edi + 4]
call fcn.00409eac
mov edx, dword [ebp - 0x3c]
mov eax, dword [esi + 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x52a195
lea ecx, [ebp - 4]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x6c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
jmp 0x52a19d
lea eax, [ebp - 4]
call fcn.004091bc
cmp word [esi + 0x2a], 0
je 0x52a1e0
lea eax, [ebp - 0x40]
mov edx, dword [edi + 8]
call fcn.00409eac
mov eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
mov edx, dword [edi + 0xc]
call fcn.00409eac
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 0x48]
mov edx, dword [edi + 4]
call fcn.00409eac
mov ecx, dword [ebp - 0x48]
mov edx, esi
mov eax, dword [esi + 0x2c]
call dword [esi + 0x28]
cmp byte [ebp - 0x1a], 0
je 0x52a1f2
mov dword [ebp - 0x10], 0xffffffff
jmp 0x52a584
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x52a584
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x4c]
mov edx, dword [edi + 4]
call fcn.00409eac
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
lea ecx, [ebp - 4]
mov edx, 1
call fcn.005280c0
cmp word [esi + 0x22], 0
je 0x52a25f
mov eax, dword [edi]
push eax
movzx eax, word [edi + 0x18]
push eax
movzx eax, word [edi + 0x1a]
push eax
movzx eax, word [edi + 0x1c]
push eax
movzx eax, word [edi + 0x22]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 0x50]
mov edx, dword [edi + 4]
call fcn.00409eac
mov ecx, dword [ebp - 0x50]
mov edx, esi
mov eax, dword [esi + 0x24]
call dword [esi + 0x20]
cmp byte [ebp - 0x1a], 0
je 0x52a271
mov dword [ebp - 0x10], 0xffffffff
jmp 0x52a584
cmp dword [ebp - 4], 0
jne 0x52a281
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x52a584
call fcn.0052acc0
mov edx, dword [ebp - 4]
call fcn.00527b18
test al, al
jne 0x52a2e2
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.00422fe8
mov eax, dword [ebp - 0x54]
call fcn.00422aec
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00422980
test al, al
je 0x52a2e2
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00422bf0
test al, 1
je 0x52a2e2
test byte [esi + 0x10], 2
je 0x52a2d1
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x52a584
mov edx, 0xfffffffe
and edx, eax
mov cl, 1
mov eax, dword [ebp - 4]
call fcn.00422ca8
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00409c04
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00409ac8
mov ecx, 0x180
mov edx, 0x8121
call fcn.00528238
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x14], 0
je 0x52a329
call fcn.0040e034
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x20], edx
cmp dword [ebp - 0x10], 0xffffffff
je 0x52a584
lea eax, [ebp - 0x58]
mov edx, dword [edi + 4]
call fcn.00409eac
mov edx, dword [ebp - 0x58]
mov eax, dword [esi + 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x6c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
jmp 0x52a584
xor eax, eax
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
mov eax, dword [edi + 0x14]
call fcn.00528424
lea eax, [ebp - 0x5c]
mov edx, dword [edi + 4]
call fcn.00409eac
mov edx, dword [ebp - 0x5c]
mov eax, dword [esi + 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x52a3dc
lea ecx, [ebp - 4]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x6c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x6c]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00409c04
movzx eax, word [edi + 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00409ac8
movzx ecx, word [edi + 0x1a]
movzx edx, word [edi + 0x18]
call fcn.005286cc
jmp 0x52a3e4
lea eax, [ebp - 4]
call fcn.004091bc
mov eax, dword [edi]
and eax, 1
dec eax
sete byte [ebp - 0x19]
cmp word [esi + 0x32], 0
je 0x52a42b
movzx eax, word [edi + 0x18]
push eax
movzx eax, word [edi + 0x1a]
push eax
movzx eax, word [edi + 0x1c]
push eax
movzx eax, word [edi + 0x22]
push eax
lea eax, [ebp - 0x19]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 0x60]
mov edx, dword [edi + 4]
call fcn.00409eac
mov ecx, dword [ebp - 0x60]
mov edx, esi
mov eax, dword [esi + 0x34]
call dword [esi + 0x30]
cmp byte [ebp - 0x1a], 0
je 0x52a43d
mov dword [ebp - 0x10], 0xffffffff
jmp 0x52a584
cmp byte [ebp - 0x19], 0
je 0x52a46a
test byte [esi + 0x10], 1
je 0x52a46a
cmp dword [ebp - 4], 0
je 0x52a46a
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00409e74
push eax
push 0x52a5d0
push 0
call sub.shell32.dll_ShellExecuteW
mov dword [ebp - 0x10], 1
jmp 0x52a584
cmp word [esi + 0x3a], 0
je 0x52a4f5
lea eax, [ebp - 8]
mov edx, dword [edi + 0xc]
call fcn.00409eac
lea eax, [ebp - 0x64]
mov edx, dword [edi + 8]
call fcn.00409eac
mov eax, dword [ebp - 0x64]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [edi + 0x24]
push eax
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 0x68]
mov edx, dword [edi + 4]
call fcn.00409eac
mov ecx, dword [ebp - 0x68]
mov edx, esi
mov eax, dword [esi + 0x3c]
call dword [esi + 0x38]
cmp byte [ebp - 0x1a], 0
je 0x52a4c8
mov dword [ebp - 0x10], 0xffffffff
jmp 0x52a509
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 8]
call fcn.004294e4
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0xc]
mov ecx, 0
call fcn.00409c04
mov edx, dword [ebp - 0xc]
mov eax, dword [edi + 0xc]
call fcn.00423440
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x52a509
cmp dword [edi + 0x24], 0
jne 0x52a502
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x52a509
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x74]
mov edx, dword [edi + 0xc]
call fcn.00409eac
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x78]
mov edx, dword [edi + 4]
call fcn.00409eac
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x70]
mov edx, 1
call fcn.005280c0
mov edx, dword [ebp - 0x70]
lea eax, [esi + 0x54]
call fcn.0040959c
mov byte [esi + 0x58], 1
jmp 0x52a584
xor eax, eax
mov dword [ebp - 0x10], eax
cmp word [esi + 0x42], 0
je 0x52a584
push edi
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
mov edx, esi
mov eax, dword [esi + 0x44]
call dword [esi + 0x40]
jmp 0x52a584
xor eax, eax
mov dword [ebp - 0x10], eax
cmp word [esi + 0x42], 0
je 0x52a584
push edi
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
mov edx, esi
mov eax, dword [esi + 0x44]
call dword [esi + 0x40]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52a5c3
lea eax, [ebp - 0x78]
mov edx, 0x14
call fcn.0040921c
lea eax, [ebp - 0x20]
call fcn.004091bc
lea eax, [ebp - 0xc]
call fcn.004091e0
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040921c
ret