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

Disassembly:
push 0xffffffffffffffff
push 0x5d86e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0xc]
xor ebx, ebx
xor ecx, ecx
cmp eax, edi
mov dword [esp + 0x10], edi
jle 0x52d9fd
mov ebp, dword [esi + 8]
mov edx, dword [ebp]
mov edx, dword [edx + 0xd8]
cmp edx, dword [esp + 0x88]
jne 0x52d9da
inc dword [esp + 0x10]
jmp 0x52d9e4
cmp edx, dword [esp + 0x8c]
jne 0x52d9e4
inc ebx
inc ecx
add ebp, 4
cmp ecx, eax
jl 0x52d9c2
cmp ebx, dword [esp + 0x10]
je 0x52d9fd
fld qword [0x5e2858]
jmp 0x52de73
mov eax, 0x5f07cc
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov eax, dword [esi + 0x28]
mov byte [esp + 0x78], 1
cmp eax, edi
mov dword [esp + 0x10], edi
jle 0x52dae1
xor ebx, ebx
mov eax, dword [esp + 0x88]
mov edx, dword [esi + 0x24]
mov ecx, edi
push eax
add ecx, edx
call fcn.0059ed30
mov ecx, dword [esp + 0x8c]
mov edx, dword [esi + 0x24]
push ecx
mov ecx, edi
add ecx, edx
mov ebp, eax
call fcn.0059ed30
cmp ebp, 0xffffffff
je 0x52daa6
cmp eax, 0xffffffff
je 0x52da93
mov ecx, dword [esi + 0x24]
lea edx, [ebx + eax]
lea eax, [ebx + ebp]
mov ax, word [ecx + eax*2 + 0x2c]
cmp ax, word [ecx + edx*2 + 0x2c]
jne 0x52db9a
jmp 0x52dac1
mov edx, dword [esi + 0x24]
mov ecx, dword [esp + 0x3c]
mov eax, edi
add eax, edx
push eax
push ecx
lea ecx, [esp + 0x3c]
jmp 0x52dabc
cmp eax, 0xffffffff
je 0x52dac1
mov edx, dword [esi + 0x24]
mov eax, edi
add eax, edx
mov edx, dword [esp + 0x28]
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.00545f70
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x28]
inc eax
add ebx, 0x16c
add edi, 0x2d8
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x52da44
mov edi, dword [esi + 8]
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov ecx, dword [edi + ecx*4]
lea ebp, [eax*4]
call fcn.0056c990
fstp qword [esp + 0x10]
mov ecx, dword [edi + ebp]
call fcn.0056c990
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
fadd qword [esp + 0x10]
mov eax, edi
sub eax, ecx
cdq
fstp qword [esp + 0x10]
xor eax, edx
sub eax, edx
cmp eax, 4
jle 0x52dc07
mov esi, 0x5f07cc
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x24]
mov byte [esp + 0x78], 4
test eax, eax
je 0x52db5d
push ecx
push eax
call fcn.00546130
mov edx, dword [esp + 0x24]
push edx
call sub.mfc42u.dll_operatordelete
mov edi, dword [esp + 0x40]
add esp, 4
mov dword [esp + 0x20], 0x5e262c
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x38]
mov dword [esp + 0x78], 5
test eax, eax
je 0x52dcfe
push edi
push eax
call fcn.00546130
mov eax, dword [esp + 0x38]
push eax
call sub.mfc42u.dll_operatordelete
fld qword [esp + 0x14]
add esp, 4
jmp 0x52de73
mov esi, 0x5f07cc
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x24]
mov byte [esp + 0x78], 2
test eax, eax
je 0x52dbc8
mov ecx, dword [esp + 0x28]
push ecx
push eax
call fcn.00546130
mov edx, dword [esp + 0x24]
push edx
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x20], 0x5e262c
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x38]
mov dword [esp + 0x78], 3
test eax, eax
je 0x52dbfc
mov ecx, dword [esp + 0x3c]
push ecx
push eax
call fcn.00546130
mov edx, dword [esp + 0x38]
push edx
call sub.mfc42u.dll_operatordelete
add esp, 4
fld qword [0x5e2858]
jmp 0x52de73
mov al, byte [esp + 0x84]
test al, al
jne 0x52dd07
cmp edi, ecx
jl 0x52dc7f
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x34]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0052d7c0
test al, al
jne 0x52dd07
mov esi, 0x5f07cc
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x24]
mov byte [esp + 0x78], 6
test eax, eax
je 0x52dc69
mov ecx, dword [esp + 0x28]
push ecx
push eax
call fcn.00546130
mov edx, dword [esp + 0x24]
push edx
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x20], 0x5e262c
mov dword [esp + 0x34], esi
mov dword [esp + 0x78], 7
jmp 0x52dcde
mov edx, dword [esp + 0x80]
lea eax, [esp + 0x34]
lea ecx, [esp + 0x20]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0052d7c0
test al, al
jne 0x52dd07
mov esi, 0x5f07cc
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x24]
mov byte [esp + 0x78], 8
test eax, eax
je 0x52dcca
mov ecx, dword [esp + 0x28]
push ecx
push eax
call fcn.00546130
mov edx, dword [esp + 0x24]
push edx
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x20], 0x5e262c
mov dword [esp + 0x34], esi
mov dword [esp + 0x78], 9
mov eax, dword [esp + 0x38]
test eax, eax
je 0x52dcfe
mov ecx, dword [esp + 0x3c]
push ecx
push eax
call fcn.00546130
mov edx, dword [esp + 0x38]
push edx
call sub.mfc42u.dll_operatordelete
add esp, 4
fld qword [esp + 0x10]
jmp 0x52de73
xor edi, edi
mov dword [esp + 0x48], 0x5f07e0
mov dword [esp + 0x4c], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], edi
mov ebx, 0x5e27c0
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], edi
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov eax, dword [eax + ecx*4]
lea ecx, [esp + 0x48]
push eax
push edi
mov byte [esp + 0x80], 0xb
call fcn.0040c9d0
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x48]
mov ebp, dword [edx + ebp]
push ebp
push eax
call fcn.0040c9d0
lea ecx, [esp + 0x18]
lea edx, [esp + 0x5c]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
call fcn.0052a330
add esp, 0xc
cmp eax, 0xfffffffe
jne 0x52de24
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x60]
mov byte [esp + 0x78], 0xc
cmp eax, edi
je 0x52ddb1
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x5e262c
mov dword [esp + 0x48], 0x5f07e0
mov dword [esp + 0x5c], esi
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x78], 0xd
cmp eax, edi
je 0x52ddd8
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x48], esi
mov dword [esp + 0x20], 0x5f07cc
mov eax, dword [esp + 0x24]
mov byte [esp + 0x78], 0xe
cmp eax, edi
je 0x52de09
mov ecx, dword [esp + 0x28]
push ecx
push eax
call fcn.00546130
mov edx, dword [esp + 0x24]
push edx
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], esi
mov dword [esp + 0x78], 0xffffffff
call fcn.00544e00
fld qword [esp + 0x10]
jmp 0x52de73
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x10], eax
mov byte [esp + 0x78], 0xa
call fcn.0040bb60
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 1
call fcn.00545110
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 0
call fcn.00544e00
lea ecx, [esp + 0x34]
mov dword [esp + 0x78], 0xffffffff
call fcn.00544e00
fld qword [esp + 0x10]
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 0x10