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

Disassembly:
sub esp, 0x84
push ebx
push ebp
mov ebp, dword [esp + 0x90]
mov eax, dword [ebp]
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x84]
push ecx
mov ecx, ebp
mov dword [esp + 0x24], esi
call dword [eax + 0x28]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x8c]
sub edx, eax
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fdivr dword [esp + 0x9c]
fst dword [esp + 0x9c]
fcomp dword [0x65c2f0]
fnstsw ax
test ah, 5
jp 0x52c837
mov dword [esp + 0x9c], 0
jmp 0x52c856
fld dword [esp + 0x9c]
fcomp dword [0x65c2f4]
fnstsw ax
test ah, 0x41
jne 0x52c856
mov dword [esp + 0x9c], 0x3f800000
mov eax, dword [ebp]
xor ebx, ebx
push ebx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call dword [eax + 0x30]
mov edx, dword [eax + 8]
sub edx, dword [eax]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
fild qword [esp + 0x28]
cmp byte [esp + 0xa0], bl
fdivr dword [0x65c2f4]
fstp dword [esp + 0x10]
je 0x52c924
mov eax, dword [esi + 8]
cmp eax, 2
jbe 0x52c924
mov edx, 1
lea esi, [eax - 1]
or edi, 0xffffffff
cmp esi, edx
mov dword [esp + 0x30], 0x7f7fffff
mov dword [esp + 0x34], 0xff7fffff
jbe 0x52c8fc
lea esp, [esp]
mov ecx, dword [esp + 0x20]
push edx
call fcn.0052c790
fsub dword [esp + 0x9c]
fabs
fcom dword [esp + 0x30]
fnstsw ax
test ah, 0x41
jp 0x52c8e4
fst dword [esp + 0x30]
mov edi, edx
fcom dword [esp + 0x34]
fnstsw ax
test ah, 1
jne 0x52c8f5
fstp dword [esp + 0x34]
jmp 0x52c8f7
fstp st(0)
inc edx
cmp edx, esi
jb 0x52c8c0
fld dword [esp + 0x30]
fld dword [esp + 0x10]
fmul dword [0x65f598]
fcompp
fnstsw ax
test ah, 0x41
jne 0x52c924
mov ecx, dword [esp + 0x20]
push edi
call fcn.0052c790
fstp dword [esp + 0x9c]
test dword [ebp + 0x19c], 0xfffffffe
jbe 0x52c93a
mov eax, dword [ebp + 0x198]
mov esi, dword [eax]
jmp 0x52c93c
xor esi, esi
lea ecx, [esp + 0x50]
mov byte [esp + 0x40], bl
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x4c], bl
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], ebx
call fcn.00440e30
lea ecx, [esp + 0x5c]
call fcn.00440e30
lea ecx, [esp + 0x68]
call fcn.00440e30
lea ecx, [esp + 0x74]
call fcn.00440e30
mov ecx, dword [esp + 0x9c]
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], ecx
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 0x3f000000
mov byte [esp + 0x85], 1
mov byte [esp + 0x84], bl
call fcn.00440e40
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
call fcn.00440e40
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x54]
call fcn.00440e40
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x60]
call fcn.00440e40
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x1c], 0
call fcn.00440e40
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x2c], 0
call fcn.00440e40
lea edx, [esp + 0x44]
lea edi, [esi + 0xc]
push edx
lea ecx, [edi + 0xc]
call fcn.00445bb0
test al, al
je 0x52ca57
lea eax, [esp + 0x50]
push eax
lea ecx, [edi + 0x18]
call fcn.00445bb0
test al, al
je 0x52ca57
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
call fcn.00445bb0
test al, al
je 0x52ca57
mov dl, byte [edi + 0x49]
cmp dl, byte [esp + 0x81]
je 0x52ca67
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call fcn.00441060
or dword [esi + 8], 1
mov ecx, dword [esp + 0x20]
cmp byte [ecx + 0xc], bl
je 0x52cb9f
lea ecx, [esp + 0x50]
mov byte [esp + 0x40], bl
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x4c], bl
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], ebx
call fcn.00440e30
lea ecx, [esp + 0x5c]
call fcn.00440e30
lea ecx, [esp + 0x68]
call fcn.00440e30
lea ecx, [esp + 0x74]
call fcn.00440e30
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x3f000000
mov dword [esp + 0x2c], 0x3f000000
mov byte [esp + 0x85], 1
mov byte [esp + 0x84], bl
call fcn.00440e40
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
call fcn.00440e40
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x54]
call fcn.00440e40
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x60]
call fcn.00440e40
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x20], 0
call fcn.00440e40
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x14], 0
call fcn.00440e40
lea edx, [esp + 0x44]
lea edi, [esi + 0xa4]
push edx
lea ecx, [edi + 0xc]
call fcn.00445bb0
test al, al
je 0x52cb8f
lea eax, [esp + 0x50]
push eax
lea ecx, [edi + 0x18]
call fcn.00445bb0
test al, al
je 0x52cb8f
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
call fcn.00445bb0
test al, al
je 0x52cb8f
mov dl, byte [edi + 0x49]
cmp dl, byte [esp + 0x81]
je 0x52cb9f
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call fcn.00441060
or dword [esi + 8], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x84
ret 0xc