Function at 0x412390
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589fa6
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x5f0a00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xb4], esi
mov edi, dword [ebp + 8]
push edi
call fcn.00411aa0
cmp dword [esi + 0x10], 0
je 0x4129fc
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa4], 0
push esi
push eax
call fcn.00436dd0
add esp, 8
cmp dword [ebp - 0x8c], 7
lea ecx, [ebp - 0xa4]
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 0
cmova eax, dword [ebp - 0xa0]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push edi
mov ecx, esi
mov dword [ebp - 0xa8], eax
call fcn.00411aa0
cmp dword [ebp - 0xa4], 0
jle 0x412521
mov eax, dword [ebp - 0xa8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov edx, dword [eax]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412460
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0040b6c0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004389e0
push eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push eax
call fcn.00438ae0
mov edi, eax
add esp, 0x10
lea eax, [esi + 0x18]
cmp eax, edi
je 0x4124d0
mov ecx, eax
call fcn.0040ddb0
movups xmm0, xmmword [edi]
movups xmmword [esi + 0x18], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x28], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ecx, [ebp - 0x88]
call fcn.0040ddb0
lea ecx, [ebp - 0x70]
call fcn.0040ddb0
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp ecx, 7
jbe 0x412521
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x412517
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412a19
push ecx
push edx
call fcn.0055241f
add esp, 8
mov eax, 1
mov dword [ebp - 0xb0], 1
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xa4], eax
jle 0x4129af
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov ecx, dword [ebp - 0xa8]
mov byte [ebp - 4], 3
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x60], 0
mov edx, dword [ecx + eax*4]
mov ecx, edx
mov dword [ebp - 0x5c], 0
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412580
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.0040b6c0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004389e0
mov edi, eax
add esp, 8
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x412621
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x4125ed
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4125e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412a19
push ecx
push edx
call fcn.0055241f
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x412658
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41264e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412a19
push ecx
push edx
call fcn.0055241f
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 3
cmp ecx, 7
jbe 0x4126ab
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4126a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412a19
push ecx
push edx
call fcn.0055241f
add esp, 8
cmp dword [ebp - 0xb0], 0
jne 0x4126e2
mov eax, dword [esi + 0x3c]
lea ecx, [esi + 0x38]
cmp eax, dword [esi + 0x40]
je 0x4126d3
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00411900
add dword [esi + 0x3c], 0x18
jmp 0x41295e
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.004114d0
jmp 0x41295e
mov edi, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 0xf
cmova edx, ecx
cmp dword [ebp - 0x18], 2
jne 0x41275e
movzx eax, byte [edx]
mov esi, 0x59a098
cmp al, byte [esi]
mov esi, dword [ebp - 0xb4]
jne 0x41271b
movzx eax, byte [edx + 1]
mov edx, 0x59a098
cmp al, byte [edx + 1]
jne 0x41271b
xor eax, eax
jmp 0x412720
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41275e
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], al
cmp edi, 0xf
jbe 0x412996
lea edx, [edi + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x412757
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412a19
push edx
push ecx
jmp 0x41298e
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00411e30
add esp, 0xc
test eax, eax
je 0x4128b6
lea eax, [ebp - 0x58]
push eax
lea edi, [esi + 0x30]
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xbc], edi
push eax
mov ecx, edi
call fcn.004116a0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xac], eax
cmp byte [eax + 0xd], 0
jne 0x412804
add eax, 0x10
mov ecx, edi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00411bb0
test al, al
jne 0x412804
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [eax + 0x28]
call fcn.00411aa0
jmp 0x4128dc
cmp dword [edi + 4], 0x3ffffff
je 0x412a23
mov eax, dword [edi]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xc4], edi
push 0x40
mov byte [ebp - 4], 7
mov dword [ebp - 0xc0], 0
call fcn.005523ef
mov edi, eax
add esp, 4
mov dword [ebp - 0xc0], edi
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 8
push eax
lea ecx, [edi + 0x10]
call fcn.00411900
mov eax, dword [ebp - 0xac]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0xbc]
movups xmmword [edi + 0x28], xmm0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xf
push edi
push dword [ebp - 0xcc]
mov byte [edi + 0x28], 0
push dword [ebp - 0xd0]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov word [edi + 0xc], 0
mov byte [ebp - 4], 6
mov dword [ebp - 0xc0], 0
call fcn.00412a30
mov esi, dword [ebp - 0xb4]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [eax + 0x28]
call fcn.00411aa0
jmp 0x4128dc
mov eax, dword [esi + 0x3c]
lea ecx, [esi + 0x38]
cmp eax, dword [esi + 0x40]
je 0x4128d2
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00411900
add dword [esi + 0x3c], 0x18
jmp 0x4128dc
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.004114d0
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
cmp ecx, 0xf
jbe 0x412914
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41290a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412a19
push ecx
push edx
call fcn.0055241f
add esp, 8
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 3
cmp ecx, 0xf
jbe 0x41294c
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x412942
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412a19
push ecx
push edx
call fcn.0055241f
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x412996
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41298c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412a19
push ecx
push edx
call fcn.0055241f
add esp, 8
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp eax, dword [ebp - 0xa4]
jl 0x412542
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x4129c0
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x8c]
cmp ecx, 7
jbe 0x4129fc
mov edx, dword [ebp - 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4129f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412a1e
push ecx
push edx
call fcn.0055241f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00551e44
mov esp, ebp
pop ebp
ret 4
call fcn.0055bf8b
call fcn.0055bf8b
call fcn.00412c20
int3