Function at 0x4316d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e1dd
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4cc3d0]
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, dword [ebp + 8]
xor bl, bl
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 0x29], bl
mov dword [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x43187f
xor ebx, ebx
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x3c], ebx
jle 0x431878
mov edx, dword [eax + ebx*4]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431760
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00402db0
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp edi, 8
mov ecx, dword [ebp - 0x18]
cmovae eax, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x44], eax
cmp ecx, 0x10
jb 0x43182a
add ecx, 0xfffffff1
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x40], ecx
lea ebx, [ebx]
mov edx, ecx
mov esi, 0
sub edx, eax
sar edx, 1
je 0x4317d4
cmp word [eax], 0x2f
je 0x4317d2
cmp edx, 1
je 0x4317d4
add eax, 2
dec edx
cmp word [eax], 0x2f
jne 0x4317c3
mov esi, eax
mov eax, esi
test eax, eax
je 0x431821
movzx edx, word [eax]
mov edi, 0x2f
mov esi, 0x10
mov ecx, str._startup_source
cmp edx, edi
jb 0x43180f
mov ebx, eax
sub ebx, ecx
cmp dx, di
ja 0x43180f
cmp esi, 1
je 0x431817
movzx edx, word [ebx + ecx + 2]
add ecx, 2
dec esi
movzx edi, word [ecx]
cmp dx, di
jae 0x4317f7
mov ecx, dword [ebp - 0x40]
add eax, 2
jmp 0x4317b0
sub eax, dword [ebp - 0x44]
sar eax, 1
cmp eax, 0xffffffff
jne 0x43189d
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
cmp edi, 8
jb 0x431865
lea ecx, [edi*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43185b
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4318ff
push ecx
push edx
call fcn.00471e9b
add esp, 8
mov eax, dword [ebp - 0x34]
inc ebx
mov dword [ebp - 0x38], ebx
cmp ebx, dword [ebp - 0x3c]
jl 0x431737
mov bl, byte [ebp - 0x29]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, bl
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.00472108
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x48]
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x4318bf
cmp dword [ebp - 0x14], 8
mov ecx, esi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.00402db0
mov edx, dword [ebp - 0x28]
jmp 0x4318c2
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
mov bl, 1
cmp ecx, 8
jb 0x4318f7
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4318ed
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4318ff
push ecx
push edx
call fcn.00471e9b
add esp, 8
mov eax, dword [ebp - 0x34]
jmp 0x431878
call fcn.0047d41e
int3