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

Disassembly:
push 0xffffffffffffffff
push 0x431b59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0xc8
mov dword [esp + 0x2c], ebx
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, dword [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x1c], ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x18], ebx
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x14], ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x18]
and ecx, 3
mov dword [esp + 0x24], ebx
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], ebx
push ecx
lea ecx, [esp + 0x20]
push eax
push ecx
push edx
call fcn.004105a0
mov ebp, eax
add esp, 0x14
cmp ebp, ebx
je 0x41c62c
mov edi, dword [esp + 0x14]
mov esi, str.33f6cc74
mov edx, edi
mov al, byte [edx]
mov cl, al
cmp al, byte [esi]
jne 0x41c5b2
cmp cl, bl
je 0x41c5ae
mov al, byte [edx + 1]
mov cl, al
cmp al, byte [esi + 1]
jne 0x41c5b2
add edx, 2
add esi, 2
cmp cl, bl
jne 0x41c58e
xor ecx, ecx
jmp 0x41c5b7
sbb ecx, ecx
sbb ecx, 0xffffffff
cmp ecx, ebx
jne 0x41c5c5
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
jmp 0x41c601
mov esi, str.6006cb0a
mov ecx, edi
mov al, byte [ecx]
mov dl, al
cmp al, byte [esi]
jne 0x41c5f0
cmp dl, bl
je 0x41c5ec
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x41c5f0
add ecx, 2
add esi, 2
cmp dl, bl
jne 0x41c5cc
xor ecx, ecx
jmp 0x41c5f5
sbb ecx, ecx
sbb ecx, 0xffffffff
cmp ecx, ebx
jne 0x41c601
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
cmp ebp, 2
je 0x41c62c
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
push eax
push ecx
push edx
call fcn.004105a0
mov ebp, eax
add esp, 0x10
cmp ebp, ebx
jne 0x41c583
push 0x3e8
call sub.MFC42.DLL_operatornew
mov esi, eax
mov ecx, 0xfa
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x20]
push 0x3e8
push esi
push eax
call fcn.00410980
add esp, 0x10
test eax, eax
jg 0x41c6cd
push esi
call sub.MFC42.DLL_operatordelete
mov ebp, dword [esp + 0x74]
mov cl, byte [esp + 0x74]
mov edi, 0x438a68
xor eax, eax
mov byte [ebp], cl
or ecx, 0xffffffff
add esp, 4
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
mov ecx, ebp
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x41c6b8
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, 0x438a68
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
push ebx
push esi
call dword [sym.imp.MSVCRT.dll__waccess]
add esp, 8
test eax, eax
jne 0x41c762
mov ebp, dword [esp + 0x20]
mov edi, dword [sym.imp.MSVCRT.dll__stricmp]
push 0x437370
push ebp
call edi
add esp, 8
test eax, eax
jne 0x41c709
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.0040ee40
add esp, 8
jmp 0x41c762
push 0x437a14
push ebp
call edi
add esp, 8
test eax, eax
jne 0x41c728
lea ecx, [esp + 0x3c]
push esi
push ecx
call fcn.0040ef50
add esp, 8
jmp 0x41c762
mov al, byte [ebp]
mov edx, 0x437cb0
cmp al, byte [edx]
jne 0x41c762
lea ecx, [esp + 0x24]
lea edx, [esp + 0x28]
push ecx
push edx
push str.2__d__d
push ebp
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
push eax
push ecx
lea edx, [esp + 0x54]
push esi
push edx
call fcn.0040f090
add esp, 0x20
push esi
call sub.MFC42.DLL_operatordelete
mov al, byte [esp + 0x74]
lea edi, [esp + 0x40]
mov byte [esp + 0x30], al
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x30], ebx
push ecx
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call dword [sym.imp.MSVCP60.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___unsigned_int_]
mov esi, dword [esp + 0x70]
mov dl, byte [esp + 0x2c]
mov dword [esp + 0x68], ebx
mov byte [esi], dl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edx, [esp + 0x2c]
mov ecx, dword [eax]
push ecx
push ebx
push edx
mov ecx, esi
call dword [sym.imp.MSVCP60.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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
je 0x41c7ee
mov al, byte [ecx - 1]
cmp al, bl
je 0x41c7e4
cmp al, 0xff
je 0x41c7e4
dec al
mov byte [ecx - 1], al
jmp 0x41c7ee
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x60]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret