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

Disassembly:
push 0xffffffffffffffff
push 0x52c36b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push ebx
push ebp
mov ebp, dword [esp + 0x158]
push esi
push edi
mov ebx, ecx
xor edi, edi
push 0x80
mov dword [esp + 0x44], ebx
mov dword [esp + 0x20], edi
mov byte [ebp], 0
call sub.MFC42.DLL_operatornew
mov esi, eax
mov ecx, 0x1f
add esp, 4
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], 0x40
mov dword [esp + 0x20], vtable.STable_struct_IEP_FormatInfoS_.0
mov eax, dword [ebx + 0x78]
mov dword [esp + 0x154], edi
test eax, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x14], edi
jle 0x4c190d
cmp edi, eax
jge 0x4c1814
test edi, edi
jl 0x4c1814
mov eax, dword [ebx + 0x74]
mov edx, dword [eax + edi*4]
mov dword [esp + 0x18], edx
jmp 0x4c1820
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x18]
test byte [edx + 0x10e], 2
je 0x4c18e2
mov eax, dword [edx + 0x140]
test eax, eax
je 0x4c18e2
mov edi, dword [eax + 0x34]
mov dword [esp + 0x3c], 0
test edi, edi
jle 0x4c18de
mov dword [esp + 0x10], 0
mov eax, dword [eax + 0x38]
mov edi, dword [esp + 0x10]
add eax, edi
mov dword [esp + 0x44], eax
je 0x4c18bb
lea edi, [ecx + 1]
cmp dword [esp + 0x28], edi
jne 0x4c18af
lea ecx, [ecx*4 + 0x104]
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x28]
mov ebx, eax
mov ecx, edi
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
add esp, 8
add eax, 0x40
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], eax
mov esi, ebx
mov ebx, dword [esp + 0x40]
mov ecx, eax
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x28]
mov dword [esi + edi*4], eax
inc edi
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
add eax, 0x44
inc edi
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x140]
mov dword [esp + 0x3c], edi
cmp edi, dword [eax + 0x34]
jl 0x4c1856
mov edi, dword [esp + 0x14]
mov eax, dword [ebx + 0x78]
inc edi
cmp edi, eax
mov dword [esp + 0x14], edi
jl 0x4c1804
mov eax, dword [esp + 0x28]
cmp eax, 2
jl 0x4c190d
push 0x4c39f0
push 4
push eax
push esi
call dword [sym.imp.MSVCRT.dll_qsort]
add esp, 0x10
mov ecx, dword [esp + 0x28]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x14], eax
jle 0x4c19d5
mov ebx, dword [0x56cdd4]
mov dword [esp + 0x10], esi
jmp 0x4c192f
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x28]
jge 0x4c1941
test eax, eax
jl 0x4c1941
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx]
jmp 0x4c1943
xor edi, edi
mov edx, dword [esp + 0x164]
mov ecx, dword [edi + 4]
cmp ecx, edx
jne 0x4c1955
mov dword [esp + 0x1c], eax
lea eax, [edi + 0x30]
push eax
push ebp
call ebx
mov esi, dword [0x56cdc8]
push 0x554490
push ebp
call esi
lea ecx, [edi + 8]
push ecx
push ebp
call esi
push ebp
call dword [0x56cdc4]
lea esi, [eax + ebp + 1]
push 0x55a36c
push esi
call ebx
add edi, 0x38
lea edx, [esp + 0x48]
push edi
push edx
call ebx
lea eax, [esp + 0x48]
push eax
call dword [0x56de48]
lea ecx, [esp + 0x48]
push ecx
push esi
call dword [0x56cdc8]
push esi
call dword [0x56cdc4]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
lea ebp, [esi + eax + 1]
mov eax, dword [esp + 0x14]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x4c192b
mov esi, dword [esp + 0x24]
mov byte [ebp], 0
push esi
mov byte [ebp + 1], 0
mov dword [esp + 0x158], 0xffffffff
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x150]
mov eax, dword [esp + 0x20]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret 0xc