Function at 0x40e600
Capabilities:
Accept command line arguments

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x44d948]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x28
mov eax, 0x4396c4
call fcn.0041f00d
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x40], ebx
jne 0x40e634
xor eax, eax
jmp 0x40e945
mov eax, dword [esi]
cmp dword [eax + 0x1c], ebx
jne 0x40e942
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x40]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], eax
mov edi, str.CCmdlineParser::_Parser
jle 0x40e6da
push edi
call fcn.00406c58
pop ecx
test eax, eax
jne 0x40e6d4
mov eax, dword [ebp - 0x20]
push 1
push dword [eax + ebx*4]
call fcn.0041f168
pop ecx
push eax
mov eax, dword [ebp - 0x20]
push str._len_:
push dword [eax + ebx*4]
push 0x440f6c
push ebx
push str._param
push esi
push edi
call fcn.0040af0a
pop ecx
pop ecx
mov ecx, eax
call fcn.0040cf55
mov ecx, eax
call fcn.004011cb
mov ecx, eax
call fcn.0040cf55
mov ecx, eax
call fcn.004014be
mov ecx, eax
call fcn.0040cf55
mov ecx, eax
call fcn.004011cb
mov ecx, eax
call fcn.0040b982
inc ebx
cmp ebx, dword [ebp - 0x1c]
jl 0x40e66a
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40e766
xor eax, eax
push 0x206
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00420d30
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea eax, [ebp]
push eax
call ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
call ebx
push dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp]
push eax
call fcn.00422481
pop ecx
pop ecx
test eax, eax
je 0x40e75f
push dword [ebp - 0x18]
push dword [ebp - 0x28]
call fcn.00422481
pop ecx
pop ecx
test eax, eax
je 0x40e75f
test ebx, ebx
je 0x40e766
push ebx
push dword [ebp - 0x28]
call fcn.00422481
pop ecx
pop ecx
test eax, eax
jne 0x40e766
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jge 0x40e92a
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [eax + ecx*4]
movzx eax, word [ebx]
push 0x2f
pop ecx
cmp cx, ax
je 0x40e827
push 0x2d
pop ecx
cmp cx, ax
je 0x40e827
push edi
call fcn.00406c58
pop ecx
test eax, eax
jne 0x40e7fc
push 1
push ebx
call fcn.0041f168
pop ecx
push eax
push str._Length_:
push ebx
push str.__FixItem_:
push dword [ebp - 0x14]
push str._Fixed_Item
push esi
push edi
call fcn.0040af0a
pop ecx
pop ecx
mov ecx, eax
call fcn.0040cf55
mov ecx, eax
call fcn.004011cb
mov ecx, eax
call fcn.0040cf55
mov ecx, eax
call fcn.004014be
mov ecx, eax
call fcn.0040cf55
mov ecx, eax
call fcn.004011cb
mov ecx, eax
call fcn.0040b982
push ebx
lea ecx, [ebp - 0x24]
call fcn.00403d92
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x40e918
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x24]
push eax
call fcn.0040985e
jmp 0x40e918
add ebx, 2
push ebx
lea ecx, [ebp - 0x10]
call fcn.00403d92
lea ecx, [ebp - 0x10]
call fcn.0040325a
mov ebx, 0x450d44
push ebx
push dword [0x450d5c]
lea ecx, [ebp - 0x2c]
call fcn.00404b7c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x34]
push eax
mov ecx, ebx
call fcn.00405d26
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.0040356e
test al, al
je 0x40e8ad
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jge 0x40e8ad
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + ecx*4 + 4]
movzx ecx, word [eax]
push 0x2d
pop edx
cmp dx, cx
je 0x40e8ad
push 0x2f
pop edx
cmp dx, cx
je 0x40e8ad
mov ecx, dword [esi]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00409047
mov ecx, eax
call fcn.00403d92
inc dword [ebp - 0x14]
inc dword [ebp - 0x18]
jmp 0x40e8c4
mov ecx, dword [esi]
push 0x440f34
lea eax, [ebp - 0x10]
push eax
call fcn.00409047
mov ecx, eax
call fcn.00403e06
push edi
call fcn.00406c58
pop ecx
test eax, eax
jne 0x40e918
mov ecx, dword [esi]
lea eax, [ebp - 0x10]
push eax
call fcn.00409047
mov eax, dword [eax]
push 1
push eax
push str.__Value_:
push dword [ebp - 0x10]
push str._Key_:
push esi
push edi
call fcn.0040af0a
pop ecx
pop ecx
mov ecx, eax
call fcn.0040cf55
mov ecx, eax
call fcn.004014be
mov ecx, eax
call fcn.0040cf55
mov ecx, eax
call fcn.004014be
mov ecx, eax
call fcn.0040b982
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
inc dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jl 0x40e776
mov byte [ebp - 4], 0
push dword [ebp - 0x24]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x10]
call esi
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0041effe
add ebp, 0x20c
leave
ret