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

Disassembly:
push 0xffffffffffffffff
push 0x41e88d
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x42b75c]
xor eax, esp
mov dword [esp + 0x16c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42b75c]
xor eax, esp
push eax
lea eax, [esp + 0x184]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x1a0]
mov eax, dword [esp + 0x198]
mov esi, dword [esp + 0x194]
mov edi, dword [esp + 0x19c]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], eax
call fcn.00412340
push edi
lea edx, [esp + 0x3c]
push edx
xor ebx, ebx
push esi
mov dword [esp + 0x198], ebx
call fcn.00411e80
add esp, 0xc
mov byte [esp + 0x17], al
cmp al, bl
je 0x4127f3
mov eax, dword [esp + 0x4c]
mov edi, dword [eax]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebp
mov edi, edi
mov esi, dword [esp + 0x4c]
cmp ebp, ebx
je 0x41245e
cmp ebp, dword [esp + 0x38]
je 0x412464
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, esi
je 0x4127f3
cmp ebp, ebx
jne 0x4127d1
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x412487
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
lea eax, [edi + 8]
push eax
lea ecx, [esp + 0x168]
call dword [sym.imp.MSVCP90.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 ecx, [esp + 0x54]
mov byte [esp + 0x18c], 1
call fcn.00412340
mov ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x16c]
mov byte [esp + 0x194], 2
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call fcn.00411e80
add esp, 0xc
test al, al
je 0x412737
cmp dword [esp + 0x6c], 1
jbe 0x412737
mov eax, dword [esp + 0x68]
mov esi, dword [eax]
mov eax, dword [esp + 0x54]
mov edi, eax
cmp eax, ebx
jne 0x4127d9
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x41250b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
lea eax, [esi + 8]
push eax
lea ecx, [esp + 0x14c]
call dword [sym.imp.MSVCP90.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 + 0x18c], 3
cmp edi, ebx
jne 0x4127e0
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x41253f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [esi]
cmp edi, ebx
jne 0x4127e7
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor edi, edi
cmp esi, dword [edi + 0x14]
jne 0x41255c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
lea eax, [esi + 8]
push eax
lea ecx, [esp + 0x130]
call dword [sym.imp.MSVCP90.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 + 0x18c], 4
cmp dword [esp + 0x1a4], ebx
je 0x412602
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x14c]
call dword [sym.imp.MSVCP90.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 esi, dword [eax]
mov edi, dword [eax + 4]
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x14c]
call dword [sym.imp.MSVCP90.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 ecx, dword [eax]
mov ebp, dword [eax + 4]
lea edx, [esp + 0x88]
mov dword [esp + 0x28], ecx
push edx
lea ecx, [esp + 0x14c]
call dword [sym.imp.MSVCP90.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 ecx, dword [eax]
mov eax, dword [eax + 4]
mov byte [esp + 0x24], bl
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [sym.imp.MSVCR90.dll_tolower]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x1c]
push ecx
push edx
push edi
push esi
push ebp
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00411b80
mov ebp, dword [esp + 0x3c]
add esp, 0x20
cmp dword [esp + 0x1a8], ebx
je 0x41268f
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x130]
call dword [sym.imp.MSVCP90.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 esi, dword [eax]
mov edi, dword [eax + 4]
lea edx, [esp + 0x90]
push edx
lea ecx, [esp + 0x130]
call dword [sym.imp.MSVCP90.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 ecx, dword [eax]
mov ebp, dword [eax + 4]
lea edx, [esp + 0xa0]
mov dword [esp + 0x28], ecx
push edx
lea ecx, [esp + 0x130]
call dword [sym.imp.MSVCP90.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 ecx, dword [eax]
mov eax, dword [eax + 4]
mov byte [esp + 0x30], bl
mov edx, dword [esp + 0x30]
push edx
mov edx, dword [sym.imp.MSVCR90.dll_tolower]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x1c]
push ecx
push edx
push edi
push esi
push ebp
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.00411b80
mov ebp, dword [esp + 0x3c]
add esp, 0x20
lea ecx, [esp + 0x12c]
push ecx
lea edx, [esp + 0x14c]
push edx
lea ecx, [esp + 0xfc]
call fcn.004112a0
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x190], 5
call fcn.00411360
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x194], 6
call fcn.00409af0
lea ecx, [esp + 0xbc]
mov byte [esp + 0x18c], 5
call fcn.004047b0
lea ecx, [esp + 0xf4]
mov byte [esp + 0x18c], 4
call fcn.00411210
lea ecx, [esp + 0x12c]
mov byte [esp + 0x18c], 3
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 + 0x148]
mov byte [esp + 0x18c], 2
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 edi, dword [esp + 0x20]
mov eax, dword [esp + 0x68]
mov esi, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x68]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x68]
mov byte [esp + 0x18c], 7
mov dword [esp + 0x6c], ebx
cmp esi, eax
je 0x412782
lea ebx, [ebx]
mov edi, dword [esi]
lea ecx, [esi + 8]
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 eax, dword [esp + 0x6c]
add esp, 4
mov esi, edi
cmp edi, eax
jne 0x412760
mov edi, dword [esp + 0x20]
push eax
call sub.mfc90.dll_Ordinal_800
mov edx, dword [esp + 0x58]
push edx
mov dword [esp + 0x70], ebx
call sub.mfc90.dll_Ordinal_800
add esp, 8
lea ecx, [esp + 0x164]
mov byte [esp + 0x18c], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp ebp, ebx
jne 0x4127ee
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x4127c4
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [edi]
mov dword [esp + 0x20], eax
mov edi, eax
jmp 0x412450
mov eax, dword [ebp]
jmp 0x41247c
mov eax, dword [eax]
jmp 0x412500
mov eax, dword [edi]
jmp 0x412534
mov edi, dword [edi]
jmp 0x412551
mov eax, dword [ebp]
jmp 0x4127b9
mov eax, dword [esp + 0x4c]
mov esi, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x4c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18c], 8
mov dword [esp + 0x50], ebx
cmp esi, eax
je 0x41283e
lea esp, [esp]
mov edi, dword [esi]
lea ecx, [esi + 8]
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 eax, dword [esp + 0x50]
add esp, 4
mov esi, edi
cmp edi, eax
jne 0x412820
push eax
call sub.mfc90.dll_Ordinal_800
mov ecx, dword [esp + 0x3c]
push ecx
mov dword [esp + 0x54], ebx
call sub.mfc90.dll_Ordinal_800
mov al, byte [esp + 0x1f]
add esp, 8
mov ecx, dword [esp + 0x184]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x16c]
xor ecx, esp
call fcn.0041bd34
add esp, 0x17c
ret