Function at 0x40b250
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52666d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1460
call fcn.00501860
mov eax, dword [0x57f540]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, 0xf
mov dword [ebp - 0x1468], eax
mov dword [ebp - 0x13e0], esi
mov dword [ebp - 0x13e4], ebx
mov byte [ebp - 0x13f4], bl
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x146c], esp
push 0xffffffffffffffff
mov byte [ebp - 4], 1
push ebx
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x583e98
lea edi, [ebp - 0x13f4]
mov byte [ecx], bl
call fcn.00401a20
mov eax, dword [ebp - 0x1468]
push eax
mov ecx, edi
call fcn.004068c0
add esp, 0x20
cmp dword [ebp - 0x13e4], ebx
jne 0x40b313
cmp dword [ebp - 0x13e0], 0x10
jb 0x40b309
mov ecx, dword [ebp - 0x13f4]
push ecx
call fcn.0040ba88
add esp, 4
mov eax, 0xfffffffe
jmp 0x40b80b
mov dword [ebp - 0x13a8], esi
mov dword [ebp - 0x13ac], ebx
mov byte [ebp - 0x13bc], bl
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x146c], esp
push 0xffffffffffffffff
mov byte [ebp - 4], 2
push ebx
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x583eb4
lea edi, [ebp - 0x13bc]
mov byte [ecx], bl
call fcn.00401a20
mov edx, dword [ebp - 0x1468]
push edx
mov ecx, edi
call fcn.004068c0
add esp, 0x20
cmp dword [ebp - 0x13ac], ebx
jne 0x40b3a1
mov edi, 0x10
cmp dword [ebp - 0x13a8], edi
jb 0x40b384
mov eax, dword [ebp - 0x13bc]
push eax
call fcn.0040ba88
add esp, 4
cmp dword [ebp - 0x13e0], edi
mov dword [ebp - 0x13a8], esi
mov dword [ebp - 0x13ac], ebx
mov byte [ebp - 0x13bc], bl
jmp 0x40b2f8
mov dword [ebp - 0x13c4], esi
mov dword [ebp - 0x13c8], ebx
mov byte [ebp - 0x13d8], bl
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x146c], esp
push 0xffffffffffffffff
mov byte [ebp - 4], 3
push ebx
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x583eec
lea edi, [ebp - 0x13d8]
mov byte [ecx], bl
call fcn.00401a20
mov edx, dword [ebp - 0x1468]
push edx
mov ecx, edi
call fcn.004068c0
add esp, 0x20
cmp dword [ebp - 0x13c8], ebx
jne 0x40b472
mov edi, 0x10
cmp dword [ebp - 0x13c4], edi
jb 0x40b412
mov eax, dword [ebp - 0x13d8]
push eax
call fcn.0040ba88
add esp, 4
mov dword [ebp - 0x13c4], esi
mov dword [ebp - 0x13c8], ebx
mov byte [ebp - 0x13d8], bl
cmp dword [ebp - 0x13a8], edi
jb 0x40b43b
mov ecx, dword [ebp - 0x13bc]
push ecx
call fcn.0040ba88
add esp, 4
mov dword [ebp - 0x13a8], esi
mov dword [ebp - 0x13ac], ebx
mov byte [ebp - 0x13bc], bl
cmp dword [ebp - 0x13e0], edi
jb 0x40b309
mov edx, dword [ebp - 0x13f4]
push edx
call fcn.0040ba88
add esp, 4
mov eax, 0xfffffffe
jmp 0x40b80b
mov dword [ebp - 0x13fc], esi
mov dword [ebp - 0x1400], ebx
mov byte [ebp - 0x1410], bl
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x146c], esp
push 0xffffffffffffffff
mov byte [ebp - 4], 4
push ebx
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x583ed0
lea edi, [ebp - 0x1410]
mov byte [ecx], bl
call fcn.00401a20
mov eax, dword [ebp - 0x1468]
push eax
mov ecx, edi
call fcn.004068c0
add esp, 0x20
cmp dword [ebp - 0x1400], ebx
je 0x40b523
mov dword [ebp - 0x1418], esi
mov dword [ebp - 0x141c], ebx
mov byte [ebp - 0x142c], bl
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x146c], esp
push 0xffffffffffffffff
mov byte [ebp - 4], 5
push ebx
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x583f08
lea edi, [ebp - 0x142c]
mov byte [ecx], bl
call fcn.00401a20
mov ecx, dword [ebp - 0x1468]
push ecx
mov ecx, edi
call fcn.004068c0
add esp, 0x20
cmp dword [ebp - 0x141c], ebx
jne 0x40b559
mov ecx, edi
call fcn.00401430
lea ecx, [ebp - 0x1410]
call fcn.00401430
lea ecx, [ebp - 0x13d8]
call fcn.00401430
lea ecx, [ebp - 0x13bc]
call fcn.00401430
lea ecx, [ebp - 0x13f4]
call fcn.00401430
mov eax, 0xfffffffe
jmp 0x40b80b
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x13f4]
push edx
mov ecx, 0x584368
call fcn.00401a20
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x13bc]
push eax
mov ecx, 0x584384
call fcn.00401a20
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x1410]
push ecx
mov ecx, 0x5843a0
call fcn.00401a20
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x13d8]
push edx
mov ecx, 0x5843bc
call fcn.00401a20
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x142c]
push eax
mov ecx, 0x5843d8
call fcn.00401a20
mov eax, dword [ebp - 0x13d8]
mov esi, 0x10
cmp dword [ebp - 0x13c4], esi
jae 0x40b5d6
lea eax, [ebp - 0x13d8]
push eax
call fcn.004ffd7c
add esp, 4
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x40b62d
lea ecx, [ebp - 0x142c]
call fcn.00401430
lea ecx, [ebp - 0x1410]
call fcn.00401430
lea ecx, [ebp - 0x13d8]
call fcn.00401430
lea ecx, [ebp - 0x13bc]
call fcn.00401430
lea ecx, [ebp - 0x13f4]
call fcn.00401430
mov eax, 0xfffffffc
jmp 0x40b80b
call fcn.00403c30
mov dword [0x58ab00], eax
cmp eax, ebx
je 0x40b5ec
mov eax, dword [0x584368]
cmp dword [0x58437c], esi
jae 0x40b64d
mov eax, 0x584368
push eax
call fcn.004ffd92
add esp, 4
mov dword [0x58aaf8], eax
mov eax, dword [0x584384]
cmp dword [0x584398], esi
jae 0x40b66d
mov eax, 0x584384
push eax
call fcn.004ffd92
add esp, 4
mov ecx, edi
lea esi, [ebp - 0x1448]
mov dword [0x58aaf4], eax
call fcn.00407810
mov ecx, 0x10
cmp dword [0x584424], ecx
jb 0x40b6a3
mov edx, dword [0x584410]
mov dword [ebp - 0x1468], edx
jmp 0x40b6ad
mov dword [ebp - 0x1468], 0x584410
cmp dword [0x5843ec], ecx
jb 0x40b6c3
mov edx, dword [0x5843d8]
mov dword [ebp - 0x1470], edx
jmp 0x40b6cd
mov dword [ebp - 0x1470], 0x5843d8
cmp dword [0x5843b4], ecx
jb 0x40b6e3
mov edx, dword [0x5843a0]
mov dword [ebp - 0x146c], edx
jmp 0x40b6ed
mov dword [ebp - 0x146c], 0x5843a0
cmp dword [eax + 0x14], ecx
jb 0x40b6f6
mov edi, dword [eax]
jmp 0x40b6f8
mov edi, eax
mov esi, dword [0x584384]
cmp dword [0x584398], ecx
jae 0x40b70b
mov esi, 0x584384
mov edx, dword [0x584368]
cmp dword [0x58437c], ecx
jae 0x40b71e
mov edx, 0x584368
cmp dword [0x584018], ecx
mov ecx, dword [0x584004]
jae 0x40b731
mov ecx, 0x584004
mov eax, dword [0x58ab00]
mov ebx, dword [eax + 0x9c]
mov eax, dword [eax + 0x94]
push ebx
mov ebx, dword [ebp - 0x1468]
push ebx
push eax
mov eax, dword [ebp - 0x1470]
push eax
mov eax, dword [ebp - 0x146c]
push eax
push edi
push esi
push edx
push ecx
lea edx, [ebp - 0x13a0]
call fcn.0040b9e0
add esp, 0x24
lea ecx, [ebp - 0x1448]
call fcn.00401430
lea ecx, [ebp - 0x13a0]
push ecx
lea ecx, [ebp - 0x1464]
call fcn.004013f0
lea edx, [ebp - 0x1448]
push edx
lea ecx, [ebp - 0x1464]
mov byte [ebp - 4], 6
call fcn.00406670
add esp, 4
mov edi, eax
mov esi, 0x58442c
mov byte [ebp - 4], 7
call fcn.00405a80
lea esi, [ebp - 0x1448]
call fcn.004014a0
lea ecx, [ebp - 0x1464]
call fcn.00401430
lea ecx, [ebp - 0x142c]
call fcn.00401430
lea ecx, [ebp - 0x1410]
call fcn.00401430
lea ecx, [ebp - 0x13d8]
call fcn.00401430
lea ecx, [ebp - 0x13bc]
call fcn.00401430
lea ecx, [ebp - 0x13f4]
call fcn.00401430
xor eax, eax
jmp 0x40b80b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ff71d
mov esp, ebp
pop ebp
ret