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

Disassembly:
push 0xffffffffffffffff
push 0x4ef1e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
push ebp
push esi
push edi
xor ebx, ebx
lea ecx, [esp + 0x28]
push ebx
mov dword [esp + 0x120], ebx
call fcn.0044e9a0
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x120], 1
call fcn.0044e9a0
push ebx
lea ecx, [esp + 0xf8]
mov byte [esp + 0x120], 2
call fcn.0044e9a0
push ebx
lea ecx, [esp + 0x108]
mov byte [esp + 0x120], 3
call fcn.0044e9a0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x11c], 4
call fcn.0044a000
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], 5
call sub.MFC42.DLL_CString::CString_4
push ebx
lea ecx, [esp + 0x128]
mov byte [esp + 0x120], 6
call sub.MFC42.DLL_CString::GetBuffer
mov esi, eax
mov al, byte [esp + 0x17]
mov byte [esp + 0x18], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
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 0x415209
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [eax + ebp], bl
lea ecx, [esp + 0x28]
push 1
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0x128], 7
call fcn.0044a090
and eax, 0xff
mov byte [esp + 0x11c], 6
mov esi, eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41525a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x415251
cmp al, 0xff
je 0x415251
dec al
mov byte [ecx], al
jmp 0x41525a
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x128]
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp esi, ebx
je 0x41575e
lea ecx, [esp + 0x28]
call fcn.0044f140
cmp eax, 6
jne 0x41575e
mov esi, dword [esp + 0x128]
mov eax, dword [esi]
cmp eax, ebx
je 0x4152b1
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push 0x477960
push ecx
push 0x10
push eax
call fcn.004e9b8a
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi], ebx
mov dword [esi + 4], ebx
lea ecx, [esp + 0x28]
xor ebp, ebp
call fcn.0044fc80
test eax, eax
jbe 0x415326
push ebp
lea ecx, [esp + 0x2c]
call fcn.0044fd30
push eax
lea ecx, [esp + 0x3c]
call fcn.0044f040
push 0x526198
lea ecx, [esp + 0x3c]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x38]
mov edi, eax
push 0x525f58
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov ecx, dword [esi + 4]
add esp, 4
cmp edi, ecx
jbe 0x415318
cmp edi, 0x64
jae 0x415318
cmp eax, 3
jne 0x415318
mov dword [esi + 4], edi
lea ecx, [esp + 0x28]
inc ebp
call fcn.0044fc80
cmp ebp, eax
jb 0x4152c0
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x41567a
lea edi, [eax + 1]
mov edx, edi
mov dword [esi + 4], edi
shl edx, 4
add edx, 4
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, ebx
mov byte [esp + 0x11c], 0xb
je 0x415372
push 0x477960
push 0x477950
lea ebp, [eax + 4]
push edi
push 0x10
push ebp
mov dword [eax], edi
call fcn.004e9c7e
jmp 0x415374
xor ebp, ebp
mov eax, dword [esi + 4]
xor ecx, ecx
cmp eax, ebx
mov byte [esp + 0x11c], 6
mov dword [esi], ebp
jle 0x4153a5
xor eax, eax
mov edx, dword [esi]
inc ecx
mov dword [edx + eax], ebx
mov edx, dword [esi]
mov dword [edx + eax + 8], ebx
mov edx, dword [esi]
mov dword [edx + eax + 0xc], ebx
mov edx, dword [esi + 4]
add eax, 0x10
cmp ecx, edx
jl 0x415389
lea ecx, [esp + 0x28]
xor ebp, ebp
call fcn.0044fc80
test eax, eax
jbe 0x415485
mov bl, 0xf
push ebp
lea ecx, [esp + 0x2c]
call fcn.0044fd30
push eax
lea ecx, [esp + 0x3c]
call fcn.0044f040
push 0x526198
lea ecx, [esp + 0x3c]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x38]
mov edi, eax
push 0x525f58
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
cmp edi, 0x64
jae 0x415471
cmp eax, 3
jne 0x415471
mov eax, dword [esi]
push 0x526190
shl edi, 4
lea ecx, [esp + 0x3c]
mov dword [edi + eax], 1
call fcn.0044fea0
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.0040c8b0
add esp, 8
mov edx, dword [esi]
push eax
mov byte [esp + 0x120], bl
lea ecx, [edi + edx + 4]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x48]
mov byte [esp + 0x11c], 6
call sub.MFC42.DLL_CString::CString
push str.effect
lea ecx, [esp + 0x3c]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov ecx, dword [esi]
add esp, 4
mov dword [edi + ecx + 8], eax
lea ecx, [esp + 0x28]
inc ebp
call fcn.0044fc80
cmp ebp, eax
jb 0x4153ba
xor ebx, ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], 5
call sub.MFC42.DLL_CString::CString
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0x120], 0x12
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0x120], 0x11
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0xa8]
mov byte [esp + 0x11c], 0x10
cmp eax, ebx
je 0x415525
mov eax, dword [esp + 0x88]
push ebx
mov ecx, eax
add eax, 0x20
mov dword [esp + 0x8c], eax
call fcn.0042c6f0
mov eax, dword [esp + 0xa8]
dec eax
mov dword [esp + 0xa8], eax
je 0x415513
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
cmp edx, eax
jne 0x41551c
lea ecx, [esp + 0x7c]
call fcn.0042c550
cmp dword [esp + 0xa8], ebx
jne 0x4154d7
mov eax, dword [esp + 0x78]
mov byte [esp + 0x11c], 4
cmp eax, ebx
je 0x41560f
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x78]
add ecx, 4
dec eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x78], eax
je 0x41555d
mov eax, ecx
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jne 0x415605
mov ecx, dword [esp + 0x5c]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x5c], ecx
mov eax, dword [eax]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x7c]
add esp, 4
cmp eax, ebx
jne 0x4155c5
lea ecx, [esp + 0x18]
call fcn.004051c0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x50], eax
push ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x415605
mov eax, dword [esp + 0x5c]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0xec]
call fcn.0042c610
mov edx, dword [esp + 0xe4]
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
cmp dword [esp + 0x78], ebx
jne 0x415539
lea ecx, [esp + 0x104]
mov byte [esp + 0x11c], 3
call fcn.0044eec0
lea ecx, [esp + 0xf4]
mov byte [esp + 0x11c], 2
call fcn.0044eec0
lea ecx, [esp + 0x38]
mov byte [esp + 0x11c], 1
call fcn.0044eec0
lea ecx, [esp + 0x28]
mov byte [esp + 0x11c], 0
call fcn.0044eec0
lea ecx, [esp + 0x124]
mov dword [esp + 0x11c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x4158a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], 5
call sub.MFC42.DLL_CString::CString
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0x120], 0xe
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0x120], 0xd
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0xa8]
mov byte [esp + 0x11c], 0xc
cmp eax, ebx
je 0x41571a
mov eax, dword [esp + 0x88]
push ebx
mov ecx, eax
add eax, 0x20
mov dword [esp + 0x8c], eax
call fcn.0042c6f0
mov eax, dword [esp + 0xa8]
dec eax
mov dword [esp + 0xa8], eax
je 0x415708
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
cmp eax, ecx
jne 0x415711
lea ecx, [esp + 0x7c]
call fcn.0042c550
cmp dword [esp + 0xa8], ebx
jne 0x4156cc
mov eax, dword [esp + 0x78]
mov byte [esp + 0x11c], 4
cmp eax, ebx
je 0x41583d
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x78]
add ecx, 4
dec eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x78], eax
je 0x41574a
cmp ecx, dword [esp + 0x54]
jne 0x415753
lea ecx, [esp + 0x4c]
call fcn.0042c550
cmp dword [esp + 0x78], ebx
jne 0x41572e
jmp 0x41583d
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], 5
call sub.MFC42.DLL_CString::CString
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0x120], 0xa
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0x120], 9
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0xa8]
mov byte [esp + 0x11c], 8
cmp eax, ebx
je 0x4157fe
mov eax, dword [esp + 0x88]
push ebx
mov ecx, eax
add eax, 0x20
mov dword [esp + 0x8c], eax
call fcn.0042c6f0
mov eax, dword [esp + 0xa8]
dec eax
mov dword [esp + 0xa8], eax
je 0x4157ec
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
cmp edx, eax
jne 0x4157f5
lea ecx, [esp + 0x7c]
call fcn.0042c550
cmp dword [esp + 0xa8], ebx
jne 0x4157b0
mov eax, dword [esp + 0x78]
mov byte [esp + 0x11c], 4
cmp eax, ebx
je 0x41583d
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x78]
add ecx, 4
dec eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x78], eax
je 0x41582e
mov eax, ecx
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jne 0x415837
lea ecx, [esp + 0x4c]
call fcn.0042c550
cmp dword [esp + 0x78], ebx
jne 0x41580e
lea ecx, [esp + 0x104]
mov byte [esp + 0x11c], 3
call fcn.0044eec0
lea ecx, [esp + 0xf4]
mov byte [esp + 0x11c], 2
call fcn.0044eec0
lea ecx, [esp + 0x38]
mov byte [esp + 0x11c], 1
call fcn.0044eec0
lea ecx, [esp + 0x28]
mov byte [esp + 0x11c], 0
call fcn.0044eec0
lea ecx, [esp + 0x124]
mov dword [esp + 0x11c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x110
ret 8