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

Disassembly:
sub esp, 0x58
mov eax, dword [0xa83e28]
mov ecx, dword [0xa83e2c]
mov edx, dword [0xa83e30]
push ebx
push ebp
mov dword [esp + 0x24], eax
push esi
mov esi, dword [esp + 0x68]
mov eax, dword [esi + 0x4d0]
add eax, 0xc
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov ecx, dword [eax]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov eax, dword [eax + 8]
push edi
mov dword [esp + 0x58], eax
mov ax, word [0xa83d98]
or edi, 0xffffffff
cmp ax, di
mov ebp, 0x50
je 0x69289f
mov edx, dword [0xa81748]
movsx eax, ax
sub eax, edx
je 0x69289f
mov ebp, eax
fld dword [0xa8d754]
mov ecx, dword [esp + 0x80]
fadd st(0), st(0)
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
fstp dword [ecx]
movsx edx, word [0xa83d9e]
push eax
xor ebx, ebx
lea ecx, [esp + 0x64]
push ecx
push edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
call fcn.005fca60
add esp, 0x10
test al, al
je 0x692907
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
jmp 0x692917
lea eax, [esp + 0x38]
push eax
push 1
push ebp
call fcn.005fd460
add esp, 0xc
fld dword [esp + 0x40]
mov ecx, dword [esi + 0x14]
fsub dword [esp + 0x34]
mov ecx, dword [ecx + 4]
fmul dword [ecx*4 + 0xa8d810]
fcomp dword [0x84669c]
fnstsw ax
test ah, 5
jnp 0x692b1a
fld dword [esp + 0x34]
fmul dword [ecx*4 + 0xa8d810]
fcomp dword [0x84669c]
fnstsw ax
test ah, 5
jnp 0x692b1a
fld dword [0x84669c]
mov dword [esp + 0x10], edi
fld dword [esp + 0x84]
mov dword [esp + 0x20], 0
fucompp
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
fnstsw ax
test ah, 0x44
jp 0x6929ba
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x80], 0
call fcn.0060c720
add esp, 0x14
fld dword [esp + 0x84]
fcomp dword [0x8466a0]
fnstsw ax
test ah, 0x41
jne 0x6929ed
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov edi, ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
jmp 0x692c12
fld dword [esp + 0x84]
fcomp dword [0x84669c]
fnstsw ax
test ah, 5
jp 0x692a20
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
xor edi, edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
jmp 0x692c12
fld dword [0x84669c]
fld dword [esp + 0x2c]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x692b3f
fld dword [esp + 0x34]
fchs
fld dword [esp + 0x34]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x692a50
fstp st(0)
fld dword [esp + 0x34]
fld dword [esp + 0x2c]
fchs
fld dword [esp + 0x2c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x692a69
fstp st(0)
fld dword [esp + 0x2c]
fld dword [0xa8d798]
push 0x3d800000
fsub st(2)
fdiv st(1)
fstp dword [esp + 0x70]
fstp st(0)
fstp st(0)
call fcn.00798158
fcomp dword [esp + 0x70]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x692b3f
fld dword [0xa8d754]
xor bl, bl
fadd st(0), st(0)
xor esi, esi
test ebp, ebp
fld st(0)
fmul st(1)
fstp dword [esp + 0x6c]
fstp st(0)
jle 0x692b1a
lea ecx, [esp + 0x20]
push ecx
push 1
push esi
call fcn.005fd460
fld dword [esp + 0x2c]
fsub dword [esp + 0x5c]
add esp, 0xc
test bl, bl
fld dword [esp + 0x28]
fsub dword [esp + 0x58]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp st(2)
fstp st(0)
jne 0x692af6
fcom dword [esp + 0x6c]
fnstsw ax
test ah, 5
jp 0x692af6
fstp dword [esp + 0x6c]
mov edi, esi
jmp 0x692b0b
fstp st(0)
mov bl, 1
fld dword [esp + 0x24]
fcomp dword [0x8466f0]
fnstsw ax
test ah, 5
jnp 0x692b12
inc esi
cmp esi, ebp
jl 0x692ab1
jmp 0x692b16
mov dword [esp + 0x10], esi
test edi, edi
jg 0x692b24
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x58
ret
mov edx, dword [esp + 0x6c]
push edx
call fcn.00798108
mov eax, dword [esp + 0x84]
fstp dword [eax]
add esp, 4
jmp 0x692c12
fld dword [esp + 0x40]
mov esi, 1
fsub dword [esp + 0x34]
xor bl, bl
cmp ebp, esi
fmul dword [esp + 0x84]
fadd dword [esp + 0x34]
fstp dword [esp + 0x6c]
jle 0x692c12
fld dword [esp + 0x6c]
fchs
fstp dword [esp + 0x18]
nop
lea ecx, [esp + 0x20]
push ecx
push 1
push esi
call fcn.005fd460
fld dword [esp + 0x34]
fchs
add esp, 0xc
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x692b99
fstp st(0)
fld dword [esp + 0x28]
fld dword [esp + 0x6c]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x692bae
fld dword [esp + 0x6c]
jmp 0x692bb2
fld dword [esp + 0x18]
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x692c03
test bl, bl
jne 0x692bf2
fld dword [esp + 0x28]
sub esp, 8
fsub dword [esp + 0x60]
fstp dword [esp + 4]
fld dword [esp + 0x28]
fsub dword [esp + 0x58]
fstp dword [esp]
call fcn.005f4eb0
mov edx, dword [esp + 0x88]
fstp dword [edx]
add esp, 8
mov bl, 1
mov edi, esi
fld dword [esp + 0x24]
fcomp dword [0x8466f0]
fnstsw ax
test ah, 5
jnp 0x692c0e
inc esi
cmp esi, ebp
jl 0x692b70
jmp 0x692c12
mov dword [esp + 0x10], esi
lea esi, [edi - 5]
test esi, esi
jge 0x692c1b
xor esi, esi
lea eax, [esp + 0x44]
push eax
push 1
push esi
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
call fcn.005fd460
fld dword [esp + 0x34]
fsub dword [esp + 0x58]
add esp, 8
fld dword [esp + 0x24]
fsub dword [esp + 0x48]
fld st(1)
fmul st(2)
fld st(1)
fmul st(2)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
call fcn.00798108
mov ecx, edi
sub ecx, esi
mov dword [esp + 0x84], ecx
fidiv dword [esp + 0x84]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x78]
add esp, 4
test ebx, ebx
fstp dword [edx]
mov dword [eax], edi
jle 0x692cea
lea esi, [ebx - 5]
test esi, esi
jge 0x692c9b
xor esi, esi
lea ecx, [esp + 0x44]
push ecx
push 1
push esi
call fcn.005fd460
fld dword [esp + 0x34]
fsub dword [esp + 0x58]
add esp, 8
fld dword [esp + 0x24]
fsub dword [esp + 0x48]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
call fcn.00798108
add esp, 4
sub edi, esi
mov dword [esp + 0x80], edi
fidiv dword [esp + 0x80]
mov edx, dword [esp + 0x78]
fstp dword [edx]
mov eax, dword [esp + 0x7c]
pop edi
pop esi
mov dword [eax], ebx
pop ebp
mov al, 1
pop ebx
add esp, 0x58
ret