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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d82a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push esi
push edi
mov eax, dword [0x628d60]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0xc0], ecx
je 0x52900f
cmp dword [ebp + 8], eax
jl 0x528a42
mov dword [ebp + 8], ecx
xor esi, esi
mov dword [esp + 0x1c], 0x5e27e8
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], 0x5f07a0
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x58]
mov byte [esp + 0xc0], 2
call fcn.004b6ca0
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ebx
push ecx
push edx
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xe0], 3
call fcn.004b6d10
mov edi, dword [ebp + 0x4c]
mov eax, dword [edi + 8]
test eax, eax
jle 0x528b7d
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + esi*4]
call fcn.0050b020
fld qword [esp + 0x58]
mov ecx, eax
fcomp qword [ecx]
fnstsw ax
test ah, 0x41
jne 0x528ae4
fld qword [esp + 0x58]
jmp 0x528ae6
fld qword [ecx]
fld qword [esp + 0x68]
fld qword [ecx + 0x10]
fcompp
fnstsw ax
test ah, 0x41
jne 0x528afc
fld qword [esp + 0x68]
jmp 0x528aff
fld qword [ecx + 0x10]
fxch st(1)
fadd qword [0x5f0780]
fcomp st(1)
fnstsw ax
test ah, 0x41
fstp st(0)
je 0x528b71
fld qword [esp + 0x60]
fld qword [ecx + 8]
fcompp
fnstsw ax
test ah, 1
je 0x528b28
fld qword [esp + 0x60]
jmp 0x528b2b
fld qword [ecx + 8]
fld qword [esp + 0x70]
fld qword [ecx + 0x18]
fcompp
fnstsw ax
test ah, 0x41
jne 0x528b41
fld qword [esp + 0x70]
jmp 0x528b44
fld qword [ecx + 0x18]
fxch st(1)
fadd qword [0x5f0780]
fcomp st(1)
fnstsw ax
test ah, 0x41
fstp st(0)
je 0x528b71
mov edx, dword [edi + 4]
mov ecx, dword [edx + esi*4]
call fcn.0050b020
push eax
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
call fcn.00464360
mov eax, dword [edi + 8]
inc esi
cmp esi, eax
jl 0x528ac4
fld qword [0x5ea870]
mov esi, dword [0x628d60]
xor ecx, ecx
fst qword [esp + 0xc]
test esi, esi
jle 0x528bef
mov edx, dword [0x628d5c]
add edx, 0x298
fld qword [edx]
fld st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x528bb0
fstp st(0)
fld qword [edx]
inc ecx
add edx, 0x2d8
cmp ecx, esi
jl 0x528b9f
fstp qword [esp + 0xc]
lea ecx, [esp + 0x58]
call fcn.004b7060
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 1
je 0x528c03
fld qword [ebp + 0x14]
fcomp qword [ebp + 0x24]
fnstsw ax
test ah, 1
je 0x528bf3
fld qword [esp + 0xc]
fadd qword [ebp + 0x14]
fadd qword [0x5e2858]
jmp 0x528c00
fstp st(0)
jmp 0x528bbf
fld qword [ebp + 0x14]
fsub qword [esp + 0xc]
fsub qword [0x5e2858]
fstp qword [ebp + 0x24]
mov eax, dword [0x5f0790]
mov edx, dword [ebp + 0x28]
mov ecx, dword [0x5f0794]
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x24]
push edx
mov edx, dword [0x5f0790]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov dword [ebp + 0x40], ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push ebx
push eax
push ecx
push edx
lea ecx, [esp + 0x78]
call fcn.004b6d10
lea eax, [esp + 0x58]
lea ecx, [ebp + 0x2c]
push eax
push ecx
call fcn.004b6bc0
mov ecx, dword [ebp + 8]
xor edi, edi
add esp, 8
xor esi, esi
cmp ecx, edi
jge 0x528eef
lea edx, [esp + 0x58]
lea ecx, [esp + 0x78]
push edx
call fcn.004b6cb0
lea eax, [esp + 0x58]
lea ecx, [esp + 0x98]
push eax
mov byte [esp + 0xc4], 4
call fcn.004b6cb0
xor eax, eax
mov dword [esp + 0x44], 0x5f07a0
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], edi
mov ecx, dword [0x628d60]
mov ebx, dword [ebp + 0x50]
cmp ecx, edi
mov byte [esp + 0xc0], 6
mov dword [esp + 0x14], edi
jle 0x528e9e
mov dword [esp + 0x18], eax
mov ecx, dword [0x628d5c]
mov edx, dword [esp + 0x18]
mov ax, word [edx + ecx + 8]
lea edi, [edx + ecx]
cmp ax, 1
jne 0x528cd9
mov esi, dword [ebx + 8]
jmp 0x528d1d
cmp ax, 2
jne 0x528d0c
cmp word [edi + 0xa], 1
jne 0x528d0c
mov eax, dword [ebx + 8]
mov ecx, eax
and ecx, 0x80000001
jns 0x528cf8
dec ecx
or ecx, 0xfffffffe
inc ecx
cdq
je 0x528d04
sub eax, edx
mov esi, eax
sar esi, 1
inc esi
jmp 0x528d1d
sub eax, edx
mov esi, eax
sar esi, 1
jmp 0x528d1d
mov edx, dword [ebp + 0x54]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 8]
cmp eax, ecx
jg 0x528d1b
mov eax, ecx
mov esi, eax
fld qword [ebp + 0x14]
fcomp qword [ebp + 0x24]
fnstsw ax
test ah, 1
je 0x528d31
mov eax, 1
jmp 0x528d33
xor eax, eax
lea ecx, [esp + 0x44]
lea edx, [esp + 0x1c]
push ecx
push esi
lea ecx, [esp + 0x60]
push edx
push ecx
push eax
mov ecx, edi
call fcn.0059aa80
cmp dword [esp + 0x4c], esi
jne 0x528e75
lea edx, [esp + 0x78]
lea eax, [esp + 0x44]
push edx
push eax
push edi
call fcn.005283d0
add esp, 0xc
lea ecx, [esp + 0x78]
call fcn.004b7040
fstp qword [esp + 0xc]
lea ecx, [esp + 0x98]
call fcn.004b7040
fsub qword [0x5e9c30]
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x528de7
mov ecx, dword [esp + 0x4c]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x38]
call fcn.0054a8d0
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x34]
test edx, edx
je 0x528e5a
mov dword [esp + 0xc], edx
mov edx, ecx
mov edi, eax
add eax, 0x10
add ecx, 0x10
mov ebx, dword [edx]
mov dword [edi], ebx
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov ebx, dword [edx + 8]
mov dword [edi + 8], ebx
mov edx, dword [edx + 0xc]
mov dword [edi + 0xc], edx
mov edx, dword [esp + 0xc]
dec edx
mov dword [esp + 0xc], edx
jne 0x528dba
jmp 0x528e5a
lea ecx, [esp + 0x78]
call fcn.004b7060
fstp qword [esp + 0xc]
lea ecx, [esp + 0x98]
call fcn.004b7060
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x528e75
mov edx, dword [esp + 0x4c]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x38]
call fcn.0054a8d0
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x34]
test edx, edx
je 0x528e5a
mov dword [esp + 0xc], edx
mov edx, ecx
mov edi, eax
add eax, 0x10
add ecx, 0x10
mov ebx, dword [edx]
mov dword [edi], ebx
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov ebx, dword [edx + 8]
mov dword [edi + 8], ebx
mov edx, dword [edx + 0xc]
mov dword [edi + 0xc], edx
mov edx, dword [esp + 0xc]
dec edx
mov dword [esp + 0xc], edx
jne 0x528e2f
lea eax, [esp + 0x78]
lea ecx, [esp + 0x98]
push eax
call fcn.004b6d90
mov ecx, dword [esp + 0x14]
mov ebx, dword [ebp + 0x50]
mov dword [ebp + 8], ecx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [0x628d60]
inc eax
add edx, 0x2d8
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jl 0x528cbc
mov eax, dword [esp + 0x48]
mov edi, 0x5f07a0
mov dword [esp + 0x44], edi
test eax, eax
mov byte [esp + 0xc0], 7
je 0x528ebc
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ebx, 0x5e262c
lea ecx, [esp + 0x98]
mov dword [esp + 0x44], ebx
mov byte [esp + 0xc0], 4
call fcn.0042bd50
lea ecx, [esp + 0x78]
mov byte [esp + 0xc0], 3
call fcn.0042bd50
jmp 0x528f93
lea eax, [ecx + ecx*4]
lea edx, [eax + eax*8]
lea eax, [ecx + edx*2]
mov ecx, dword [0x628d5c]
lea ecx, [ecx + eax*8]
mov ax, word [ecx + 8]
cmp ax, 1
jne 0x528f13
mov edx, dword [ebp + 0x50]
mov esi, dword [edx + 8]
jmp 0x528f5d
cmp ax, 2
jne 0x528f49
cmp word [ecx + 0xa], 1
jne 0x528f49
mov eax, dword [ebp + 0x50]
mov eax, dword [eax + 8]
mov edx, eax
and edx, 0x80000001
jns 0x528f35
dec edx
or edx, 0xfffffffe
inc edx
cdq
je 0x528f41
sub eax, edx
mov esi, eax
sar esi, 1
inc esi
jmp 0x528f5d
sub eax, edx
mov esi, eax
sar esi, 1
jmp 0x528f5d
mov eax, dword [ebp + 0x50]
mov edx, dword [ebp + 0x54]
mov eax, dword [eax + 8]
mov edx, dword [edx + 8]
cmp eax, edx
jg 0x528f5b
mov eax, edx
mov esi, eax
fld qword [ebp + 0x14]
fcomp qword [ebp + 0x24]
fnstsw ax
test ah, 1
je 0x528f71
mov eax, 1
jmp 0x528f73
xor eax, eax
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x20]
push esi
push edx
lea edx, [esp + 0x64]
push edx
push eax
call fcn.0059aa80
mov edi, 0x5f07a0
mov ebx, 0x5e262c
cmp dword [esp + 0x38], esi
jge 0x52903a
lea ecx, [esp + 0x58]
mov byte [esp + 0xc0], 2
call fcn.0042bd50
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x34]
mov byte [esp + 0xc0], 8
test eax, eax
je 0x528fcb
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], 0x5e27e8
mov esi, dword [esp + 0x20]
mov byte [esp + 0xc0], 9
test esi, esi
je 0x52900b
mov eax, dword [esp + 0x24]
test eax, eax
je 0x529002
lea edi, [eax]
mov ecx, esi
call fcn.0042bd50
add esi, 0x20
dec edi
jne 0x528ff1
mov esi, dword [esp + 0x20]
push esi
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x1c], ebx
lea ecx, [ebp + 0x2c]
mov dword [esp + 0xc0], 0xffffffff
call fcn.0042bd50
or eax, 0xffffffff
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x54]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0x50]
push eax
lea eax, [ebx + ebx*4]
lea edx, [esp + 0x34]
push ecx
push edx
mov edx, dword [0x628d5c]
lea eax, [eax + eax*8]
lea ecx, [ebx + eax*2]
lea eax, [edx + ecx*8]
push eax
call fcn.005284e0
add esp, 0x10
lea ecx, [esp + 0x58]
mov byte [esp + 0xc0], 2
call fcn.0042bd50
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x34]
mov byte [esp + 0xc0], 0xa
test eax, eax
je 0x529093
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x30], 0x5e262c
mov dword [esp + 0x1c], 0x5e27e8
mov esi, dword [esp + 0x20]
mov byte [esp + 0xc0], 0xb
test esi, esi
je 0x5290d7
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5290ce
lea edi, [eax]
mov ecx, esi
call fcn.0042bd50
add esi, 0x20
dec edi
jne 0x5290bd
mov esi, dword [esp + 0x20]
push esi
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [ebp + 0x2c]
mov dword [esp + 0x1c], 0x5e262c
mov dword [esp + 0xc0], 0xffffffff
call fcn.0042bd50
mov ecx, dword [esp + 0xb8]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret