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

Disassembly:
fld dword [esp + 0x54]
mov eax, dword [0x568178]
sub esp, 0x8c
fcomp dword [0x53c874]
and al, 0xfb
mov dword [0x568178], eax
fnstsw ax
test ah, 0x41
je 0x507944
fld dword [esp + 0xe0]
call fcn.00529c7c
mov dword [0x568198], eax
fld dword [esp + 0xe0]
fcomp dword [0x53b280]
fld dword [0x568194]
fmul dword [esp + 0xe0]
fnstsw ax
test ah, 1
jne 0x50796d
fadd dword [0x56817c]
jmp 0x507973
fadd dword [0x568180]
fstp dword [esp]
fld dword [esp]
fcomp dword [0x53b280]
fnstsw ax
test ah, 0x41
jne 0x50798f
mov eax, 1
jmp 0x507991
xor eax, eax
push str.invalid_zOffset_
push eax
call fcn.004015b0
fld dword [esp + 8]
fsub dword [0x56817c]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x98]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0xa0]
fdiv dword [0x568190]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xac]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0xe4]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x24], eax
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0xc4]
add esp, 8
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x88], edx
lea edx, [esp + 0x54]
mov dword [esp + 0x14], edx
fstp dword [esp + 8]
fld dword [0x568184]
fdiv dword [esp]
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x18], eax
mov eax, dword [0xac08f4]
cmp eax, 0x3c00
fstp dword [esp + 4]
mov ecx, dword [esp + 4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x10], ecx
jl 0x507b07
inc eax
mov dword [0xac08f4], eax
add esp, 0x8c
ret
lea ecx, [eax + eax*2]
push ebx
push ebp
push esi
lea ebp, [ecx + ecx*4]
mov ecx, dword [0xac08e0]
shl ebp, 4
add ebp, 0x73c7b8
inc eax
mov dword [0xac08f4], eax
mov eax, dword [0x6b78f8]
test eax, eax
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], ecx
je 0x507c54
mov edx, dword [0x568170]
mov dword [ebp + 4], edx
mov eax, dword [0x568178]
mov dword [ebp + 8], eax
mov eax, dword [0x568170]
test eax, eax
jge 0x507b65
mov ecx, dword [0x568178]
and ecx, 0xfffffffb
mov dword [ebp + 8], ecx
mov eax, 4
lea ebx, [esp + 0x1c]
mov dword [ebp + 0xc], eax
lea edx, [ebp + 0x18]
mov dword [esp + 0x14], eax
mov esi, dword [ebx]
lea edi, [edx - 8]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
test byte [ebp + 8], 4
jne 0x507b91
mov dword [edx + 4], 0x3f800000
mov cl, byte [0xac08f2]
mov eax, dword [edx + 8]
test cl, cl
je 0x507ba5
mov esi, 0x80
jmp 0x507baa
mov esi, eax
shr esi, 0x18
mov edi, eax
xor ecx, ecx
shr edi, 0x10
and edi, 0xff
shl esi, 8
mov cl, byte [edi + 0xac07bc]
mov edi, ecx
xor ecx, ecx
or edi, esi
mov esi, eax
shr esi, 8
and esi, 0xff
and eax, 0xff
shl edi, 8
mov cl, byte [esi + 0xac07bc]
or edi, ecx
xor ecx, ecx
mov cl, byte [eax + 0xac07bc]
shl edi, 8
or edi, ecx
mov dword [edx + 8], edi
fld dword [edx]
fcomp dword [0x53b280]
fnstsw ax
test ah, 1
je 0x507c08
mov dword [edx], 0
jmp 0x507c3a
fld dword [edx]
fcomp dword [0x53c870]
fnstsw ax
test ah, 0x41
jne 0x507c27
mov dword [edx], 0x3f7ff972
mov dword [esp + 0x10], 0x3f7ff972
jmp 0x507c3a
fld dword [esp + 0x10]
fcomp dword [edx]
fnstsw ax
test ah, 1
je 0x507c3a
mov eax, dword [edx]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
add ebx, 4
add edx, 0x1c
dec eax
mov dword [esp + 0x14], eax
jne 0x507b78
jmp 0x507d72
mov eax, dword [0x568170]
test eax, eax
jge 0x507c61
xor eax, eax
jmp 0x507c6a
push eax
call fcn.0050f3c0
add esp, 4
mov dword [ebp + 4], eax
mov cx, word [0x71c720]
mov word [ebp + 8], cx
mov dx, word [0x71c734]
mov eax, 4
mov word [ebp + 0xa], dx
mov dword [ebp + 0xc], eax
lea ebx, [esp + 0x1c]
lea edx, [ebp + 0x18]
mov dword [esp + 0x14], eax
mov esi, dword [ebx]
lea edi, [edx - 8]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov cl, byte [0xac08f2]
mov eax, dword [edx + 8]
test cl, cl
je 0x507cb6
mov esi, 0x80
jmp 0x507cbb
mov esi, eax
shr esi, 0x18
mov edi, eax
xor ecx, ecx
shr edi, 0x10
and edi, 0xff
shl esi, 8
mov cl, byte [edi + 0xac07bc]
mov edi, ecx
xor ecx, ecx
or edi, esi
mov esi, eax
shr esi, 8
and esi, 0xff
and eax, 0xff
shl edi, 8
mov cl, byte [esi + 0xac07bc]
or edi, ecx
xor ecx, ecx
mov cl, byte [eax + 0xac07bc]
shl edi, 8
or edi, ecx
mov dword [edx + 8], edi
fld dword [edx]
fcomp dword [0x53b280]
fnstsw ax
test ah, 1
je 0x507d19
mov dword [edx], 0
jmp 0x507d4b
fld dword [edx]
fcomp dword [0x53c870]
fnstsw ax
test ah, 0x41
jne 0x507d38
mov dword [edx], 0x3f7ff972
mov dword [esp + 0x10], 0x3f7ff972
jmp 0x507d4b
fld dword [esp + 0x10]
fcomp dword [edx]
fnstsw ax
test ah, 1
je 0x507d4b
mov eax, dword [edx]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
add ebx, 4
add edx, 0x1c
dec eax
mov dword [esp + 0x14], eax
jne 0x507c96
cmp word [0x71c720], 0
je 0x507d72
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [0x568198]
push ecx
push edx
push eax
push ebp
call fcn.00503100
add esp, 0x10
mov dword [0x568198], 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret