Function at 0x403590
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cc0d0
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x4f87d8]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 1
mov byte [esp + 0x60], bl
lea eax, [esp + 0x114]
push eax
lea esi, [esp + 0x58]
mov dword [esp + 0x15c], ebx
call fcn.0040da70
mov byte [esp + 0x158], 1
cmp dword [esp + 0x128], ebx
jne 0x40362b
lea ecx, [edi + 0x26c]
push ecx
lea ecx, [esp + 0x1b]
call fcn.004040c0
lea ebp, [ebx + 7]
lea esi, [ebx + 8]
jmp 0x4038fb
push 0x40
lea edx, [esp + 0xb4]
push ebx
push edx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call fcn.004b1550
mov ebp, 7
add esp, 0xc
mov dword [esp + 0xac], 0x44
mov dword [esp + 0x110], ebp
mov dword [esp + 0x10c], ebx
mov word [esp + 0xfc], bx
mov byte [esp + 0x158], 2
mov eax, dword [edi + 0x380]
cmp eax, ebx
je 0x4037e1
mov dword [esp + 0x148], ebp
mov dword [esp + 0x144], ebx
mov word [esp + 0x134], bx
push eax
lea eax, [esp + 0x134]
push str.__download_app_d
push eax
mov byte [esp + 0x164], 3
call fcn.0041a480
lea ecx, [esp + 0x120]
add esp, 0xc
push ecx
mov edx, 0x4d4218
lea edi, [esp + 0x94]
call fcn.00405d70
add esp, 4
push 0x4d421c
push eax
lea esi, [esp + 0x40]
mov byte [esp + 0x160], 4
call fcn.00405e20
push 0x4d4218
push eax
lea esi, [esp + 0x2c]
mov byte [esp + 0x168], 5
call fcn.00405e20
lea edx, [esp + 0x140]
push edx
push eax
lea edi, [esp + 0x8c]
mov byte [esp + 0x170], 6
call fcn.00405ee0
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea eax, [esp + 0x104]
mov byte [esp + 0x164], 7
call fcn.00405240
mov esi, 8
cmp dword [esp + 0x8c], esi
jb 0x40375b
mov eax, dword [esp + 0x78]
push eax
call fcn.004a85e6
add esp, 4
cmp dword [esp + 0x34], esi
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
jb 0x403781
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004a85e6
add esp, 4
cmp dword [esp + 0x50], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
jb 0x4037a1
mov edx, dword [esp + 0x3c]
push edx
call fcn.004a85e6
add esp, 4
cmp dword [esp + 0xa8], esi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jb 0x4037c7
mov eax, dword [esp + 0x94]
push eax
call fcn.004a85e6
add esp, 4
cmp dword [esp + 0x148], esi
jb 0x4038a4
mov ecx, dword [esp + 0x134]
push ecx
jmp 0x40389c
lea edx, [esp + 0x114]
push edx
mov edx, 0x4d4218
lea edi, [esp + 0x94]
call fcn.00405d70
add esp, 4
push 0x4d421c
push eax
lea esi, [esp + 0x24]
mov byte [esp + 0x160], 8
call fcn.00405e20
push 0x4d4218
push eax
lea esi, [esp + 0x48]
mov byte [esp + 0x168], 9
call fcn.00405e20
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea eax, [esp + 0x104]
mov byte [esp + 0x164], 0xa
call fcn.00405240
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x40385e
mov eax, dword [esp + 0x3c]
push eax
call fcn.004a85e6
add esp, 4
cmp dword [esp + 0x34], esi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jb 0x40387e
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004a85e6
add esp, 4
cmp dword [esp + 0xa8], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
jb 0x4038a4
mov edx, dword [esp + 0x94]
push edx
call fcn.004a85e6
add esp, 4
cmp dword [esp + 0x110], esi
mov eax, dword [esp + 0xfc]
jae 0x4038bb
lea eax, [esp + 0xfc]
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0xb0]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov byte [esp + 0x158], 1
cmp dword [esp + 0x110], esi
jb 0x4038f7
mov eax, dword [esp + 0xfc]
push eax
call fcn.004a85e6
add esp, 4
mov edi, dword [esp + 0x18]
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov ecx, dword [edi + 4]
push ebx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esp + 0x12c], esi
jb 0x403928
mov edx, dword [esp + 0x118]
push edx
call fcn.004a85e6
add esp, 4
mov eax, dword [esp + 0x54]
cmp eax, ebx
mov dword [esp + 0x12c], ebp
mov dword [esp + 0x128], ebx
mov word [esp + 0x118], bx
je 0x40394d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.004a85d7
add esp, 0x148
ret