Function at 0x40e3d0
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x50dd5d
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x564020]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x564020]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov eax, dword [esp + 0x140]
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [esp + 0x18], eax
mov dword [esp + 0x138], 0
test eax, eax
je 0x40e611
mov ebp, dword [esp + 0x1c]
add ebp, 0xfffffffe
js 0x40e606
mov ebx, dword [sym.imp.MSVCR90.dll__wcsicmp]
mov eax, dword [eax + ebp*4]
push str._mod
push eax
call ebx
add esp, 8
test eax, eax
jne 0x40e574
mov edx, dword [esp + 0x18]
mov edi, dword [edx + ebp*4 + 4]
lea ecx, [esp + 0x110]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov eax, dword [esp + 0x144]
sub eax, 1
mov byte [esp + 0x138], 1
je 0x40e4c8
sub eax, 1
jne 0x40e4f6
cmp dword [0x56f510], eax
jne 0x40e4c1
push 2
mov esi, 0x56f4fc
call fcn.00410be0
add esp, 4
test al, al
je 0x40e4f6
push 0x56f4fc
jmp 0x40e4e9
cmp dword [0x56f4f4], 0
jne 0x40e4e4
push 1
mov esi, 0x56f4e0
call fcn.00410be0
add esp, 4
test al, al
je 0x40e4f6
push 0x56f4e0
lea ecx, [esp + 0x114]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
cmp dword [esp + 0x124], 0
je 0x40e55f
push edi
lea ecx, [esp + 0x114]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
cmp dword [esp + 0x128], 8
mov eax, dword [esp + 0x114]
jae 0x40e526
lea eax, [esp + 0x114]
push 1
push 0x40
push 1
push eax
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::constructor_wchar_t_const___int__int_]
mov byte [esp + 0x138], 2
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
cmp dword [esp + ecx + 0x2c], 0
je 0x40e586
lea ecx, [esp + 0x24]
mov byte [esp + 0x138], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea ecx, [esp + 0x110]
mov byte [esp + 0x138], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
sub ebp, 1
mov eax, dword [esp + 0x18]
jns 0x40e462
jmp 0x40e606
lea edx, [esp + 0xb4]
push edx
call fcn.0040dfe0
mov ebx, dword [esp + 0x20]
push eax
mov byte [esp + 0x13c], 3
call fcn.0040f320
lea eax, [esp + 0xb4]
push eax
mov byte [esp + 0x13c], 2
call fcn.0040e640
mov eax, ebx
call fcn.0040f2b0
lea ecx, [esp + 0x110]
mov esi, eax
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::swap_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____]
mov al, 1
xor ebx, ebx
lea ecx, [esp + 0x24]
mov dword [esi + 0x54], ebx
mov byte [esi + 0x58], al
mov byte [esp + 0x138], al
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea ecx, [esp + 0x110]
mov byte [esp + 0x138], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40e611
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.00419fc4
add esp, 0x128
ret