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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52378d1
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x53f3c3c]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov esi, dword [edi + 0xc]
mov dword [esp + 0x34], edi
mov dword [esp + 0x58], eax
cmp esi, dword [edi + 0x10]
jbe 0x5017f4b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [edi]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
mov eax, dword [edi + 0x10]
mov dword [esp + 0x14], eax
cmp dword [edi + 0xc], eax
jbe 0x5017f67
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [edi]
xor edi, edi
cmp ebx, edi
je 0x5017f73
cmp ebx, eax
je 0x5017f79
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x14]
je 0x50186a4
cmp ebx, edi
jne 0x5017fb6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x5017f9a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi]
push 4
mov dword [esp + 0x20], ecx
call sub.mfc90.dll_Ordinal_798
add esp, 4
cmp eax, edi
je 0x5017fba
lea edx, [esp + 0x38]
mov dword [eax], edx
jmp 0x5017fbc
mov eax, dword [ebx]
jmp 0x5017f8f
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x128], edi
call fcn.05001e70
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edi
mov byte [esp + 0x54], 0
mov dword [esp + 0x128], 1
cmp ebx, edi
jne 0x501809e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor ebx, ebx
cmp esi, dword [ebx + 0x10]
jb 0x5017fff
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov ebx, dword [esi + 4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebx
nop
mov edi, dword [esi + 0x18]
mov eax, dword [esi + 4]
test ebx, ebx
je 0x501801e
cmp ebx, eax
je 0x5018024
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x24], edi
je 0x50182c3
test ebx, ebx
jne 0x50180a5
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov ecx, dword [esp + 0x24]
cmp ecx, dword [eax + 0x14]
jne 0x5018049
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0xbc]
add edi, 8
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0xd8]
mov byte [esp + 0x128], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea edx, [esp + 0xf8]
mov byte [esp + 0x128], 3
push 4
mov dword [esp + 0x1c], edx
call sub.mfc90.dll_Ordinal_798
add esp, 4
test eax, eax
je 0x50180a9
lea ecx, [esp + 0xf8]
mov dword [eax], ecx
jmp 0x50180ab
mov ebx, dword [ebx]
jmp 0x5017ff4
mov eax, dword [ebx]
jmp 0x501803a
xor eax, eax
mov dword [esp + 0xf8], eax
mov byte [esp + 0x128], 4
call fcn.05001e30
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], 0
push edi
lea ecx, [esp + 0xc0]
mov byte [esp + 0x12c], 5
call dword [0x523a2b0]
lea edx, [edi + 0x1c]
push edx
lea ecx, [esp + 0xdc]
call dword [0x523a2b0]
mov al, byte [edi + 0x38]
mov byte [esp + 0xf4], al
lea eax, [edi + 0x3c]
lea ecx, [esp + 0xf8]
cmp ecx, eax
je 0x501819e
mov edi, dword [eax + 0x14]
mov ebx, dword [eax]
mov eax, dword [esp + 0x10c]
mov esi, dword [eax]
mov edx, dword [edi]
mov dword [eax], eax
mov eax, dword [esp + 0x10c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x88], edx
mov dword [esp + 0x110], 0
cmp esi, eax
je 0x5018177
lea ecx, [ecx]
mov eax, dword [esi]
lea ecx, [esi + 0xc]
mov dword [esp + 0x14], eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push esi
call sub.mfc90.dll_Ordinal_800
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x110]
add esp, 4
cmp esi, eax
jne 0x5018150
mov edx, dword [esp + 0x34]
mov eax, dword [eax]
mov ecx, dword [esp + 0xf8]
push edx
mov edx, dword [esp + 0x8c]
push edi
push ebx
push edx
push ebx
push eax
push ecx
lea ecx, [esp + 0x114]
call fcn.05003820
mov al, byte [esp + 0x54]
mov byte [esp + 0xf5], al
add al, byte [esp + 0xf4]
lea ecx, [esp + 0xbc]
mov byte [esp + 0x54], al
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 4]
lea esi, [eax + 4]
push ecx
push edx
push eax
call fcn.05002520
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.050025c0
mov dword [esi], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov eax, dword [esp + 0x20]
xor ebx, ebx
cmp eax, ebx
jne 0x50182bc
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov esi, dword [esp + 0x24]
cmp esi, dword [eax + 0x14]
jne 0x5018204
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi]
mov dword [esp + 0x24], eax
lea ecx, [esp + 0xf8]
mov dword [esp + 0x18], ecx
mov byte [esp + 0x128], 8
mov eax, dword [esp + 0x10c]
mov edi, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x10c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x110], ebx
cmp edi, eax
je 0x5018265
mov esi, dword [edi]
lea ecx, [edi + 0xc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push edi
call sub.mfc90.dll_Ordinal_800
mov eax, dword [esp + 0x110]
add esp, 4
mov edi, esi
cmp esi, eax
jne 0x5018244
push eax
call sub.mfc90.dll_Ordinal_800
mov edx, dword [esp + 0xfc]
add esp, 4
push edx
mov dword [esp + 0x110], ebx
call sub.mfc90.dll_Ordinal_800
add esp, 4
lea ecx, [esp + 0xd8]
mov byte [esp + 0x128], 6
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xbc]
mov byte [esp + 0x128], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
jmp 0x5018010
mov eax, dword [eax]
jmp 0x50181f5
sub esp, 0x20
mov dword [esp + 0x38], esp
mov edi, esp
lea eax, [esp + 0x58]
push eax
push edi
call fcn.05003020
mov edx, dword [esp + 0x3c]
mov cl, byte [esp + 0x74]
push edx
lea eax, [esp + 0xb0]
push eax
mov byte [edi + 0x1c], cl
call fcn.05019020
add esp, 0x28
lea edi, [eax + 4]
mov byte [esp + 0x128], 9
mov ecx, dword [eax]
push edi
lea edx, [esp + 0x68]
push edx
mov dword [esp + 0x68], ecx
call fcn.05003020
mov al, byte [edi + 0x1c]
mov byte [esp + 0x80], al
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0xb4]
push edx
push eax
mov byte [esp + 0x134], 0xa
call fcn.05018be0
lea ecx, [esp + 0x64]
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x78]
mov edi, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x78]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x7c], 0
cmp edi, eax
je 0x5018421
mov edx, dword [edi]
lea esi, [edi + 8]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], esi
add esi, 0x3c
mov dword [esp + 0x30], esi
mov byte [esp + 0x128], 0xe
mov eax, dword [esi + 0x14]
mov ebx, dword [eax]
mov dword [eax], eax
mov eax, dword [esi + 0x14]
mov dword [eax + 4], eax
mov dword [esi + 0x18], 0
cmp ebx, dword [esi + 0x14]
je 0x50183c1
jmp 0x50183a0
mov eax, dword [ebx]
lea ecx, [ebx + 0xc]
mov dword [esp + 0x1c], eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push ebx
call sub.mfc90.dll_Ordinal_800
mov ebx, dword [esp + 0x20]
add esp, 4
cmp ebx, dword [esi + 0x14]
jne 0x50183a0
mov eax, dword [esi + 0x14]
push eax
call sub.mfc90.dll_Ordinal_800
mov dword [esi + 0x14], 0
mov esi, dword [esi]
add esp, 4
push esi
call sub.mfc90.dll_Ordinal_800
mov byte [esp + 0x12c], 0xc
mov esi, dword [esp + 0x18]
add esp, 4
lea ecx, [esi + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, esi
mov byte [esp + 0x128], 0xb
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push edi
call sub.mfc90.dll_Ordinal_800
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x7c]
add esp, 4
cmp edi, eax
jne 0x5018363
mov esi, dword [esp + 0x2c]
push eax
call sub.mfc90.dll_Ordinal_800
mov ecx, dword [esp + 0x68]
add esp, 4
push ecx
mov dword [esp + 0x7c], 0
call sub.mfc90.dll_Ordinal_800
lea edx, [esp + 0x94]
add esp, 4
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0xa4]
mov ebx, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0xa4]
mov dword [eax + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xa8], 0
cmp ebx, eax
je 0x5018539
lea esp, [esp]
mov eax, dword [ebx]
lea esi, [ebx + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], esi
add esi, 0x3c
mov dword [esp + 0x5c], esi
mov byte [esp + 0x128], 0x12
mov eax, dword [esi + 0x14]
mov edi, dword [eax]
mov dword [eax], eax
mov eax, dword [esi + 0x14]
mov dword [eax + 4], eax
mov dword [esi + 0x18], 0
cmp edi, dword [esi + 0x14]
je 0x50184d6
mov ecx, dword [edi]
mov dword [esp + 0x18], ecx
lea ecx, [edi + 0xc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push edi
call sub.mfc90.dll_Ordinal_800
mov edi, dword [esp + 0x1c]
add esp, 4
cmp edi, dword [esi + 0x14]
jne 0x50184b5
mov eax, dword [esi + 0x14]
push eax
call sub.mfc90.dll_Ordinal_800
mov dword [esi + 0x14], 0
mov esi, dword [esi]
add esp, 4
push esi
call sub.mfc90.dll_Ordinal_800
mov byte [esp + 0x12c], 0x10
mov esi, dword [esp + 0x20]
add esp, 4
lea ecx, [esi + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, esi
mov byte [esp + 0x128], 0xf
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push ebx
call sub.mfc90.dll_Ordinal_800
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0xa8]
add esp, 4
cmp ebx, eax
jne 0x5018480
mov esi, dword [esp + 0x2c]
push eax
call sub.mfc90.dll_Ordinal_800
mov edx, dword [esp + 0x94]
add esp, 4
push edx
mov dword [esp + 0xa8], 0
call sub.mfc90.dll_Ordinal_800
mov eax, dword [esp + 0x2c]
add esp, 4
test eax, eax
jne 0x501869d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x501857c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
add esi, 0x20
mov dword [esp + 0x2c], esi
mov dword [esp + 0x128], 0x13
mov eax, dword [esp + 0x4c]
mov edi, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x4c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x50], 0
cmp edi, eax
je 0x5018667
mov eax, dword [edi]
lea esi, [edi + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], esi
add esi, 0x3c
mov dword [esp + 0x30], esi
mov byte [esp + 0x128], 0x16
mov eax, dword [esi + 0x14]
mov ebx, dword [eax]
mov dword [eax], eax
mov eax, dword [esi + 0x14]
mov dword [eax + 4], eax
mov dword [esi + 0x18], 0
cmp ebx, dword [esi + 0x14]
je 0x5018607
mov ecx, dword [ebx]
mov dword [esp + 0x18], ecx
lea ecx, [ebx + 0xc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push ebx
call sub.mfc90.dll_Ordinal_800
mov ebx, dword [esp + 0x1c]
add esp, 4
cmp ebx, dword [esi + 0x14]
jne 0x50185e6
mov eax, dword [esi + 0x14]
push eax
call sub.mfc90.dll_Ordinal_800
mov dword [esi + 0x14], 0
mov esi, dword [esi]
add esp, 4
push esi
call sub.mfc90.dll_Ordinal_800
mov byte [esp + 0x12c], 0x14
mov esi, dword [esp + 0x20]
add esp, 4
lea ecx, [esi + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, esi
mov byte [esp + 0x128], 0x13
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push edi
call sub.mfc90.dll_Ordinal_800
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x50]
add esp, 4
cmp edi, eax
jne 0x50185b1
mov esi, dword [esp + 0x2c]
push eax
call sub.mfc90.dll_Ordinal_800
mov dword [esp + 0x12c], 0xffffffff
mov edx, dword [esp + 0x3c]
add esp, 4
push edx
mov dword [esp + 0x50], 0
call sub.mfc90.dll_Ordinal_800
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
add esp, 4
jmp 0x5017f55
mov eax, dword [eax]
jmp 0x5018571
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0520b902
mov esp, ebp
pop ebp
ret