Function at 0x59cd08
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb6
push 0
push 0
dec ecx
jne 0x59cd10
push esi
push edi
xor eax, eax
push ebp
push 0x59d216
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.005a92d0
mov eax, dword [0x5bc390]
mov eax, dword [eax]
call fcn.004eb784
cmp byte [0x5bb7bd], 0
je 0x59cd46
call fcn.005a9fd8
push ebp
call fcn.0059bff8
pop ecx
mov eax, dword [0x5bbd1c]
cmp dword [eax], 0
je 0x59cf13
mov eax, dword [0x5bbd1c]
cmp dword [eax], 0x1b
je 0x59cf13
lea edx, [ebp - 0x470]
mov eax, dword [0x5bbd1c]
mov eax, dword [eax]
call fcn.004224e4
mov edx, dword [ebp - 0x470]
lea eax, [ebp - 0x46c]
mov ecx, 0xff
call fcn.0040a390
lea edx, [ebp - 0x46c]
lea eax, [ebp - 0x36c]
mov ecx, 0
call fcn.00409d38
mov ecx, dword [ebp - 0x36c]
lea eax, [ebp - 0x368]
mov edx, 0x59d230
call fcn.00409de0
mov edx, dword [ebp - 0x368]
lea eax, [ebp - 0x35c]
mov ecx, 0xff
call fcn.00409d64
mov eax, dword [0x5bbd1c]
mov eax, dword [eax]
add eax, 0xffffff9e
cmp eax, 5
ja case.default.0x59cde6
jmp dword [eax*4 + 0x59cded]
mov esi, 0x59d248
lea edi, [ebp - 0x35c]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp case.default.0x59cde6
mov esi, 0x59d28c
lea edi, [ebp - 0x35c]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
jmp case.default.0x59cde6
mov esi, 0x59d2b8
lea edi, [ebp - 0x35c]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp case.default.0x59cde6
lea eax, [ebp - 0x35c]
mov edx, 0x5bb6af
call fcn.00409b8c
jmp case.default.0x59cde6
mov esi, 0x59d2dc
lea edi, [ebp - 0x35c]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp case.default.0x59cde6
mov esi, 0x59d308
lea edi, [ebp - 0x35c]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x5bbd1c]
cmp dword [eax], 0x63
jne 0x59ced6
lea eax, [ebp - 0x478]
lea edx, [ebp - 0x35c]
mov ecx, 0
call fcn.00409d38
push dword [ebp - 0x478]
push 0x59d348
push 0x59d358
lea eax, [ebp - 0x474]
mov edx, 3
call fcn.00409e64
mov edx, dword [ebp - 0x474]
lea eax, [ebp - 0x35c]
mov ecx, 0xff
call fcn.00409d64
mov eax, 0x59d37c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x47c]
lea edx, [ebp - 0x35c]
call fcn.0040a3fc
mov edx, dword [ebp - 0x47c]
mov eax, dword [ebp - 8]
call fcn.00423418
push 0x10
push 0x59d380
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetActiveWindow
push eax
call sub.user32.dll_MessageBoxW
call fcn.0059aa4c
cmp dword [0x5bb8dc], 0
jle 0x59d026
mov eax, dword [0x5bb8dc]
test eax, eax
jle 0x59d026
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 1
push 0x59d3c0
lea edx, [ebp - 0x484]
mov eax, dword [ebp - 4]
call fcn.004224e4
push dword [ebp - 0x484]
push 0x59d3dc
lea eax, [ebp - 0x480]
mov edx, 3
call fcn.0040a568
mov edx, dword [ebp - 0x480]
lea eax, [ebp - 0x25c]
call fcn.00405098
lea eax, [ebp - 0x25c]
call fcn.00405290
push 0x59d3c0
lea edx, [ebp - 0x48c]
mov eax, dword [ebp - 4]
call fcn.004224e4
push dword [ebp - 0x48c]
push 0x59d3f4
lea eax, [ebp - 0x488]
mov edx, 3
call fcn.0040a568
mov edx, dword [ebp - 0x488]
lea eax, [ebp - 0x25c]
call fcn.00405098
lea eax, [ebp - 0x25c]
call fcn.00405290
push 0x59d40c
lea edx, [ebp - 0x494]
mov eax, dword [ebp - 4]
call fcn.004224e4
push dword [ebp - 0x494]
push 0x59d3dc
lea eax, [ebp - 0x490]
mov edx, 3
call fcn.0040a568
mov edx, dword [ebp - 0x490]
lea eax, [ebp - 0x25c]
call fcn.00405098
lea eax, [ebp - 0x25c]
call fcn.00405290
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x59cf3c
mov eax, dword [0x5bbdc4]
mov edx, dword [0x5d96b4]
mov dword [eax], edx
call fcn.0040495c
cmp eax, 3
jle 0x59d064
lea edx, [ebp - 0x498]
mov eax, 4
call fcn.004049bc
mov eax, dword [ebp - 0x498]
mov edx, 0x59d428
call fcn.0040a618
jne 0x59d064
call fcn.004091f8
cmp byte [0x5bbd0b], 0
je 0x59d077
call fcn.004091f8
jmp 0x59d19c
lea edx, [ebp - 0x49c]
mov eax, 4
call fcn.004049bc
mov eax, dword [ebp - 0x49c]
mov edx, 0x59d428
call fcn.0040a618
jne 0x59d0a3
call fcn.004091f8
jmp 0x59d197
push 0x59d438
lea edx, [ebp - 0x4a8]
mov eax, 2
call fcn.004049bc
mov edx, dword [ebp - 0x4a8]
lea eax, [ebp - 0x46c]
mov ecx, 0xff
call fcn.0040a390
lea edx, [ebp - 0x46c]
lea eax, [ebp - 0x4a4]
mov ecx, 0
call fcn.00409d38
push dword [ebp - 0x4a4]
push 0x59d458
lea edx, [ebp - 0x5b0]
mov eax, 4
call fcn.004049bc
lea eax, [ebp - 0x5b0]
mov edx, 0x59d468
call fcn.0040a488
mov edx, dword [ebp - 0x5b0]
lea eax, [ebp - 0x5ac]
mov ecx, 0xff
call fcn.0040a390
lea edx, [ebp - 0x5ac]
lea eax, [ebp - 0x4ac]
mov ecx, 0
call fcn.00409d38
push dword [ebp - 0x4ac]
lea eax, [ebp - 0x4a0]
mov edx, 4
call fcn.00409e64
mov edx, dword [ebp - 0x4a0]
lea eax, [ebp - 0x35c]
mov ecx, 0xff
call fcn.00409d64
mov eax, 0x190
call fcn.0052a8d4
mov eax, dword [0x5bc390]
mov eax, dword [eax]
call fcn.004eb784
push 1
lea eax, [ebp - 0x35b]
push eax
call sub.kernel32.dll_WinExec
call fcn.0052a9d8
cmp eax, 0x1f4
jne 0x59d18b
call fcn.004091f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59d21d
lea eax, [ebp - 0x5b0]
call fcn.004094c8
lea eax, [ebp - 0x4ac]
call fcn.004094ec
lea eax, [ebp - 0x4a8]
call fcn.004094c8
lea eax, [ebp - 0x4a4]
mov edx, 2
call fcn.00409558
lea eax, [ebp - 0x49c]
mov edx, 9
call fcn.00409528
lea eax, [ebp - 0x478]
mov edx, 2
call fcn.00409558
lea eax, [ebp - 0x470]
call fcn.004094c8
lea eax, [ebp - 0x36c]
mov edx, 2
call fcn.00409558
ret