Function at 0x10081fd0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1019af7d
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x101e3158]
xor eax, esp
mov dword [esp + 0x1a4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101e3158]
xor eax, esp
push eax
lea eax, [esp + 0x1bc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1cc]
push esi
mov dword [esp + 0x34], esi
call fcn.1007f210
fldz
fst dword [esp + 0x4c]
xor ebp, ebp
mov eax, dword [esp + 0x4c]
fst dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
fst dword [esp + 0x4c]
mov edx, dword [esp + 0x4c]
fstp dword [esp + 0x50]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0x28], ecx
add esp, 4
mov ecx, esi
mov dword [esi + 8], ebp
mov dword [esi + 0x20], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], eax
call fcn.10079380
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x1c4], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x64], ebp
mov ebx, dword [esi + 0x4c]
cmp ebx, ebp
mov byte [esp + 0x1c4], 1
mov dword [esp + 0x34], ebx
jle 0x100820a7
cmp ebx, 8
mov eax, 8
jl 0x1008209d
mov eax, ebx
push eax
lea ecx, [esp + 0x54]
call fcn.1007a7a0
mov edi, dword [esi + 0x34]
cmp edi, ebp
mov dword [esp + 0x50], ebx
mov dword [esp + 0x1c], edi
jle 0x100820cc
cmp edi, 8
mov eax, 8
jl 0x100820c2
mov eax, edi
push eax
lea ecx, [esp + 0x60]
call fcn.1007a820
mov edx, dword [esp + 0x58]
mov ecx, ebx
imul ecx, ecx, 0xc4
push ecx
push ebp
push edx
mov dword [esp + 0x68], edi
call fcn.10118c20
mov ecx, dword [esp + 0x70]
lea eax, [edi + edi*2]
add eax, eax
add eax, eax
add eax, eax
push eax
push ebp
push ecx
call fcn.10118c20
add esp, 0x18
cmp dword [esi + 0x4c], ebp
mov dword [esp + 0x24], ebp
jle 0x10082218
mov edx, dword [esp + 0x58]
add edx, 0xa0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov edi, dword [ecx + 0x54]
add edi, dword [esp + 0x18]
xor eax, eax
mov dword [edx], 0xffffffff
cmp dword [ecx + 0x34], eax
lea ebp, [edx - 0xa0]
jle 0x10082157
cmp dword [edx], 0xffffffff
jne 0x10082157
mov esi, dword [ecx + 0x3c]
mov ebx, dword [edi + 0x70]
cmp ebx, dword [esi + eax*4]
jne 0x1008214f
mov dword [edx], eax
add eax, 1
cmp eax, dword [ecx + 0x34]
jl 0x1008213d
or esi, 0xffffffff
cmp dword [ebp + 0xa0], esi
je 0x10082287
mov esi, dword [edi]
mov ebx, dword [edi + 0xc]
call fcn.100762c0
mov ecx, esi
mov edx, ebp
call fcn.100762d0
test eax, eax
je 0x100822bf
mov eax, dword [ebp + 0xa0]
mov edi, dword [edi + 0x30]
test edi, edi
mov ecx, dword [esp + 0x64]
lea eax, [eax + eax*2]
lea esi, [ecx + eax*8]
je 0x1008219c
mov eax, edi
jmp 0x100821a5
mov ecx, dword [esp + 0x30]
call fcn.10079590
mov dword [ebp + 0x9c], eax
cmp word [eax], 0
je 0x100821d8
movzx ecx, word [eax + 2]
test cx, cx
je 0x100821d8
mov edx, dword [ebp + 0xa4]
movzx ecx, cx
cmp edx, ecx
jl 0x100821c9
mov ecx, edx
add eax, 4
mov dword [ebp + 0xa4], ecx
cmp word [eax], 0
jne 0x100821b1
add dword [esi], 1
mov ebp, dword [ebp + 0xa4]
mov eax, dword [esi + 4]
cmp eax, ebp
jge 0x100821ea
mov eax, ebp
mov edx, dword [esp + 0x30]
add dword [esp + 0x20], 0xc4
add dword [esp + 0x18], 0x74
mov dword [esi + 4], eax
mov eax, dword [esp + 0x24]
add eax, 1
cmp eax, dword [edx + 0x4c]
mov dword [esp + 0x24], eax
jl 0x1008211b
mov ebx, dword [esp + 0x34]
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0x24], ebp
jle 0x100824f7
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], 0
add ebx, 0xb0
mov dword [esp + 0x3c], eax
mov edi, edi
mov eax, dword [ebx - 0x10]
mov edx, dword [esp + 0x64]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x54]
add eax, dword [esp + 0x2c]
lea esi, [edx + ecx*8]
mov ecx, dword [ebx]
mov dword [esp + 0x40], eax
mov eax, dword [ebx - 0xc]
add eax, 1
lea edi, [eax + 0x1f]
sar edi, 5
cmp edi, ecx
lea ebp, [ebx - 0xb0]
jle 0x10082349
test ecx, ecx
je 0x100822e5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100822ea
mov eax, dword [esp + 0x64]
test eax, eax
mov byte [esp + 0x1c4], 0
je 0x100822a0
push eax
call fcn.1003fe50
add esp, 4
mov dword [esp + 0x1c4], esi
mov eax, dword [esp + 0x58]
test eax, eax
je 0x100822b8
push eax
call fcn.1003fe50
add esp, 4
xor al, al
jmp 0x10082fa0
mov eax, dword [esp + 0x64]
test eax, eax
mov byte [esp + 0x1c4], 0
je 0x100822d8
push eax
call fcn.1003fe50
add esp, 4
mov dword [esp + 0x1c4], 0xffffffff
jmp 0x100822a7
mov eax, 8
cmp eax, edi
jle 0x100822f4
mov dword [esp + 0x20], eax
jmp 0x100822fa
mov eax, edi
mov dword [esp + 0x20], edi
cmp eax, ecx
jle 0x10082349
mov ecx, dword [esp + 0x20]
lea edx, [ecx*4]
push edx
call fcn.1003fe20
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 4]
add esp, 4
test eax, eax
je 0x1008233c
mov ecx, dword [ebx - 4]
mov edx, dword [esp + 0x18]
add ecx, ecx
add ecx, ecx
push ecx
push eax
push edx
call fcn.101190a0
mov eax, dword [ebx + 4]
push eax
call fcn.1003fe50
add esp, 0x10
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov dword [ebx + 4], ecx
mov dword [ebx], edx
mov ecx, dword [ebx + 4]
lea eax, [edi*4]
push eax
push 0
push ecx
mov dword [ebx - 4], edi
call fcn.10118c20
add esp, 0xc
cmp dword [esi], 1
jle 0x10082415
cmp dword [esi + 0xc], 0
jne 0x10082415
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
add eax, 1
lea edi, [eax + 0x1f]
sar edi, 5
cmp edi, ecx
jle 0x100823fc
test ecx, ecx
je 0x10082397
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1008239c
mov eax, 8
cmp eax, edi
jle 0x100823a6
mov dword [esp + 0x20], eax
jmp 0x100823ac
mov eax, edi
mov dword [esp + 0x20], edi
cmp eax, ecx
jle 0x100823fc
mov edx, dword [esp + 0x20]
lea eax, [edx*4]
push eax
call fcn.1003fe20
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x14]
add esp, 4
test eax, eax
je 0x100823ee
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x18]
add ecx, ecx
add ecx, ecx
push ecx
push eax
push edx
call fcn.101190a0
mov eax, dword [esi + 0x14]
push eax
call fcn.1003fe50
add esp, 0x10
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], edx
mov ecx, dword [esi + 0x14]
lea eax, [edi*4]
push eax
push 0
push ecx
mov dword [esi + 0xc], edi
call fcn.10118c20
add esp, 0xc
mov ecx, dword [ebx - 0x14]
movzx eax, word [ecx]
test ax, ax
mov dword [esp + 0x18], ecx
je 0x100824e1
jmp 0x10082434
mov ecx, dword [esp + 0x18]
movzx ecx, word [ecx + 2]
test cx, cx
je 0x100824e1
movzx edi, ax
movzx edx, cx
cmp edi, edx
jg 0x100824ca
nop
mov eax, dword [esp + 0x40]
cmp byte [eax + 0x3c], 0
je 0x10082473
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, dword [esi + 0x14]
mov eax, edi
sar eax, 5
test dword [ecx + eax*4], edx
jne 0x100824bb
mov ecx, edi
mov eax, ebp
call fcn.10071fd0
test eax, eax
je 0x100824bb
mov eax, 1
add dword [ebp + 0xa8], eax
add dword [esi + 8], eax
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, dword [ebx + 4]
mov eax, edi
sar eax, 5
or dword [ecx + eax*4], edx
cmp dword [esi], 1
lea ecx, [ecx + eax*4]
jle 0x100824b6
mov ecx, dword [esi + 0x14]
or dword [ecx + eax*4], edx
lea eax, [ecx + eax*4]
add dword [esp + 0x24], 1
mov edx, dword [esp + 0x18]
movzx eax, word [edx + 2]
add edi, 1
cmp edi, eax
jle 0x10082450
mov eax, dword [esp + 0x18]
add eax, 4
mov dword [esp + 0x18], eax
movzx eax, word [eax]
test ax, ax
jne 0x10082430
add dword [esp + 0x2c], 0x74
add ebx, 0xc4
sub dword [esp + 0x3c], 1
jne 0x10082240
cmp dword [esp + 0x34], 0
jle 0x10082581
mov edi, dword [esp + 0x58]
mov ebp, dword [esp + 0x34]
add edi, 0xc0
mov ebx, dword [edi - 0x18]
cmp ebx, dword [edi - 4]
jle 0x1008254f
lea ecx, [ebx*4]
push ecx
call fcn.1003fe20
mov esi, eax
mov eax, dword [edi]
add esp, 4
test eax, eax
je 0x1008254a
mov edx, dword [edi - 8]
add edx, edx
add edx, edx
push edx
push eax
push esi
call fcn.101190a0
mov eax, dword [edi]
push eax
call fcn.1003fe50
add esp, 0x10
mov dword [edi], esi
mov dword [edi - 4], ebx
lea ebx, [edi - 0x14]
lea esi, [edi - 8]
mov ecx, ebx
call fcn.1007f0a0
mov eax, dword [edi - 0xc]
xor esi, esi
cmp eax, esi
je 0x10082576
push eax
mov dword [edi - 0x10], esi
mov dword [ebx], esi
call fcn.1003fe50
add esp, 4
mov dword [edi - 0xc], esi
add edi, 0xc4
sub ebp, 1
jne 0x10082510
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x64]
xor ebx, ebx
cmp eax, ebx
jle 0x100825b3
lea esi, [ebp + 0x14]
mov edi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x100825ab
push eax
mov dword [esi - 4], ebx
mov dword [esi - 8], ebx
call fcn.1003fe50
add esp, 4
mov dword [esi], ebx
add esi, 0x18
sub edi, 1
jne 0x10082594
cmp ebp, ebx
je 0x100825cc
push ebp
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
call fcn.1003fe50
add esp, 4
mov dword [esp + 0x64], ebx
xor ebp, ebp
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x84], ebx
mov esi, dword [esp + 0x24]
cmp esi, ebx
mov byte [esp + 0x1c4], 3
jle 0x10082620
cmp esi, 8
mov edi, 8
jl 0x10082608
mov edi, esi
mov ecx, edi
shl ecx, 4
push ecx
call fcn.1003fe20
mov ebp, eax
add esp, 4
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], edi
cmp esi, ebx
mov dword [esp + 0x6c], esi
jle 0x10082658
cmp esi, 8
mov edi, 8
jl 0x10082634
mov edi, esi
lea edx, [edi*8]
sub edx, edi
add edx, edx
add edx, edx
push edx
call fcn.1003fe20
add esp, 4
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], edi
mov eax, esi
shl eax, 4
push eax
push ebx
push ebp
mov dword [esp + 0x88], esi
call fcn.10118c20
mov edx, dword [esp + 0x90]
lea ecx, [esi*8]
sub ecx, esi
add ecx, ecx
add ecx, ecx
push ecx
push ebx
push edx
call fcn.10118c20
add esp, 0x18
cmp dword [esp + 0x34], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
jle 0x1008286b
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], 0
add esi, 0xa8
mov dword [esp + 0x1c], eax
jmp 0x100826c0
mov eax, dword [esi]
test eax, eax
je 0x10082855
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x30]
mov ecx, edx
shl ecx, 4
add ecx, dword [esp + 0x74]
add edx, eax
mov dword [esi - 0x14], ecx
mov ecx, dword [esp + 0x38]
lea edi, [ecx*8]
sub edi, ecx
lea edi, [ebx + edi*4]
mov dword [esi - 0x10], edi
mov ebx, dword [ebp + 0x54]
add ebx, dword [esp + 0x20]
mov edi, dword [esi + 0x10]
fld dword [ebx + 0x10]
add ecx, eax
mov eax, dword [esi - 0x10]
fstp dword [esi - 0x2c]
fldz
mov dword [esi - 0x1c], eax
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0x18]
mov dword [esi - 0x28], 0
mov dword [esi - 0x24], edx
mov dword [esi - 0x20], edi
mov dword [esp + 0x38], ecx
mov cl, byte [ebx + 0x14]
mov byte [esi - 0x18], cl
mov dl, byte [ebx + 0x18]
mov byte [esi - 0x17], dl
fcomp dword [ebx + 0x10]
fnstsw ax
push ecx
fld dword [ebx + 0x10]
test ah, 5
lea eax, [esi - 0xa8]
jp 0x10082756
fstp dword [esp]
call fcn.10073df0
jmp 0x10082760
fchs
fstp dword [esp]
call fcn.10073e30
mov eax, dword [ebp + 0x10]
fstp dword [esp + 0x28]
add esp, 4
test edi, edi
mov dword [esp + 0x78], eax
mov dword [esp + 0x2c], 0
jle 0x10082855
xor ebp, ebp
mov edx, dword [esp + 0x2c]
fld dword [esp + 0x24]
mov ecx, dword [esi + 0x18]
mov ecx, dword [ecx + edx*4]
lea edi, [esi - 0xa8]
mov eax, edi
call fcn.10071fd0
fldz
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x1c]
push ecx
sub esp, 0x10
fst dword [esp + 0xc]
fstp dword [esp + 8]
fild dword [ebx + 0x18]
fmul st(1)
fstp dword [esp + 0x5c]
fld dword [esp + 0x5c]
fstp dword [esp + 4]
fimul dword [ebx + 0x14]
fstp dword [esp + 0x5c]
fld dword [esp + 0x5c]
fstp dword [esp]
push eax
push edi
lea edi, [esp + 0x8c]
call fcn.1007ac60
mov eax, dword [esp + 0x9c]
mov ecx, dword [esi - 0x14]
mov edx, eax
sub edx, dword [esp + 0x8c]
add esp, 0x24
add edx, dword [esp + 0x44]
add dx, word [ebx + 0x14]
sub dx, 1
mov word [ecx + ebp + 4], dx
mov dx, word [ebx + 0x18]
sub dx, word [esp + 0x14]
add dx, word [esp + 0x28]
add dx, ax
mov eax, dword [esi - 0x14]
sub dx, 1
mov word [eax + ebp + 6], dx
mov ecx, dword [esi - 0x14]
movzx edx, word [ecx + ebp + 6]
lea eax, [ecx + ebp]
movzx eax, word [eax + 4]
imul edx, eax
mov eax, dword [esp + 0x2c]
add dword [esp + 0x18], edx
add eax, 1
add ebp, 0x10
cmp eax, dword [esi + 0x10]
mov dword [esp + 0x2c], eax
jl 0x10082780
add dword [esp + 0x20], 0x74
add esi, 0xc4
sub dword [esp + 0x1c], 1
jne 0x100826c0
fild dword [esp + 0x18]
call fcn.10118850
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
call fcn.10118910
mov ebx, dword [esp + 0x30]
add eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0xc]
xor edi, edi
cmp eax, edi
mov dword [ebx + 0x20], edi
jg 0x100828ed
fild dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [0x101ac628]
fld dword [esp + 0x28]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x100828be
fstp st(0)
mov eax, 0x1000
jmp 0x100828ed
fld dword [0x101ac624]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x100828d6
fstp st(0)
mov eax, 0x800
jmp 0x100828ed
fcomp dword [str.333D33]
fnstsw ax
test ah, 1
mov eax, 0x400
je 0x100828ed
mov eax, 0x200
mov ecx, dword [ebx + 0x10]
push edi
push ecx
push edi
mov dword [ebx + 0x1c], eax
mov edx, dword [ebx + 0x1c]
xor eax, eax
push 0x8000
push edx
push edi
lea esi, [esp + 0xa0]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
call fcn.10075b70
mov ebp, dword [esp + 0xa4]
push ebp
push ebx
call fcn.1007f2a0
mov eax, dword [esp + 0x54]
add esp, 0x20
cmp eax, edi
jle 0x100829d9
mov esi, dword [esp + 0x58]
add esi, 0xa8
mov dword [esp + 0x1c], eax
jmp 0x10082980
mov eax, dword [esi]
test eax, eax
je 0x100829ca
mov ecx, dword [esi - 0x14]
push ecx
push ebp
call fcn.10071400
xor edi, edi
add esp, 8
cmp dword [esi], edi
jle 0x100829ca
xor edx, edx
mov eax, dword [esi - 0x14]
cmp dword [edx + eax + 0xc], 0
je 0x100829c0
mov ecx, eax
movzx eax, word [ecx + edx + 0xa]
add ecx, edx
movzx ecx, word [ecx + 6]
add eax, ecx
mov ecx, dword [ebx + 0x20]
cmp ecx, eax
jl 0x100829bd
mov eax, ecx
mov dword [ebx + 0x20], eax
add edi, 1
add edx, 0x10
cmp edi, dword [esi]
jl 0x1008299b
add esi, 0xc4
sub dword [esp + 0x1c], 1
jne 0x10082980
xor edi, edi
test byte [ebx + 4], 1
mov eax, dword [ebx + 0x20]
jne 0x10082a07
sub eax, 1
mov edx, eax
sar edx, 1
or eax, edx
mov ecx, eax
sar ecx, 2
or eax, ecx
mov edx, eax
sar edx, 4
or eax, edx
mov ecx, eax
sar ecx, 8
or eax, ecx
mov edx, eax
sar edx, 0x10
or eax, edx
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x28], ecx
fild dword [esp + 0x28]
fld1
add eax, 1
fld st(0)
mov dword [esp + 0x1c], eax
imul ecx, eax
fdivrp st(2)
push ecx
mov dword [ebx + 0x20], eax
fxch st(1)
fstp dword [esp + 0x2c]
fidiv dword [esp + 0x20]
fstp dword [esp + 0x18]
fld dword [esp + 0x2c]
fstp dword [esp + 0x4c]
fld dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
fstp dword [esp + 0x50]
mov dword [ebx + 0x24], edx
mov edx, dword [esp + 0x50]
mov dword [ebx + 0x28], edx
call fcn.1003fe20
mov ecx, dword [ebx + 0x20]
imul ecx, dword [ebx + 0x1c]
push ecx
push edi
push eax
mov dword [ebx + 0x14], eax
call fcn.10118c20
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x14]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x44]
add esp, 0x10
cmp eax, edi
mov dword [esp + 0xa8], edx
jle 0x10082b5d
mov esi, dword [esp + 0x58]
mov dword [esp + 0x24], edi
add esi, 0xa8
mov dword [esp + 0x1c], eax
mov edi, edi
mov edi, dword [ebx + 0x54]
add edi, dword [esp + 0x24]
cmp dword [esi], 0
lea eax, [esi - 0xa8]
je 0x10082b45
mov ecx, dword [esi - 0x14]
push ecx
lea edx, [esi - 0x2c]
push edx
push eax
lea eax, [esp + 0x94]
push eax
mov eax, 1
call fcn.1007aee0
fld1
fcomp dword [edi + 0x44]
add esp, 0x10
fnstsw ax
test ah, 0x44
jnp 0x10082b3e
fld dword [edi + 0x44]
push ecx
lea ecx, [esp + 0xbc]
fstp dword [esp]
push ecx
call fcn.100794d0
mov eax, dword [esi - 0x14]
xor ebp, ebp
add esp, 8
cmp dword [esi], ebp
jle 0x10082b3e
lea edi, [eax + 6]
cmp dword [edi + 6], 0
je 0x10082b34
mov edx, dword [ebx + 0x1c]
movzx eax, word [edi]
movzx ecx, word [edi - 2]
push edx
movzx edx, word [edi + 4]
push eax
movzx eax, word [edi + 2]
push ecx
mov ecx, dword [ebx + 0x14]
push edx
push eax
push ecx
lea edx, [esp + 0xd0]
push edx
call fcn.10079540
add esp, 0x1c
add ebp, 1
add edi, 0x10
cmp ebp, dword [esi]
jl 0x10082b03
mov dword [esi - 0x14], 0
add dword [esp + 0x24], 0x74
add esi, 0xc4
sub dword [esp + 0x1c], 1
jne 0x10082aa0
xor edi, edi
lea esi, [esp + 0x88]
call fcn.10075c40
mov eax, dword [esp + 0x74]
cmp eax, edi
je 0x10082b86
push eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], edi
call fcn.1003fe50
add esp, 4
mov dword [esp + 0x74], edi
mov eax, dword [esp + 0x34]
cmp eax, edi
jle 0x10082ed9
mov ecx, dword [esp + 0x58]
add ecx, 0xa8
mov dword [esp + 0x2c], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x40], eax
lea esp, [esp]
mov edx, dword [esp + 0x18]
cmp dword [edx], 0
je 0x10082ebd
mov eax, dword [esp + 0x30]
mov ebp, dword [eax + 0x54]
add ebp, dword [esp + 0x2c]
mov eax, edx
mov ecx, dword [ebp + 0x70]
fld dword [ebp + 0x10]
push ecx
add eax, 0xffffff58
fstp dword [esp]
mov dword [esp + 0x40], ecx
call fcn.10073df0
fstp dword [esp + 0x48]
mov edx, dword [esp + 0x1c]
add esp, 4
lea ebx, [esp + 0x48]
lea edi, [esp + 0x68]
lea esi, [esp + 0x28]
add edx, 0xffffff58
call fcn.10073da0
fild dword [esp + 0x28]
mov dword [esp + 0x1c], 1
fstp dword [esp + 0x14]
fldz
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
test ah, 0x41
je 0x10082c2b
mov dword [esp + 0x1c], 0xffffffff
fld dword [esp + 0x44]
fld st(0)
fmulp st(2)
fild dword [esp + 0x1c]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.10118910
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov dword [esp + 0x1c], 1
fstp dword [esp + 0x44]
fild dword [esp + 0x68]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 0x41
je 0x10082c7b
mov dword [esp + 0x1c], 0xffffffff
fmulp st(1)
fiadd dword [esp + 0x1c]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.10118910
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
sub esp, 8
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 4]
fld dword [esp + 0x4c]
fstp dword [esp]
push ebp
push esi
push edx
call fcn.1007f250
fld dword [ebp + 0x28]
fstp dword [esp + 0x30]
add esp, 0x14
fld dword [esi + 0x48]
fld qword [0x101a2a60]
fadd st(1), st(0)
fxch st(1)
call fcn.10118910
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov eax, dword [esp + 0x18]
xor esi, esi
cmp dword [eax], esi
fadd dword [ebp + 0x2c]
fstp dword [esp + 0xb0]
jle 0x10082eb7
fldz
mov dword [esp + 0x24], esi
fstp dword [esp + 0xb4]
jmp 0x10082d16
fld qword [0x101a2a60]
mov eax, dword [esp + 0x18]
fld dword [esp + 0x1c]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + esi*4]
mov eax, dword [eax - 0x10]
mov ecx, dword [esp + 0x24]
fld dword [eax + ecx + 0x10]
mov dword [esp + 0x48], edx
fstp dword [esp + 0x14]
fld dword [ebp + 0x34]
fstp dword [esp + 0x44]
fld dword [ebp + 0x38]
fstp dword [esp + 0x78]
fld dword [esp + 0x14]
fld dword [esp + 0x44]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x10082d5c
fstp dword [esp + 0x20]
jmp 0x10082d77
fstp st(0)
fld dword [esp + 0x78]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x10082d71
fstp dword [esp + 0x20]
jmp 0x10082d77
fstp st(0)
fst dword [esp + 0x20]
fxch st(1)
fst dword [esp + 0x38]
fld st(1)
fld dword [esp + 0x20]
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x10082db9
cmp byte [ebp + 0x1c], 0
fsubrp st(2)
fxch st(1)
fmulp st(2)
fxch st(1)
je 0x10082dab
call fcn.10118910
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp dword [esp + 0x38]
fadd dword [esp + 0x38]
fstp dword [esp + 0x38]
jmp 0x10082dc1
fstp st(2)
fstp st(1)
fstp st(1)
fstp st(0)
mov eax, dword [esp + 0x30]
fldz
mov ecx, dword [eax + 0x20]
fstp dword [esp + 0x14]
push 0
lea edx, [esp + 0xb8]
push edx
mov edx, dword [eax + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [ecx - 0x10]
lea edi, [esp + 0x98]
lea ebx, [esp + 0x24]
mov eax, esi
call fcn.10076170
fld dword [esp + 0x30]
fstp dword [esp + 0xc]
sub esp, 0x14
fld dword [esp + 0xc8]
mov edx, dword [esp + 0x6c]
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
fld dword [esp + 0xc4]
fstp dword [esp + 0x18]
fld dword [esp + 0xb8]
fstp dword [esp + 0x14]
fld dword [esp + 0xb4]
fstp dword [esp + 0x10]
fld dword [esp + 0xc0]
fld dword [esp + 0xd4]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp dword [esp + 0xc]
fld dword [esp + 0xbc]
fld dword [esp + 0x5c]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp dword [esp + 8]
fld dword [esp + 0xb0]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp dword [esp + 4]
fadd dword [esp + 0xac]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp dword [esp]
push edx
call fcn.1007f700
mov eax, dword [esp + 0x18]
add dword [esp + 0x24], 0x1c
add esi, 1
cmp esi, dword [eax]
jl 0x10082d10
jmp 0x10082eb9
fstp st(0)
mov ebx, dword [esp + 0x30]
add dword [esp + 0x18], 0xc4
add dword [esp + 0x2c], 0x74
sub dword [esp + 0x40], 1
jne 0x10082bb0
mov eax, dword [esp + 0x34]
test eax, eax
mov ebp, dword [esp + 0x58]
jle 0x10082f2f
mov edi, dword [esp + 0x34]
lea esi, [ebp + 0xb4]
lea ecx, [esi - 0xb4]
mov dword [esp + 0x48], ecx
mov eax, dword [esi + 0xc]
test eax, eax
mov byte [esp + 0x1c4], 4
je 0x10082f0d
push eax
call fcn.1003fe50
add esp, 4
mov eax, dword [esi]
test eax, eax
mov byte [esp + 0x1c4], 3
je 0x10082f24
push eax
call fcn.1003fe50
add esp, 4
add esi, 0xc4
sub edi, 1
jne 0x10082eeb
push ebx
call fcn.10081e10
mov eax, dword [esp + 0x88]
add esp, 4
test eax, eax
mov byte [esp + 0x1c4], 2
je 0x10082f54
push eax
call fcn.1003fe50
add esp, 4
mov eax, dword [esp + 0x74]
test eax, eax
mov byte [esp + 0x1c4], 1
je 0x10082f6d
push eax
call fcn.1003fe50
add esp, 4
mov eax, dword [esp + 0x64]
test eax, eax
mov byte [esp + 0x1c4], 0
je 0x10082f86
push eax
call fcn.1003fe50
add esp, 4
test ebp, ebp
mov dword [esp + 0x1c4], 0xffffffff
je 0x10082f9e
push ebp
call fcn.1003fe50
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x1bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a4]
xor ecx, esp
call fcn.1011850e
add esp, 0x1b4
ret