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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d8870
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
mov eax, dword [ebx + 8]
push edi
cmp eax, dword [esi + 0x9c]
jge 0x530135
lea ecx, [esp + 0x108]
call fcn.004b6ca0
lea ecx, [esp + 0xa8]
mov dword [esp + 0x138], 0
call fcn.004b6ca0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 1
call fcn.004b6ca0
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xd0]
mov byte [esp + 0x138], 2
push eax
push edi
push ecx
mov ecx, esi
call fcn.0052f1c0
lea edx, [esp + 0x70]
mov ecx, esi
test al, al
mov eax, dword [ebp + 8]
push edx
push edi
push eax
je 0x52ff7c
call fcn.0052ec50
fcomp qword [0x5e2798]
fnstsw ax
test ah, 0x41
jne 0x52fe3c
xor eax, eax
mov dword [esp + 0x5c], 0x5e27fc
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], eax
mov ecx, dword [edi + 8]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x64]
mov byte [esp + 0x140], 3
call fcn.0046d900
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x14], edx
mov edx, eax
dec eax
test edx, edx
je 0x52f9b9
inc eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
add eax, 4
mov dword [ecx], edx
mov edx, dword [esp + 0x3c]
add ecx, 4
dec edx
mov dword [esp + 0x3c], edx
jne 0x52f9a4
xor eax, eax
mov dword [esp + 0x48], 0x5f0828
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 8]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x140], 4
call fcn.005442f0
mov edx, dword [esp + 0x4c]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x3c], edx
mov edx, eax
dec eax
test edx, edx
je 0x52fa31
inc eax
mov dword [esp + 0x14], eax
jmp 0x52fa0a
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov eax, ecx
add ecx, 0x60
push eax
mov dword [esp + 0x10], ecx
mov ecx, edx
add edx, 0x60
mov dword [esp + 0x40], edx
call fcn.00530160
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x52fa06
movsx eax, word [esp + 0xde]
push edi
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*8]
lea edx, [eax + ecx*2]
mov eax, dword [esi + 0x24]
lea ecx, [eax + edx*8]
push ecx
lea ecx, [esp + 0xd8]
call fcn.005279e0
mov eax, dword [ebx + 8]
lea edx, [esp + 0xd0]
push edx
push eax
mov ecx, ebx
call fcn.00545c10
movsx eax, word [esp + 0xde]
push edi
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*8]
lea edx, [eax + ecx*2]
mov eax, dword [esi + 0x24]
lea ecx, [eax + edx*8]
push ecx
lea ecx, [esp + 0xd8]
call fcn.005277b0
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x1c]
fstp qword [esp + 0xc]
push edx
call fcn.004b6d90
mov ecx, dword [esp + 0x11c]
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0x120]
mov dword [esp + 0x20], ecx
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x128]
push edi
push ecx
mov ecx, esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
call fcn.0052f8a0
fadd qword [esp + 0xc]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x1c]
push edx
fstp qword [esp + 0x10]
call fcn.004b6d90
mov ecx, dword [esp + 0x124]
mov eax, dword [esp + 0x120]
push ebx
lea edx, [esp + 0x20]
mov dword [esp + 0x2c], ecx
push edi
push edx
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.0052f8a0
lea eax, [esp + 0x5c]
push eax
movsx eax, word [esp + 0x82]
fadd qword [esp + 0x10]
lea ecx, [eax + eax*4]
fstp qword [esp + 0x10]
lea ecx, [ecx + ecx*8]
lea edx, [eax + ecx*2]
mov eax, dword [esi + 0x24]
lea ecx, [eax + edx*8]
push ecx
lea ecx, [esp + 0x78]
call fcn.005279e0
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x70]
push edx
push eax
lea ecx, [esp + 0x50]
call fcn.00545c10
push edi
movsx eax, word [esp + 0x82]
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*8]
lea edx, [eax + ecx*2]
mov eax, dword [esi + 0x24]
lea ecx, [eax + edx*8]
push ecx
lea ecx, [esp + 0x78]
call fcn.005277b0
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x1c]
fstp qword [esp + 0x14]
push edx
call fcn.004b6d90
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x80]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x84]
xor eax, eax
mov dword [esp + 0x3c], ecx
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x40], edx
lea ecx, [esp + 0x5c]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.0052f8a0
fadd qword [esp + 0x14]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [ebp + 8]
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], ecx
push edx
fstp qword [esp + 0x18]
lea ecx, [esp + 0x20]
call fcn.004b6d90
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x48]
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x5c]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, esi
call fcn.0052f8a0
fadd qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0xc]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x52fd1d
mov dword [esp + 0x48], 0x5f0828
mov esi, dword [esp + 0x4c]
mov byte [esp + 0x138], 5
test esi, esi
je 0x52fc98
mov eax, dword [esp + 0x50]
test eax, eax
je 0x52fc8f
lea edi, [eax]
push 0
mov ecx, esi
call fcn.00546850
add esi, 0x60
dec edi
jne 0x52fc7c
mov esi, dword [esp + 0x4c]
push esi
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x5e262c
mov dword [esp + 0x5c], 0x5e27fc
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x60]
mov byte [esp + 0x138], 6
test eax, eax
je 0x52fcc2
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x5c], esi
mov byte [esp + 0x138], 1
call fcn.0042bd50
lea ecx, [esp + 0xa8]
mov byte [esp + 0x138], 0
call fcn.0042bd50
lea ecx, [esp + 0x108]
mov dword [esp + 0x138], 0xffffffff
call fcn.0042bd50
fld qword [esp + 0xc]
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [esp + 0x64]
push 0xffffffffffffffff
push edx
mov ecx, edi
call fcn.0046d900
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov edi, dword [edi + 4]
test ecx, ecx
je 0x52fd47
mov edx, dword [eax]
add eax, 4
mov dword [edi], edx
add edi, 4
dec ecx
jne 0x52fd3a
mov eax, dword [esp + 0x50]
push 0xffffffffffffffff
push eax
mov ecx, ebx
call fcn.005442f0
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov ebx, dword [ebx + 4]
test eax, eax
je 0x52fd81
lea edi, [eax]
mov eax, esi
mov ecx, ebx
push eax
add esi, 0x60
add ebx, 0x60
call fcn.00530160
dec edi
jne 0x52fd66
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x48], 0x5f0828
test esi, esi
mov byte [esp + 0x138], 7
je 0x52fdb7
test eax, eax
je 0x52fdae
lea edi, [eax]
push 0
mov ecx, esi
call fcn.00546850
add esi, 0x60
dec edi
jne 0x52fd9b
mov esi, dword [esp + 0x4c]
push esi
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x5e262c
mov dword [esp + 0x5c], 0x5e27fc
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x60]
mov byte [esp + 0x138], 8
test eax, eax
je 0x52fde1
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x5c], esi
mov byte [esp + 0x138], 1
call fcn.0042bd50
lea ecx, [esp + 0xa8]
mov byte [esp + 0x138], 0
call fcn.0042bd50
lea ecx, [esp + 0x108]
mov dword [esp + 0x138], 0xffffffff
call fcn.0042bd50
fld qword [esp + 0x14]
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
movsx eax, word [esp + 0xde]
push edi
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*8]
lea edx, [eax + ecx*2]
mov eax, dword [esi + 0x24]
lea ecx, [eax + edx*8]
push ecx
lea ecx, [esp + 0xd8]
call fcn.005279e0
mov eax, dword [ebx + 8]
lea edx, [esp + 0xd0]
push edx
push eax
mov ecx, ebx
call fcn.00545c10
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x1c]
push eax
call fcn.004b6d90
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x11c]
mov eax, dword [esp + 0x120]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x124]
mov dword [esp + 0x20], edx
push ebx
lea edx, [esp + 0x20]
mov dword [esp + 0x3c], ecx
push edi
push edx
mov ecx, esi
mov dword [esp + 0x40], eax
call fcn.0052f8a0
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x1c]
fstp qword [esp + 0xc]
push eax
call fcn.004b6d90
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x124]
push ebx
lea eax, [esp + 0x20]
mov dword [esp + 0x28], ecx
push edi
push eax
mov ecx, esi
mov dword [esp + 0x34], edx
call fcn.0052f8a0
movsx eax, word [esp + 0xde]
fadd qword [esp + 0xc]
push edi
lea ecx, [eax + eax*4]
fstp qword [esp + 0x10]
lea ecx, [ecx + ecx*8]
lea edx, [eax + ecx*2]
mov eax, dword [esi + 0x24]
lea ecx, [eax + edx*8]
push ecx
lea ecx, [esp + 0xd8]
call fcn.005277b0
fadd qword [esp + 0xc]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 1
fstp qword [esp + 0xc]
call fcn.0042bd50
lea ecx, [esp + 0xa8]
mov byte [esp + 0x138], 0
call fcn.0042bd50
lea ecx, [esp + 0x108]
mov dword [esp + 0x138], 0xffffffff
call fcn.0042bd50
fld qword [esp + 0xc]
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.0052ec50
fcomp qword [0x5e2798]
fnstsw ax
test ah, 0x41
jne 0x5300f9
movsx eax, word [esp + 0x7e]
push edi
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*8]
lea edx, [eax + ecx*2]
mov eax, dword [esi + 0x24]
lea ecx, [eax + edx*8]
push ecx
lea ecx, [esp + 0x78]
call fcn.005279e0
mov eax, dword [ebx + 8]
lea edx, [esp + 0x70]
push edx
push eax
mov ecx, ebx
call fcn.00545c10
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x1c]
push eax
call fcn.004b6d90
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x84]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], eax
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], edx
mov edx, dword [esi + 0x80]
xor eax, eax
push edi
push ecx
mov dword [esi + 0x80], eax
mov ecx, esi
mov dword [esp + 0x18], edx
mov dword [esi + 0x84], eax
call fcn.0052f8a0
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push ecx
fstp qword [esp + 0x18]
mov dword [esi + 0x80], edx
lea ecx, [esp + 0x20]
mov dword [esi + 0x84], eax
call fcn.004b6d90
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xbc]
push ebx
lea ecx, [esp + 0x20]
push edi
push ecx
mov ecx, esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call fcn.0052f8a0
movsx eax, word [esp + 0x7e]
fadd qword [esp + 0x14]
push edi
lea ecx, [eax + eax*4]
fstp qword [esp + 0x18]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x24]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*8]
lea ecx, [esp + 0x74]
push edx
call fcn.005277b0
fadd qword [esp + 0x14]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 1
fstp qword [esp + 0xc]
call fcn.0042bd50
lea ecx, [esp + 0xa8]
mov byte [esp + 0x138], 0
call fcn.0042bd50
mov dword [esp + 0x138], 0xffffffff
lea ecx, [esp + 0x108]
call fcn.0042bd50
fld qword [esp + 0xc]
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 1
call fcn.0042bd50
lea ecx, [esp + 0xa8]
mov byte [esp + 0x138], 0
call fcn.0042bd50
lea ecx, [esp + 0x108]
mov dword [esp + 0x138], 0xffffffff
call fcn.0042bd50
mov ecx, dword [esp + 0x130]
pop edi
fld qword [0x5e2798]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc