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

Disassembly:
push 0xffffffffffffffff
push 0x5d5806
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebp
push esi
mov esi, dword [esp + 0x70]
mov ebp, ecx
push edi
lea ecx, [esp + 0x28]
mov eax, dword [esi]
push 4
push ecx
mov ecx, esi
mov dword [esp + 0x34], ebp
call dword [eax + 0x3c]
lea ecx, [esp + 0xc]
call sub.mfc42u.dll_CString::CString_3
xor edi, edi
lea ecx, [esp + 0x50]
mov dword [esp + 0x6c], edi
call fcn.004fd6c0
push 0xa
push edi
lea ecx, [esp + 0x58]
mov byte [esp + 0x74], 1
mov dword [esp + 0x58], 0x5efbe4
call fcn.0046d900
mov eax, dword [esp + 0x28]
mov byte [esp + 0x6c], 2
cmp eax, edi
mov dword [esp + 0x24], edi
jbe 0x4f9350
push ebx
jmp 0x4f8f40
mov ebp, dword [esp + 0x30]
mov edx, dword [esi]
lea eax, [esp + 0x34]
push 4
push eax
mov ecx, esi
call dword [edx + 0x3c]
mov eax, dword [esp + 0x34]
cmp eax, 0x7d0
jge 0x4f8f5f
mov dword [esp + 0x24], eax
jmp 0x4f8fae
mov edx, dword [esi]
lea eax, [esp + 0x38]
push 4
push eax
mov ecx, esi
call dword [edx + 0x3c]
mov eax, dword [esp + 0x38]
xor edi, edi
test eax, eax
mov dword [esp + 0x20], eax
jle 0x4f8f92
mov edx, dword [esi]
lea eax, [esp + 0x48]
push 4
push eax
mov ecx, esi
call dword [edx + 0x3c]
mov eax, dword [esp + 0x20]
inc edi
cmp edi, eax
jl 0x4f8f7b
mov edx, dword [esi]
lea eax, [esp + 0x20]
push 4
push eax
mov ecx, esi
call dword [edx + 0x3c]
mov edx, dword [esi]
lea eax, [esp + 0x24]
push 4
push eax
mov ecx, esi
call dword [edx + 0x3c]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004b4f10
mov edx, dword [esi]
lea eax, [esp + 0x4c]
push 8
push eax
mov ecx, esi
call dword [edx + 0x3c]
lea ecx, [esp + 0x54]
call fcn.004f7800
mov edx, dword [esi]
lea eax, [esp + 0x14]
push 4
push eax
mov ecx, esi
call dword [edx + 0x3c]
mov ecx, dword [esp + 0x14]
push 0xa
push ecx
lea ecx, [esp + 0x5c]
call fcn.0046d900
mov eax, dword [esp + 0x14]
xor edi, edi
test eax, eax
jbe 0x4f9032
push 0xfc
call sub.mfc42u.dll_operatornew
add esp, 4
test eax, eax
je 0x4f9013
mov ecx, eax
call fcn.004fec20
jmp 0x4f9015
xor eax, eax
mov edx, dword [esp + 0x58]
push esi
mov dword [edx + edi*4], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + edi*4]
call fcn.004fedb0
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jb 0x4f8ff9
mov edx, dword [esi]
lea eax, [esp + 0x1c]
push 4
push eax
mov ecx, esi
call dword [edx + 0x3c]
mov ebx, dword [ebp + 0x4c]
mov eax, dword [esp + 0x1c]
add ebp, 0x44
cmp eax, 0xffffffff
je 0x4f9052
mov dword [ebp + 0x10], eax
test ebx, ebx
jne 0x4f907d
mov eax, dword [ebp + 4]
test eax, eax
je 0x4f9070
mov ecx, dword [ebp + 8]
push eax
mov dword [esp + 0x40], ecx
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [ebp + 4], ebx
xor eax, eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
jmp 0x4f9188
mov ecx, dword [ebp + 4]
test ecx, ecx
jne 0x4f90b8
lea edi, [ebx*4]
push edi
call sub.mfc42u.dll_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebp + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
jmp 0x4f9188
mov edi, dword [ebp + 0xc]
cmp ebx, edi
jg 0x4f90ec
mov eax, dword [ebp + 8]
cmp eax, ebx
jge 0x4f90dc
mov edx, ebx
sub edx, eax
lea eax, [ecx + eax*4]
push edx
push eax
call fcn.005463a0
mov dword [ebp + 8], ebx
jmp 0x4f9188
jle 0x4f90e4
sub eax, ebx
mov dword [esp + 0x3c], eax
mov dword [ebp + 8], ebx
jmp 0x4f9188
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4f9117
mov eax, dword [ebp + 8]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4f910b
mov eax, 4
jmp 0x4f9117
cmp eax, 0x400
jle 0x4f9117
mov eax, 0x400
add eax, edi
cmp ebx, eax
mov dword [esp + 0x18], eax
jl 0x4f9125
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x18]
lea edx, [ecx*4]
push edx
call sub.mfc42u.dll_operatornew
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 4]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebx
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x3c], eax
sub edx, ecx
lea eax, [eax + ecx*4]
push edx
push eax
call fcn.005463a0
mov eax, dword [ebp + 4]
push eax
call sub.mfc42u.dll_operatordelete
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x7c]
add esp, 4
mov dword [ebp + 4], ecx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
test eax, eax
jbe 0x4f933a
push 0x2b0
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x70], 3
je 0x4f91c1
mov ecx, eax
call fcn.004f41c0
mov esi, eax
jmp 0x4f91c3
xor esi, esi
lea eax, [esi + 0x160]
mov byte [esp + 0x70], 2
push eax
call dword [sym.imp.kernel32.dll_GetSystemTimeAsFileTime]
mov eax, dword [esp + 0x78]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 8]
mov ecx, dword [esi + 0xc]
push 0x61f668
push ecx
call dword [sym.imp.msvcrt.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x4f9216
mov eax, dword [esi + 0xcc]
test eax, eax
jne 0x4f9216
test esi, esi
je 0x4f9321
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
jmp 0x4f9321
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
mov ecx, ebp
lea eax, [edi + 1]
push eax
call fcn.0046d900
mov ecx, dword [ebp + 4]
xor ebx, ebx
mov dword [ecx + edi*4], esi
mov eax, dword [esp + 0x5c]
test eax, eax
jle 0x4f929a
push 0xfc
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x70], 4
je 0x4f925b
mov ecx, eax
call fcn.004fec20
mov edi, eax
jmp 0x4f925d
xor edi, edi
mov edx, dword [esp + 0x58]
mov ecx, edi
mov byte [esp + 0x70], 2
mov eax, dword [edx + ebx*4]
push eax
call fcn.004ff010
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + ebx*4]
mov ecx, edi
mov eax, dword [edx + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 0xc]
push eax
call fcn.004ff1b0
push edi
mov ecx, esi
call fcn.004f4960
mov eax, dword [esp + 0x5c]
inc ebx
cmp ebx, eax
jl 0x4f9236
mov ecx, dword [esi + 0x168]
push ecx
mov ecx, esi
call fcn.004f62f0
mov edx, dword [esi + 0x10c]
lea edi, [esi + 0x10c]
mov eax, dword [edx - 8]
test eax, eax
je 0x4f930b
lea eax, [esp + 0x10]
push 0x61f65c
lea ecx, [esp + 0x48]
push eax
push ecx
call sub.mfc42u.dll_operator
push edi
lea edx, [esp + 0x44]
push eax
push edx
mov byte [esp + 0x7c], 5
call sub.mfc42u.dll_operator_2
push eax
mov ecx, edi
mov byte [esp + 0x74], 6
call sub.mfc42u.dll_CString::operator_2
lea ecx, [esp + 0x40]
mov byte [esp + 0x70], 5
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x70], 2
call sub.mfc42u.dll_CString::CString
jmp 0x4f9317
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call sub.mfc42u.dll_CString::operator_2
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x168], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jb 0x4f919c
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jb 0x4f8f3c
pop ebx
mov eax, dword [esp + 0x58]
xor esi, esi
test eax, eax
jle 0x4f9374
mov edx, dword [esp + 0x54]
mov ecx, dword [edx + esi*4]
test ecx, ecx
je 0x4f936b
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x58]
inc esi
cmp esi, eax
jl 0x4f935a
push 0xa
push 0
lea ecx, [esp + 0x58]
call fcn.0046d900
mov dword [esp + 0x50], 0x5efbf8
mov eax, dword [esp + 0x54]
pop edi
pop esi
mov byte [esp + 0x64], 7
test eax, eax
pop ebp
je 0x4f93a2
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp]
mov dword [esp + 0x44], 0x5e262c
mov dword [esp + 0x60], 0xffffffff
call sub.mfc42u.dll_CString::CString
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 4