Function at 0x4100a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5f304c
mov eax, dword fs:[0]
push eax
sub esp, 0x550
mov eax, dword [0x6656b0]
xor eax, esp
mov dword [esp + 0x548], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0x564]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x574]
lea eax, [esp + 0x6c]
push eax
mov esi, ecx
call fcn.004ac370
xor ebx, ebx
mov dword [esp + 0x56c], ebx
mov edi, 7
xor ecx, ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], cx
mov byte [esp + 0x56c], 1
xor edx, edx
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], dx
mov byte [esp + 0x56c], 2
xor eax, eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], ax
mov byte [esp + 0x56c], 3
cmp esi, ebx
je 0x410461
cmp cx, word [esi]
je 0x410461
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x410157
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [esp + 0x54]
call fcn.0040f730
mov eax, ebp
cmp ebp, ebx
jne 0x41017d
mov eax, 0x622024
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x410182
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x38]
call fcn.0040f730
lea edi, [esp + 0x6c]
call fcn.004ac880
mov eax, dword [esp + 0x54]
mov esi, 8
cmp dword [esp + 0x68], esi
jae 0x4101b7
lea eax, [esp + 0x54]
push ebx
push eax
call fcn.005b9cfa
add esp, 8
test eax, eax
jne 0x4102df
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x68], esi
jae 0x4101d7
lea eax, [esp + 0x54]
lea ecx, [esp + 0x6c]
call fcn.00411bc0
cmp dword [esp + 0x2b0], 0x2100
mov eax, dword [esp + 0x38]
jb 0x410316
mov dword [esp + 0x3d4], 2
cmp dword [esp + 0x4c], esi
jae 0x41020a
lea eax, [esp + 0x38]
mov edx, dword [esp + 0x57c]
mov edi, dword [esp + 0x578]
push edx
push edi
push eax
lea ecx, [esp + 0x78]
call fcn.004ae4f0
test al, al
jne 0x410414
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x68], esi
jae 0x41023a
lea eax, [esp + 0x54]
push ebx
push ebx
push eax
lea edx, [esp + 0x24]
xor ecx, ecx
call fcn.004bbe50
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp dword [esp + 0x30], esi
jae 0x410259
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x334]
push ecx
push eax
push 0x622370
push ebx
push 0x4000
mov edx, 0x622024
mov ecx, 0x66f3a8
call fcn.004112d0
mov eax, dword [esp + 0x4c]
add esp, 0x14
cmp dword [esp + 0x4c], esi
jae 0x41028d
lea eax, [esp + 0x38]
movzx edx, di
push edx
push ebx
push eax
lea eax, [esp + 0x78]
call fcn.0040dd40
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x410414
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x30], esi
jae 0x4102c0
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0x6223e0
push ebx
push 0x4000
mov edx, 0x622024
mov ecx, 0x66f3a8
call fcn.004112d0
add esp, 0x14
mov byte [esp + 0x56c], 2
lea esi, [esp + 0x34]
call fcn.0040f810
mov byte [esp + 0x56c], 1
lea esi, [esp + 0x50]
call fcn.0040f810
mov byte [esp + 0x56c], bl
lea esi, [esp + 0x18]
call fcn.0040f810
jmp 0x4104e3
mov dword [esp + 0x3d4], 1
cmp dword [esp + 0x4c], esi
jae 0x41032b
lea eax, [esp + 0x38]
mov edi, dword [esp + 0x57c]
mov ebp, dword [esp + 0x578]
push edi
push ebp
push eax
lea ecx, [esp + 0x78]
call fcn.004ae4f0
test al, al
jne 0x410414
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x68], esi
jae 0x41035b
lea eax, [esp + 0x54]
push ebx
push ebx
push eax
lea edx, [esp + 0x24]
xor ecx, ecx
call fcn.004bbe50
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp dword [esp + 0x30], esi
jae 0x41037a
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x334]
push ecx
push eax
push 0x622440
push ebx
push 0x4000
mov edx, 0x622024
mov ecx, 0x66f3a8
call fcn.004112d0
mov eax, dword [esp + 0x4c]
add esp, 0x14
mov dword [esp + 0x3d4], 2
cmp dword [esp + 0x4c], esi
jae 0x4103b9
lea eax, [esp + 0x38]
push edi
push ebp
push eax
lea ecx, [esp + 0x78]
call fcn.004ae4f0
test al, al
jne 0x410414
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], esi
jae 0x4103d7
lea eax, [esp + 0x1c]
mov edx, dword [esp + 0x334]
push edx
push eax
push 0x622370
push ebx
push 0x4000
mov edx, 0x622024
mov ecx, 0x66f3a8
call fcn.004112d0
mov eax, dword [esp + 0x4c]
add esp, 0x14
cmp dword [esp + 0x4c], esi
jae 0x41040b
lea eax, [esp + 0x38]
movzx ecx, bp
push ecx
jmp 0x410291
mov byte [esp + 0x56c], 2
lea esi, [esp + 0x34]
call fcn.0040f810
mov byte [esp + 0x56c], 1
lea esi, [esp + 0x50]
call fcn.0040f810
mov byte [esp + 0x56c], bl
lea esi, [esp + 0x18]
call fcn.0040f810
mov dword [esp + 0x56c], 0xffffffff
lea ecx, [esp + 0x6c]
call fcn.004ac5f0
mov al, 1
jmp 0x4104f9
mov byte [esp + 0x56c], 2
mov esi, 8
cmp dword [esp + 0x4c], esi
jb 0x410481
mov edx, dword [esp + 0x38]
push edx
call fcn.004c4802
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], ax
mov byte [esp + 0x56c], 1
cmp dword [esp + 0x68], esi
jb 0x4104ab
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004c4802
add esp, 4
xor edx, edx
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], dx
mov byte [esp + 0x56c], bl
cmp dword [esp + 0x30], esi
jb 0x4104d4
mov eax, dword [esp + 0x1c]
push eax
call fcn.004c4802
add esp, 4
xor ecx, ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], cx
mov dword [esp + 0x56c], 0xffffffff
lea ecx, [esp + 0x6c]
call fcn.004ac5f0
xor al, al
mov ecx, dword [esp + 0x564]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x548]
xor ecx, esp
call fcn.005b7e8e
add esp, 0x55c
ret