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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x518ad2
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x55609c]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
mov dword [esp + 0x28], eax
mov edi, edx
jae 0x50685d
cmp byte [ecx], 0xd
jne 0x50684f
add ecx, 1
cmp ecx, ebx
jae 0x50685d
cmp byte [ecx], 0xa
jne 0x50685b
add ecx, 1
cmp ecx, ebx
je 0x50692e
mov eax, ecx
cmp byte [eax], 0xa
je 0x506876
add eax, 1
cmp eax, ebx
jne 0x506865
jmp 0x50692e
cmp eax, ebx
je 0x50692e
push 0x10
push 0
push ecx
lea esi, [eax + 1]
call dword [sym.imp.MSVCR80.dll__strtoi64]
mov dword [edi + 4], edx
mov edx, eax
add esp, 0xc
or edx, dword [edi + 4]
mov dword [edi], eax
je 0x5068ab
sub esi, dword [ebp + 0xc]
mov eax, dword [esp + 0x2c]
mov dword [eax], esi
mov al, 1
jmp 0x506930
call fcn.00507620
mov dword [esp + 0x14], eax
mov byte [eax + 0x45], 1
mov eax, dword [esp + 0x14]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x14]
mov dword [eax], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 8], eax
xor eax, eax
mov dword [esp + 0x18], eax
cmp esi, ebx
mov dword [esp + 0x1b8], eax
mov edi, esi
je 0x5068ec
nop
cmp byte [edi], 0xa
je 0x5068ec
add edi, 1
cmp edi, ebx
jne 0x5068e0
lea ecx, [esp + 0x154]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
cmp edi, ebx
mov byte [esp + 0x1b8], 1
jne 0x50695e
lea ecx, [esp + 0x154]
mov byte [esp + 0x1b8], 0
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 eax, [esp + 0x10]
mov dword [esp + 0x1b8], 0xffffffff
call fcn.00506d40
xor al, al
mov ecx, dword [esp + 0x1b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.00515015
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x1c]
cmp esi, edi
mov eax, edi
je 0x50696f
cmp byte [edi - 1], 0xd
lea ecx, [edi - 1]
jne 0x50696f
mov eax, ecx
push eax
push esi
lea ecx, [esp + 0x15c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___char_const__]
push 0
add edi, 1
push 0x3a
lea ecx, [esp + 0x15c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x3c], edi
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char__unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov esi, eax
cmp esi, dword [ecx]
je 0x506bd7
push esi
push 0
lea edx, [esp + 0x178]
push edx
lea ecx, [esp + 0x160]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x174]
mov byte [esp + 0x1bc], 5
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
mov ebx, dword [eax]
mov edi, dword [eax + 4]
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x174]
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x174]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
mov edx, dword [eax]
mov eax, dword [eax + 4]
push edi
push ebx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x30]
mov byte [esp + 0x28], 0
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x50]
push edx
push ecx
lea edx, [esp + 0x5c]
push edx
mov edi, eax
call fcn.00507c10
mov ecx, dword [esp + 0x180]
add esi, 1
add esp, 0x18
cmp esi, ecx
jae 0x506ab4
jbe 0x506a5d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x168]
mov eax, dword [esp + 0x158]
mov edi, 0x10
cmp dword [esp + 0x16c], edi
jae 0x506a79
lea eax, [esp + 0x158]
cmp byte [eax + esi], 0x20
je 0x506aad
cmp esi, ecx
jbe 0x506a90
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x168]
cmp dword [esp + 0x16c], edi
mov eax, dword [esp + 0x158]
jae 0x506aa7
lea eax, [esp + 0x158]
cmp byte [eax + esi], 9
jne 0x506ab4
add esi, 1
cmp esi, ecx
jb 0x506a5d
mov eax, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [eax]
push ecx
push esi
lea edx, [esp + 0x194]
push edx
lea ecx, [esp + 0x160]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
sub esp, 0x1c
mov bl, 6
mov byte [esp + 0x1d4], bl
lea eax, [esp + 0x1a8]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
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__]
sub esp, 0x1c
mov byte [esp + 0x1f0], 7
lea edx, [esp + 0x1a8]
mov ecx, esp
mov dword [esp + 0x70], esp
push edx
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 esi, [esp + 0x154]
mov byte [esp + 0x1f0], bl
call fcn.00507a90
add esp, 0x38
lea ecx, [esp + 0xac]
push ecx
mov ecx, eax
mov byte [esp + 0x1bc], 8
call fcn.00507b10
lea edx, [esp + 0xac]
push edx
lea eax, [esp + 0x54]
push eax
lea ebx, [esp + 0x18]
mov byte [esp + 0x1c0], 9
call fcn.005070b0
lea ecx, [esp + 0xac]
push ecx
mov byte [esp + 0x1bc], 8
call fcn.0042fb00
mov edx, esi
push edx
mov byte [esp + 0x1bc], 6
call fcn.0042fb00
mov esi, dword [esp + 0x1c]
mov edi, dword [ebp + 0x10]
cmp esi, edi
je 0x506b9c
lea esp, [esp]
cmp byte [esi], 0xa
je 0x506b9c
add esi, 1
cmp esi, edi
jne 0x506b90
lea ecx, [esp + 0x18c]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x1b8], 5
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 + 0x170]
mov byte [esp + 0x1b8], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp esi, edi
jne 0x506956
jmp 0x506905
sub edi, dword [ebp + 0xc]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov dword [eax], edi
mov ebx, dword [ecx]
lea edi, [esp + 0x10]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
test edi, edi
mov esi, dword [esp + 0x14]
je 0x506c02
lea edx, [esp + 0x10]
cmp edi, edx
je 0x506c08
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, esi
je 0x506ce1
test edi, edi
jne 0x506c1a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [edi + 4]
jne 0x506c25
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
sub esp, 0x1c
lea esi, [ebx + 0xc]
lea eax, [esi + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
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 byte [esp + 0x1d4], 2
cmp ebx, dword [edi + 4]
jne 0x506c4e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x68], 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 esi, [esp + 0x11c]
mov byte [esp + 0x1f0], 1
call fcn.00507a90
add esp, 0x38
lea ecx, [esp + 0x74]
push ecx
mov ecx, eax
mov byte [esp + 0x1bc], 3
call fcn.00507b10
mov byte [esp + 0x1b8], 4
mov edx, dword [esp + 0x28]
add edx, 0x9c
push edx
lea eax, [esp + 0x78]
lea ebx, [esp + 0x54]
call fcn.005071b0
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x1bc], 3
call fcn.0042fb00
mov ecx, esi
push ecx
mov byte [esp + 0x1bc], 1
call fcn.0042fb00
lea esi, [esp + 0x20]
call fcn.004f38e0
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
jmp 0x506bf2
lea ecx, [esp + 0x154]
mov byte [esp + 0x1b8], 0
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 dword [esp + 0x1b8], 0xffffffff
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x14]
push ecx
push edx
mov esi, ecx
push esi
lea edx, [esp + 0x58]
push edx
mov edi, ecx
call fcn.00507410
mov eax, dword [esp + 0x14]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
jmp 0x506930