Function at 0x407bd9
Capabilities:
Print debug messages
Read .ini file

Disassembly:
push ebp
sub esp, 0x490
lea ebp, [esp - 4]
mov eax, dword [0x4111b4]
xor eax, ebp
mov dword [ebp + 0x490], eax
push 0x1cc
mov eax, 0x40ad2a
call fcn.00409b4c
mov edi, dword [ebp + 0x49c]
mov esi, dword [ebp + 0x4a0]
xor ebx, ebx
cmp edi, ebx
je 0x40849f
cmp esi, ebx
je 0x40849f
xor eax, eax
push 0x206
mov word [ebp + 0x70], ax
lea eax, [ebp + 0x72]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp + 0x70]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 0x40c140
lea ecx, [ebp + 0x54]
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_wchar_t_const__]
push esi
lea ecx, [ebp + 0x54]
mov dword [ebp - 4], ebx
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_wchar_t_const__]
push 0x40c138
lea ecx, [ebp + 0x54]
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_wchar_t_const__]
lea eax, [ebp + 0x70]
push eax
lea ecx, [ebp + 0x54]
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_wchar_t_const__]
push 0x40c130
lea ecx, [ebp + 0x54]
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_wchar_t_const__]
test byte [0x4115d8], 1
mov esi, 0x4115bc
jne 0x407cb9
or dword [0x4115d8], 1
mov ecx, esi
mov byte [ebp - 4], 1
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_]
push 0x40aebf
call fcn.0040a006
pop ecx
mov byte [ebp - 4], bl
test byte [0x4115d8], 2
jne 0x407ce5
or dword [0x4115d8], 2
mov ecx, 0x41159c
mov byte [ebp - 4], 2
call fcn.00407594
push 0x40aee0
call fcn.0040a006
pop ecx
mov byte [ebp - 4], bl
cmp dword [0x411598], ebx
jne 0x4081b9
xor edi, edi
inc edi
lea ecx, [ebp]
mov dword [ebp - 0x18], ebx
mov dword [0x411598], edi
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_]
push 0x41159c
push esi
mov byte [ebp - 4], 3
call fcn.004070f7
pop ecx
pop ecx
test eax, eax
je 0x407df3
push dword [0x4110a4]
mov edi, dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
lea eax, [ebp - 0x3c]
push esi
push eax
call edi
add esp, 0xc
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 4
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__]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
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_]
push dword [0x411094]
lea eax, [ebp + 0x38]
push esi
push eax
call edi
add esp, 0xc
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push ebx
push dword [0x4110a0]
push dword [0x411098]
call edi
lea ecx, [ebp]
mov dword [0x411594], eax
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push ebx
push dword [0x4110ac]
push dword [0x4110a8]
call edi
mov dword [0x411590], eax
cmp eax, ebx
jne 0x407dc8
lea ecx, [ebp + 0x38]
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push ebx
push dword [0x41109c]
push dword [0x411098]
call edi
mov dword [0x411590], eax
lea ecx, [ebp]
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push ebx
push dword [0x4110b4]
push dword [0x4110a8]
call edi
lea ecx, [ebp + 0x38]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
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_]
jmp 0x407e2c
push 0x40c0fc
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
push eax
mov byte [ebp - 4], 6
call fcn.00405008
add esp, 0x10
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
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_]
lea eax, [ebp + 0x54]
push edi
push eax
call fcn.0040586b
pop ecx
pop ecx
xor edi, edi
inc edi
cmp dword [0x411590], edi
je 0x4081ad
cmp dword [ebp - 0x18], ebx
je 0x4081ad
push 0x40c0d0
lea ecx, [ebp + 0x38]
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_wchar_t_const__]
push dword [0x411594]
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x54]
push eax
mov byte [ebp - 4], 7
call fcn.0040420f
add esp, 0xc
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 3
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_]
lea ecx, [ebp - 0xa0]
call fcn.004075ad
lea eax, [ebp - 0xa0]
push eax
push esi
mov byte [ebp - 4], 8
call fcn.00407882
cmp dword [ebp - 0x18], ebx
pop ecx
pop ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], ebx
jle 0x40819e
push 1
push 3
lea ecx, [ebp - 0x150]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int_]
push dword [ebp - 0x20]
lea eax, [ebp - 0x148]
push dword [0x4110b8]
mov byte [ebp - 4], 9
push eax
call fcn.004038e5
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
xor eax, eax
push 0x206
mov word [ebp + 0x278], ax
lea eax, [ebp + 0x27a]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x150]
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_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void_]
mov esi, eax
lea ecx, [ebp]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push 0x104
lea eax, [ebp + 0x278]
push eax
push 0x40c360
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push dword [0x4110a8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 9
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_]
lea eax, [ebp + 0x278]
push eax
lea ecx, [ebp + 0x38]
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_wchar_t_const__]
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xb
call dword [sym.imp.MSVCP90.dll_public:_class_std::_String_iterator_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__::begin_void_]
mov esi, eax
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp + 0x38]
call dword [sym.imp.MSVCP90.dll_public:_class_std::_String_iterator_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__::end_void_]
mov edi, eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp + 0x38]
call dword [sym.imp.MSVCP90.dll_public:_class_std::_String_iterator_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__::begin_void_]
push dword [sym.imp.MSVCR90.dll_towlower]
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp + 0x488]
push eax
call fcn.00402050
add esp, 0x20
lea eax, [ebp + 0x278]
push eax
lea ecx, [ebp - 0x68]
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_wchar_t_const__]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xc
call fcn.0040669c
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xb
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_]
lea eax, [ebp - 0xa0]
push eax
push dword [ebp - 0x88]
lea ecx, [ebp - 0x4c]
call fcn.00405377
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x44]
call fcn.004044e0
test al, al
jne 0x40812f
lea ecx, [ebp - 0x44]
call fcn.00404573
lea ecx, [eax + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call fcn.0040883c
pop ecx
test eax, eax
je 0x40812f
lea eax, [ebp + 0x278]
push eax
lea ecx, [ebp - 0x3c]
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_wchar_t_const__]
push dword [0x4110cc]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xd
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_wchar_t_const__]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xe
call fcn.00404573
push 0x41159c
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x68]
push ecx
add eax, 0x1c
push eax
call fcn.00406970
add esp, 0x10
test eax, eax
lea ecx, [ebp - 0x68]
setne byte [ebp - 0xd]
mov byte [ebp - 4], 0xd
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_]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
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_]
cmp byte [ebp - 0xd], bl
je 0x40812f
push 1
push 3
lea ecx, [ebp - 0x1d8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int_]
push dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::endl_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t____]
lea eax, [ebp + 0x278]
push 0x40c0c0
push eax
lea eax, [ebp - 0x1d0]
push 0x40c080
push eax
mov byte [ebp - 4], 0xf
call fcn.004038e5
pop ecx
pop ecx
push eax
call fcn.004038e5
pop ecx
pop ecx
push eax
call fcn.004038e5
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x1d8]
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_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void_]
mov ecx, eax
mov byte [ebp - 4], 0x10
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xf
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_]
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0xb
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void_]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 9
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_]
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 8
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void_]
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x18]
jl 0x407ea6
cmp dword [ebp - 0x14], ebx
jne 0x40819e
push 0x40c04c
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
push eax
mov byte [ebp - 4], 0x11
call fcn.00405008
add esp, 0x10
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
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_]
push dword [0x411594]
lea eax, [ebp + 0x54]
push eax
call fcn.0040586b
pop ecx
pop ecx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.004074f3
lea ecx, [ebp]
mov byte [ebp - 4], 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_]
cmp dword [0x411590], 1
jne 0x4081f2
push 0x40c030
lea ecx, [ebp - 0x3c]
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_wchar_t_const__]
push dword [0x411594]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 0x54]
push eax
mov byte [ebp - 4], 0x12
call fcn.0040420f
add esp, 0xc
lea ecx, [ebp - 0x3c]
jmp 0x408489
lea eax, [ebp + 0x70]
push eax
lea ecx, [ebp + 0x1c]
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_wchar_t_const__]
lea eax, [ebp + 0x488]
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0x13
call dword [sym.imp.MSVCP90.dll_public:_class_std::_String_iterator_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__::begin_void_]
mov esi, eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::_String_iterator_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__::end_void_]
mov edi, eax
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::_String_iterator_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__::begin_void_]
push dword [sym.imp.MSVCR90.dll_towlower]
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x70]
push eax
call fcn.00402050
mov esi, 0x40b5b0
push esi
lea eax, [ebp + 0x1c]
push 0x40bf90
push eax
call fcn.0040783f
push esi
lea eax, [ebp + 0x1c]
push 0x40c028
push eax
call fcn.0040783f
add esp, 0x38
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x1c]
mov esi, 0x41159c
push eax
mov ecx, esi
call fcn.0040655a
push esi
push dword [0x4115b4]
lea ecx, [ebp - 0x4c]
call fcn.00405377
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004044e0
test al, al
jne 0x408486
lea ecx, [ebp - 0x1c]
call fcn.00404573
cmp dword [eax + 0x30], ebx
jne 0x408486
lea ecx, [ebp - 0x1c]
call fcn.00404573
xor esi, esi
sub esp, 0x1c
inc esi
mov dword [eax + 0x30], esi
lea eax, [ebp + 0x1c]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [ebp - 0xc8]
call fcn.00408e73
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x14
call fcn.00408d36
test eax, eax
je 0x4083df
xor eax, eax
mov byte [ebp + 0x480], bl
lea edi, [ebp + 0x481]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x14], ebx
call fcn.00408d3e
push dword [ebp - 0x14]
push eax
lea eax, [ebp + 0x480]
push eax
call fcn.00409995
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00404573
lea ecx, [ebp - 0xc8]
mov edi, eax
call fcn.00408d3a
cmp eax, dword [edi + 0x1c]
jne 0x408441
lea ecx, [ebp - 0x1c]
call fcn.00404573
add eax, 0x20
push 0x10
push eax
lea eax, [ebp + 0x480]
push eax
call sub.MSVCR90.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x408441
push 0x40c008
lea ecx, [ebp - 0x3c]
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_wchar_t_const__]
push dword [0x411594]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 0x54]
push eax
mov byte [ebp - 4], 0x15
call fcn.0040420f
add esp, 0xc
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x14
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_]
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x13
call fcn.00408ed3
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 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_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x54]
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, esi
jmp 0x4084a2
push 0x40bfe0
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
push eax
mov byte [ebp - 4], 0x16
call fcn.00405008
add esp, 0x10
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x14
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_]
push 0x40bfbc
lea ecx, [ebp - 0x3c]
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_wchar_t_const__]
push dword [0x411594]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 0x54]
push eax
mov byte [ebp - 4], 0x17
call fcn.0040420f
add esp, 0xc
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x14
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_]
push 0x40bf98
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
push eax
mov byte [ebp - 4], 0x18
call fcn.00405008
add esp, 0x10
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x14
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_]
push dword [0x411594]
lea eax, [ebp + 0x54]
push eax
call fcn.0040586b
pop ecx
pop ecx
mov esi, eax
jmp 0x4083b0
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 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_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x54]
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_]
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 + 0x490]
xor ecx, ebp
call fcn.00409ade
add ebp, 0x494
leave
ret