Function at 0x410570
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d4e59
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51501c]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
lea esi, [esp + 0x4c]
call fcn.00410550
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], 0
call fcn.00412ee0
add esp, 4
mov ecx, esi
mov byte [esp + 0x74], 2
call dword [sym.imp.MSVCP80.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 + 0x7c]
push eax
lea ecx, [esp + 0x30]
call fcn.00412ee0
add esp, 4
mov byte [esp + 0x74], 3
mov esi, dword [esp + 0x40]
cmp esi, dword [esp + 0x44]
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jbe 0x4105ea
call ebp
mov edi, dword [esp + 0x30]
cmp edi, dword [esp + 0x34]
lea eax, [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
jbe 0x410602
call ebp
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], eax
mov ebx, edi
lea esp, [esp]
mov esi, dword [esp + 0x44]
cmp dword [esp + 0x40], esi
jbe 0x41061c
call ebp
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41062c
lea ecx, [esp + 0x3c]
cmp eax, ecx
je 0x41062e
call ebp
mov edi, dword [esp + 0x20]
cmp edi, esi
je 0x410809
mov esi, dword [esp + 0x34]
cmp dword [esp + 0x30], esi
jbe 0x410646
call ebp
mov eax, dword [esp + 0x24]
test eax, eax
je 0x410656
lea edx, [esp + 0x2c]
cmp eax, edx
je 0x410658
call ebp
cmp ebx, esi
je 0x410809
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x41066a
call ebp
cmp edi, dword [esi + 8]
jb 0x410671
call ebp
cmp dword [edi + 0x18], 8
jb 0x41067f
mov esi, dword [edi + 4]
add edi, 4
jmp 0x410684
add edi, 4
mov esi, edi
cmp dword [esp + 0x24], 0
jne 0x41068d
call ebp
mov eax, dword [esp + 0x24]
cmp ebx, dword [eax + 8]
jb 0x410698
call ebp
cmp dword [ebx + 0x18], 8
lea ebp, [ebx + 4]
jb 0x4106a6
mov eax, dword [ebp]
jmp 0x4106a8
mov eax, ebp
push eax
call dword [sym.imp.MSVCR80.dll_atoi]
add esp, 4
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.MSVCR80.dll_atoi]
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp eax, ecx
je 0x41077e
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp esi, dword [ecx + 8]
jb 0x4106df
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esi + 0x18], 8
jb 0x4106e9
mov esi, dword [edi]
jmp 0x4106eb
mov esi, edi
mov edx, dword [esp + 0x24]
cmp ebx, dword [edx + 8]
jb 0x4106fa
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [ebx + 0x18], 8
jb 0x410705
mov eax, dword [ebp]
jmp 0x410707
mov eax, ebp
push eax
call dword [sym.imp.MSVCR80.dll_atoi]
add esp, 4
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.MSVCR80.dll_atoi]
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp eax, ecx
jg 0x4107b3
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cmp esi, dword [eax + 8]
jb 0x41073e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esi + 0x18], 8
jb 0x410748
mov esi, dword [edi]
jmp 0x41074a
mov esi, edi
mov ecx, dword [esp + 0x24]
cmp ebx, dword [ecx + 8]
jb 0x410759
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [ebx + 0x18], 8
jb 0x410764
mov eax, dword [ebp]
jmp 0x410766
mov eax, ebp
mov edi, dword [sym.imp.MSVCR80.dll_atoi]
push eax
call edi
add esp, 4
push esi
mov ebp, eax
call edi
add esp, 4
cmp eax, ebp
jl 0x4107e8
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp eax, dword [edx + 8]
jb 0x410791
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x24]
add dword [esp + 0x20], 0x1c
cmp ebx, dword [ecx + 8]
jb 0x4107a5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add ebx, 0x1c
jmp 0x410610
lea ebx, [esp + 0x2c]
mov byte [esp + 0x74], 2
call fcn.0040fdc0
lea ebx, [esp + 0x3c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0040fdc0
mov al, 1
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
lea ebx, [esp + 0x2c]
mov byte [esp + 0x74], 2
call fcn.0040fdc0
lea ebx, [esp + 0x3c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0040fdc0
jmp 0x41087e
mov byte [esp + 0x74], 2
mov esi, dword [esp + 0x30]
test esi, esi
je 0x41083c
mov edi, dword [esp + 0x34]
cmp esi, edi
je 0x41082f
mov edi, edi
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x410820
mov edx, dword [esp + 0x30]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x74], 0xffffffff
mov esi, dword [esp + 0x40]
cmp esi, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
je 0x41087e
mov edi, dword [esp + 0x44]
cmp esi, edi
je 0x410871
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x410862
mov eax, dword [esp + 0x40]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret