Function at 0x4065a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b33b
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x5662f4]
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]
xor ecx, ecx
mov word [ebp - 0xd8], cx
mov ecx, eax
mov dword [ebp - 0xc4], 7
mov dword [ebp - 0xc8], ebx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x406600
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0xd8]
call fcn.004050e0
cmp dword [ebp - 0xc4], 8
jb 0x406632
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0x114], edx
jmp 0x40663e
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x114], eax
mov esi, 0xf
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x118], esp
push 0xffffffffffffffff
mov byte [ebp - 4], 2
push ebx
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x56823c
lea edi, [ebp - 0x30]
mov byte [ecx], bl
call fcn.004052f0
mov ecx, dword [ebp - 0x114]
push ecx
mov ecx, edi
call fcn.004012a0
add esp, 0x20
cmp dword [ebp - 0x20], ebx
jne 0x4066da
cmp dword [ebp - 0x1c], 0x10
jb 0x40669b
mov edx, dword [ebp - 0x30]
push edx
call fcn.004078b0
add esp, 4
cmp dword [ebp - 0xc4], 8
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
jb 0x4066bc
mov eax, dword [ebp - 0xd8]
push eax
call fcn.004078b0
add esp, 4
xor eax, eax
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.004f5f9c
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x118], esp
push 0xffffffffffffffff
mov byte [ebp - 4], 3
push ebx
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x568258
lea edi, [ebp - 0x4c]
mov byte [ecx], bl
call fcn.004052f0
mov ecx, dword [ebp - 0x114]
push ecx
mov ecx, edi
call fcn.004012a0
add esp, 0x20
cmp dword [ebp - 0x3c], ebx
jne 0x406772
mov edi, 0x10
cmp dword [ebp - 0x38], edi
jb 0x406736
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004078b0
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x1c], edi
jb 0x406750
mov eax, dword [ebp - 0x30]
push eax
call fcn.004078b0
add esp, 4
cmp dword [ebp - 0xc4], 8
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
jb 0x4066bc
mov ecx, dword [ebp - 0xd8]
push ecx
jmp 0x4066b4
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov byte [ebp - 0xa0], bl
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x118], esp
push 0xffffffffffffffff
mov byte [ebp - 4], 4
push ebx
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x5682c8
lea edi, [ebp - 0xa0]
mov byte [ecx], bl
call fcn.004052f0
mov edx, dword [ebp - 0x114]
push edx
mov ecx, edi
call fcn.004012a0
add esp, 0x20
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x118], esp
push 0xffffffffffffffff
mov byte [ebp - 4], 5
push ebx
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x5682e4
lea edi, [ebp - 0xbc]
mov byte [ecx], bl
call fcn.004052f0
mov eax, dword [ebp - 0x114]
push eax
mov ecx, edi
call fcn.004012a0
add esp, 0x20
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x118], esp
push 0xffffffffffffffff
mov byte [ebp - 4], 6
push ebx
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x568300
lea edi, [ebp - 0x84]
mov byte [ecx], bl
call fcn.004052f0
mov ecx, dword [ebp - 0x114]
push ecx
mov ecx, edi
call fcn.004012a0
add esp, 0x20
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x118], esp
push 0xffffffffffffffff
mov byte [ebp - 4], 7
push ebx
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x56831c
lea edi, [ebp - 0x68]
mov byte [ecx], bl
call fcn.004052f0
mov edx, dword [ebp - 0x114]
push edx
mov ecx, edi
call fcn.004012a0
add esp, 0x20
cmp dword [ebp - 0x58], ebx
jne 0x406950
mov edi, 0x10
cmp dword [ebp - 0x54], edi
jb 0x4068b3
mov eax, dword [ebp - 0x68]
push eax
call fcn.004078b0
add esp, 4
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
cmp dword [ebp - 0x70], edi
jb 0x4068d0
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004078b0
add esp, 4
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
cmp dword [ebp - 0xa8], edi
jb 0x4068f3
mov edx, dword [ebp - 0xbc]
push edx
call fcn.004078b0
add esp, 4
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
cmp dword [ebp - 0x8c], edi
jb 0x40691c
mov eax, dword [ebp - 0xa0]
push eax
call fcn.004078b0
add esp, 4
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov byte [ebp - 0xa0], bl
cmp dword [ebp - 0x38], edi
jb 0x40693f
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004078b0
add esp, 4
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
jmp 0x40668d
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0x100], ebx
mov byte [ebp - 0x110], bl
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x118], esp
push 0xffffffffffffffff
mov byte [ebp - 4], 8
push ebx
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x5682ac
lea edi, [ebp - 0x110]
mov byte [ecx], bl
call fcn.004052f0
mov ecx, dword [ebp - 0x114]
push ecx
mov ecx, edi
call fcn.004012a0
add esp, 0x20
cmp dword [ebp - 0x100], ebx
jne 0x4069b3
push 7
push str.unknown
mov ecx, edi
call fcn.004056b0
lea edx, [ebp - 0xf4]
push edx
lea ecx, [ebp - 0x30]
call section..text
add esp, 4
mov edi, eax
mov esi, 0x568710
mov byte [ebp - 4], 9
call fcn.00402880
mov byte [ebp - 4], 8
cmp dword [ebp - 0xe0], 8
jb 0x4069f1
mov eax, dword [ebp - 0xf4]
push eax
call fcn.004078b0
add esp, 4
lea ecx, [ebp - 0xf4]
push ecx
lea ecx, [ebp - 0x4c]
call section..text
add esp, 4
mov edi, eax
mov esi, 0x56872c
mov byte [ebp - 4], 0xa
call fcn.00402880
mov byte [ebp - 4], 8
cmp dword [ebp - 0xe0], 8
jb 0x406a2f
mov edx, dword [ebp - 0xf4]
push edx
call fcn.004078b0
add esp, 4
lea edx, [ebp - 0xa0]
call fcn.00407820
cmp eax, ebx
sete al
lea edx, [ebp - 0xbc]
mov byte [0x56879c], al
call fcn.00407820
cmp eax, ebx
sete cl
lea edx, [ebp - 0x84]
mov byte [0x56879d], cl
call fcn.00407820
cmp eax, ebx
lea eax, [ebp - 0xf4]
sete dl
push eax
lea ecx, [ebp - 0x68]
mov byte [0x56879e], dl
call section..text
add esp, 4
mov edi, eax
mov esi, 0x568748
mov byte [ebp - 4], 0xb
call fcn.00402880
mov byte [ebp - 4], 8
cmp dword [ebp - 0xe0], 8
jb 0x406aae
mov ecx, dword [ebp - 0xf4]
push ecx
call fcn.004078b0
add esp, 4
lea edx, [ebp - 0xf4]
push edx
lea ecx, [ebp - 0x110]
call section..text
add esp, 4
mov edi, eax
mov esi, 0x568780
mov byte [ebp - 4], 0xc
call fcn.00402880
cmp dword [ebp - 0xe0], 8
jb 0x406aeb
mov eax, dword [ebp - 0xf4]
push eax
call fcn.004078b0
add esp, 4
mov edi, 0x10
cmp dword [ebp - 0xfc], edi
jb 0x406b07
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.004078b0
add esp, 4
mov esi, 0xf
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0x100], ebx
mov byte [ebp - 0x110], bl
cmp dword [ebp - 0x54], edi
jb 0x406b2f
mov edx, dword [ebp - 0x68]
push edx
call fcn.004078b0
add esp, 4
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
cmp dword [ebp - 0x70], edi
jb 0x406b4c
mov eax, dword [ebp - 0x84]
push eax
call fcn.004078b0
add esp, 4
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
cmp dword [ebp - 0xa8], edi
jb 0x406b6f
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.004078b0
add esp, 4
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
cmp dword [ebp - 0x8c], edi
jb 0x406b98
mov edx, dword [ebp - 0xa0]
push edx
call fcn.004078b0
add esp, 4
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov byte [ebp - 0xa0], bl
cmp dword [ebp - 0x38], edi
jb 0x406bbb
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004078b0
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x1c], edi
jb 0x406bd5
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004078b0
add esp, 4
cmp dword [ebp - 0xc4], 8
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
jb 0x406bf6
mov edx, dword [ebp - 0xd8]
push edx
call fcn.004078b0
add esp, 4
mov eax, 1
jmp 0x4066be