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

Disassembly:
push 0xffffffffffffffff
push 0x10164e1e
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b7324]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
fld qword [0x1016b9a0]
mov eax, dword [esp + 0x120]
fld qword [esp + 0x114]
mov ecx, dword [esp + 0x124]
mov ebx, dword [esp + 0xfc]
fcom st(1)
mov edi, dword [esp + 0x110]
mov dword [ecx], 0xffffffff
mov dword [esp + 0x48], eax
mov dword [eax], 0xffffffff
fnstsw ax
xor ebp, ebp
fstp st(1)
test ah, 5
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x3c], ebp
jnp 0x1007fd7b
fld1
fcompp
fnstsw ax
test ah, 5
jnp 0x1007fd7d
mov esi, dword [esp + 0x11c]
cmp esi, 8
ja 0x1007fd7d
push 0x1016b98c
push edi
call fcn.10102370
add esp, 8
test eax, eax
je 0x1007e918
mov al, 0xd2
mov byte [esp + 0xc6], al
mov byte [esp + 0xca], al
mov al, 0xd6
mov byte [esp + 0xd3], al
mov byte [esp + 0xd6], al
lea eax, [esp + 0xc4]
mov dl, 0xc9
mov cl, 0xab
push eax
push ebx
mov byte [esp + 0xcc], 0xd7
mov byte [esp + 0xcd], 0xa2
mov byte [esp + 0xcf], 0xe2
mov byte [esp + 0xd0], 0x2c
mov byte [esp + 0xd1], 0xd5
mov byte [esp + 0xd3], dl
mov byte [esp + 0xd4], cl
mov byte [esp + 0xd5], 0xbd
mov byte [esp + 0xd6], 0xd3
mov byte [esp + 0xd7], 0xbf
mov byte [esp + 0xd8], 0xda
mov byte [esp + 0xd9], 0xb2
mov byte [esp + 0xda], 0xbb
mov byte [esp + 0xdc], 0xa7
mov byte [esp + 0xdd], 0xb3
mov byte [esp + 0xdf], 0x48
mov byte [esp + 0xe0], 0x53
mov byte [esp + 0xe1], 0x56
mov byte [esp + 0xe2], 0xd1
mov byte [esp + 0xe3], 0xd5
mov byte [esp + 0xe4], dl
mov byte [esp + 0xe5], cl
mov byte [esp + 0xe6], 0x21
mov byte [esp + 0xe7], 0
call fcn.1003e940
add esp, 8
jmp 0x1007fd7d
cmp esi, 4
jne 0x1007eacc
fld qword [esp + 0x114]
mov ecx, dword [esp + 0x10c]
mov esi, dword [esp + 0x108]
mov edx, dword [esp + 0x104]
push ebp
sub esp, 8
fstp qword [esp]
push edi
mov edi, dword [esp + 0x110]
push ecx
push esi
push edx
push edi
lea eax, [esp + 0xe4]
push ebx
push eax
call fcn.10079ac0
add esp, 0x28
mov dword [esp + 0xf4], ebp
cmp dword [esp + 0xd8], ebp
jne 0x1007e98d
mov dword [esp + 0xf4], 0xffffffff
lea ecx, [esp + 0xc4]
call fcn.10006120
jmp 0x1007fd7d
cmp dword [esp + 0xdc], 0x10
mov eax, dword [esp + 0xc8]
jae 0x1007e9a5
lea eax, [esp + 0xc8]
push eax
push ebx
call fcn.100432a0
fld qword [0x1016bab0]
mov ecx, eax
fstp qword [esp + 0xe8]
mov eax, esi
sub eax, edi
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x114]
sub eax, dword [esp + 0x10c]
sar esi, 1
cdq
add esi, edi
sub eax, edx
mov edi, eax
sar edi, 1
add edi, dword [esp + 0x10c]
add esp, 8
cmp ecx, ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], ebp
jle 0x1007ea7a
jmp 0x1007ea00
cmp dword [esp + 0xdc], 0x10
mov eax, dword [esp + 0xc8]
jae 0x1007ea18
lea eax, [esp + 0xc8]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
push ebp
push eax
push ebx
call fcn.10043370
mov ecx, edi
sub ecx, dword [esp + 0x38]
mov eax, esi
sub eax, dword [esp + 0x34]
mov edx, ecx
imul edx, ecx
mov ecx, eax
imul ecx, eax
add edx, ecx
mov dword [esp + 0x54], edx
add esp, 0x14
fild dword [esp + 0x40]
call fcn.10104250
fld qword [esp + 0xe0]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x1007ea6f
fstp qword [esp + 0xe0]
mov dword [esp + 0x3c], ebp
jmp 0x1007ea71
fstp st(0)
add ebp, 1
cmp ebp, dword [esp + 0x1c]
jl 0x1007ea00
cmp dword [esp + 0xdc], 0x10
mov eax, dword [esp + 0xc8]
jae 0x1007ea92
lea eax, [esp + 0xc8]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x40]
push ecx
push edx
push eax
push ebx
call fcn.10043370
add esp, 0x14
mov dword [esp + 0xf4], 0xffffffff
lea ecx, [esp + 0xc4]
call fcn.10006120
mov eax, 1
jmp 0x1007fd7f
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x118]
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x118]
lea ecx, [esp + 0xac]
push ecx
mov ecx, dword [esp + 0x118]
push edx
mov edx, dword [esp + 0x118]
push eax
push ecx
push edx
push ebx
mov dword [esp + 0x6c], ebp
call fcn.10044740
add esp, 0x28
test eax, eax
je 0x1007fd7d
fld1
mov dword [esp + 0x80], ebp
fsub qword [esp + 0x114]
mov dword [esp + 0x84], ebp
fnstcw word [esp + 0x14]
mov dword [esp + 0x88], ebp
movzx eax, word [esp + 0x14]
fmul qword [0x1016b950]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0xe0]
mov ebx, dword [esp + 0xe0]
fldcw word [esp + 0x14]
mov eax, 1
mov dword [esp + 0xf4], eax
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ebp
mov byte [esp + 0xf4], 2
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov byte [esp + 0xf4], 3
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov byte [esp + 0xf4], 4
cmp edi, ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x40], eax
je 0x1007ecff
cmp byte [edi], 0x40
jne 0x1007ebd9
add edi, eax
mov dword [esp + 0x40], 0
test edi, edi
je 0x1007ecff
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov byte [esp + 0xe5], al
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0xe8]
push edx
push edi
mov byte [esp + 0xf0], 0x25
mov byte [esp + 0xf1], 0x78
mov byte [esp + 0xf2], 0x2d
mov byte [esp + 0xf3], 0x25
mov byte [esp + 0xf4], 0x78
call fcn.10101de5
add esp, 0x10
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x80]
call fcn.10020870
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x90]
call fcn.10020870
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x70]
call fcn.10020870
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x60]
call fcn.10020870
movzx esi, byte [esp + 0x1e]
push ebp
lea ecx, [esp + 0x90]
add esi, ebx
call fcn.100550c0
mov dword [eax], esi
movzx esi, byte [esp + 0x1d]
push ebp
lea ecx, [esp + 0x70]
add esi, ebx
call fcn.100550c0
mov dword [eax], esi
mov esi, dword [esp + 0x1c]
and esi, 0xff
push ebp
lea ecx, [esp + 0x60]
add esi, ebx
call fcn.100550c0
push ebp
lea ecx, [esp + 0x80]
mov dword [eax], esi
call fcn.100550c0
mov ecx, dword [esp + 0x28]
push 0x1016b5b4
push edi
mov dword [eax], ecx
call fcn.10102370
mov edi, eax
add esp, 8
test edi, edi
je 0x1007ecf0
add edi, 1
add ebp, 1
test edi, edi
jne 0x1007ebf3
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x11c]
test eax, eax
jne 0x1007ef60
cmp dword [esp + 0xa4], eax
mov dword [esp + 0x14], eax
jle 0x1007fcb3
mov ecx, dword [esp + 0xa0]
mov edx, eax
xor eax, eax
test ecx, ecx
mov dword [esp + 0x18], eax
jle 0x1007ef22
mov ecx, edx
imul ecx, dword [esp + 0x58]
add ecx, dword [esp + 0x44]
xor edi, edi
cmp dword [esp + 0x28], edi
lea ecx, [ecx + eax*4]
mov dword [esp + 0x2c], ecx
mov byte [ecx + 3], 0
mov dword [esp + 0x1c], edi
jle 0x1007ef0c
jmp 0x1007ed64
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x1007ed79
mov eax, dword [esp + 0x64]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007ed82
call fcn.10101815
mov ecx, dword [esp + 0x60]
lea ebp, [ecx + edi*4]
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x1007ed9a
mov eax, dword [esp + 0x74]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007ed9f
call fcn.10101815
mov ecx, dword [esp + 0x90]
test ecx, ecx
mov edx, dword [esp + 0x70]
lea ebx, [edx + edi*4]
je 0x1007edc1
mov eax, dword [esp + 0x94]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007edc6
call fcn.10101815
mov ecx, dword [esp + 0x80]
test ecx, ecx
mov eax, dword [esp + 0x90]
lea esi, [eax + edi*4]
je 0x1007edeb
mov eax, dword [esp + 0x84]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007edf0
call fcn.10101815
mov ecx, dword [ebp]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov edi, dword [esi]
mov edx, dword [esp + 0x1c]
mov ebp, dword [ebx]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x80]
mov ecx, dword [ecx + edx*4]
movzx ebx, ah
movzx esi, ch
mov edx, ecx
shr edx, 0x10
and edx, 0xff
mov dword [esp + 0x24], esi
mov esi, eax
and eax, 0xff
mov dword [esp + 0xe0], eax
shr esi, 0x10
and ecx, 0xff
mov dword [esp + 0x34], ebx
and esi, 0xff
mov ebx, edx
sub ebx, edi
mov eax, 0
sets al
sub eax, 1
and eax, ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x30], eax
sub ebx, ebp
mov eax, 0
sets al
sub eax, 1
and eax, ebx
mov dword [esp + 0x38], eax
mov ebx, ecx
sub ebx, dword [esp + 0x20]
mov eax, 0
sets al
add edx, edi
sub eax, 1
and eax, ebx
cmp edx, 0xff
jle 0x1007ee93
mov edx, 0xff
mov edi, dword [esp + 0x24]
add ebp, edi
cmp ebp, 0xff
jle 0x1007eea6
mov ebp, 0xff
mov edi, dword [esp + 0x20]
add ecx, edi
cmp ecx, 0xff
jle 0x1007eeb9
mov ecx, 0xff
cmp esi, dword [esp + 0x30]
jl 0x1007eee7
cmp esi, edx
jg 0x1007eee7
mov edx, dword [esp + 0x34]
cmp edx, dword [esp + 0x38]
jl 0x1007eee7
cmp edx, ebp
jg 0x1007eee7
mov edx, dword [esp + 0xe0]
cmp edx, eax
jl 0x1007eee7
cmp edx, ecx
jg 0x1007eee7
mov eax, 1
jmp 0x1007eee9
xor eax, eax
cmp dword [esp + 0x40], eax
je 0x1007ef3b
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jl 0x1007ed60
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xa0]
add eax, 1
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x1007ed36
add edx, 1
cmp edx, dword [esp + 0xa4]
mov dword [esp + 0x14], edx
jl 0x1007ed28
jmp 0x1007fcb3
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
add edx, ecx
mov ecx, dword [esp + 0x54]
mov dword [eax], edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
add edx, ecx
mov dword [eax], edx
jmp 0x1007fcab
cmp eax, 1
jne 0x1007f195
mov edx, dword [esp + 0xa4]
add edx, 0xffffffff
mov dword [esp + 0x14], edx
js 0x1007fcb3
mov ecx, dword [esp + 0xa0]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x18], eax
jle 0x1007f183
mov ecx, edx
imul ecx, dword [esp + 0x58]
add ecx, dword [esp + 0x44]
xor edi, edi
cmp dword [esp + 0x28], edi
lea ecx, [ecx + eax*4]
mov dword [esp + 0xe0], ecx
mov byte [ecx + 3], 0
mov dword [esp + 0x1c], edi
jle 0x1007f16d
jmp 0x1007efc4
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x1007efd9
mov eax, dword [esp + 0x64]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007efe2
call fcn.10101815
mov ecx, dword [esp + 0x60]
lea ebp, [ecx + edi*4]
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x1007effa
mov eax, dword [esp + 0x74]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007efff
call fcn.10101815
mov ecx, dword [esp + 0x90]
test ecx, ecx
mov edx, dword [esp + 0x70]
lea ebx, [edx + edi*4]
je 0x1007f021
mov eax, dword [esp + 0x94]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007f026
call fcn.10101815
mov ecx, dword [esp + 0x80]
test ecx, ecx
mov eax, dword [esp + 0x90]
lea esi, [eax + edi*4]
je 0x1007f04b
mov eax, dword [esp + 0x84]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007f050
call fcn.10101815
mov ecx, dword [ebp]
mov edx, dword [esp + 0xe0]
mov eax, dword [edx]
mov edi, dword [esi]
mov edx, dword [esp + 0x1c]
mov ebp, dword [ebx]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x80]
mov ecx, dword [ecx + edx*4]
movzx ebx, ah
movzx esi, ch
mov edx, ecx
shr edx, 0x10
and edx, 0xff
mov dword [esp + 0x20], esi
mov esi, eax
and eax, 0xff
mov dword [esp + 0x2c], eax
shr esi, 0x10
and ecx, 0xff
mov dword [esp + 0x34], ebx
and esi, 0xff
mov ebx, edx
sub ebx, edi
mov eax, 0
sets al
sub eax, 1
and eax, ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x38], eax
sub ebx, ebp
mov eax, 0
sets al
sub eax, 1
and eax, ebx
mov dword [esp + 0x30], eax
mov ebx, ecx
sub ebx, dword [esp + 0x24]
mov eax, 0
sets al
add edx, edi
sub eax, 1
and eax, ebx
cmp edx, 0xff
jle 0x1007f0f3
mov edx, 0xff
mov edi, dword [esp + 0x20]
add ebp, edi
cmp ebp, 0xff
jle 0x1007f106
mov ebp, 0xff
mov edi, dword [esp + 0x24]
add ecx, edi
cmp ecx, 0xff
jle 0x1007f119
mov ecx, 0xff
cmp esi, dword [esp + 0x38]
jl 0x1007f144
cmp esi, edx
jg 0x1007f144
mov edx, dword [esp + 0x34]
cmp edx, dword [esp + 0x30]
jl 0x1007f144
cmp edx, ebp
jg 0x1007f144
mov edx, dword [esp + 0x2c]
cmp edx, eax
jl 0x1007f144
cmp edx, ecx
jg 0x1007f144
mov eax, 1
jmp 0x1007f146
xor eax, eax
cmp dword [esp + 0x40], eax
je 0x1007ef3b
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jl 0x1007efc0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xa0]
add eax, 1
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x1007ef92
sub edx, 1
mov dword [esp + 0x14], edx
jns 0x1007ef84
jmp 0x1007fcb3
cmp eax, 2
jne 0x1007f3c3
xor edx, edx
cmp dword [esp + 0xa4], edx
mov dword [esp + 0x14], edx
jle 0x1007fcb3
mov ecx, dword [esp + 0xa0]
add ecx, 0xffffffff
mov dword [esp + 0x18], ecx
js 0x1007f3aa
mov eax, edx
imul eax, dword [esp + 0x58]
add eax, dword [esp + 0x44]
xor edi, edi
cmp dword [esp + 0x28], edi
lea eax, [eax + ecx*4]
mov dword [esp + 0xe0], eax
mov byte [eax + 3], 0
mov dword [esp + 0x1c], edi
jle 0x1007f39d
jmp 0x1007f1f4
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x1007f209
mov eax, dword [esp + 0x64]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007f212
call fcn.10101815
mov ecx, dword [esp + 0x60]
lea ebp, [ecx + edi*4]
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x1007f22a
mov eax, dword [esp + 0x74]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007f22f
call fcn.10101815
mov ecx, dword [esp + 0x70]
lea ebx, [ecx + edi*4]
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x1007f251
mov eax, dword [esp + 0x94]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007f256
call fcn.10101815
mov ecx, dword [esp + 0x80]
test ecx, ecx
mov edx, dword [esp + 0x90]
lea esi, [edx + edi*4]
je 0x1007f27b
mov eax, dword [esp + 0x84]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007f280
call fcn.10101815
mov eax, dword [ebp]
mov ecx, dword [esp + 0xe0]
mov edi, dword [esi]
mov edx, dword [esp + 0x80]
mov ebp, dword [ebx]
mov dword [esp + 0x24], eax
mov eax, dword [ecx]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [edx + ecx*4]
movzx ebx, ah
movzx esi, ch
mov edx, ecx
shr edx, 0x10
and edx, 0xff
mov dword [esp + 0x20], esi
mov esi, eax
and eax, 0xff
mov dword [esp + 0x2c], eax
shr esi, 0x10
and ecx, 0xff
mov dword [esp + 0x34], ebx
and esi, 0xff
mov ebx, edx
sub ebx, edi
mov eax, 0
sets al
sub eax, 1
and eax, ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x38], eax
sub ebx, ebp
mov eax, 0
sets al
sub eax, 1
and eax, ebx
mov dword [esp + 0x30], eax
mov ebx, ecx
sub ebx, dword [esp + 0x24]
mov eax, 0
sets al
add edx, edi
sub eax, 1
and eax, ebx
cmp edx, 0xff
jle 0x1007f323
mov edx, 0xff
mov edi, dword [esp + 0x20]
add ebp, edi
cmp ebp, 0xff
jle 0x1007f336
mov ebp, 0xff
mov edi, dword [esp + 0x24]
add ecx, edi
cmp ecx, 0xff
jle 0x1007f349
mov ecx, 0xff
cmp esi, dword [esp + 0x38]
jl 0x1007f374
cmp esi, edx
jg 0x1007f374
mov edx, dword [esp + 0x34]
cmp edx, dword [esp + 0x30]
jl 0x1007f374
cmp edx, ebp
jg 0x1007f374
mov edx, dword [esp + 0x2c]
cmp edx, eax
jl 0x1007f374
cmp edx, ecx
jg 0x1007f374
mov eax, 1
jmp 0x1007f376
xor eax, eax
cmp dword [esp + 0x40], eax
je 0x1007ef3b
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jl 0x1007f1f0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub ecx, 1
mov dword [esp + 0x18], ecx
jns 0x1007f1c5
add edx, 1
cmp edx, dword [esp + 0xa4]
mov dword [esp + 0x14], edx
jl 0x1007f1b1
jmp 0x1007fcb3
cmp eax, 3
jne 0x1007f572
mov edx, dword [esp + 0xa4]
add edx, 0xffffffff
mov dword [esp + 0x14], edx
js 0x1007fcb3
mov ecx, dword [esp + 0xa0]
add ecx, 0xffffffff
mov dword [esp + 0x18], ecx
js 0x1007f560
mov eax, edx
imul eax, dword [esp + 0x58]
add eax, dword [esp + 0x44]
xor esi, esi
cmp dword [esp + 0x28], esi
lea eax, [eax + ecx*4]
mov dword [esp + 0xe0], eax
mov byte [eax + 3], 0
jle 0x1007f553
lea esp, [esp]
push esi
lea ecx, [esp + 0x60]
call fcn.100550c0
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
push esi
lea ecx, [esp + 0x70]
call fcn.100550c0
mov ebp, dword [eax]
push esi
lea ecx, [esp + 0x90]
call fcn.100550c0
mov edx, dword [esp + 0xe0]
mov ebx, dword [edx]
mov edi, dword [eax]
push esi
lea ecx, [esp + 0x80]
mov dword [esp + 0x3c], ebx
call fcn.100550c0
mov eax, dword [eax]
movzx edx, ah
mov dword [esp + 0x20], edx
movzx edx, bh
and ebx, 0xff
mov dword [esp + 0x1c], ebx
mov ecx, eax
shr ecx, 0x10
and ecx, 0xff
mov dword [esp + 0x30], edx
and eax, 0xff
mov edx, ecx
sub edx, edi
mov ebx, 0
sets bl
sub ebx, 1
and ebx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], ebx
sub edx, ebp
mov ebx, 0
sets bl
sub ebx, 1
and ebx, edx
mov dword [esp + 0x2c], ebx
mov edx, eax
sub edx, dword [esp + 0x24]
mov ebx, 0
sets bl
add ecx, edi
sub ebx, 1
and edx, ebx
cmp ecx, 0xff
jle 0x1007f4dd
mov ecx, 0xff
mov edi, dword [esp + 0x20]
add ebp, edi
cmp ebp, 0xff
jle 0x1007f4f0
mov ebp, 0xff
mov edi, dword [esp + 0x24]
add eax, edi
cmp eax, 0xff
jle 0x1007f502
mov eax, 0xff
movzx edi, byte [esp + 0x3a]
cmp edi, dword [esp + 0x34]
jl 0x1007f532
cmp edi, ecx
jg 0x1007f532
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x2c]
jl 0x1007f532
cmp ecx, ebp
jg 0x1007f532
mov ecx, dword [esp + 0x1c]
cmp ecx, edx
jl 0x1007f532
cmp ecx, eax
jg 0x1007f532
mov eax, 1
jmp 0x1007f534
xor eax, eax
cmp dword [esp + 0x40], eax
je 0x1007fc8b
add esi, 1
cmp esi, dword [esp + 0x28]
jl 0x1007f420
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
sub ecx, 1
mov dword [esp + 0x18], ecx
jns 0x1007f3f4
sub edx, 1
mov dword [esp + 0x14], edx
jns 0x1007f3e0
jmp 0x1007fcb3
cmp eax, 5
jne 0x1007f742
xor edi, edi
cmp dword [esp + 0xa0], edi
mov dword [esp + 0x18], edi
jle 0x1007fcb3
mov eax, dword [esp + 0xa4]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x14], ecx
jle 0x1007f729
jmp 0x1007f5b0
mov eax, ecx
imul eax, dword [esp + 0x58]
lea edx, [edi*4]
add eax, edx
add eax, dword [esp + 0x44]
xor esi, esi
cmp dword [esp + 0x28], esi
mov dword [esp + 0xe0], eax
mov byte [eax + 3], 0
jle 0x1007f713
jmp 0x1007f5e0
push esi
lea ecx, [esp + 0x60]
call fcn.100550c0
mov eax, dword [eax]
push esi
lea ecx, [esp + 0x70]
mov dword [esp + 0x28], eax
call fcn.100550c0
mov ebp, dword [eax]
push esi
lea ecx, [esp + 0x90]
call fcn.100550c0
mov ecx, dword [esp + 0xe0]
mov ebx, dword [ecx]
mov edi, dword [eax]
push esi
lea ecx, [esp + 0x80]
mov dword [esp + 0x3c], ebx
call fcn.100550c0
mov eax, dword [eax]
movzx edx, ah
mov dword [esp + 0x20], edx
movzx edx, bh
and ebx, 0xff
mov dword [esp + 0x1c], ebx
mov ecx, eax
shr ecx, 0x10
and ecx, 0xff
mov dword [esp + 0x30], edx
and eax, 0xff
mov edx, ecx
sub edx, edi
mov ebx, 0
sets bl
sub ebx, 1
and ebx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], ebx
sub edx, ebp
mov ebx, 0
sets bl
sub ebx, 1
and ebx, edx
mov dword [esp + 0x2c], ebx
mov edx, eax
sub edx, dword [esp + 0x24]
mov ebx, 0
sets bl
add ecx, edi
sub ebx, 1
and edx, ebx
cmp ecx, 0xff
jle 0x1007f69d
mov ecx, 0xff
mov edi, dword [esp + 0x20]
add ebp, edi
cmp ebp, 0xff
jle 0x1007f6b0
mov ebp, 0xff
mov edi, dword [esp + 0x24]
add eax, edi
cmp eax, 0xff
jle 0x1007f6c2
mov eax, 0xff
movzx edi, byte [esp + 0x3a]
cmp edi, dword [esp + 0x34]
jl 0x1007f6f2
cmp edi, ecx
jg 0x1007f6f2
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x2c]
jl 0x1007f6f2
cmp ecx, ebp
jg 0x1007f6f2
mov ecx, dword [esp + 0x1c]
cmp ecx, edx
jl 0x1007f6f2
cmp ecx, eax
jg 0x1007f6f2
mov eax, 1
jmp 0x1007f6f4
xor eax, eax
cmp dword [esp + 0x40], eax
je 0x1007fc8b
add esi, 1
cmp esi, dword [esp + 0x28]
jl 0x1007f5e0
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xa4]
add ecx, 1
cmp ecx, eax
mov dword [esp + 0x14], ecx
jl 0x1007f5b0
add edi, 1
cmp edi, dword [esp + 0xa0]
mov dword [esp + 0x18], edi
jl 0x1007f595
jmp 0x1007fcb3
cmp eax, 6
jne 0x1007f8fb
mov edi, dword [esp + 0xa0]
add edi, 0xffffffff
mov dword [esp + 0x18], edi
js 0x1007fcb3
mov eax, dword [esp + 0xa4]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x14], ecx
jle 0x1007f8e9
mov eax, ecx
imul eax, dword [esp + 0x58]
lea edx, [edi*4]
add eax, edx
add eax, dword [esp + 0x44]
xor esi, esi
cmp dword [esp + 0x28], esi
mov dword [esp + 0xe0], eax
mov byte [eax + 3], 0
jle 0x1007f8d3
nop
push esi
lea ecx, [esp + 0x60]
call fcn.100550c0
mov eax, dword [eax]
push esi
lea ecx, [esp + 0x70]
mov dword [esp + 0x28], eax
call fcn.100550c0
mov ebp, dword [eax]
push esi
lea ecx, [esp + 0x90]
call fcn.100550c0
mov ecx, dword [esp + 0xe0]
mov ebx, dword [ecx]
mov edi, dword [eax]
push esi
lea ecx, [esp + 0x80]
mov dword [esp + 0x3c], ebx
call fcn.100550c0
mov eax, dword [eax]
movzx edx, ah
mov dword [esp + 0x20], edx
movzx edx, bh
and ebx, 0xff
mov dword [esp + 0x1c], ebx
mov ecx, eax
shr ecx, 0x10
and ecx, 0xff
mov dword [esp + 0x30], edx
and eax, 0xff
mov edx, ecx
sub edx, edi
mov ebx, 0
sets bl
sub ebx, 1
and ebx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], ebx
sub edx, ebp
mov ebx, 0
sets bl
sub ebx, 1
and ebx, edx
mov dword [esp + 0x2c], ebx
mov edx, eax
sub edx, dword [esp + 0x24]
mov ebx, 0
sets bl
add ecx, edi
sub ebx, 1
and edx, ebx
cmp ecx, 0xff
jle 0x1007f85d
mov ecx, 0xff
mov edi, dword [esp + 0x20]
add ebp, edi
cmp ebp, 0xff
jle 0x1007f870
mov ebp, 0xff
mov edi, dword [esp + 0x24]
add eax, edi
cmp eax, 0xff
jle 0x1007f882
mov eax, 0xff
movzx edi, byte [esp + 0x3a]
cmp edi, dword [esp + 0x34]
jl 0x1007f8b2
cmp edi, ecx
jg 0x1007f8b2
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x2c]
jl 0x1007f8b2
cmp ecx, ebp
jg 0x1007f8b2
mov ecx, dword [esp + 0x1c]
cmp ecx, edx
jl 0x1007f8b2
cmp ecx, eax
jg 0x1007f8b2
mov eax, 1
jmp 0x1007f8b4
xor eax, eax
cmp dword [esp + 0x40], eax
je 0x1007fc8b
add esi, 1
cmp esi, dword [esp + 0x28]
jl 0x1007f7a0
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xa4]
add ecx, 1
cmp ecx, eax
mov dword [esp + 0x14], ecx
jl 0x1007f774
sub edi, 1
mov dword [esp + 0x18], edi
jns 0x1007f766
jmp 0x1007fcb3
cmp eax, 7
jne 0x1007fac9
xor edi, edi
cmp dword [esp + 0xa0], edi
mov dword [esp + 0x18], edi
jle 0x1007fcb3
jmp 0x1007f920
mov edx, dword [esp + 0xa4]
add edx, 0xffffffff
mov dword [esp + 0x14], edx
js 0x1007fab0
jmp 0x1007f940
mov eax, edx
imul eax, dword [esp + 0x58]
lea ecx, [edi*4]
add eax, ecx
add eax, dword [esp + 0x44]
xor esi, esi
cmp dword [esp + 0x28], esi
mov dword [esp + 0xe0], eax
mov byte [eax + 3], 0
jle 0x1007faa3
jmp 0x1007f970
push esi
lea ecx, [esp + 0x60]
call fcn.100550c0
mov eax, dword [eax]
push esi
lea ecx, [esp + 0x70]
mov dword [esp + 0x28], eax
call fcn.100550c0
mov ebp, dword [eax]
push esi
lea ecx, [esp + 0x90]
call fcn.100550c0
mov ecx, dword [esp + 0xe0]
mov ebx, dword [ecx]
mov edi, dword [eax]
push esi
lea ecx, [esp + 0x80]
mov dword [esp + 0x3c], ebx
call fcn.100550c0
mov eax, dword [eax]
movzx edx, ah
mov dword [esp + 0x20], edx
movzx edx, bh
and ebx, 0xff
mov dword [esp + 0x1c], ebx
mov ecx, eax
shr ecx, 0x10
and ecx, 0xff
mov dword [esp + 0x30], edx
and eax, 0xff
mov edx, ecx
sub edx, edi
mov ebx, 0
sets bl
sub ebx, 1
and ebx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], ebx
sub edx, ebp
mov ebx, 0
sets bl
sub ebx, 1
and ebx, edx
mov dword [esp + 0x2c], ebx
mov edx, eax
sub edx, dword [esp + 0x24]
mov ebx, 0
sets bl
add ecx, edi
sub ebx, 1
and edx, ebx
cmp ecx, 0xff
jle 0x1007fa2d
mov ecx, 0xff
mov edi, dword [esp + 0x20]
add ebp, edi
cmp ebp, 0xff
jle 0x1007fa40
mov ebp, 0xff
mov edi, dword [esp + 0x24]
add eax, edi
cmp eax, 0xff
jle 0x1007fa52
mov eax, 0xff
movzx edi, byte [esp + 0x3a]
cmp edi, dword [esp + 0x34]
jl 0x1007fa82
cmp edi, ecx
jg 0x1007fa82
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x2c]
jl 0x1007fa82
cmp ecx, ebp
jg 0x1007fa82
mov ecx, dword [esp + 0x1c]
cmp ecx, edx
jl 0x1007fa82
cmp ecx, eax
jg 0x1007fa82
mov eax, 1
jmp 0x1007fa84
xor eax, eax
cmp dword [esp + 0x40], eax
je 0x1007fc8b
add esi, 1
cmp esi, dword [esp + 0x28]
jl 0x1007f970
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
sub edx, 1
mov dword [esp + 0x14], edx
jns 0x1007f940
add edi, 1
cmp edi, dword [esp + 0xa0]
mov dword [esp + 0x18], edi
jl 0x1007f920
jmp 0x1007fcb3
cmp eax, 8
jne 0x1007fcb3
mov edi, dword [esp + 0xa0]
add edi, 0xffffffff
mov dword [esp + 0x18], edi
js 0x1007fcb3
jmp 0x1007faf0
mov edx, dword [esp + 0xa4]
add edx, 0xffffffff
mov dword [esp + 0x14], edx
js 0x1007fc7c
jmp 0x1007fb10
mov eax, edx
imul eax, dword [esp + 0x58]
lea ecx, [edi*4]
add eax, ecx
add eax, dword [esp + 0x44]
xor esi, esi
cmp dword [esp + 0x28], esi
mov dword [esp + 0xe0], eax
mov byte [eax + 3], 0
jle 0x1007fc6f
jmp 0x1007fb40
push esi
lea ecx, [esp + 0x60]
call fcn.100550c0
mov eax, dword [eax]
push esi
lea ecx, [esp + 0x70]
mov dword [esp + 0x28], eax
call fcn.100550c0
mov ebp, dword [eax]
push esi
lea ecx, [esp + 0x90]
call fcn.100550c0
mov ecx, dword [esp + 0xe0]
mov ebx, dword [ecx]
mov edi, dword [eax]
push esi
lea ecx, [esp + 0x80]
mov dword [esp + 0x3c], ebx
call fcn.100550c0
mov eax, dword [eax]
movzx edx, ah
mov dword [esp + 0x20], edx
movzx edx, bh
and ebx, 0xff
mov dword [esp + 0x1c], ebx
mov ecx, eax
shr ecx, 0x10
and ecx, 0xff
mov dword [esp + 0x30], edx
and eax, 0xff
mov edx, ecx
sub edx, edi
mov ebx, 0
sets bl
sub ebx, 1
and ebx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], ebx
sub edx, ebp
mov ebx, 0
sets bl
sub ebx, 1
and ebx, edx
mov dword [esp + 0x2c], ebx
mov edx, eax
sub edx, dword [esp + 0x24]
mov ebx, 0
sets bl
add ecx, edi
sub ebx, 1
and edx, ebx
cmp ecx, 0xff
jle 0x1007fbfd
mov ecx, 0xff
mov edi, dword [esp + 0x20]
add ebp, edi
cmp ebp, 0xff
jle 0x1007fc10
mov ebp, 0xff
mov edi, dword [esp + 0x24]
add eax, edi
cmp eax, 0xff
jle 0x1007fc22
mov eax, 0xff
movzx edi, byte [esp + 0x3a]
cmp edi, dword [esp + 0x34]
jl 0x1007fc52
cmp edi, ecx
jg 0x1007fc52
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x2c]
jl 0x1007fc52
cmp ecx, ebp
jg 0x1007fc52
mov ecx, dword [esp + 0x1c]
cmp ecx, edx
jl 0x1007fc52
cmp ecx, eax
jg 0x1007fc52
mov eax, 1
jmp 0x1007fc54
xor eax, eax
cmp dword [esp + 0x40], eax
je 0x1007fc8b
add esi, 1
cmp esi, dword [esp + 0x28]
jl 0x1007fb40
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
sub edx, 1
mov dword [esp + 0x14], edx
jns 0x1007fb10
sub edi, 1
mov dword [esp + 0x18], edi
jns 0x1007faf0
jmp 0x1007fcb3
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x48]
add ecx, eax
mov eax, dword [esp + 0x54]
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
add ecx, eax
mov dword [edx], ecx
mov dword [esp + 0x3c], 1
mov eax, dword [esp + 0x44]
push eax
call fcn.100ff60b
xor esi, esi
add esp, 4
mov dword [esp + 0x44], esi
mov byte [esp + 0xf4], 3
mov eax, dword [esp + 0x60]
cmp eax, esi
je 0x1007fcdf
push eax
call fcn.100ee4bd
add esp, 4
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov byte [esp + 0xf4], 2
mov eax, dword [esp + 0x70]
cmp eax, esi
je 0x1007fd04
push eax
call fcn.100ee4bd
add esp, 4
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov byte [esp + 0xf4], 1
mov eax, dword [esp + 0x90]
cmp eax, esi
je 0x1007fd2c
push eax
call fcn.100ee4bd
add esp, 4
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0xf4], 0xffffffff
mov eax, dword [esp + 0x80]
cmp eax, esi
je 0x1007fd60
push eax
call fcn.100ee4bd
add esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
jmp 0x1007fd7f
fstp st(0)
xor eax, eax
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.100ffae6
add esp, 0xe4
ret