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

Disassembly:
push 0xffffffffffffffff
push 0x8821d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
mov eax, dword [0x9b38a8]
push ebx
push ebp
xor ebx, ebx
mov dword [esp + 0x20], ecx
mov ecx, dword [0x9b38b4]
push esi
push edi
mov dword [esp + 0x38], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0x68], 0xffffffff
mov byte [esp + 0x13], 0
mov dword [esp + 0x64], 0x469c4000
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x7c], 0x891594
push 0x40
lea ecx, [esp + 0x80]
mov dword [esp + 0x120], ebx
call fcn.0041b250
mov ebp, dword [esp + 0x124]
fld dword [ebp]
mov ecx, dword [0x9b38a8]
fsub dword [0x8b5a9c]
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0xf8]
fstp dword [esp + 0xf8]
push eax
fld dword [ebp + 8]
mov dword [esp + 0x110], ebx
fsub dword [0x8b5a9c]
mov dword [esp + 0x100], ebx
fstp dword [esp + 0x104]
fld dword [ebp]
fadd dword [0x8b5a9c]
fstp dword [esp + 0x10c]
fld dword [ebp + 8]
fadd dword [0x8b5a9c]
fstp dword [esp + 0x114]
call fcn.007736e0
mov ecx, dword [esp + 0x128]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x94], edx
lea edx, [esp + 0x94]
push edx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
call fcn.00410220
fstp st(0)
add esp, 4
lea ecx, [esp + 0x40]
call fcn.0041c8a0
mov dword [esp + 0x44], eax
mov byte [eax + 0xf], 1
mov eax, dword [esp + 0x44]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x44]
mov dword [eax], eax
mov eax, dword [esp + 0x44]
mov dword [eax + 8], eax
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x88]
lea edx, [eax + edx*4]
cmp eax, edx
mov ecx, eax
mov byte [esp + 0x11c], 1
mov dword [esp + 0x1c], ecx
je 0x785bdc
mov esi, dword [esp + 0x38]
mov edx, dword [ecx]
mov esi, dword [esi + 0x20]
mov edi, dword [esi + edx*4]
cmp edi, ebx
je 0x785bc7
movzx ebx, byte [edi + 0xb]
xor esi, esi
test ebx, ebx
jbe 0x785bc5
jmp 0x785b90
movzx eax, word [edi + 0x12]
lea ecx, [esp + 0x18]
lea eax, [eax + edi + 0x14]
mov eax, dword [eax + esi*4]
push ecx
lea edx, [esp + 0x90]
push edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x20], eax
call fcn.00438750
inc esi
cmp esi, ebx
jb 0x785b90
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x1c]
xor ebx, ebx
mov edx, dword [esp + 0x88]
add ecx, 4
lea edx, [eax + edx*4]
cmp ecx, edx
mov dword [esp + 0x1c], ecx
jne 0x785b71
mov edx, dword [esp + 0x44]
mov edi, dword [edx]
cmp edi, edx
mov dword [esp + 0x20], edi
je 0x786256
mov edi, edi
mov ecx, dword [0x9b3874]
xor ebx, ebx
mov bx, word [edi + 0xc]
movsx eax, bx
cmp eax, ecx
mov dword [esp + 0x78], ebx
jge 0x7861f1
mov esi, dword [0x9b38c0]
imul eax, eax, 0x16
add eax, esi
mov esi, eax
mov eax, dword [esp + 0x28]
mov cl, byte [eax + 0x54]
test cl, cl
mov dword [esp + 0x38], esi
je 0x785c31
test byte [esi + 0xa], 1
jne 0x7861f1
mov ecx, dword [esp + 0x28]
mov al, byte [ecx + 0x51]
test al, al
je 0x785c4d
xor eax, eax
mov ax, word [esi + 0xa]
shr eax, 0xf
test al, 1
je 0x7861f1
mov ecx, dword [esp + 0x28]
mov al, byte [ecx + 0x52]
test al, al
je 0x785c67
mov al, byte [esi + 0xa]
shr al, 1
not al
test al, 1
je 0x7861f1
mov ecx, dword [esp + 0x28]
mov al, byte [ecx + 0x53]
test al, al
je 0x785c8a
mov ax, word [esi + 0xa]
mov cl, al
shr cl, 5
shr al, 1
not cl
xor cl, al
test cl, 1
je 0x7861f1
movzx edx, word [esi]
mov eax, dword [0x9b38bc]
shl edx, 5
add edx, eax
mov ecx, dword [edx]
mov dword [esp + 0xdc], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0xe0], ecx
movzx ecx, word [esi + 2]
shl ecx, 5
add ecx, eax
mov dword [esp + 0xe4], edx
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
push 1
mov dword [esp + 0xd4], edx
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0xdc], eax
push ebp
mov dword [esp + 0xe4], ecx
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0xec]
push ecx
mov ecx, dword [0x9b38b4]
call fcn.0076df10
test byte [esi + 0xb], 1
fstp dword [esp + 0x24]
je 0x785d5d
mov eax, dword [esp + 0x24]
mov ecx, dword [0x9b38b4]
lea edx, [esp + 0x4c]
push edx
push eax
push esi
call fcn.0077b720
movsx ecx, word [esi + 8]
push ecx
mov ecx, dword [esp + 0x2c]
push 0x3f800000
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x58]
push eax
push ebp
call fcn.0077bcd0
movsx ecx, word [esi + 8]
fstp st(0)
push ecx
mov ecx, dword [esp + 0x2c]
push 0x3e800000
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x58]
push eax
push ebp
call fcn.0077bcd0
jmp 0x785d99
fld dword [ebp]
fsub dword [esp + 0x4c]
fld dword [ebp + 4]
fsub dword [esp + 0x50]
fld dword [ebp + 8]
fsub dword [esp + 0x54]
fld st(2)
fmul st(3)
fld st(1)
fmul st(2)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
push ecx
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.005c5e80
add esp, 4
fld dword [esp + 0x12c]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x7861a1
mov ecx, dword [esp + 0x24]
fstp st(0)
lea edx, [esp + 0xe8]
push edx
lea eax, [esp + 0x50]
push eax
push ecx
mov ecx, dword [esp + 0xcc]
push esi
call fcn.0077b810
fld dword [esp + 0xe8]
mov edx, dword [esp + 0xf0]
fchs
mov eax, edx
fstp dword [esp + 0xcc]
mov dword [esp + 0x58], eax
mov dword [esp + 0xc4], edx
mov edx, dword [esp + 0xcc]
lea eax, [esp + 0x58]
mov dword [esp + 0xc8], 0
mov ecx, dword [esp + 0xc8]
push eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
call fcn.00410220
fstp st(0)
fld dword [ebp]
xor edi, edi
fsub dword [esp + 0x50]
add esp, 4
xor ebx, ebx
mov bx, word [esi + 0xa]
fstp dword [esp + 0x6c]
mov dword [esp + 0x1c], edi
fld dword [ebp + 4]
fsub dword [esp + 0x50]
fstp dword [esp + 0x70]
fld dword [ebp + 8]
mov dword [esp + 0x18], ebx
fsub dword [esp + 0x54]
fstp dword [esp + 0x74]
fld dword [esp + 0x6c]
fmul dword [esp + 0x58]
fld dword [esp + 0x60]
fmul dword [esp + 0x74]
faddp st(1)
fld dword [esp + 0x5c]
fmul dword [esp + 0x70]
faddp st(1)
fst dword [esp + 0x3c]
jmp 0x785e85
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x785e8e
shr ebx, 0xa
jmp 0x785e91
shr ebx, 9
movzx eax, word [esi + edi*2]
mov ecx, dword [0x9b38bc]
shl eax, 5
and bl, 1
add eax, ecx
je 0x785ebd
mov ax, word [eax + 0xe]
test ax, ax
jl 0x785ebd
movsx ecx, ax
mov eax, dword [0x9b38b8]
shl ecx, 6
add ecx, eax
jmp 0x785ec2
mov ecx, 0x9b3830
test bl, bl
movzx ebp, byte [ecx + 1]
je 0x785ed4
movzx eax, byte [ecx]
mov edx, eax
sub edx, ebp
dec eax
jmp 0x785ed8
mov edx, ebp
xor eax, eax
mov eax, dword [ecx + eax*4 + 4]
sar eax, 0x12
test edx, edx
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [0x9b3a68]
jle 0x785ef3
fchs
test bl, bl
je 0x785efd
movzx eax, byte [ecx]
dec eax
jmp 0x785eff
xor eax, eax
mov eax, dword [ecx + eax*4 + 4]
shl eax, 0xe
sar eax, 0x12
test bl, bl
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
movzx eax, byte [ecx]
lea esi, [eax - 1]
fmul dword [0x9b3a68]
fmul dword [0x8933d4]
fsubr st(1)
fstp dword [esp + edi*4 + 0x8c]
fstp st(0)
je 0x785f3d
mov edx, eax
mov edi, eax
sub edx, esi
sub edi, ebp
dec edx
jmp 0x785f41
mov edi, ebp
mov edx, esi
mov edx, dword [ecx + edx*4 + 4]
sar edx, 0x12
cmp esi, edi
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul dword [0x9b3a68]
jge 0x785f5c
fchs
test bl, bl
je 0x785f65
sub eax, esi
dec eax
jmp 0x785f67
mov eax, esi
mov ecx, dword [ecx + eax*4 + 4]
mov eax, dword [esp + 0x1c]
shl ecx, 0xe
sar ecx, 0x12
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
inc eax
cmp eax, 2
mov dword [esp + 0x1c], eax
fmul dword [0x9b3a68]
fmul dword [0x8933d4]
fadd st(1)
fstp dword [esp + eax*4 + 0xb4]
fstp st(0)
jl 0x785e79
fld dword [esp + 0xbc]
fsub dword [esp + 0xb8]
fmul dword [esp + 0x24]
fadd dword [esp + 0xb8]
fstp dword [esp + 0x1c]
fld dword [esp + 0x90]
fsub dword [esp + 0x8c]
fmul dword [esp + 0x24]
fadd dword [esp + 0x8c]
fstp dword [esp + 0x18]
fld dword [esp + 0x3c]
fcomp dword [esp + 0x1c]
fld dword [esp + 0x3c]
fnstsw ax
test ah, 0x41
jne 0x785ff5
fsub dword [esp + 0x1c]
jmp 0x786010
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 5
jp 0x78600a
fld dword [esp + 0x3c]
fsub dword [esp + 0x18]
jmp 0x786010
fld dword [0x890968]
fsubrp st(1)
fld dword [esp + 0x58]
fmul st(1)
fadd dword [esp + 0x6c]
fld dword [esp + 0x5c]
fmul st(2)
fadd dword [esp + 0x70]
fld dword [esp + 0x60]
fmul st(3)
fadd dword [esp + 0x74]
fld st(2)
fmul st(3)
fld st(1)
fmul st(2)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
fstp st(0)
push ecx
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.005c5e80
mov esi, dword [esp + 0x3c]
fstp dword [esp + 0x1c]
movzx edx, word [esi]
mov eax, dword [0x9b38bc]
shl edx, 5
add edx, eax
mov ecx, dword [edx]
mov dword [esp + 0xa4], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0xa8], ecx
movzx ecx, word [esi + 2]
shl ecx, 5
add ecx, eax
mov dword [esp + 0xac], edx
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], eax
fld dword [esp + 0xb0]
mov dword [esp + 0xb8], ecx
fsub dword [esp + 0xa4]
fstp dword [esp + 0x30]
fld dword [esp + 0xb4]
fsub dword [esp + 0xa8]
fstp dword [esp + 0x34]
fld dword [esp + 0xb8]
fsub dword [esp + 0xac]
fst dword [esp + 0x38]
fmul dword [esp + 0x38]
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fld dword [esp + 0x30]
fmul dword [esp + 0x30]
faddp st(1)
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
push edx
call fcn.005c5e80
fld dword [0x890968]
fld st(1)
add esp, 8
fucompp
fnstsw ax
test ah, 0x44
jnp 0x78613e
fdivr dword [0x89096c]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fmul st(1)
fstp dword [esp + 0x30]
fmul dword [esp + 0x34]
jmp 0x786144
fstp st(0)
fld dword [esp + 0x34]
fmul dword [esp + 0x9c]
mov al, byte [esi + 0xa]
test al, 0x40
fld dword [esp + 0x98]
fmul dword [esp + 0x30]
faddp st(1)
fld dword [esp + 0x94]
fmul dword [esp + 0x2c]
faddp st(1)
jne 0x78617b
fcom dword [0x890968]
fnstsw ax
test ah, 5
jp 0x78617b
fchs
fsubr dword [0x89096c]
mov ebp, dword [esp + 0x124]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x78]
fmul dword [0x890bf8]
fmul dword [esp + 0x12c]
fadd dword [esp + 0x18]
mov al, byte [esp + 0x13]
test al, al
je 0x7861b4
fcom dword [esp + 0x64]
fnstsw ax
test ah, 5
jp 0x7861eb
mov ecx, dword [esp + 0x4c]
fstp dword [esp + 0x64]
mov eax, dword [esp + 0x130]
mov edx, dword [esp + 0x50]
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x134]
mov dword [esp + 0x68], ebx
mov dword [eax], edx
mov byte [esp + 0x13], 1
jmp 0x7861ed
fstp st(0)
mov edx, dword [esp + 0x44]
mov al, byte [edi + 0xf]
test al, al
jne 0x78624c
mov ecx, dword [edi + 8]
mov al, byte [ecx + 0xf]
test al, al
jne 0x786221
mov eax, dword [ecx]
mov bl, byte [eax + 0xf]
test bl, bl
jne 0x78621b
jmp 0x786210
mov ecx, eax
mov eax, dword [ecx]
mov bl, byte [eax + 0xf]
test bl, bl
je 0x786210
mov dword [esp + 0x20], ecx
jmp 0x786248
mov eax, dword [edi + 4]
mov cl, byte [eax + 0xf]
test cl, cl
jne 0x786244
jmp 0x786231
mov edi, dword [esp + 0x20]
cmp edi, dword [eax + 8]
jne 0x786244
mov dword [esp + 0x20], eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0xf]
test cl, cl
je 0x78622d
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x20]
cmp edi, edx
jne 0x785bf0
xor ebx, ebx
mov eax, dword [edx]
movsx esi, word [esp + 0x68]
push edx
push eax
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x128], 0
call fcn.00436150
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x78628e
push ebx
push 0x10
push eax
mov ecx, 0x925b30
call fcn.005d0370
lea ecx, [esp + 0x7c]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x11c], 0xffffffff
call fcn.0042cbf0
mov ecx, dword [esp + 0x114]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x110
ret 0x14