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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xec
mov eax, dword [esp + 0x100]
mov dword [esp + 0x50], 0
mov edx, dword [eax + 0x18]
test edx, edx
je 0x5909ae
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0x50]
mov eax, dword [eax + 0x1c]
mov ebp, dword [eax + ecx*4]
mov eax, dword [ebp + 0x2c4]
mov eax, dword [eax]
test eax, eax
jne 0x59099d
mov eax, dword [ebp + 0x2c0]
mov ecx, dword [eax + 0x10]
mov ebx, dword [ecx + 0x70]
mov esi, dword [ecx + 0x6c]
mov eax, ebx
mov dword [esp + 0x28], ebx
sar eax, 0x1f
mov dword [esp + 0x2c], eax
mov eax, 0x65
imul esi
cmp dword [esp + 0x2c], edx
jg 0x5909c0
jl 0x59084c
cmp ebx, eax
jae 0x5909c0
mov eax, esi
cdq
mov edi, edx
shld edi, esi, 2
shl esi, 2
add eax, esi
adc edx, edi
cmp dword [esp + 0x2c], edx
jl 0x5909c0
jg 0x590870
cmp ebx, eax
jb 0x5909c0
cmp dword [ecx + 0x34], 0x7634706d
je 0x5909c0
mov eax, dword [ecx + 0x30]
cmp eax, 2
sete dl
cmp eax, 0x62
sete cl
or edx, ecx
cmp eax, 0xae
sete cl
or dl, cl
jne 0x5909c0
cmp eax, 0x1c
je 0x5909c0
mov ebx, dword [ebp + 0xbc]
mov eax, dword [ebx + 0x10]
cmp eax, 1
jle 0x5910ac
mov eax, dword [ebp + 0x19c]
test eax, eax
mov dword [esp + 0x54], eax
jne 0x590a4c
mov eax, dword [ebp + 0x2c0]
mov ecx, dword [eax + 0x10]
mov edi, dword [ecx + 0x70]
mov esi, dword [ecx + 0x6c]
mov eax, edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], edi
sar eax, 0x1f
mov dword [esp + 0x2c], eax
mov eax, 0x65
imul esi
cmp dword [esp + 0x2c], edx
jg 0x590b40
jge 0x590b30
mov eax, esi
cdq
mov edi, edx
shld edi, esi, 2
shl esi, 2
add eax, esi
adc edx, edi
cmp dword [esp + 0x2c], edx
jl 0x590b40
jle 0x5910e8
cmp dword [ecx + 0x34], 0x7634706d
je 0x590b40
mov eax, dword [ecx + 0x30]
cmp eax, 2
sete cl
cmp eax, 0x62
sete dl
or edx, ecx
cmp eax, 0xae
sete cl
or dl, cl
jne 0x590b40
cmp eax, 0x1c
je 0x590b40
lea esi, [esi]
add ebx, 0x20
mov dword [esp], ebx
call fcn.00894200
mov eax, dword [ebp + 0xbc]
mov dword [eax + 0x18], 0
mov dword [eax], 0
mov dword [eax + 4], 0x80000000
mov dword [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x100]
mov edx, dword [eax + 0x18]
add dword [esp + 0x50], 1
mov eax, dword [esp + 0x50]
cmp eax, edx
jb 0x5907f4
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [ebp + 0xbc]
mov eax, dword [ebx + 0x10]
cmp eax, 0xf
jle 0x5908b0
mov eax, dword [ebx + 8]
mov esi, dword [ebp + 0x28]
mov edi, dword [ebx + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x2c]
mov ecx, esi
sar ecx, 0x1f
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], eax
sar eax, 0x1f
mov dword [esp + 0x2c], eax
mov eax, 0x1f4
imul esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00bd0e70
cmp edx, 0
jle 0x5910f7
cmp edi, edx
jl 0x5908b9
jle 0x5910ce
mov eax, dword [ebp + 0x19c]
test eax, eax
je 0x59110e
mov eax, dword [ebp + 0x19c]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x5c]
test eax, eax
jne 0x590960
mov edi, dword [ebx + 0x1c]
mov esi, dword [ebx + 0x18]
mov edx, edi
or edx, esi
je 0x590960
cmp dword [ebx + 0x2c], 0
jg 0x590960
jl 0x590a7d
cmp dword [ebx + 0x28], 0
ja 0x590960
mov eax, dword [ebx + 0x10]
cmp eax, 2
jle 0x590960
fild dword [ebp + 0x28]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
fild dword [ebp + 0x2c]
fdivp st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fild dword [esp + 0x54]
fild dword [ebp + 0x1a0]
fdivp st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fmulp st(1)
fld1
fdivr st(1), st(0)
fild qword [esp + 0x28]
mov dword [esp + 0x28], eax
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fild dword [esp + 0x28]
fdivp st(1)
fsubp st(2)
fxch st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fabs
fxch st(1)
fucompp
fnstsw ax
sahf
jb 0x590960
mov eax, dword [esp + 0x100]
mov dword [esp + 8], str.Setting_avg_frame_rate_based_on_r_frame_rate_n
mov dword [esp + 4], 0x30
mov dword [esp], eax
call fcn.00891920
mov eax, dword [ebp + 0x19c]
mov edx, dword [ebp + 0x1a0]
mov ebx, dword [ebp + 0xbc]
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], edx
jmp 0x590960
cmp edi, eax
jb 0x590902
nop
lea esi, [esi]
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x34], 0xffc3b2b4
xor esi, esi
mov dword [esp + 0x28], 0x3e9
fld qword [0xc6d010]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x60], eax
jmp 0x590dcd
fild dword [ebp + 0x28]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
cmp esi, 0x167
fild dword [ebp + 0x2c]
fdivp st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fild qword [esp + 0x38]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fmul st(1)
jbe 0x590e80
cmp esi, 0x185
jle 0x590eb0
lea eax, [esi - 0x186]
cmp eax, 2
jbe 0x590fc5
mov dword [esp + 0x98], 0x18
mov dword [esp + 0x9c], 0x1e
mov dword [esp + 0xa0], 0x3c
mov dword [esp + 0xa4], 0xc
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xac], 0x30
imul eax, dword [esp + esi*4 - 0x58c], 0x2ee0
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
fdivr dword [0xc6d018]
fucompp
fnstsw ax
sahf
ja 0x590da0
fild dword [ebx + 0x10]
cmp esi, 0x167
fild qword [ebx + 0x18]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fmulp st(2)
fdiv st(1), st(0)
jbe 0x590e71
cmp esi, 0x185
jbe 0x590ea0
lea eax, [esi - 0x186]
cmp eax, 2
jbe 0x590ef0
mov dword [esp + 0xc8], 0x18
mov dword [esp + 0xcc], 0x1e
mov dword [esp + 0xd0], 0x3c
mov dword [esp + 0xd4], 0xc
mov dword [esp + 0xd8], 0xf
mov dword [esp + 0xdc], 0x30
imul eax, dword [esp + esi*4 - 0x55c], 0x2ee0
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
fld xword [str.gfffff]
fdiv st(1)
fucomp st(3)
fnstsw ax
fstp st(2)
sahf
ja 0x590da4
mov edx, dword [ebx + 0x20]
lea edi, [esi*8]
fld st(0)
add edx, edi
fdivr qword [edx]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fld st(1)
fdivr qword [edx + 0xc78]
fxch st(1)
fmul st(0)
fsubp st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fxch st(3)
fucom st(3)
fnstsw ax
sahf
jbe 0x590d1a
fld st(0)
fld xword [0xc6d030]
fxch st(1)
fucompp
fnstsw ax
sahf
jbe 0x590d1a
fstp st(0)
mov eax, dword [esp + 0x38]
fld st(2)
mov dword [esp + 0x54], eax
fld st(3)
fld xword [0xc6d040]
fucompp
fnstsw ax
sahf
ja 0x590f25
fstp st(3)
fxch st(1)
fxch st(2)
fld st(1)
fdivr qword [edx + 0x18f0]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fxch st(2)
fdivr qword [edx + 0x2568]
fxch st(2)
fmul st(0)
fsubp st(2)
fxch st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fxch st(1)
fucom st(1)
fnstsw ax
sahf
jbe 0x590d81
fld st(0)
fld xword [0xc6d030]
fxch st(1)
fucompp
fnstsw ax
sahf
jbe 0x590d81
fstp st(0)
mov eax, dword [esp + 0x38]
fld st(0)
mov dword [esp + 0x54], eax
fld st(1)
fld xword [0xc6d040]
fucompp
fnstsw ax
sahf
ja 0x590f85
fstp st(1)
fstp st(1)
jmp 0x590da8
fstp st(0)
jmp 0x590da8
fstp st(0)
fstp st(0)
add esi, 1
add dword [esp + 0x28], 0x3e9
add dword [esp + 0x34], 0x2eec
cmp esi, 0x18f
je 0x591022
mov ebx, dword [ebp + 0xbc]
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x28]
mov edi, edx
or edi, eax
jne 0x590b70
cmp esi, 0x167
jbe 0x590e90
cmp esi, 0x185
jle 0x590ec0
lea eax, [esi - 0x186]
cmp eax, 2
jbe 0x590ff1
mov dword [esp + 0xb0], 0x18
mov dword [esp + 0xb4], 0x1e
mov dword [esp + 0xb8], 0x3c
mov dword [esp + 0xbc], 0xc
mov dword [esp + 0xc0], 0xf
mov dword [esp + 0xc4], 0x30
imul eax, dword [esp + esi*4 - 0x574], 0x2ee0
cmp eax, 0x2eeb
jle 0x590da8
fild dword [ebp + 0x28]
fild dword [ebp + 0x2c]
fdivp st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
jmp 0x590c23
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], eax
jmp 0x590cad
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], eax
jmp 0x590c0e
mov eax, dword [esp + 0x28]
jmp 0x590e51
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], eax
jmp 0x590cad
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], eax
jmp 0x590c0e
fild dword [ebx + 0x10]
fild dword [ebp + 0x28]
fild dword [ebp + 0x2c]
fdivp st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fild qword [ebx + 0x18]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fmulp st(1)
fdiv st(1)
fxch st(1)
jmp 0x590c41
mov dword [esp + 0x8c], 0x50
mov dword [esp + 0x90], 0x78
mov dword [esp + 0x94], 0xf0
imul eax, dword [esp + esi*4 - 0x58c], 0x2eec
mov dword [esp + 0x38], eax
jmp 0x590cad
fstp st(1)
fstp qword [esp + 0x58]
fxch st(1)
mov eax, dword [esp + 0x100]
mov dword [esp + 8], str.rfps:__f__f_n
mov dword [esp + 4], 0x30
fstp qword [esp + 0x14]
mov dword [esp], eax
fld st(0)
fstp xword [esp + 0x40]
fdiv dword [0xc6d04c]
fdiv dword [0xc6d050]
fstp qword [esp + 0xc]
call fcn.00891920
mov eax, dword [ebp + 0xbc]
fild dword [eax + 0x10]
mov edx, dword [eax + 0x20]
add edx, edi
fld qword [esp + 0x58]
fld xword [esp + 0x40]
fxch st(2)
fxch st(1)
jmp 0x590d33
fstp qword [esp + 0x38]
mov eax, dword [esp + 0x100]
mov dword [esp + 8], str.rfps:__f__f_n
mov dword [esp + 4], 0x30
fstp qword [esp + 0x14]
mov dword [esp], eax
fdiv dword [0xc6d04c]
fdiv dword [0xc6d050]
fstp qword [esp + 0xc]
call fcn.00891920
fld qword [esp + 0x38]
jmp 0x590da8
mov dword [esp + 0x74], 0x50
mov dword [esp + 0x78], 0x78
mov dword [esp + 0x7c], 0xf0
imul eax, dword [esp + esi*4 - 0x5a4], 0x2eec
mov dword [esp + 0x38], eax
jmp 0x590c0e
mov dword [esp + 0x80], 0x50
mov dword [esp + 0x84], 0x78
mov dword [esp + 0x88], 0xf0
imul eax, dword [esp + esi*4 - 0x598], 0x2eec
jmp 0x590e51
fstp st(0)
mov ebx, dword [esp + 0x54]
test ebx, ebx
je 0x5910a6
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x59105f
fild dword [esp + 0x54]
fdiv dword [0xc6cff0]
fild dword [esp + 0x60]
fild dword [esp + 0x64]
fdivp st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fld xword [0xc6d060]
fmulp st(1)
fucompp
fnstsw ax
sahf
jbe 0x5910a6
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], 0x7fffffff
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 0x2eec
mov dword [esp + 0x14], 0
mov dword [esp + 8], eax
sar eax, 0x1f
mov dword [esp + 0xc], eax
lea eax, [ebp + 0x1a0]
mov dword [esp + 4], eax
lea eax, [ebp + 0x19c]
mov dword [esp], eax
call fcn.0089ff10
mov ebx, dword [ebp + 0xbc]
mov edx, dword [ebp + 0x5c]
test edx, edx
jne 0x590960
mov eax, dword [ebp + 0x19c]
test eax, eax
mov dword [esp + 0x54], eax
je 0x590960
jmp 0x590a57
cmp dword [esp + 0x34], eax
jbe 0x5908b9
mov eax, dword [ebp + 0x19c]
test eax, eax
jne 0x590a42
jmp 0x59110e
cmp dword [esp + 0x34], eax
jb 0x590b40
jmp 0x590922
jl 0x591102
cmp eax, 0
ja 0x590a26
mov eax, 1
xor edx, edx
jmp 0x590a26
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
imul edi, esi
mov dword [esp + 0x18], 0x7fffffff
mov dword [esp + 0x1c], 0
mov eax, ebx
mul esi
imul ecx, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
add ecx, edi
add edx, ecx
mov dword [esp + 8], eax
lea eax, [ebp + 0x1a0]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], eax
lea eax, [ebp + 0x19c]
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.0089ff10
jmp 0x5908a7