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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101121c2
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x1014d0cc]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x1014d0cc]
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 0x1004fcad
cmp byte [ecx], 0xd
jne 0x1004fc9f
add ecx, 1
cmp ecx, ebx
jae 0x1004fcad
cmp byte [ecx], 0xa
jne 0x1004fcab
add ecx, 1
cmp ecx, ebx
je 0x1004fd7e
mov eax, ecx
cmp byte [eax], 0xa
je 0x1004fcc6
add eax, 1
cmp eax, ebx
jne 0x1004fcb5
jmp 0x1004fd7e
cmp eax, ebx
je 0x1004fd7e
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 0x1004fcfb
sub esi, dword [ebp + 0xc]
mov eax, dword [esp + 0x2c]
mov dword [eax], esi
mov al, 1
jmp 0x1004fd80
call fcn.10050c30
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 0x1004fd3c
nop
cmp byte [edi], 0xa
je 0x1004fd3c
add edi, 1
cmp edi, ebx
jne 0x1004fd30
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 0x1004fdae
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.10050190
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.1010defb
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x1c]
cmp esi, edi
mov eax, edi
je 0x1004fdbf
cmp byte [edi - 1], 0xd
lea ecx, [edi - 1]
jne 0x1004fdbf
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 0x10050027
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.10050f60
mov ecx, dword [esp + 0x180]
add esi, 1
add esp, 0x18
cmp esi, ecx
jae 0x1004ff04
jbe 0x1004fead
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 0x1004fec9
lea eax, [esp + 0x158]
cmp byte [eax + esi], 0x20
je 0x1004fefd
cmp esi, ecx
jbe 0x1004fee0
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 0x1004fef7
lea eax, [esp + 0x158]
cmp byte [eax + esi], 9
jne 0x1004ff04
add esi, 1
cmp esi, ecx
jb 0x1004fead
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.10050e20
add esp, 0x38
lea ecx, [esp + 0xac]
push ecx
mov ecx, eax
mov byte [esp + 0x1bc], 8
call fcn.10050ea0
lea edx, [esp + 0xac]
push edx
lea eax, [esp + 0x54]
push eax
lea ebx, [esp + 0x18]
mov byte [esp + 0x1c0], 9
call fcn.100503d0
lea ecx, [esp + 0xac]
push ecx
mov byte [esp + 0x1bc], 8
call fcn.1004fbe0
mov edx, esi
push edx
mov byte [esp + 0x1bc], 6
call fcn.1004fbe0
mov esi, dword [esp + 0x1c]
mov edi, dword [ebp + 0x10]
cmp esi, edi
je 0x1004ffec
lea esp, [esp]
cmp byte [esi], 0xa
je 0x1004ffec
add esi, 1
cmp esi, edi
jne 0x1004ffe0
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 0x1004fda6
jmp 0x1004fd55
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 0x10050052
lea edx, [esp + 0x10]
cmp edi, edx
je 0x10050058
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, esi
je 0x10050131
test edi, edi
jne 0x1005006a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [edi + 4]
jne 0x10050075
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 0x1005009e
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.10050e20
add esp, 0x38
lea ecx, [esp + 0x74]
push ecx
mov ecx, eax
mov byte [esp + 0x1bc], 3
call fcn.10050ea0
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.100504d0
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x1bc], 3
call fcn.1004fbe0
mov ecx, esi
push ecx
mov byte [esp + 0x1bc], 1
call fcn.1004fbe0
lea esi, [esp + 0x20]
call fcn.10050db0
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
jmp 0x10050042
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.10050730
mov eax, dword [esp + 0x14]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
jmp 0x1004fd80