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

Disassembly:
push 0xffffffffffffffff
push 0x10195f4d
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x101ddf78]
xor eax, esp
mov dword [esp + 0x1a4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ddf78]
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.1007a9e0
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.10074b50
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 0x1007d877
cmp ebx, 8
mov eax, 8
jl 0x1007d86d
mov eax, ebx
push eax
lea ecx, [esp + 0x54]
call fcn.10075f70
mov edi, dword [esi + 0x34]
cmp edi, ebp
mov dword [esp + 0x50], ebx
mov dword [esp + 0x1c], edi
jle 0x1007d89c
cmp edi, 8
mov eax, 8
jl 0x1007d892
mov eax, edi
push eax
lea ecx, [esp + 0x60]
call fcn.10075ff0
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.10114870
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.10114870
add esp, 0x18
cmp dword [esi + 0x4c], ebp
mov dword [esp + 0x24], ebp
jle 0x1007d9e8
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 0x1007d927
cmp dword [edx], 0xffffffff
jne 0x1007d927
mov esi, dword [ecx + 0x3c]
mov ebx, dword [edi + 0x70]
cmp ebx, dword [esi + eax*4]
jne 0x1007d91f
mov dword [edx], eax
add eax, 1
cmp eax, dword [ecx + 0x34]
jl 0x1007d90d
or esi, 0xffffffff
cmp dword [ebp + 0xa0], esi
je 0x1007da57
mov esi, dword [edi]
mov ebx, dword [edi + 0xc]
call fcn.10071a90
mov ecx, esi
mov edx, ebp
call fcn.10071aa0
test eax, eax
je 0x1007da8f
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 0x1007d96c
mov eax, edi
jmp 0x1007d975
mov ecx, dword [esp + 0x30]
call fcn.10074d60
mov dword [ebp + 0x9c], eax
cmp word [eax], 0
je 0x1007d9a8
movzx ecx, word [eax + 2]
test cx, cx
je 0x1007d9a8
mov edx, dword [ebp + 0xa4]
movzx ecx, cx
cmp edx, ecx
jl 0x1007d999
mov ecx, edx
add eax, 4
mov dword [ebp + 0xa4], ecx
cmp word [eax], 0
jne 0x1007d981
add dword [esi], 1
mov ebp, dword [ebp + 0xa4]
mov eax, dword [esi + 4]
cmp eax, ebp
jge 0x1007d9ba
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 0x1007d8eb
mov ebx, dword [esp + 0x34]
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0x24], ebp
jle 0x1007dcc7
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 0x1007db19
test ecx, ecx
je 0x1007dab5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1007daba
mov eax, dword [esp + 0x64]
test eax, eax
mov byte [esp + 0x1c4], 0
je 0x1007da70
push eax
call fcn.1003b620
add esp, 4
mov dword [esp + 0x1c4], esi
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1007da88
push eax
call fcn.1003b620
add esp, 4
xor al, al
jmp 0x1007e770
mov eax, dword [esp + 0x64]
test eax, eax
mov byte [esp + 0x1c4], 0
je 0x1007daa8
push eax
call fcn.1003b620
add esp, 4
mov dword [esp + 0x1c4], 0xffffffff
jmp 0x1007da77
mov eax, 8
cmp eax, edi
jle 0x1007dac4
mov dword [esp + 0x20], eax
jmp 0x1007daca
mov eax, edi
mov dword [esp + 0x20], edi
cmp eax, ecx
jle 0x1007db19
mov ecx, dword [esp + 0x20]
lea edx, [ecx*4]
push edx
call fcn.1003b5f0
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 4]
add esp, 4
test eax, eax
je 0x1007db0c
mov ecx, dword [ebx - 4]
mov edx, dword [esp + 0x18]
add ecx, ecx
add ecx, ecx
push ecx
push eax
push edx
call fcn.10114cf0
mov eax, dword [ebx + 4]
push eax
call fcn.1003b620
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.10114870
add esp, 0xc
cmp dword [esi], 1
jle 0x1007dbe5
cmp dword [esi + 0xc], 0
jne 0x1007dbe5
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
add eax, 1
lea edi, [eax + 0x1f]
sar edi, 5
cmp edi, ecx
jle 0x1007dbcc
test ecx, ecx
je 0x1007db67
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1007db6c
mov eax, 8
cmp eax, edi
jle 0x1007db76
mov dword [esp + 0x20], eax
jmp 0x1007db7c
mov eax, edi
mov dword [esp + 0x20], edi
cmp eax, ecx
jle 0x1007dbcc
mov edx, dword [esp + 0x20]
lea eax, [edx*4]
push eax
call fcn.1003b5f0
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x14]
add esp, 4
test eax, eax
je 0x1007dbbe
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x18]
add ecx, ecx
add ecx, ecx
push ecx
push eax
push edx
call fcn.10114cf0
mov eax, dword [esi + 0x14]
push eax
call fcn.1003b620
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.10114870
add esp, 0xc
mov ecx, dword [ebx - 0x14]
movzx eax, word [ecx]
test ax, ax
mov dword [esp + 0x18], ecx
je 0x1007dcb1
jmp 0x1007dc04
mov ecx, dword [esp + 0x18]
movzx ecx, word [ecx + 2]
test cx, cx
je 0x1007dcb1
movzx edi, ax
movzx edx, cx
cmp edi, edx
jg 0x1007dc9a
nop
mov eax, dword [esp + 0x40]
cmp byte [eax + 0x3c], 0
je 0x1007dc43
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 0x1007dc8b
mov ecx, edi
mov eax, ebp
call fcn.1006d7a0
test eax, eax
je 0x1007dc8b
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 0x1007dc86
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 0x1007dc20
mov eax, dword [esp + 0x18]
add eax, 4
mov dword [esp + 0x18], eax
movzx eax, word [eax]
test ax, ax
jne 0x1007dc00
add dword [esp + 0x2c], 0x74
add ebx, 0xc4
sub dword [esp + 0x3c], 1
jne 0x1007da10
cmp dword [esp + 0x34], 0
jle 0x1007dd51
mov edi, dword [esp + 0x58]
mov ebp, dword [esp + 0x34]
add edi, 0xc0
mov ebx, dword [edi - 0x18]
cmp ebx, dword [edi - 4]
jle 0x1007dd1f
lea ecx, [ebx*4]
push ecx
call fcn.1003b5f0
mov esi, eax
mov eax, dword [edi]
add esp, 4
test eax, eax
je 0x1007dd1a
mov edx, dword [edi - 8]
add edx, edx
add edx, edx
push edx
push eax
push esi
call fcn.10114cf0
mov eax, dword [edi]
push eax
call fcn.1003b620
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.1007a870
mov eax, dword [edi - 0xc]
xor esi, esi
cmp eax, esi
je 0x1007dd46
push eax
mov dword [edi - 0x10], esi
mov dword [ebx], esi
call fcn.1003b620
add esp, 4
mov dword [edi - 0xc], esi
add edi, 0xc4
sub ebp, 1
jne 0x1007dce0
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x64]
xor ebx, ebx
cmp eax, ebx
jle 0x1007dd83
lea esi, [ebp + 0x14]
mov edi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x1007dd7b
push eax
mov dword [esi - 4], ebx
mov dword [esi - 8], ebx
call fcn.1003b620
add esp, 4
mov dword [esi], ebx
add esi, 0x18
sub edi, 1
jne 0x1007dd64
cmp ebp, ebx
je 0x1007dd9c
push ebp
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
call fcn.1003b620
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 0x1007ddf0
cmp esi, 8
mov edi, 8
jl 0x1007ddd8
mov edi, esi
mov ecx, edi
shl ecx, 4
push ecx
call fcn.1003b5f0
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 0x1007de28
cmp esi, 8
mov edi, 8
jl 0x1007de04
mov edi, esi
lea edx, [edi*8]
sub edx, edi
add edx, edx
add edx, edx
push edx
call fcn.1003b5f0
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.10114870
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.10114870
add esp, 0x18
cmp dword [esp + 0x34], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
jle 0x1007e03b
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], 0
add esi, 0xa8
mov dword [esp + 0x1c], eax
jmp 0x1007de90
mov eax, dword [esi]
test eax, eax
je 0x1007e025
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 0x1007df26
fstp dword [esp]
call fcn.1006f5c0
jmp 0x1007df30
fchs
fstp dword [esp]
call fcn.1006f600
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 0x1007e025
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.1006d7a0
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.10076430
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 0x1007df50
add dword [esp + 0x20], 0x74
add esi, 0xc4
sub dword [esp + 0x1c], 1
jne 0x1007de90
fild dword [esp + 0x18]
call fcn.101144a0
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
call fcn.10114560
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 0x1007e0bd
fild dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [0x101a7a28]
fld dword [esp + 0x28]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x1007e08e
fstp st(0)
mov eax, 0x1000
jmp 0x1007e0bd
fld dword [0x101a7a24]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x1007e0a6
fstp st(0)
mov eax, 0x800
jmp 0x1007e0bd
fcomp dword [str.333D33]
fnstsw ax
test ah, 1
mov eax, 0x400
je 0x1007e0bd
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.10071340
mov ebp, dword [esp + 0xa4]
push ebp
push ebx
call fcn.1007aa70
mov eax, dword [esp + 0x54]
add esp, 0x20
cmp eax, edi
jle 0x1007e1a9
mov esi, dword [esp + 0x58]
add esi, 0xa8
mov dword [esp + 0x1c], eax
jmp 0x1007e150
mov eax, dword [esi]
test eax, eax
je 0x1007e19a
mov ecx, dword [esi - 0x14]
push ecx
push ebp
call fcn.1006cbd0
xor edi, edi
add esp, 8
cmp dword [esi], edi
jle 0x1007e19a
xor edx, edx
mov eax, dword [esi - 0x14]
cmp dword [edx + eax + 0xc], 0
je 0x1007e190
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 0x1007e18d
mov eax, ecx
mov dword [ebx + 0x20], eax
add edi, 1
add edx, 0x10
cmp edi, dword [esi]
jl 0x1007e16b
add esi, 0xc4
sub dword [esp + 0x1c], 1
jne 0x1007e150
xor edi, edi
test byte [ebx + 4], 1
mov eax, dword [ebx + 0x20]
jne 0x1007e1d7
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.1003b5f0
mov ecx, dword [ebx + 0x20]
imul ecx, dword [ebx + 0x1c]
push ecx
push edi
push eax
mov dword [ebx + 0x14], eax
call fcn.10114870
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 0x1007e32d
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 0x1007e315
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.100766b0
fld1
fcomp dword [edi + 0x44]
add esp, 0x10
fnstsw ax
test ah, 0x44
jnp 0x1007e30e
fld dword [edi + 0x44]
push ecx
lea ecx, [esp + 0xbc]
fstp dword [esp]
push ecx
call fcn.10074ca0
mov eax, dword [esi - 0x14]
xor ebp, ebp
add esp, 8
cmp dword [esi], ebp
jle 0x1007e30e
lea edi, [eax + 6]
cmp dword [edi + 6], 0
je 0x1007e304
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.10074d10
add esp, 0x1c
add ebp, 1
add edi, 0x10
cmp ebp, dword [esi]
jl 0x1007e2d3
mov dword [esi - 0x14], 0
add dword [esp + 0x24], 0x74
add esi, 0xc4
sub dword [esp + 0x1c], 1
jne 0x1007e270
xor edi, edi
lea esi, [esp + 0x88]
call fcn.10071410
mov eax, dword [esp + 0x74]
cmp eax, edi
je 0x1007e356
push eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], edi
call fcn.1003b620
add esp, 4
mov dword [esp + 0x74], edi
mov eax, dword [esp + 0x34]
cmp eax, edi
jle 0x1007e6a9
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 0x1007e68d
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.1006f5c0
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.1006f570
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 0x1007e3fb
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.10114560
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 0x1007e44b
mov dword [esp + 0x1c], 0xffffffff
fmulp st(1)
fiadd dword [esp + 0x1c]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.10114560
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.1007aa20
fld dword [ebp + 0x28]
fstp dword [esp + 0x30]
add esp, 0x14
fld dword [esi + 0x48]
fld qword [0x1019e130]
fadd st(1), st(0)
fxch st(1)
call fcn.10114560
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 0x1007e687
fldz
mov dword [esp + 0x24], esi
fstp dword [esp + 0xb4]
jmp 0x1007e4e6
fld qword [0x1019e130]
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 0x1007e52c
fstp dword [esp + 0x20]
jmp 0x1007e547
fstp st(0)
fld dword [esp + 0x78]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x1007e541
fstp dword [esp + 0x20]
jmp 0x1007e547
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 0x1007e589
cmp byte [ebp + 0x1c], 0
fsubrp st(2)
fxch st(1)
fmulp st(2)
fxch st(1)
je 0x1007e57b
call fcn.10114560
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp dword [esp + 0x38]
fadd dword [esp + 0x38]
fstp dword [esp + 0x38]
jmp 0x1007e591
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.10071940
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.1007aed0
mov eax, dword [esp + 0x18]
add dword [esp + 0x24], 0x1c
add esi, 1
cmp esi, dword [eax]
jl 0x1007e4e0
jmp 0x1007e689
fstp st(0)
mov ebx, dword [esp + 0x30]
add dword [esp + 0x18], 0xc4
add dword [esp + 0x2c], 0x74
sub dword [esp + 0x40], 1
jne 0x1007e380
mov eax, dword [esp + 0x34]
test eax, eax
mov ebp, dword [esp + 0x58]
jle 0x1007e6ff
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 0x1007e6dd
push eax
call fcn.1003b620
add esp, 4
mov eax, dword [esi]
test eax, eax
mov byte [esp + 0x1c4], 3
je 0x1007e6f4
push eax
call fcn.1003b620
add esp, 4
add esi, 0xc4
sub edi, 1
jne 0x1007e6bb
push ebx
call fcn.1007d5e0
mov eax, dword [esp + 0x88]
add esp, 4
test eax, eax
mov byte [esp + 0x1c4], 2
je 0x1007e724
push eax
call fcn.1003b620
add esp, 4
mov eax, dword [esp + 0x74]
test eax, eax
mov byte [esp + 0x1c4], 1
je 0x1007e73d
push eax
call fcn.1003b620
add esp, 4
mov eax, dword [esp + 0x64]
test eax, eax
mov byte [esp + 0x1c4], 0
je 0x1007e756
push eax
call fcn.1003b620
add esp, 4
test ebp, ebp
mov dword [esp + 0x1c4], 0xffffffff
je 0x1007e76e
push ebp
call fcn.1003b620
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.101139c9
add esp, 0x1b4
ret