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

Disassembly:
push 0xffffffffffffffff
push 0x779088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
cmp byte [0x992082], 0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x38], esi
mov dword [esp + 0xa8], 0x1b01fb4
je 0x583da4
push 0x1b01fb4
call dword [0x794290]
mov byte [esp + 0xac], 1
fld dword [0x7bb5c8]
mov ebp, dword [esp + 0xc4]
fstp dword [esp + 0x14]
fld dword [ebp]
mov ebx, dword [esp + 0xc8]
fld dword [ebx]
xor edi, edi
fcompp
mov dword [esp + 0xb8], edi
fnstsw ax
test ah, 0x41
jne 0x583df3
fld dword [ebx]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x5c]
push ecx
sub esp, 8
fstp dword [esp + 4]
fld dword [ebp]
jmp 0x583e09
fld dword [ebp]
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x5c]
push eax
sub esp, 8
fstp dword [esp + 4]
fld dword [ebx]
fstp dword [esp]
call fcn.0057dbd0
fld dword [ebp + 4]
add esp, 0x10
fld dword [ebx + 4]
fcompp
fnstsw ax
test ah, 0x41
jne 0x583e3c
fld dword [ebx + 4]
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x20]
push edx
sub esp, 8
fstp dword [esp + 4]
fld dword [ebp + 4]
jmp 0x583e53
fld dword [ebp + 4]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x20]
push ecx
sub esp, 8
fstp dword [esp + 4]
fld dword [ebx + 4]
fstp dword [esp]
call fcn.0057dbd0
fldz
add dword [0x97cb58], 1
fst dword [esp + 0x30]
add esp, 0x10
fst dword [esp + 0x24]
mov byte [esp + 0x12], 0
fst dword [esp + 0x28]
mov byte [esp + 0x13], 0
fst dword [esp + 0x2c]
mov dword [esp + 0x6c], edi
fst dword [esp + 0x30]
mov dword [esp + 0x64], edi
fstp dword [esp + 0x34]
mov dword [esp + 0x68], edi
lea edx, [esp + 0x13]
push edx
mov edx, dword [esp + 0xd0]
lea eax, [esp + 0x16]
push eax
lea ecx, [esp + 0x6c]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0xc8], 1
call fcn.00580760
cmp byte [esp + 0x12], 0
je 0x58404f
mov eax, dword [esi + 0x44]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc8]
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x58404f
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
mov eax, dword [0x97cb58]
cmp dword [esi + 0x29c], eax
je 0x584038
mov ecx, dword [esp + 0xcc]
test dword [esi + 0x28], ecx
mov dword [esi + 0x29c], eax
je 0x584038
cmp dword [esi + 0x2a0], edi
jne 0x584038
lea edx, [esp + 0x20]
push edx
lea edi, [esi + 0x10c]
push ebp
mov ecx, edi
call fcn.00425e50
lea eax, [esp + 0x2c]
push eax
push ebx
mov ecx, edi
call fcn.00425e50
fld dword [esp + 0x20]
fdiv dword [esi + 0x14c]
push 0x2c
lea ecx, [esp + 0x7c]
push 0
push ecx
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fdiv dword [esi + 0x150]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fdiv dword [esi + 0x154]
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fdiv dword [esi + 0x14c]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fdiv dword [esi + 0x150]
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fdiv dword [esi + 0x154]
fstp dword [esp + 0x40]
fldz
fst dword [esp + 0x88]
fst dword [esp + 0x8c]
fst dword [esp + 0x90]
fst dword [esp + 0x94]
fst dword [esp + 0x98]
fstp dword [esp + 0x9c]
call fcn.0074d440
fldz
mov edx, dword [esi]
fstp dword [esp + 0xb0]
mov edx, dword [edx + 0x8c]
add esp, 0xc
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x30]
push ecx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call edx
test al, al
je 0x584036
fld dword [esp + 0xa4]
fld dword [esp + 0x14]
fcompp
fnstsw ax
test ah, 0x41
jne 0x584036
mov eax, dword [esp + 0xd0]
mov edi, eax
mov ecx, 0xc
lea esi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
fld dword [eax + 0x2c]
push ecx
lea ecx, [eax + 4]
fstp dword [esp]
push ebx
push ebp
call fcn.00480350
fld dword [esp + 0xa4]
fstp dword [esp + 0x14]
xor edi, edi
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
cmp eax, edi
mov dword [esp + 0x18], eax
jne 0x583ee0
mov esi, dword [esp + 0x38]
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
cmp byte [esp + 0x12], cl
mov byte [esp + 0xb8], 2
je 0x58407f
mov ecx, dword [esi + 0x44]
add ecx, 4
push ecx
lea ecx, [esp + 0x40]
call fcn.004892b0
mov ecx, dword [esp + 0x40]
cmp byte [esp + 0x13], 0
je 0x5840ab
mov eax, dword [esp + 0xc0]
cmp eax, 2
jb 0x5840ab
cmp dword [esi + 0x3c], eax
jbe 0x5840ab
mov edx, dword [esi + 0x44]
lea eax, [edx + eax*4]
push eax
lea ecx, [esp + 0x40]
call fcn.004892b0
mov ecx, dword [esp + 0x40]
cmp ecx, edi
je 0x5840ba
mov edx, dword [esp + 0x44]
sub edx, ecx
sar edx, 2
jne 0x5840d6
fld dword [0x7bb5c8]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x44
jnp 0x58446d
mov bl, 1
jmp 0x58446f
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x50]
mov esi, eax
mov dword [esp + 0x38], eax
ja 0x584458
fldz
mov eax, esi
and eax, 0xf
shl eax, 4
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x58]
cmp eax, dword [esp + 0x4c]
mov edx, eax
mov dword [esp + 0x54], eax
ja 0x584445
mov edi, edx
and edi, 0xf
mov dword [esp + 0x60], edi
xor esi, esi
test ecx, ecx
mov dword [esp + 0x5c], esi
je 0x58442a
mov eax, dword [esp + 0x44]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x58442a
mov edx, dword [esp + 0x74]
mov eax, dword [ecx + esi*4]
add edx, edi
imul edx, edx, 0xe0
add edx, dword [eax + 0xc]
cmp dword [esp + 0x64], 0
mov dword [esp + 0x70], edx
mov dword [esp + 0x1c], 0
jle 0x584422
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + ecx*4]
lea ecx, [eax*8]
sub ecx, eax
mov edi, dword [edx + ecx*4 + 4]
test edi, edi
mov dword [esp + 0x18], edi
je 0x584405
jmp 0x584187
mov edi, dword [esp + 0x18]
mov esi, dword [edi]
mov eax, dword [0x97cb58]
cmp dword [esi + 0x29c], eax
je 0x5843ee
mov edx, dword [esp + 0xcc]
test dword [esi + 0x28], edx
mov dword [esi + 0x29c], eax
je 0x5843ee
cmp dword [esi + 0x2a0], 0
jne 0x5843ee
fld dword [esi + 0x110]
fmul dword [ebp + 4]
fld dword [ebp]
fmul dword [esi + 0x10c]
faddp st(1)
fld dword [esi + 0x114]
fmul dword [ebp + 8]
faddp st(1)
fadd dword [esi + 0x118]
fstp dword [esp + 0x20]
fld dword [esi + 0x120]
fmul dword [ebp + 4]
fld dword [esi + 0x11c]
fmul dword [ebp]
faddp st(1)
fld dword [esi + 0x124]
fmul dword [ebp + 8]
faddp st(1)
fadd dword [esi + 0x128]
fstp dword [esp + 0x24]
fld dword [esi + 0x130]
fmul dword [ebp + 4]
fld dword [esi + 0x12c]
fmul dword [ebp]
faddp st(1)
fld dword [esi + 0x134]
fmul dword [ebp + 8]
faddp st(1)
fadd dword [esi + 0x138]
fstp dword [esp + 0x28]
fld dword [esi + 0x110]
fmul dword [ebx + 4]
fld dword [esi + 0x10c]
fmul dword [ebx]
faddp st(1)
fld dword [esi + 0x114]
fmul dword [ebx + 8]
faddp st(1)
fadd dword [esi + 0x118]
fstp dword [esp + 0x2c]
fld dword [esi + 0x120]
fmul dword [ebx + 4]
fld dword [esi + 0x11c]
fmul dword [ebx]
faddp st(1)
fld dword [esi + 0x124]
fmul dword [ebx + 8]
faddp st(1)
fadd dword [esi + 0x128]
fstp dword [esp + 0x30]
fld dword [esi + 0x130]
fmul dword [ebx + 4]
fld dword [esi + 0x12c]
fmul dword [ebx]
faddp st(1)
fld dword [esi + 0x134]
fmul dword [ebx + 8]
faddp st(1)
fadd dword [esi + 0x138]
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
fdiv dword [esi + 0x14c]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fdiv dword [esi + 0x150]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fdiv dword [esi + 0x154]
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fdiv dword [esi + 0x14c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fdiv dword [esi + 0x150]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fdiv dword [esi + 0x154]
fstp dword [esp + 0x34]
fst dword [esp + 0x7c]
fst dword [esp + 0x80]
fst dword [esp + 0x84]
push 0x2c
fst dword [esp + 0x8c]
lea eax, [esp + 0x7c]
fst dword [esp + 0x90]
push 0
fstp dword [esp + 0x98]
push eax
call fcn.0074d440
fldz
mov edx, dword [esi]
fstp dword [esp + 0xb0]
mov edx, dword [edx + 0x8c]
add esp, 0xc
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x30]
push ecx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call edx
test al, al
je 0x5843ec
fld dword [esp + 0xa4]
fld dword [esp + 0x14]
fcompp
fnstsw ax
test ah, 0x41
jne 0x5843ec
mov edx, dword [esp + 0xd0]
mov ecx, 0xc
lea esi, [esp + 0x78]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
fld dword [edx + 0x2c]
fstp dword [esp + 0x14]
fldz
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x5843d9
fld1
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x5843d9
add edx, 4
fstp st(1)
push edx
push ecx
fstp dword [esp]
push ebx
push ebp
call dword [0x97e214]
fldz
fld dword [esp + 0xb4]
mov edi, dword [esp + 0x28]
fstp dword [esp + 0x24]
add esp, 0x10
jmp 0x5843ee
mov edi, dword [esp + 0x18]
fstp st(0)
fld dword [esp + 0xa4]
fstp dword [esp + 0x14]
jmp 0x5843ee
fldz
mov edi, dword [edi + 4]
test edi, edi
mov dword [esp + 0x18], edi
jne 0x584183
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
jl 0x58415d
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x60]
add esi, 1
jmp 0x584117
mov edx, dword [esp + 0x54]
add edx, 1
cmp edx, dword [esp + 0x4c]
mov dword [esp + 0x54], edx
jbe 0x58410c
mov esi, dword [esp + 0x38]
xor edi, edi
add esi, 1
cmp esi, dword [esp + 0x50]
mov dword [esp + 0x38], esi
jbe 0x5840ec
fstp st(0)
fld dword [0x7bb5c8]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x44
jnp 0x58446d
mov bl, 1
jmp 0x58446f
xor bl, bl
cmp ecx, edi
je 0x58447c
push ecx
call fcn.0074c96f
add esp, 4
mov eax, dword [esp + 0x6c]
push eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov byte [esp + 0xbc], 0
call fcn.0067abe0
add esp, 4
cmp byte [0x992082], 0
je 0x5844b1
push 0x1b01fb4
call dword [0x79428c]
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0xac
ret 0x14