Function at 0x40d180
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42695e
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x435024]
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 esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 1
call fcn.0040d8a0
add esp, 4
test al, al
je 0x40d2b3
mov ecx, edi
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d210
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00402070
mov ecx, dword [esi + 4]
mov dword [ebp - 4], 1
cmp ecx, dword [esi + 8]
je 0x40d264
mov eax, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x14], eax
add dword [esi + 4], 0x18
jmp 0x40d3b9
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, esi
call fcn.0040cad0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40d3b9
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d2a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d3d7
push edx
push ecx
call fcn.0040eab8
add esp, 8
jmp 0x40d3b9
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x40d3b9
xor edi, edi
cmp dword [ebp - 0x2c], edi
jle 0x40d3b2
jmp 0x40d2e0
mov edx, dword [eax + edi*4]
xor eax, eax
mov dword [ebp - 0x28], 0
mov word [ebp - 0x28], ax
mov eax, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d303
sub eax, ebx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
push edx
call fcn.00402070
mov ecx, dword [esi + 4]
mov dword [ebp - 4], 2
cmp ecx, dword [esi + 8]
je 0x40d35f
mov eax, dword [ebp - 0x28]
mov edx, 7
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x14], eax
xor eax, eax
add dword [esi + 4], 0x18
mov word [ebp - 0x28], ax
jmp 0x40d36e
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, esi
call fcn.0040cad0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x40d3a5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d39b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d3d7
push edx
push ecx
call fcn.0040eab8
add esp, 8
mov eax, dword [ebp - 0x30]
inc edi
cmp edi, dword [ebp - 0x2c]
jl 0x40d2e0
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
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.0040eaaa
mov esp, ebp
pop ebp
ret
call fcn.00412e5f
int3