Function at 0x408610
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x417270
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
call sub.KERNEL32.dll_GetCommandLineW
mov ecx, dword [0x424da4]
test eax, eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
je 0x4086d9
movzx ecx, word [eax]
test cx, cx
je 0x4086d9
mov edi, 0xfffffffe
mov ebx, 2
nop
add ebx, 0xfffffffe
cmp word [eax + edi*2 + 6], 0
mov edx, edi
lea edi, [edi + 1]
jne 0x408670
cmp edi, 0xfffffffe
je 0x408ef3
cmp cx, 0x22
jne 0x4087c3
lea ecx, [eax + 2]
cmp edi, 0xffffffff
je 0x40886c
neg ebx
lea esi, [edi + 1]
add eax, 4
xor edx, edx
nop dword [eax]
cmp word [eax - 2], 0x22
je 0x408881
inc edx
add eax, 2
dec edi
add ebx, 0xfffffffe
jne 0x4086b0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x24], esi
mov edx, esi
jmp 0x408893
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x10], 0
call fcn.004121f0
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x54], 1
jne 0x408756
mov ecx, dword [0x424dac]
cmp al, 3
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
jne 0x40874c
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x10], 8
push eax
mov dword [ebp - 0x20], edx
call dword [ecx]
add esp, 4
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x40873f
push dword [eax + 8]
push ecx
push dword [esi]
call fcn.004036f0
add esp, 0xc
push 4
push 0xc
push esi
call fcn.004036f0
add esp, 0xc
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x40]
je 0x40876a
jmp 0x40877c
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x40]
jne 0x40877c
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x10], 7
call fcn.00422930
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x4c]
lea ecx, [edx + edx*2]
mov dword [eax + ecx*4 + 8], esi
movsd xmm0, qword [ebp - 0x54]
movsd qword [eax + ecx*4], xmm0
mov esi, dword [ebp - 0x3c]
inc esi
mov edi, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
lea ecx, [esi + esi*2]
lea ecx, [edi + ecx*4]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword fs:[0], edx
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
cmp cx, 0x21
mov dword [ebp - 0x24], edi
jae 0x408823
mov ecx, dword [0x424dac]
xor edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 5
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call fcn.00422930
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x24]
lea ecx, [ecx + ecx*2]
inc edi
mov dword [eax + ecx*4 + 8], edx
movsd xmm0, qword [ebp - 0x54]
movsd qword [eax + ecx*4], xmm0
mov ecx, dword [ebp - 0x20]
inc dword [ebp - 0x3c]
add ecx, 2
jmp 0x408956
add edi, 2
neg ebx
xor edx, edx
xor ecx, ecx
nop dword [eax]
mov esi, ebx
add esi, edx
mov dword [ebp - 0x20], esi
je 0x4088f1
movzx esi, word [eax + ecx*2 + 2]
inc ecx
add edx, 0xfffffffe
dec esi
cmp si, 0x1f
ja 0x408830
mov esi, eax
mov dword [ebp - 0x10], 0
sub esi, edx
add esi, 2
mov dword [ebp - 0x38], esi
mov esi, dword [ebp - 0x24]
sub esi, ecx
inc esi
mov dword [ebp - 0x24], esi
jmp 0x4088f9
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], ecx
xor edx, edx
jmp 0x408893
mov bl, 1
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x54]
push edx
push ecx
push eax
call fcn.004111f0
add esp, 0xc
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x40]
jne 0x4088c2
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x10], 6
call fcn.00422930
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x4c]
lea ecx, [edx + edx*2]
mov edi, dword [ebp - 0x24]
mov dword [eax + ecx*4 + 8], esi
movsd xmm0, qword [ebp - 0x54]
movsd qword [eax + ecx*4], xmm0
mov esi, dword [ebp - 0x3c]
inc esi
cmp byte [ebp - 0x20], 0
mov dword [ebp - 0x3c], esi
mov ecx, dword [ebp - 0x38]
jne 0x408956
jmp 0x408797
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], edi
mov ecx, edi
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x54]
push ecx
push eax
push edx
call fcn.004111f0
add esp, 0xc
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x40]
jne 0x408928
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x10], 4
call fcn.00422930
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x4c]
lea ecx, [edx + edx*2]
mov edi, dword [ebp - 0x24]
mov dword [eax + ecx*4 + 8], esi
movsd xmm0, qword [ebp - 0x54]
movsd qword [eax + ecx*4], xmm0
mov esi, dword [ebp - 0x3c]
inc esi
cmp dword [ebp - 0x20], 0
mov dword [ebp - 0x3c], esi
mov ecx, dword [ebp - 0x38]
je 0x408797
mov eax, dword [0x424d9c]
movaps xmm1, xmmword [str._]
xor edx, edx
xor ebx, ebx
mov dword [ebp - 0x30], eax
lea eax, [ecx + edi*2]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x24], ebx
mov ebx, eax
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x20], 0
cmp ecx, eax
je 0x408dd6
nop dword [eax]
movzx esi, word [ecx]
add ecx, 2
cmp si, 0x5c
jne 0x4089c0
inc dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
cmp ecx, eax
jne 0x4089a0
jmp 0x408dd6
cmp si, 9
mov dword [ebp - 0x38], ecx
je 0x408a30
cmp si, 0x20
je 0x408a30
cmp si, 0x22
jne 0x408a38
mov esi, ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov edi, ebx
mov ecx, eax
shr edi, 1
sub ecx, edx
test bl, 1
mov dword [ebp - 0x58], edi
jne 0x408b5d
cmp ecx, edi
jae 0x408c71
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x30]
push edi
call fcn.004228a0
add esp, 4
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x34]
movaps xmm1, xmmword [str._]
mov edi, dword [ebp - 0x58]
jmp 0x408c77
test bl, bl
je 0x408b2c
mov eax, dword [ebp - 0x2c]
mov word [ebp - 0x24], si
mov esi, dword [ebp - 0x20]
mov ecx, eax
sub ecx, edx
cmp ecx, esi
mov ecx, esi
jae 0x408a80
mov eax, ecx
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x30]
push eax
call fcn.004228a0
add esp, 4
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x34]
movaps xmm1, xmmword [str._]
mov ecx, dword [ebp - 0x20]
jmp 0x408a84
test ecx, ecx
je 0x408ae1
lea esi, [edx + edx]
add esi, dword [ebp - 0x30]
cmp ecx, 0x10
jae 0x408a95
mov eax, ecx
mov ecx, esi
jmp 0x408ad0
mov edi, ecx
mov eax, ecx
xor ebx, ebx
and edi, 0xfffffff0
and eax, 0xf
lea ecx, [esi + edi*2]
nop word cs:[eax + eax]
nop
movups xmmword [esi + ebx*2], xmm1
movups xmmword [esi + ebx*2 + 0x10], xmm1
add ebx, 0x10
cmp ebx, edi
jne 0x408ab0
cmp dword [ebp - 0x20], edi
mov ebx, dword [ebp - 0x34]
je 0x408adb
nop dword [eax + eax]
mov word [ecx], 0x5c
add ecx, 2
dec eax
jne 0x408ad0
add edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
cmp edx, eax
mov dword [ebp - 0x28], edx
jne 0x408b0b
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x30]
mov edx, eax
push 1
call fcn.004228a0
add esp, 4
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x34]
movaps xmm1, xmmword [str._]
mov eax, dword [ebp - 0x30]
movzx ecx, word [ebp - 0x24]
mov word [eax + edx*2], cx
mov edx, dword [ebp - 0x28]
inc edx
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x24], 0
jmp 0x408987
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x20]
sub eax, edx
cmp eax, edi
jae 0x408b8d
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x30]
push edi
call fcn.004228a0
add esp, 4
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x34]
movaps xmm1, xmmword [str._]
mov edi, dword [ebp - 0x20]
jmp 0x408b93
cmp ecx, edi
jae 0x408c89
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x30]
push edi
call fcn.004228a0
add esp, 4
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x34]
movaps xmm1, xmmword [str._]
mov edi, dword [ebp - 0x58]
jmp 0x408c93
test edi, edi
mov eax, edx
je 0x408bf3
lea esi, [edx + edx]
mov eax, edi
add esi, dword [ebp - 0x30]
cmp edi, 0x10
jae 0x408ba4
mov ecx, esi
jmp 0x408be0
mov edi, eax
and eax, 0xf
xor ebx, ebx
and edi, 0xfffffff0
lea ecx, [esi + edi*2]
nop word cs:[eax + eax]
nop dword [eax + eax]
movups xmmword [esi + ebx*2], xmm1
movups xmmword [esi + ebx*2 + 0x10], xmm1
add ebx, 0x10
cmp ebx, edi
jne 0x408bc0
cmp dword [ebp - 0x20], edi
mov ebx, dword [ebp - 0x34]
je 0x408beb
nop dword [eax + eax]
mov word [ecx], 0x5c
add ecx, 2
dec eax
jne 0x408be0
add edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x38]
mov eax, edx
cmp byte [ebp - 0x24], 0
mov dword [ebp - 0x28], eax
jne 0x408c0d
xor edx, edx
test eax, eax
mov dword [ebp - 0x24], 0
je 0x408987
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x10], 1
push eax
push ecx
lea eax, [ebp - 0x54]
push eax
call fcn.004111f0
add esp, 0xc
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x40]
jne 0x408c3f
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x10], 3
call fcn.00422930
mov edx, dword [ebp - 0x3c]
lea ecx, [edx + edx*2]
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x34]
movaps xmm1, xmmword [str._]
mov dword [eax + ecx*4 + 8], edx
xor edx, edx
movsd xmm0, qword [ebp - 0x54]
movsd qword [eax + ecx*4], xmm0
inc dword [ebp - 0x3c]
mov dword [ebp - 0x28], 0
jmp 0x408b1d
test edi, edi
mov ebx, esi
je 0x408ced
lea esi, [edx + edx]
add esi, dword [ebp - 0x30]
cmp dword [ebp - 0x20], 0x20
jae 0x408cac
mov eax, edi
mov ecx, esi
jmp 0x408ce0
test edi, edi
mov ebx, esi
je 0x408d90
lea esi, [edx + edx]
add esi, dword [ebp - 0x30]
cmp dword [ebp - 0x20], 0x20
jae 0x408d44
mov eax, edi
mov ecx, esi
jmp 0x408d80
mov eax, edi
and edi, 0xfffffff0
xor ebx, ebx
and eax, 0xf
lea ecx, [esi + edi*2]
nop dword [eax]
movups xmmword [esi + ebx*2], xmm1
movups xmmword [esi + ebx*2 + 0x10], xmm1
add ebx, 0x10
cmp ebx, edi
jne 0x408cc0
mov esi, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x34]
cmp esi, edi
mov edi, esi
je 0x408ceb
nop dword [eax]
mov word [ecx], 0x5c
add ecx, 2
dec eax
jne 0x408ce0
add edx, edi
cmp byte [ebp - 0x24], 0
mov dword [ebp - 0x28], edx
je 0x408dc8
cmp edx, dword [ebp - 0x2c]
jne 0x408d25
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x30]
push 1
call fcn.004228a0
add esp, 4
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x34]
movaps xmm1, xmmword [str._]
jmp 0x408d28
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], 0
mov word [eax + edx*2], 0x22
mov edx, dword [ebp - 0x28]
inc edx
mov dword [ebp - 0x28], edx
jmp 0x408987
mov eax, edi
and edi, 0xfffffff0
xor ebx, ebx
and eax, 0xf
lea ecx, [esi + edi*2]
nop word cs:[eax + eax]
nop dword [eax + eax]
movups xmmword [esi + ebx*2], xmm1
movups xmmword [esi + ebx*2 + 0x10], xmm1
add ebx, 0x10
cmp ebx, edi
jne 0x408d60
mov esi, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x34]
cmp esi, edi
mov edi, esi
je 0x408d8b
nop dword [eax]
mov word [ecx], 0x5c
add ecx, 2
dec eax
jne 0x408d80
mov eax, dword [ebp - 0x2c]
add edx, edi
cmp edx, eax
mov dword [ebp - 0x28], edx
jne 0x408dba
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x30]
mov edx, eax
push 1
call fcn.004228a0
add esp, 4
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x34]
movaps xmm1, xmmword [str._]
mov eax, dword [ebp - 0x30]
mov word [eax + edx*2], 0x22
jmp 0x408b16
mov ecx, dword [ebp - 0x38]
mov eax, ebx
not al
and al, 1
jmp 0x40897f
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
sub eax, edx
cmp eax, ecx
jae 0x408e09
mov eax, ecx
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x30]
push eax
call fcn.004228a0
add esp, 4
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x34]
movaps xmm1, xmmword [str._]
mov ecx, dword [ebp - 0x20]
jmp 0x408e0d
test ecx, ecx
je 0x408e5e
lea esi, [edx + edx]
add esi, dword [ebp - 0x30]
cmp ecx, 0x10
jae 0x408e1e
mov eax, ecx
mov ecx, esi
jmp 0x408e50
mov edi, ecx
mov eax, ecx
xor ebx, ebx
and edi, 0xfffffff0
and eax, 0xf
lea ecx, [esi + edi*2]
nop dword [eax]
movups xmmword [esi + ebx*2], xmm1
movups xmmword [esi + ebx*2 + 0x10], xmm1
add ebx, 0x10
cmp ebx, edi
jne 0x408e30
cmp dword [ebp - 0x20], edi
mov ebx, dword [ebp - 0x34]
je 0x408e5b
nop dword [eax + eax]
mov word [ecx], 0x5c
add ecx, 2
dec eax
jne 0x408e50
add edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
or al, bl
jne 0x408e71
test edx, edx
jne 0x408e71
mov esi, dword [ebp - 0x3c]
jmp 0x408ebe
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], 1
push edx
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004111f0
add esp, 0xc
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x40]
jne 0x408ea3
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x10], 2
call fcn.00422930
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x4c]
lea ecx, [edx + edx*2]
mov dword [eax + ecx*4 + 8], esi
movsd xmm0, qword [ebp - 0x54]
movsd qword [eax + ecx*4], xmm0
mov esi, dword [ebp - 0x3c]
inc esi
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x40]
test eax, eax
je 0x40879d
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x40879d
add eax, eax
je 0x40879d
push 2
push eax
push ecx
call fcn.004036f0
add esp, 0xc
jmp 0x40879d
mov dword [ebp - 0x10], 0
push 0x425f40
push 0
push 0
call fcn.00422f60
add esp, 0xc
ud2