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

Disassembly:
push 0xffffffffffffffff
push 0x4f8396
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 0x477299
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 0x4772ea
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4772e1
cmp al, 0xff
je 0x4772e1
dec al
mov byte [ecx], al
jmp 0x4772ea
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 0x4777ee
lea ecx, [esp + 0x28]
call fcn.0044f140
cmp eax, 6
jne 0x4777ee
mov esi, dword [esp + 0x128]
mov eax, dword [esi]
cmp eax, ebx
je 0x477341
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 0x4773b6
push ebp
lea ecx, [esp + 0x2c]
call fcn.0044fd30
push eax
lea ecx, [esp + 0x3c]
call fcn.0044f040
push 0x526028
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 0x4773a8
cmp edi, 0x64
jae 0x4773a8
cmp eax, 7
jne 0x4773a8
mov dword [esi + 4], edi
lea ecx, [esp + 0x28]
inc ebp
call fcn.0044fc80
cmp ebp, eax
jb 0x477350
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x47770a
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 0x477402
push 0x477960
push 0x477950
lea ebp, [eax + 4]
push edi
push 0x10
push ebp
mov dword [eax], edi
call fcn.004e9c7e
jmp 0x477404
xor ebp, ebp
mov eax, dword [esi + 4]
xor ecx, ecx
cmp eax, ebx
mov byte [esp + 0x11c], 6
mov dword [esi], ebp
jle 0x477435
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 0x477419
lea ecx, [esp + 0x28]
xor ebp, ebp
call fcn.0044fc80
test eax, eax
jbe 0x477515
mov bl, 0xf
push ebp
lea ecx, [esp + 0x2c]
call fcn.0044fd30
push eax
lea ecx, [esp + 0x3c]
call fcn.0044f040
push 0x526028
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 0x477501
cmp eax, 7
jne 0x477501
mov eax, dword [esi]
push str.name
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 0x47744a
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 0x4775b5
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 0x4775a3
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
cmp edx, eax
jne 0x4775ac
lea ecx, [esp + 0x7c]
call fcn.0042c550
cmp dword [esp + 0xa8], ebx
jne 0x477567
mov eax, dword [esp + 0x78]
mov byte [esp + 0x11c], 4
cmp eax, ebx
je 0x47769f
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 0x4775ed
mov eax, ecx
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jne 0x477695
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 0x477655
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 0x477695
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 0x4775c9
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 0x477930
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 0x4777aa
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 0x477798
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
cmp eax, ecx
jne 0x4777a1
lea ecx, [esp + 0x7c]
call fcn.0042c550
cmp dword [esp + 0xa8], ebx
jne 0x47775c
mov eax, dword [esp + 0x78]
mov byte [esp + 0x11c], 4
cmp eax, ebx
je 0x4778cd
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 0x4777da
cmp ecx, dword [esp + 0x54]
jne 0x4777e3
lea ecx, [esp + 0x4c]
call fcn.0042c550
cmp dword [esp + 0x78], ebx
jne 0x4777be
jmp 0x4778cd
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 0x47788e
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 0x47787c
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
cmp edx, eax
jne 0x477885
lea ecx, [esp + 0x7c]
call fcn.0042c550
cmp dword [esp + 0xa8], ebx
jne 0x477840
mov eax, dword [esp + 0x78]
mov byte [esp + 0x11c], 4
cmp eax, ebx
je 0x4778cd
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 0x4778be
mov eax, ecx
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jne 0x4778c7
lea ecx, [esp + 0x4c]
call fcn.0042c550
cmp dword [esp + 0x78], ebx
jne 0x47789e
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