Function at 0x40cfd0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fa22
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x455440]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], 0x11
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], 0xa
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0xc], 0x3f400000
mov dword [eax + 0x10], 0x3e800000
mov dword [eax + 0x14], 0x40100000
mov dword [eax + 0x18], 0x26
mov dword [eax + 0x1c], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
push esi
push str.Command_line:__ls
push 6
push str.CommandLine::CommandLine
call fcn.004110a0
add esp, 0x10
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, eax
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x20], eax
jle 0x40d131
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x1c]
jmp 0x40d090
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x54]
mov ecx, dword [ecx + eax*4]
push edx
mov edx, 0x44b94c
call fcn.0040a220
add esp, 4
test eax, eax
jne 0x40d161
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40d11b
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x40d112
mov esi, eax
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 2
or ecx, 0xffffffff
mov edx, dword [ebx]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d106
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 4
dec esi
jne 0x40d0e3
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x54]
push ebx
call fcn.00422f1c
add esp, 4
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x20]
jl 0x40d090
mov byte [ebp - 4], 0
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x50], 0
jbe 0x40d3b4
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x38]
push 2
push eax
call fcn.0040da90
mov byte [ebp - 4], 5
mov ecx, 0x44d140
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40d1aa
test dx, dx
je 0x40d1a6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40d1aa
add eax, 4
add ecx, 4
test dx, dx
jne 0x40d184
xor eax, eax
jmp 0x40d1af
sbb eax, eax
or eax, 1
test eax, eax
setne byte [ebp - 0xd]
mov byte [ebp - 4], 3
or ecx, 0xffffffff
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d1d6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x40d203
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x40d11e
mov edx, dword [ebp - 0x50]
call fcn.00406fc0
push dword [ebp - 0x54]
call fcn.00422f1c
add esp, 4
jmp 0x40d11e
cmp dword [ebp - 0x50], 1
jbe 0x40d230
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 4]
sub ecx, 0x10
call fcn.00405c60
lea edi, [eax + 0x10]
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 8
or ebx, 1
jmp 0x40d268
call fcn.004015a0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x40d3cd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xa
or ebx, 2
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x50], 0
jbe 0x40d3b4
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.0040d680
mov ecx, dword [ebp - 0x18]
mov ebx, dword [eax]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
push ebx
call fcn.0040d770
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x40d2cc
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x40d2bb
push 1
push dword [eax + 8]
mov ecx, eax
call fcn.004070b0
test al, al
je 0x40d39b
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x3c]
mov ecx, eax
push dword [ebp - 0x40]
push ebx
call fcn.0040d870
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x2c]
lea ecx, [eax + 4]
mov ebx, dword [ecx]
sub ebx, 0x10
mov edx, dword [edx]
lea eax, [edx - 0x10]
mov dword [ebp - 0x2c], eax
cmp eax, ebx
je 0x40d328
cmp dword [ebx + 0xc], 0
jl 0x40d31f
mov eax, dword [eax]
cmp eax, dword [ebx]
jne 0x40d31f
mov ecx, dword [ebp - 0x2c]
call fcn.00405c60
mov dword [ebp - 0x2c], eax
or ecx, 0xffffffff
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d311
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
add eax, 0x10
mov dword [ecx + 4], eax
jmp 0x40d328
push dword [edx - 0xc]
push edx
call fcn.00405db0
mov dword [ebp - 4], 8
mov ebx, dword [ebp - 0x14]
test bl, 2
je 0x40d35e
and ebx, 0xfffffffd
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 8
lea edx, [esi - 0x10]
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d35e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 3
test bl, 1
je 0x40d1dc
and ebx, 0xfffffffe
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 3
lea edx, [edi - 0x10]
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d1dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40d1dc
push 0x8007000e
push 0x9a3
mov edx, str.ATL::CAtlMap_class_ATL::CStringT_wchar_t_class_ATL::StrTraitATL_wchar_t_class_ATL::ChTraitsCRT_wchar_t______class_ATL::CStringT_wchar_t_class_ATL::StrTraitATL_wchar_t_class_ATL::ChTraitsCRT_wchar_t______class_ATL::CElementTraits_class_ATL::CStringT_wchar_t_class_ATL::StrTraitATL_wchar_t_class_ATL::ChTraitsCRT_wchar_t________class_ATL::CElementTraits_class_ATL::CStringT_wchar_t_class_ATL::StrTraitATL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_________::CreateNode
mov ecx, str.C:Program_FilesMicrosoft_Visual_Studio_12.0VC_atlmfcinclude_atlcoll.h
call fcn.0040bca0
push 0x80070057
push 0x30a
mov edx, str.ATL::CAtlArray_class_ATL::CStringT_wchar_t_class_ATL::StrTraitATL_wchar_t_class_ATL::ChTraitsCRT_wchar_t______class_ATL::CElementTraits_class_ATL::CStringT_wchar_t_class_ATL::StrTraitATL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_________::operator___
mov ecx, str.C:Program_FilesMicrosoft_Visual_Studio_12.0VC_atlmfcinclude_atlcoll.h
call fcn.0040bca0
push 0x80004005
push 0xcd
mov edx, str.ATL::CSimpleStringT_wchar_t_0_::CSimpleStringT
mov ecx, str.C:Program_FilesMicrosoft_Visual_Studio_12.0VC_atlmfcinclude_atlsimpstr.h
call fcn.0040bca0
int3