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

Disassembly:
push 0xffffffffffffffff
push 0x1019bc0d
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x101e51ac]
xor eax, esp
mov dword [esp + 0x1a4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101e51ac]
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.1007e720
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.10078890
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 0x100815b7
cmp ebx, 8
mov eax, 8
jl 0x100815ad
mov eax, ebx
push eax
lea ecx, [esp + 0x54]
call fcn.10079cb0
mov edi, dword [esi + 0x34]
cmp edi, ebp
mov dword [esp + 0x50], ebx
mov dword [esp + 0x1c], edi
jle 0x100815dc
cmp edi, 8
mov eax, 8
jl 0x100815d2
mov eax, edi
push eax
lea ecx, [esp + 0x60]
call fcn.10079d30
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.101188f0
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.101188f0
add esp, 0x18
cmp dword [esi + 0x4c], ebp
mov dword [esp + 0x24], ebp
jle 0x10081728
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 0x10081667
cmp dword [edx], 0xffffffff
jne 0x10081667
mov esi, dword [ecx + 0x3c]
mov ebx, dword [edi + 0x70]
cmp ebx, dword [esi + eax*4]
jne 0x1008165f
mov dword [edx], eax
add eax, 1
cmp eax, dword [ecx + 0x34]
jl 0x1008164d
or esi, 0xffffffff
cmp dword [ebp + 0xa0], esi
je 0x10081797
mov esi, dword [edi]
mov ebx, dword [edi + 0xc]
call fcn.100757d0
mov ecx, esi
mov edx, ebp
call fcn.100757e0
test eax, eax
je 0x100817cf
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 0x100816ac
mov eax, edi
jmp 0x100816b5
mov ecx, dword [esp + 0x30]
call fcn.10078aa0
mov dword [ebp + 0x9c], eax
cmp word [eax], 0
je 0x100816e8
movzx ecx, word [eax + 2]
test cx, cx
je 0x100816e8
mov edx, dword [ebp + 0xa4]
movzx ecx, cx
cmp edx, ecx
jl 0x100816d9
mov ecx, edx
add eax, 4
mov dword [ebp + 0xa4], ecx
cmp word [eax], 0
jne 0x100816c1
add dword [esi], 1
mov ebp, dword [ebp + 0xa4]
mov eax, dword [esi + 4]
cmp eax, ebp
jge 0x100816fa
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 0x1008162b
mov ebx, dword [esp + 0x34]
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0x24], ebp
jle 0x10081a07
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 0x10081859
test ecx, ecx
je 0x100817f5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100817fa
mov eax, dword [esp + 0x64]
test eax, eax
mov byte [esp + 0x1c4], 0
je 0x100817b0
push eax
call fcn.1003f360
add esp, 4
mov dword [esp + 0x1c4], esi
mov eax, dword [esp + 0x58]
test eax, eax
je 0x100817c8
push eax
call fcn.1003f360
add esp, 4
xor al, al
jmp 0x100824b0
mov eax, dword [esp + 0x64]
test eax, eax
mov byte [esp + 0x1c4], 0
je 0x100817e8
push eax
call fcn.1003f360
add esp, 4
mov dword [esp + 0x1c4], 0xffffffff
jmp 0x100817b7
mov eax, 8
cmp eax, edi
jle 0x10081804
mov dword [esp + 0x20], eax
jmp 0x1008180a
mov eax, edi
mov dword [esp + 0x20], edi
cmp eax, ecx
jle 0x10081859
mov ecx, dword [esp + 0x20]
lea edx, [ecx*4]
push edx
call fcn.1003f330
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 4]
add esp, 4
test eax, eax
je 0x1008184c
mov ecx, dword [ebx - 4]
mov edx, dword [esp + 0x18]
add ecx, ecx
add ecx, ecx
push ecx
push eax
push edx
call fcn.10118d70
mov eax, dword [ebx + 4]
push eax
call fcn.1003f360
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.101188f0
add esp, 0xc
cmp dword [esi], 1
jle 0x10081925
cmp dword [esi + 0xc], 0
jne 0x10081925
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
add eax, 1
lea edi, [eax + 0x1f]
sar edi, 5
cmp edi, ecx
jle 0x1008190c
test ecx, ecx
je 0x100818a7
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100818ac
mov eax, 8
cmp eax, edi
jle 0x100818b6
mov dword [esp + 0x20], eax
jmp 0x100818bc
mov eax, edi
mov dword [esp + 0x20], edi
cmp eax, ecx
jle 0x1008190c
mov edx, dword [esp + 0x20]
lea eax, [edx*4]
push eax
call fcn.1003f330
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x14]
add esp, 4
test eax, eax
je 0x100818fe
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x18]
add ecx, ecx
add ecx, ecx
push ecx
push eax
push edx
call fcn.10118d70
mov eax, dword [esi + 0x14]
push eax
call fcn.1003f360
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.101188f0
add esp, 0xc
mov ecx, dword [ebx - 0x14]
movzx eax, word [ecx]
test ax, ax
mov dword [esp + 0x18], ecx
je 0x100819f1
jmp 0x10081944
mov ecx, dword [esp + 0x18]
movzx ecx, word [ecx + 2]
test cx, cx
je 0x100819f1
movzx edi, ax
movzx edx, cx
cmp edi, edx
jg 0x100819da
nop
mov eax, dword [esp + 0x40]
cmp byte [eax + 0x3c], 0
je 0x10081983
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 0x100819cb
mov ecx, edi
mov eax, ebp
call fcn.100714e0
test eax, eax
je 0x100819cb
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 0x100819c6
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 0x10081960
mov eax, dword [esp + 0x18]
add eax, 4
mov dword [esp + 0x18], eax
movzx eax, word [eax]
test ax, ax
jne 0x10081940
add dword [esp + 0x2c], 0x74
add ebx, 0xc4
sub dword [esp + 0x3c], 1
jne 0x10081750
cmp dword [esp + 0x34], 0
jle 0x10081a91
mov edi, dword [esp + 0x58]
mov ebp, dword [esp + 0x34]
add edi, 0xc0
mov ebx, dword [edi - 0x18]
cmp ebx, dword [edi - 4]
jle 0x10081a5f
lea ecx, [ebx*4]
push ecx
call fcn.1003f330
mov esi, eax
mov eax, dword [edi]
add esp, 4
test eax, eax
je 0x10081a5a
mov edx, dword [edi - 8]
add edx, edx
add edx, edx
push edx
push eax
push esi
call fcn.10118d70
mov eax, dword [edi]
push eax
call fcn.1003f360
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.1007e5b0
mov eax, dword [edi - 0xc]
xor esi, esi
cmp eax, esi
je 0x10081a86
push eax
mov dword [edi - 0x10], esi
mov dword [ebx], esi
call fcn.1003f360
add esp, 4
mov dword [edi - 0xc], esi
add edi, 0xc4
sub ebp, 1
jne 0x10081a20
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x64]
xor ebx, ebx
cmp eax, ebx
jle 0x10081ac3
lea esi, [ebp + 0x14]
mov edi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x10081abb
push eax
mov dword [esi - 4], ebx
mov dword [esi - 8], ebx
call fcn.1003f360
add esp, 4
mov dword [esi], ebx
add esi, 0x18
sub edi, 1
jne 0x10081aa4
cmp ebp, ebx
je 0x10081adc
push ebp
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
call fcn.1003f360
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 0x10081b30
cmp esi, 8
mov edi, 8
jl 0x10081b18
mov edi, esi
mov ecx, edi
shl ecx, 4
push ecx
call fcn.1003f330
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 0x10081b68
cmp esi, 8
mov edi, 8
jl 0x10081b44
mov edi, esi
lea edx, [edi*8]
sub edx, edi
add edx, edx
add edx, edx
push edx
call fcn.1003f330
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.101188f0
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.101188f0
add esp, 0x18
cmp dword [esp + 0x34], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
jle 0x10081d7b
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], 0
add esi, 0xa8
mov dword [esp + 0x1c], eax
jmp 0x10081bd0
mov eax, dword [esi]
test eax, eax
je 0x10081d65
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 0x10081c66
fstp dword [esp]
call fcn.10073300
jmp 0x10081c70
fchs
fstp dword [esp]
call fcn.10073340
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 0x10081d65
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.100714e0
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.1007a170
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 0x10081c90
add dword [esp + 0x20], 0x74
add esi, 0xc4
sub dword [esp + 0x1c], 1
jne 0x10081bd0
fild dword [esp + 0x18]
call fcn.10118520
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
call fcn.101185e0
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 0x10081dfd
fild dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [0x101adcf0]
fld dword [esp + 0x28]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x10081dce
fstp st(0)
mov eax, 0x1000
jmp 0x10081dfd
fld dword [0x101adcec]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x10081de6
fstp st(0)
mov eax, 0x800
jmp 0x10081dfd
fcomp dword [str.333D33]
fnstsw ax
test ah, 1
mov eax, 0x400
je 0x10081dfd
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.10075080
mov ebp, dword [esp + 0xa4]
push ebp
push ebx
call fcn.1007e7b0
mov eax, dword [esp + 0x54]
add esp, 0x20
cmp eax, edi
jle 0x10081ee9
mov esi, dword [esp + 0x58]
add esi, 0xa8
mov dword [esp + 0x1c], eax
jmp 0x10081e90
mov eax, dword [esi]
test eax, eax
je 0x10081eda
mov ecx, dword [esi - 0x14]
push ecx
push ebp
call fcn.10070910
xor edi, edi
add esp, 8
cmp dword [esi], edi
jle 0x10081eda
xor edx, edx
mov eax, dword [esi - 0x14]
cmp dword [edx + eax + 0xc], 0
je 0x10081ed0
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 0x10081ecd
mov eax, ecx
mov dword [ebx + 0x20], eax
add edi, 1
add edx, 0x10
cmp edi, dword [esi]
jl 0x10081eab
add esi, 0xc4
sub dword [esp + 0x1c], 1
jne 0x10081e90
xor edi, edi
test byte [ebx + 4], 1
mov eax, dword [ebx + 0x20]
jne 0x10081f17
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.1003f330
mov ecx, dword [ebx + 0x20]
imul ecx, dword [ebx + 0x1c]
push ecx
push edi
push eax
mov dword [ebx + 0x14], eax
call fcn.101188f0
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 0x1008206d
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 0x10082055
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.1007a3f0
fld1
fcomp dword [edi + 0x44]
add esp, 0x10
fnstsw ax
test ah, 0x44
jnp 0x1008204e
fld dword [edi + 0x44]
push ecx
lea ecx, [esp + 0xbc]
fstp dword [esp]
push ecx
call fcn.100789e0
mov eax, dword [esi - 0x14]
xor ebp, ebp
add esp, 8
cmp dword [esi], ebp
jle 0x1008204e
lea edi, [eax + 6]
cmp dword [edi + 6], 0
je 0x10082044
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.10078a50
add esp, 0x1c
add ebp, 1
add edi, 0x10
cmp ebp, dword [esi]
jl 0x10082013
mov dword [esi - 0x14], 0
add dword [esp + 0x24], 0x74
add esi, 0xc4
sub dword [esp + 0x1c], 1
jne 0x10081fb0
xor edi, edi
lea esi, [esp + 0x88]
call fcn.10075150
mov eax, dword [esp + 0x74]
cmp eax, edi
je 0x10082096
push eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], edi
call fcn.1003f360
add esp, 4
mov dword [esp + 0x74], edi
mov eax, dword [esp + 0x34]
cmp eax, edi
jle 0x100823e9
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 0x100823cd
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.10073300
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.100732b0
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 0x1008213b
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.101185e0
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 0x1008218b
mov dword [esp + 0x1c], 0xffffffff
fmulp st(1)
fiadd dword [esp + 0x1c]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.101185e0
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.1007e760
fld dword [ebp + 0x28]
fstp dword [esp + 0x30]
add esp, 0x14
fld dword [esi + 0x48]
fld qword [0x101a4158]
fadd st(1), st(0)
fxch st(1)
call fcn.101185e0
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 0x100823c7
fldz
mov dword [esp + 0x24], esi
fstp dword [esp + 0xb4]
jmp 0x10082226
fld qword [0x101a4158]
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 0x1008226c
fstp dword [esp + 0x20]
jmp 0x10082287
fstp st(0)
fld dword [esp + 0x78]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x10082281
fstp dword [esp + 0x20]
jmp 0x10082287
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 0x100822c9
cmp byte [ebp + 0x1c], 0
fsubrp st(2)
fxch st(1)
fmulp st(2)
fxch st(1)
je 0x100822bb
call fcn.101185e0
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp dword [esp + 0x38]
fadd dword [esp + 0x38]
fstp dword [esp + 0x38]
jmp 0x100822d1
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.10075680
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.1007ec10
mov eax, dword [esp + 0x18]
add dword [esp + 0x24], 0x1c
add esi, 1
cmp esi, dword [eax]
jl 0x10082220
jmp 0x100823c9
fstp st(0)
mov ebx, dword [esp + 0x30]
add dword [esp + 0x18], 0xc4
add dword [esp + 0x2c], 0x74
sub dword [esp + 0x40], 1
jne 0x100820c0
mov eax, dword [esp + 0x34]
test eax, eax
mov ebp, dword [esp + 0x58]
jle 0x1008243f
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 0x1008241d
push eax
call fcn.1003f360
add esp, 4
mov eax, dword [esi]
test eax, eax
mov byte [esp + 0x1c4], 3
je 0x10082434
push eax
call fcn.1003f360
add esp, 4
add esi, 0xc4
sub edi, 1
jne 0x100823fb
push ebx
call fcn.10081320
mov eax, dword [esp + 0x88]
add esp, 4
test eax, eax
mov byte [esp + 0x1c4], 2
je 0x10082464
push eax
call fcn.1003f360
add esp, 4
mov eax, dword [esp + 0x74]
test eax, eax
mov byte [esp + 0x1c4], 1
je 0x1008247d
push eax
call fcn.1003f360
add esp, 4
mov eax, dword [esp + 0x64]
test eax, eax
mov byte [esp + 0x1c4], 0
je 0x10082496
push eax
call fcn.1003f360
add esp, 4
test ebp, ebp
mov dword [esp + 0x1c4], 0xffffffff
je 0x100824ae
push ebp
call fcn.1003f360
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.101172a0
add esp, 0x1b4
ret