Function at 0x418870
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8a61
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x622330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c], 0
push 0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
push 0x5f6656
mov dword [ebp - 0x80], eax
mov byte [eax], 0
call fcn.00404b60
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.004208f0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
push 1
push 0x5f6dfc
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.00404b60
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.004202e0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
xor ebx, ebx
movq qword [ebp - 0x28], xmm0
xor edi, edi
mov dword [ebp - 0x24], ebx
add esp, 4
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 4
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x1c]
imul ecx
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
mov dword [ebp - 0x74], esi
je 0x418a9e
mov ebx, dword [ebp - 0x1c]
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00404720
xor eax, eax
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x30]
test edi, edi
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
je 0x418a76
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov edx, 1
cmovae eax, dword [ebp - 0x40]
cmp edi, edx
cmovb edx, edi
test edx, edx
je 0x418a47
mov esi, 0x5f6ef0
sub edx, 4
jb 0x418a08
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x418a0d
add eax, 4
add esi, 4
sub edx, 4
jae 0x4189f7
cmp edx, 0xfffffffc
je 0x418a41
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x418a3a
cmp edx, 0xfffffffd
je 0x418a41
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x418a3a
cmp edx, 0xfffffffe
je 0x418a41
mov cl, byte [eax + 2]
cmp cl, byte [esi + 2]
jne 0x418a3a
cmp edx, 0xffffffff
je 0x418a41
mov al, byte [eax + 3]
cmp al, byte [esi + 3]
je 0x418a41
sbb eax, eax
or eax, 1
jmp 0x418a43
xor eax, eax
test eax, eax
jne 0x418a5b
cmp edi, 1
jae 0x418a51
or eax, 0xffffffff
jmp 0x418a59
xor eax, eax
cmp edi, 1
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
je 0x418a73
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00419be0
mov esi, dword [ebp - 0x74]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2c], 0x10
jb 0x418a8b
push dword [ebp - 0x40]
call fcn.004462c1
add esp, 4
add ebx, 0x18
dec esi
mov dword [ebp - 0x74], esi
jne 0x418995
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
mov ecx, ebx
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jb 0x418acc
mov ecx, dword [ebp - 0x78]
lea eax, [edi + 0x18]
cmp ecx, eax
je 0x418acc
push 0xffffffffffffffff
push 0
push eax
call fcn.00404720
test edi, edi
je 0x418b07
mov esi, edi
cmp edi, ebx
je 0x418afe
cmp dword [esi + 0x14], 0x10
jb 0x418ae6
push dword [esi]
call fcn.004462c1
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x18
cmp esi, ebx
jne 0x418ad6
push edi
call fcn.004462c1
add esp, 4
cmp dword [ebp - 0x44], 0x10
jb 0x418b18
push dword [ebp - 0x58]
call fcn.004462c1
add esp, 4
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
test ebx, ebx
je 0x418b71
mov edi, dword [ebp - 0x18]
mov esi, ebx
cmp ebx, edi
je 0x418b68
lea ebx, [ebx]
cmp dword [esi + 0x14], 0x10
jb 0x418b50
push dword [esi]
call fcn.004462c1
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x418b40
push ebx
call fcn.004462c1
add esp, 4
cmp dword [ebp - 0x5c], 0x10
jb 0x418b82
push dword [ebp - 0x70]
call fcn.004462c1
add esp, 4
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056bc55
mov esp, ebp
pop ebp
ret