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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [eax + ecx*4]
mov ecx, dword [ecx + 0x30]
mov ebx, dword [eax + edx*4]
push edi
mov edi, dword [eax + ecx*4]
mov eax, dword [ebx + 4]
mov dword [ebp + 0x10], ecx
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 4]
test al, 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], edi
je 0x53d3aa
test ah, 0x10
jne 0x53d3aa
mov eax, dword [edi]
mov ecx, eax
and ecx, 0x1f
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebx]
mov edx, ecx
and edx, 0x40
mov dword [ebp - 4], edx
mov edx, dword [ebp + 8]
mov edx, dword [edx]
and edx, 0xfff00000
cmp edx, 0x10000000
mov dword [ebp - 8], edx
jne 0x53cd01
or ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebx], ecx
jmp 0x53d3a7
and eax, 0x40
or eax, ecx
test eax, 0xe000000
mov dword [ebx], eax
jne 0x53cd43
cmp edx, 0x10100000
je 0x53cd37
cmp edx, 0x10300000
je 0x53cd37
cmp edx, 0x10400000
je 0x53cd37
cmp edx, 0x10d00000
je 0x53cd37
cmp edx, 0x10e00000
jne 0x53cd43
mov ecx, dword [edi]
and ecx, 0xe000000
or ecx, eax
mov dword [ebx], ecx
cmp edx, 0x10100000
push 4
pop eax
je 0x53cd88
cmp edx, 0x10300000
je 0x53cd70
cmp edx, 0x10400000
je 0x53cd7c
cmp edx, 0x10500000
je 0x53cd7c
cmp edx, 0x10700000
jne 0x53cda3
jmp 0x53cd7c
test byte [ebp + 0xc], 4
je 0x53cd80
test byte [ebp + 0xc], 8
je 0x53cd80
or dword [ebx], eax
jmp 0x53cda3
mov eax, dword [ebp + 0xc]
and eax, 0xc
jmp 0x53cd7c
mov ecx, dword [ebp + 0xc]
shr ecx, 1
and ecx, eax
mov eax, dword [ebp + 0xc]
and eax, 4
shl eax, 1
or ecx, eax
mov eax, dword [ebp + 0xc]
and eax, 0xfffffff3
or ecx, eax
or dword [ebx], ecx
mov ecx, dword [edi + 4]
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 4]
test ch, 1
je 0x53cffa
cmp dword [edi + 8], 0xffffffff
jne 0x53cffa
mov eax, 0x10800000
xor ecx, ecx
cmp edx, eax
ja 0x53cf17
je 0x53cf0d
cmp edx, 0x10100000
je 0x53cf03
cmp edx, 0x10300000
je 0x53cede
cmp edx, 0x10400000
je 0x53ceb0
cmp edx, 0x10500000
je 0x53ce9d
cmp edx, 0x10600000
je 0x53ce4b
cmp edx, 0x10700000
jne 0x53d3aa
cmp dword [ebp - 4], ecx
jne 0x53ce3b
fldz
fcomp qword [edi + 0x20]
fnstsw ax
test ah, 0x41
jne 0x53ce3b
push str.imaginary_square_root
push 0xfa3
jmp 0x53cfce
fld qword [edi + 0x20]
fsqrt
fdivr qword [0x593dc8]
jmp 0x53cff0
cmp dword [ebp - 4], ecx
jne 0x53ce66
fld qword [0x593db0]
fld qword [edi + 0x20]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x53d3aa
fldz
fcomp qword [edi + 0x20]
fnstsw ax
test ah, 0x41
jne 0x53ce81
push str.indefinite_logarithm
push 0xfa2
jmp 0x53cfce
fld qword [edi + 0x20]
fldln2
fxch st(1)
fyl2x
fld qword [0x593e40]
fldln2
fxch st(1)
fyl2x
fdivp st(1)
jmp 0x53cff0
fld qword [0x593e40]
fld qword [edi + 0x20]
call fcn.0046cac0
jmp 0x53cff0
fld qword [edi + 0x20]
push ecx
push ecx
fstp qword [esp]
call fcn.00478792
test eax, eax
pop ecx
pop ecx
je 0x53cfdd
fld qword [edi + 0x20]
push ecx
push ecx
fstp qword [esp]
call fcn.0058b974
fsubr qword [edi + 0x20]
pop ecx
pop ecx
jmp 0x53cff0
cmp dword [ebp - 4], ecx
jne 0x53cef9
fld qword [edi + 0x20]
fld qword [0x593db0]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x53cfdd
fld1
fdiv qword [edi + 0x20]
jmp 0x53cff0
fld qword [edi + 0x20]
fchs
jmp 0x53cff0
fld qword [edi + 0x20]
fsin
jmp 0x53cff0
cmp edx, 0x10900000
je 0x53cfeb
cmp edx, 0x10a00000
je 0x53cf9f
cmp edx, 0x10b00000
je 0x53cf64
cmp edx, 0x10c00000
je 0x53cf58
cmp edx, 0x10d00000
je 0x53cfdd
cmp edx, 0x10e00000
jne 0x53d3aa
jmp 0x53cfdd
fld qword [edi + 0x20]
fld1
fpatan
jmp 0x53cff0
cmp dword [ebp - 4], ecx
jne 0x53cf95
fld qword [edi + 0x20]
fcomp qword [0x593dd0]
fnstsw ax
test ah, 5
jnp 0x53cf89
fld qword [edi + 0x20]
fcomp qword [0x593dc8]
fnstsw ax
test ah, 0x41
jne 0x53cf95
push str.indefinite_arccosine
push 0xfa6
jmp 0x53cfce
fld qword [edi + 0x20]
call fcn.0046e480
jmp 0x53cff0
cmp dword [ebp - 4], ecx
jne 0x53cfe1
fld qword [edi + 0x20]
fcomp qword [0x593dd0]
fnstsw ax
test ah, 5
jnp 0x53cfc4
fld qword [edi + 0x20]
fcomp qword [0x593dc8]
fnstsw ax
test ah, 0x41
jne 0x53cfe1
push str.indefinite_arcsine
push 0xfa5
mov eax, dword [ebp + 8]
push dword [eax + 0x3c]
push esi
call fcn.0053a3c9
add esp, 0x10
fldz
jmp 0x53cff0
fld qword [edi + 0x20]
call fcn.0046e550
jmp 0x53cff0
fld qword [edi + 0x20]
fcos
push ecx
push ecx
fstp qword [esp]
jmp 0x53d399
mov al, byte [ebp + 0xc]
test al, 1
je 0x53d00d
cmp edx, 0x10400000
je 0x53d392
test al, 2
je 0x53d01d
cmp edx, 0x10400000
je 0x53d392
test al, 8
je 0x53d091
cmp edx, 0x10600000
je 0x53d061
cmp edx, 0x10700000
jne 0x53d091
xor edi, edi
cmp dword [ebp - 4], edi
jne 0x53d3aa
mov eax, dword [ebp + 8]
push str.imaginary_square_root
push 0xfa3
push dword [eax + 0x3c]
push esi
call fcn.0053a3c9
fldz
add esp, 8
fstp qword [esp]
push edi
push edi
jmp 0x53d39d
cmp dword [ebp - 4], 0
jne 0x53d3aa
test al, 4
jne 0x53d3aa
mov eax, dword [ebp + 8]
push str.indefinite_logarithm
push 0xfa2
push dword [eax + 0x3c]
push esi
call fcn.0053a3c9
add esp, 0x10
jmp 0x53d3aa
test ch, 2
je 0x53d0ae
cmp edx, 0x10d00000
je 0x53d392
cmp edx, 0x10e00000
je 0x53d392
cmp dword [ebp - 4], 0
jne 0x53d3aa
test cl, 2
je 0x53d3aa
cmp edx, 0x10100000
mov edx, 0xfff00000
jne 0x53d0e3
mov ecx, dword [esi + 0x18]
mov eax, dword [edi + 0x48]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax]
and ecx, edx
cmp ecx, 0x10100000
je 0x53d13d
cmp dword [ebp - 8], 0x10300000
jne 0x53d101
mov ecx, dword [esi + 0x18]
mov eax, dword [edi + 0x48]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax]
and ecx, edx
cmp ecx, 0x10300000
je 0x53d13d
cmp dword [ebp - 8], 0x10500000
jne 0x53d11f
mov ecx, dword [esi + 0x18]
mov eax, dword [edi + 0x48]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax]
and ecx, edx
cmp ecx, 0x10600000
je 0x53d13d
cmp dword [ebp - 8], 0x10600000
jne 0x53d188
mov ecx, dword [esi + 0x18]
mov eax, dword [edi + 0x48]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax]
and ecx, edx
cmp ecx, 0x10500000
jne 0x53d188
and dword [ebp + 8], 0
cmp dword [eax + 0xc], 0
jbe 0x53d167
mov ecx, dword [eax + 0x10]
jmp 0x53d14f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
cmp dword [ecx], edx
je 0x53d167
inc dword [ebp + 8]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jb 0x53d14c
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jae 0x53d183
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x30]
jmp 0x53d3a7
mov edx, 0xfff00000
cmp dword [ebp - 8], 0x10300000
jne 0x53d28c
mov eax, dword [esi + 0x18]
mov ecx, dword [edi + 0x48]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
and eax, edx
cmp eax, 0x20500000
jne 0x53d28c
mov edi, dword [ecx + 0xc]
xor edx, edx
test edi, edi
jbe 0x53d1c8
mov eax, dword [ecx + 0x10]
mov ebx, dword [eax]
cmp ebx, dword [ebp + 0x10]
je 0x53d1c8
inc edx
add eax, 4
cmp edx, edi
jb 0x53d1b9
mov eax, dword [ecx + 0xc]
mov edi, dword [esi + 0x14]
mov ecx, dword [ecx + 8]
and dword [ebp + 0xc], 0
mov dword [ebp - 0x10], edi
mov edi, eax
shl edi, 2
mov dword [ebp - 0x20], edi
mov edi, eax
neg edi
shl edi, 2
lea ebx, [ecx + edx*4]
add eax, edx
lea ecx, [ecx + eax*4]
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov edx, 0xfff00000
mov ecx, dword [ecx]
mov eax, dword [ebx]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax + 4]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ecx*4]
test byte [eax + 4], 2
je 0x53d26b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
mov eax, dword [esi + 0x18]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax]
and ecx, edx
cmp ecx, 0x10700000
jne 0x53d26b
and dword [ebp + 8], 0
cmp dword [eax + 0xc], 0
jbe 0x53d256
mov ecx, dword [eax + 0x10]
mov ebx, dword [ecx]
cmp ebx, dword [ebp - 0x14]
je 0x53d256
inc dword [ebp + 8]
mov ebx, dword [eax + 0xc]
add ecx, 4
cmp dword [ebp + 8], ebx
jb 0x53d241
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp + 8]
cmp dword [eax + ebx*4], ecx
je 0x53d330
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add ebx, dword [ebp - 0x20]
inc dword [ebp + 0xc]
add ecx, edi
cmp dword [ebp + 0xc], 2
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
jb 0x53d1fa
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
cmp dword [ebp - 8], 0x10500000
jne 0x53d3aa
mov ecx, dword [edi + 0x48]
mov eax, dword [esi + 0x18]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax]
and ecx, edx
cmp ecx, 0x20500000
jne 0x53d3aa
mov ecx, dword [eax + 0xc]
and dword [ebp + 8], 0
test ecx, ecx
jbe 0x53d2d9
mov edi, dword [eax + 0x10]
mov dword [ebp + 0xc], edi
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
cmp edi, dword [ebp + 0x10]
je 0x53d2d9
inc dword [ebp + 8]
add dword [ebp + 0xc], 4
cmp dword [ebp + 8], ecx
jb 0x53d2c3
and dword [ebp + 0xc], 0
mov eax, dword [eax + 8]
mov edi, dword [esi + 0x14]
shl ecx, 2
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 8]
lea eax, [eax + ecx*4]
mov dword [ebp + 0x10], eax
mov eax, dword [eax]
mov eax, dword [edi + eax*4]
mov ecx, dword [eax + 4]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ecx*4]
test byte [eax + 4], 2
je 0x53d37a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
mov eax, dword [esi + 0x18]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax]
and ecx, edx
cmp ecx, 0x10600000
jne 0x53d37a
and dword [ebp + 8], 0
cmp dword [eax + 0xc], 0
jbe 0x53d361
mov ecx, dword [eax + 0x10]
jmp 0x53d347
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x30], eax
jmp 0x53d3aa
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp + 0x10]
mov edi, dword [edi]
cmp dword [ecx], edi
je 0x53d361
inc dword [ebp + 8]
add ecx, 4
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jb 0x53d344
mov eax, dword [eax + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx*4]
mov edi, dword [esi + 0x14]
mov eax, dword [edi + eax*4]
mov eax, dword [eax]
test al, 4
je 0x53d37a
test al, 8
jne 0x53d392
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x20]
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 2
mov dword [ebp + 0x10], eax
jb 0x53d2f2
jmp 0x53d3aa
push ecx
fldz
push ecx
fstp qword [esp]
push 0
push 0
push dword [esi + 0x78]
mov ecx, esi
call fcn.005356c4
mov dword [ebx + 0x30], eax
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc