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

Disassembly:
push 0xffffffffffffffff
push 0x1019cf4d
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x101e6218]
xor eax, esp
mov dword [esp + 0x1a4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101e6218]
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.1007f980
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.10079af0
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 0x10082817
cmp ebx, 8
mov eax, 8
jl 0x1008280d
mov eax, ebx
push eax
lea ecx, [esp + 0x54]
call fcn.1007af10
mov edi, dword [esi + 0x34]
cmp edi, ebp
mov dword [esp + 0x50], ebx
mov dword [esp + 0x1c], edi
jle 0x1008283c
cmp edi, 8
mov eax, 8
jl 0x10082832
mov eax, edi
push eax
lea ecx, [esp + 0x60]
call fcn.1007af90
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.10119b30
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.10119b30
add esp, 0x18
cmp dword [esi + 0x4c], ebp
mov dword [esp + 0x24], ebp
jle 0x10082988
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 0x100828c7
cmp dword [edx], 0xffffffff
jne 0x100828c7
mov esi, dword [ecx + 0x3c]
mov ebx, dword [edi + 0x70]
cmp ebx, dword [esi + eax*4]
jne 0x100828bf
mov dword [edx], eax
add eax, 1
cmp eax, dword [ecx + 0x34]
jl 0x100828ad
or esi, 0xffffffff
cmp dword [ebp + 0xa0], esi
je 0x100829f7
mov esi, dword [edi]
mov ebx, dword [edi + 0xc]
call fcn.10076a30
mov ecx, esi
mov edx, ebp
call fcn.10076a40
test eax, eax
je 0x10082a2f
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 0x1008290c
mov eax, edi
jmp 0x10082915
mov ecx, dword [esp + 0x30]
call fcn.10079d00
mov dword [ebp + 0x9c], eax
cmp word [eax], 0
je 0x10082948
movzx ecx, word [eax + 2]
test cx, cx
je 0x10082948
mov edx, dword [ebp + 0xa4]
movzx ecx, cx
cmp edx, ecx
jl 0x10082939
mov ecx, edx
add eax, 4
mov dword [ebp + 0xa4], ecx
cmp word [eax], 0
jne 0x10082921
add dword [esi], 1
mov ebp, dword [ebp + 0xa4]
mov eax, dword [esi + 4]
cmp eax, ebp
jge 0x1008295a
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 0x1008288b
mov ebx, dword [esp + 0x34]
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0x24], ebp
jle 0x10082c67
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 0x10082ab9
test ecx, ecx
je 0x10082a55
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10082a5a
mov eax, dword [esp + 0x64]
test eax, eax
mov byte [esp + 0x1c4], 0
je 0x10082a10
push eax
call fcn.100405c0
add esp, 4
mov dword [esp + 0x1c4], esi
mov eax, dword [esp + 0x58]
test eax, eax
je 0x10082a28
push eax
call fcn.100405c0
add esp, 4
xor al, al
jmp 0x10083710
mov eax, dword [esp + 0x64]
test eax, eax
mov byte [esp + 0x1c4], 0
je 0x10082a48
push eax
call fcn.100405c0
add esp, 4
mov dword [esp + 0x1c4], 0xffffffff
jmp 0x10082a17
mov eax, 8
cmp eax, edi
jle 0x10082a64
mov dword [esp + 0x20], eax
jmp 0x10082a6a
mov eax, edi
mov dword [esp + 0x20], edi
cmp eax, ecx
jle 0x10082ab9
mov ecx, dword [esp + 0x20]
lea edx, [ecx*4]
push edx
call fcn.10040590
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 4]
add esp, 4
test eax, eax
je 0x10082aac
mov ecx, dword [ebx - 4]
mov edx, dword [esp + 0x18]
add ecx, ecx
add ecx, ecx
push ecx
push eax
push edx
call fcn.10119fb0
mov eax, dword [ebx + 4]
push eax
call fcn.100405c0
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.10119b30
add esp, 0xc
cmp dword [esi], 1
jle 0x10082b85
cmp dword [esi + 0xc], 0
jne 0x10082b85
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
add eax, 1
lea edi, [eax + 0x1f]
sar edi, 5
cmp edi, ecx
jle 0x10082b6c
test ecx, ecx
je 0x10082b07
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10082b0c
mov eax, 8
cmp eax, edi
jle 0x10082b16
mov dword [esp + 0x20], eax
jmp 0x10082b1c
mov eax, edi
mov dword [esp + 0x20], edi
cmp eax, ecx
jle 0x10082b6c
mov edx, dword [esp + 0x20]
lea eax, [edx*4]
push eax
call fcn.10040590
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x14]
add esp, 4
test eax, eax
je 0x10082b5e
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x18]
add ecx, ecx
add ecx, ecx
push ecx
push eax
push edx
call fcn.10119fb0
mov eax, dword [esi + 0x14]
push eax
call fcn.100405c0
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.10119b30
add esp, 0xc
mov ecx, dword [ebx - 0x14]
movzx eax, word [ecx]
test ax, ax
mov dword [esp + 0x18], ecx
je 0x10082c51
jmp 0x10082ba4
mov ecx, dword [esp + 0x18]
movzx ecx, word [ecx + 2]
test cx, cx
je 0x10082c51
movzx edi, ax
movzx edx, cx
cmp edi, edx
jg 0x10082c3a
nop
mov eax, dword [esp + 0x40]
cmp byte [eax + 0x3c], 0
je 0x10082be3
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 0x10082c2b
mov ecx, edi
mov eax, ebp
call fcn.10072740
test eax, eax
je 0x10082c2b
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 0x10082c26
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 0x10082bc0
mov eax, dword [esp + 0x18]
add eax, 4
mov dword [esp + 0x18], eax
movzx eax, word [eax]
test ax, ax
jne 0x10082ba0
add dword [esp + 0x2c], 0x74
add ebx, 0xc4
sub dword [esp + 0x3c], 1
jne 0x100829b0
cmp dword [esp + 0x34], 0
jle 0x10082cf1
mov edi, dword [esp + 0x58]
mov ebp, dword [esp + 0x34]
add edi, 0xc0
mov ebx, dword [edi - 0x18]
cmp ebx, dword [edi - 4]
jle 0x10082cbf
lea ecx, [ebx*4]
push ecx
call fcn.10040590
mov esi, eax
mov eax, dword [edi]
add esp, 4
test eax, eax
je 0x10082cba
mov edx, dword [edi - 8]
add edx, edx
add edx, edx
push edx
push eax
push esi
call fcn.10119fb0
mov eax, dword [edi]
push eax
call fcn.100405c0
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.1007f810
mov eax, dword [edi - 0xc]
xor esi, esi
cmp eax, esi
je 0x10082ce6
push eax
mov dword [edi - 0x10], esi
mov dword [ebx], esi
call fcn.100405c0
add esp, 4
mov dword [edi - 0xc], esi
add edi, 0xc4
sub ebp, 1
jne 0x10082c80
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x64]
xor ebx, ebx
cmp eax, ebx
jle 0x10082d23
lea esi, [ebp + 0x14]
mov edi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x10082d1b
push eax
mov dword [esi - 4], ebx
mov dword [esi - 8], ebx
call fcn.100405c0
add esp, 4
mov dword [esi], ebx
add esi, 0x18
sub edi, 1
jne 0x10082d04
cmp ebp, ebx
je 0x10082d3c
push ebp
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
call fcn.100405c0
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 0x10082d90
cmp esi, 8
mov edi, 8
jl 0x10082d78
mov edi, esi
mov ecx, edi
shl ecx, 4
push ecx
call fcn.10040590
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 0x10082dc8
cmp esi, 8
mov edi, 8
jl 0x10082da4
mov edi, esi
lea edx, [edi*8]
sub edx, edi
add edx, edx
add edx, edx
push edx
call fcn.10040590
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.10119b30
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.10119b30
add esp, 0x18
cmp dword [esp + 0x34], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
jle 0x10082fdb
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], 0
add esi, 0xa8
mov dword [esp + 0x1c], eax
jmp 0x10082e30
mov eax, dword [esi]
test eax, eax
je 0x10082fc5
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 0x10082ec6
fstp dword [esp]
call fcn.10074560
jmp 0x10082ed0
fchs
fstp dword [esp]
call fcn.100745a0
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 0x10082fc5
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.10072740
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.1007b3d0
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 0x10082ef0
add dword [esp + 0x20], 0x74
add esi, 0xc4
sub dword [esp + 0x1c], 1
jne 0x10082e30
fild dword [esp + 0x18]
call fcn.10119760
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
call fcn.10119820
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 0x1008305d
fild dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [0x101aec60]
fld dword [esp + 0x28]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x1008302e
fstp st(0)
mov eax, 0x1000
jmp 0x1008305d
fld dword [0x101aec5c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x10083046
fstp st(0)
mov eax, 0x800
jmp 0x1008305d
fcomp dword [str.333D33]
fnstsw ax
test ah, 1
mov eax, 0x400
je 0x1008305d
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.100762e0
mov ebp, dword [esp + 0xa4]
push ebp
push ebx
call fcn.1007fa10
mov eax, dword [esp + 0x54]
add esp, 0x20
cmp eax, edi
jle 0x10083149
mov esi, dword [esp + 0x58]
add esi, 0xa8
mov dword [esp + 0x1c], eax
jmp 0x100830f0
mov eax, dword [esi]
test eax, eax
je 0x1008313a
mov ecx, dword [esi - 0x14]
push ecx
push ebp
call fcn.10071b70
xor edi, edi
add esp, 8
cmp dword [esi], edi
jle 0x1008313a
xor edx, edx
mov eax, dword [esi - 0x14]
cmp dword [edx + eax + 0xc], 0
je 0x10083130
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 0x1008312d
mov eax, ecx
mov dword [ebx + 0x20], eax
add edi, 1
add edx, 0x10
cmp edi, dword [esi]
jl 0x1008310b
add esi, 0xc4
sub dword [esp + 0x1c], 1
jne 0x100830f0
xor edi, edi
test byte [ebx + 4], 1
mov eax, dword [ebx + 0x20]
jne 0x10083177
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.10040590
mov ecx, dword [ebx + 0x20]
imul ecx, dword [ebx + 0x1c]
push ecx
push edi
push eax
mov dword [ebx + 0x14], eax
call fcn.10119b30
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 0x100832cd
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 0x100832b5
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.1007b650
fld1
fcomp dword [edi + 0x44]
add esp, 0x10
fnstsw ax
test ah, 0x44
jnp 0x100832ae
fld dword [edi + 0x44]
push ecx
lea ecx, [esp + 0xbc]
fstp dword [esp]
push ecx
call fcn.10079c40
mov eax, dword [esi - 0x14]
xor ebp, ebp
add esp, 8
cmp dword [esi], ebp
jle 0x100832ae
lea edi, [eax + 6]
cmp dword [edi + 6], 0
je 0x100832a4
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.10079cb0
add esp, 0x1c
add ebp, 1
add edi, 0x10
cmp ebp, dword [esi]
jl 0x10083273
mov dword [esi - 0x14], 0
add dword [esp + 0x24], 0x74
add esi, 0xc4
sub dword [esp + 0x1c], 1
jne 0x10083210
xor edi, edi
lea esi, [esp + 0x88]
call fcn.100763b0
mov eax, dword [esp + 0x74]
cmp eax, edi
je 0x100832f6
push eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], edi
call fcn.100405c0
add esp, 4
mov dword [esp + 0x74], edi
mov eax, dword [esp + 0x34]
cmp eax, edi
jle 0x10083649
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 0x1008362d
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.10074560
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.10074510
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 0x1008339b
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.10119820
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 0x100833eb
mov dword [esp + 0x1c], 0xffffffff
fmulp st(1)
fiadd dword [esp + 0x1c]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.10119820
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.1007f9c0
fld dword [ebp + 0x28]
fstp dword [esp + 0x30]
add esp, 0x14
fld dword [esi + 0x48]
fld qword [0x101a5110]
fadd st(1), st(0)
fxch st(1)
call fcn.10119820
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 0x10083627
fldz
mov dword [esp + 0x24], esi
fstp dword [esp + 0xb4]
jmp 0x10083486
fld qword [0x101a5110]
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 0x100834cc
fstp dword [esp + 0x20]
jmp 0x100834e7
fstp st(0)
fld dword [esp + 0x78]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x100834e1
fstp dword [esp + 0x20]
jmp 0x100834e7
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 0x10083529
cmp byte [ebp + 0x1c], 0
fsubrp st(2)
fxch st(1)
fmulp st(2)
fxch st(1)
je 0x1008351b
call fcn.10119820
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp dword [esp + 0x38]
fadd dword [esp + 0x38]
fstp dword [esp + 0x38]
jmp 0x10083531
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.100768e0
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.1007fe70
mov eax, dword [esp + 0x18]
add dword [esp + 0x24], 0x1c
add esi, 1
cmp esi, dword [eax]
jl 0x10083480
jmp 0x10083629
fstp st(0)
mov ebx, dword [esp + 0x30]
add dword [esp + 0x18], 0xc4
add dword [esp + 0x2c], 0x74
sub dword [esp + 0x40], 1
jne 0x10083320
mov eax, dword [esp + 0x34]
test eax, eax
mov ebp, dword [esp + 0x58]
jle 0x1008369f
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 0x1008367d
push eax
call fcn.100405c0
add esp, 4
mov eax, dword [esi]
test eax, eax
mov byte [esp + 0x1c4], 3
je 0x10083694
push eax
call fcn.100405c0
add esp, 4
add esi, 0xc4
sub edi, 1
jne 0x1008365b
push ebx
call fcn.10082580
mov eax, dword [esp + 0x88]
add esp, 4
test eax, eax
mov byte [esp + 0x1c4], 2
je 0x100836c4
push eax
call fcn.100405c0
add esp, 4
mov eax, dword [esp + 0x74]
test eax, eax
mov byte [esp + 0x1c4], 1
je 0x100836dd
push eax
call fcn.100405c0
add esp, 4
mov eax, dword [esp + 0x64]
test eax, eax
mov byte [esp + 0x1c4], 0
je 0x100836f6
push eax
call fcn.100405c0
add esp, 4
test ebp, ebp
mov dword [esp + 0x1c4], 0xffffffff
je 0x1008370e
push ebp
call fcn.100405c0
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.10118c8e
add esp, 0x1b4
ret