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

Disassembly:
push 0xffffffffffffffff
push 0x634d29
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push ebp
push esi
push edi
mov eax, dword [0x68b740]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x48], ebx
call fcn.005bf630
mov dword [ebx + 4], eax
mov byte [eax + 0x39], 1
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [eax], eax
mov eax, dword [ebx + 4]
xor ebp, ebp
mov dword [eax + 8], eax
mov dword [ebx + 8], ebp
mov eax, dword [esp + 0xb4]
push 1
lea esi, [ebx + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0xb4], ebp
call fcn.005c3370
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 1
call fcn.00409450
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebp
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov byte [esp + 0xb0], 2
call fcn.005c18a0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
mov esi, edx
mov edi, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
cmp esi, ebp
mov dword [esp + 0x34], eax
je 0x5c37e3
lea edx, [esp + 0x1c]
cmp esi, edx
je 0x5c37ed
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x20]
cmp edi, dword [esp + 0x34]
je 0x5c39e1
cmp esi, ebp
jne 0x5c3801
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [esi + 4]
jne 0x5c380c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea esi, [edi + 8]
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [ebx + 0xc]
call fcn.005c0a50
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x2c], ebp
je 0x5c39b9
mov eax, dword [ebp + 4]
test eax, eax
je 0x5c39b9
mov ecx, dword [ebp + 8]
sub ecx, eax
sar ecx, 2
je 0x5c39b9
mov edx, dword [esp + 0x14]
xor eax, eax
sub esp, 0x10
cmp edi, dword [edx + 4]
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
jne 0x5c3868
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [esp + 0xa4]
push eax
call fcn.005bee10
add esp, 0x30
mov esi, eax
push esi
lea ecx, [esp + 0x50]
mov byte [esp + 0xb0], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x68], ecx
mov edx, dword [esi + 0x20]
mov dword [esp + 0x6c], edx
mov eax, dword [esi + 0x24]
mov dword [esp + 0x70], eax
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x74], ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x3c]
push eax
mov ecx, ebx
mov byte [esp + 0xb4], 4
call fcn.005c0f80
lea ecx, [esp + 0x4c]
mov byte [esp + 0xac], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x78]
mov byte [esp + 0xac], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov esi, dword [esp + 0x38]
test esi, esi
jne 0x5c3904
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x3c]
cmp edi, dword [esi + 4]
jne 0x5c3913
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add edi, 0x28
push edi
mov ecx, ebx
mov dword [esp + 0x2c], edi
call fcn.005be3f0
xor esi, esi
xor edi, edi
jmp 0x5c3934
mov ebp, dword [esp + 0x2c]
mov edx, dword [ebp + 0x10]
cmp esi, edx
jge 0x5c39b5
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x5c396d
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x5c396d
cmp esi, edx
jge 0x5c396d
test eax, eax
ja 0x5c395c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp + 4]
mov ecx, dword [eax]
add ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov ebp, eax
jmp 0x5c396f
xor ebp, ebp
push 0x10
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
mov byte [esp + 0xac], 5
je 0x5c3995
push 1
push ebp
mov ecx, eax
call fcn.005c3370
jmp 0x5c3997
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword [ecx + esi*4], eax
add edi, 0x1c
add esi, 1
cmp edi, 0x70
mov byte [esp + 0xac], 2
jl 0x5c3930
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
cmp edi, dword [edx + 4]
jne 0x5c39c8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
xor ebp, ebp
jmp 0x5c37d3
mov esi, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x20]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x20]
cmp esi, eax
mov byte [esp + 0xac], 1
mov dword [esp + 0x24], ebp
je 0x5c3a1e
mov edi, dword [esi]
lea ecx, [esi + 8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x24]
add esp, 4
cmp edi, eax
mov esi, edi
jne 0x5c3a00
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret 4