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

Disassembly:
push 0xffffffffffffffff
push 0x101649ee
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x101b629c]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b629c]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
fld qword [0x1016a978]
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 0x1008006b
fld1
fcompp
fnstsw ax
test ah, 5
jnp 0x1008006d
mov esi, dword [esp + 0x11c]
cmp esi, 8
ja 0x1008006d
push 0x1016a964
push edi
call fcn.10101f80
add esp, 8
test eax, eax
je 0x1007ec08
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.1003e930
add esp, 8
jmp 0x1008006d
cmp esi, 4
jne 0x1007edbc
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.10079db0
add esp, 0x28
mov dword [esp + 0xf4], ebp
cmp dword [esp + 0xd8], ebp
jne 0x1007ec7d
mov dword [esp + 0xf4], 0xffffffff
lea ecx, [esp + 0xc4]
call fcn.10006120
jmp 0x1008006d
cmp dword [esp + 0xdc], 0x10
mov eax, dword [esp + 0xc8]
jae 0x1007ec95
lea eax, [esp + 0xc8]
push eax
push ebx
call fcn.100432d0
fld qword [0x1016aa88]
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 0x1007ed6a
jmp 0x1007ecf0
cmp dword [esp + 0xdc], 0x10
mov eax, dword [esp + 0xc8]
jae 0x1007ed08
lea eax, [esp + 0xc8]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
push ebp
push eax
push ebx
call fcn.100433a0
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.10103e60
fld qword [esp + 0xe0]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x1007ed5f
fstp qword [esp + 0xe0]
mov dword [esp + 0x3c], ebp
jmp 0x1007ed61
fstp st(0)
add ebp, 1
cmp ebp, dword [esp + 0x1c]
jl 0x1007ecf0
cmp dword [esp + 0xdc], 0x10
mov eax, dword [esp + 0xc8]
jae 0x1007ed82
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.100433a0
add esp, 0x14
mov dword [esp + 0xf4], 0xffffffff
lea ecx, [esp + 0xc4]
call fcn.10006120
mov eax, 1
jmp 0x1008006f
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.10044770
add esp, 0x28
test eax, eax
je 0x1008006d
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 [0x1016a928]
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 0x1007efef
cmp byte [edi], 0x40
jne 0x1007eec9
add edi, eax
mov dword [esp + 0x40], 0
test edi, edi
je 0x1007efef
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.101019f5
add esp, 0x10
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x80]
call fcn.1006fbc0
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x90]
call fcn.1006fbc0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x70]
call fcn.1006fbc0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x60]
call fcn.1006fbc0
movzx esi, byte [esp + 0x1e]
push ebp
lea ecx, [esp + 0x90]
add esi, ebx
call fcn.10059630
mov dword [eax], esi
movzx esi, byte [esp + 0x1d]
push ebp
lea ecx, [esp + 0x70]
add esi, ebx
call fcn.10059630
mov dword [eax], esi
mov esi, dword [esp + 0x1c]
and esi, 0xff
push ebp
lea ecx, [esp + 0x60]
add esi, ebx
call fcn.10059630
push ebp
lea ecx, [esp + 0x80]
mov dword [eax], esi
call fcn.10059630
mov ecx, dword [esp + 0x28]
push 0x1016a58c
push edi
mov dword [eax], ecx
call fcn.10101f80
mov edi, eax
add esp, 8
test edi, edi
je 0x1007efe0
add edi, 1
add ebp, 1
test edi, edi
jne 0x1007eee3
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x11c]
test eax, eax
jne 0x1007f250
cmp dword [esp + 0xa4], eax
mov dword [esp + 0x14], eax
jle 0x1007ffa3
mov ecx, dword [esp + 0xa0]
mov edx, eax
xor eax, eax
test ecx, ecx
mov dword [esp + 0x18], eax
jle 0x1007f212
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 0x1007f1fc
jmp 0x1007f054
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x1007f069
mov eax, dword [esp + 0x64]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007f072
call fcn.10101425
mov ecx, dword [esp + 0x60]
lea ebp, [ecx + edi*4]
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x1007f08a
mov eax, dword [esp + 0x74]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007f08f
call fcn.10101425
mov ecx, dword [esp + 0x90]
test ecx, ecx
mov edx, dword [esp + 0x70]
lea ebx, [edx + edi*4]
je 0x1007f0b1
mov eax, dword [esp + 0x94]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007f0b6
call fcn.10101425
mov ecx, dword [esp + 0x80]
test ecx, ecx
mov eax, dword [esp + 0x90]
lea esi, [eax + edi*4]
je 0x1007f0db
mov eax, dword [esp + 0x84]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007f0e0
call fcn.10101425
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 0x1007f183
mov edx, 0xff
mov edi, dword [esp + 0x24]
add ebp, edi
cmp ebp, 0xff
jle 0x1007f196
mov ebp, 0xff
mov edi, dword [esp + 0x20]
add ecx, edi
cmp ecx, 0xff
jle 0x1007f1a9
mov ecx, 0xff
cmp esi, dword [esp + 0x30]
jl 0x1007f1d7
cmp esi, edx
jg 0x1007f1d7
mov edx, dword [esp + 0x34]
cmp edx, dword [esp + 0x38]
jl 0x1007f1d7
cmp edx, ebp
jg 0x1007f1d7
mov edx, dword [esp + 0xe0]
cmp edx, eax
jl 0x1007f1d7
cmp edx, ecx
jg 0x1007f1d7
mov eax, 1
jmp 0x1007f1d9
xor eax, eax
cmp dword [esp + 0x40], eax
je 0x1007f22b
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jl 0x1007f050
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 0x1007f026
add edx, 1
cmp edx, dword [esp + 0xa4]
mov dword [esp + 0x14], edx
jl 0x1007f018
jmp 0x1007ffa3
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 0x1007ff9b
cmp eax, 1
jne 0x1007f485
mov edx, dword [esp + 0xa4]
add edx, 0xffffffff
mov dword [esp + 0x14], edx
js 0x1007ffa3
mov ecx, dword [esp + 0xa0]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x18], eax
jle 0x1007f473
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 0x1007f45d
jmp 0x1007f2b4
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x1007f2c9
mov eax, dword [esp + 0x64]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007f2d2
call fcn.10101425
mov ecx, dword [esp + 0x60]
lea ebp, [ecx + edi*4]
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x1007f2ea
mov eax, dword [esp + 0x74]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007f2ef
call fcn.10101425
mov ecx, dword [esp + 0x90]
test ecx, ecx
mov edx, dword [esp + 0x70]
lea ebx, [edx + edi*4]
je 0x1007f311
mov eax, dword [esp + 0x94]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007f316
call fcn.10101425
mov ecx, dword [esp + 0x80]
test ecx, ecx
mov eax, dword [esp + 0x90]
lea esi, [eax + edi*4]
je 0x1007f33b
mov eax, dword [esp + 0x84]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007f340
call fcn.10101425
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 0x1007f3e3
mov edx, 0xff
mov edi, dword [esp + 0x20]
add ebp, edi
cmp ebp, 0xff
jle 0x1007f3f6
mov ebp, 0xff
mov edi, dword [esp + 0x24]
add ecx, edi
cmp ecx, 0xff
jle 0x1007f409
mov ecx, 0xff
cmp esi, dword [esp + 0x38]
jl 0x1007f434
cmp esi, edx
jg 0x1007f434
mov edx, dword [esp + 0x34]
cmp edx, dword [esp + 0x30]
jl 0x1007f434
cmp edx, ebp
jg 0x1007f434
mov edx, dword [esp + 0x2c]
cmp edx, eax
jl 0x1007f434
cmp edx, ecx
jg 0x1007f434
mov eax, 1
jmp 0x1007f436
xor eax, eax
cmp dword [esp + 0x40], eax
je 0x1007f22b
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jl 0x1007f2b0
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 0x1007f282
sub edx, 1
mov dword [esp + 0x14], edx
jns 0x1007f274
jmp 0x1007ffa3
cmp eax, 2
jne 0x1007f6b3
xor edx, edx
cmp dword [esp + 0xa4], edx
mov dword [esp + 0x14], edx
jle 0x1007ffa3
mov ecx, dword [esp + 0xa0]
add ecx, 0xffffffff
mov dword [esp + 0x18], ecx
js 0x1007f69a
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 0x1007f68d
jmp 0x1007f4e4
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x1007f4f9
mov eax, dword [esp + 0x64]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007f502
call fcn.10101425
mov ecx, dword [esp + 0x60]
lea ebp, [ecx + edi*4]
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x1007f51a
mov eax, dword [esp + 0x74]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007f51f
call fcn.10101425
mov ecx, dword [esp + 0x70]
lea ebx, [ecx + edi*4]
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x1007f541
mov eax, dword [esp + 0x94]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007f546
call fcn.10101425
mov ecx, dword [esp + 0x80]
test ecx, ecx
mov edx, dword [esp + 0x90]
lea esi, [edx + edi*4]
je 0x1007f56b
mov eax, dword [esp + 0x84]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1007f570
call fcn.10101425
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 0x1007f613
mov edx, 0xff
mov edi, dword [esp + 0x20]
add ebp, edi
cmp ebp, 0xff
jle 0x1007f626
mov ebp, 0xff
mov edi, dword [esp + 0x24]
add ecx, edi
cmp ecx, 0xff
jle 0x1007f639
mov ecx, 0xff
cmp esi, dword [esp + 0x38]
jl 0x1007f664
cmp esi, edx
jg 0x1007f664
mov edx, dword [esp + 0x34]
cmp edx, dword [esp + 0x30]
jl 0x1007f664
cmp edx, ebp
jg 0x1007f664
mov edx, dword [esp + 0x2c]
cmp edx, eax
jl 0x1007f664
cmp edx, ecx
jg 0x1007f664
mov eax, 1
jmp 0x1007f666
xor eax, eax
cmp dword [esp + 0x40], eax
je 0x1007f22b
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jl 0x1007f4e0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub ecx, 1
mov dword [esp + 0x18], ecx
jns 0x1007f4b5
add edx, 1
cmp edx, dword [esp + 0xa4]
mov dword [esp + 0x14], edx
jl 0x1007f4a1
jmp 0x1007ffa3
cmp eax, 3
jne 0x1007f862
mov edx, dword [esp + 0xa4]
add edx, 0xffffffff
mov dword [esp + 0x14], edx
js 0x1007ffa3
mov ecx, dword [esp + 0xa0]
add ecx, 0xffffffff
mov dword [esp + 0x18], ecx
js 0x1007f850
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 0x1007f843
lea esp, [esp]
push esi
lea ecx, [esp + 0x60]
call fcn.10059630
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
push esi
lea ecx, [esp + 0x70]
call fcn.10059630
mov ebp, dword [eax]
push esi
lea ecx, [esp + 0x90]
call fcn.10059630
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.10059630
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 0x1007f7cd
mov ecx, 0xff
mov edi, dword [esp + 0x20]
add ebp, edi
cmp ebp, 0xff
jle 0x1007f7e0
mov ebp, 0xff
mov edi, dword [esp + 0x24]
add eax, edi
cmp eax, 0xff
jle 0x1007f7f2
mov eax, 0xff
movzx edi, byte [esp + 0x3a]
cmp edi, dword [esp + 0x34]
jl 0x1007f822
cmp edi, ecx
jg 0x1007f822
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x2c]
jl 0x1007f822
cmp ecx, ebp
jg 0x1007f822
mov ecx, dword [esp + 0x1c]
cmp ecx, edx
jl 0x1007f822
cmp ecx, eax
jg 0x1007f822
mov eax, 1
jmp 0x1007f824
xor eax, eax
cmp dword [esp + 0x40], eax
je 0x1007ff7b
add esi, 1
cmp esi, dword [esp + 0x28]
jl 0x1007f710
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
sub ecx, 1
mov dword [esp + 0x18], ecx
jns 0x1007f6e4
sub edx, 1
mov dword [esp + 0x14], edx
jns 0x1007f6d0
jmp 0x1007ffa3
cmp eax, 5
jne 0x1007fa32
xor edi, edi
cmp dword [esp + 0xa0], edi
mov dword [esp + 0x18], edi
jle 0x1007ffa3
mov eax, dword [esp + 0xa4]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x14], ecx
jle 0x1007fa19
jmp 0x1007f8a0
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 0x1007fa03
jmp 0x1007f8d0
push esi
lea ecx, [esp + 0x60]
call fcn.10059630
mov eax, dword [eax]
push esi
lea ecx, [esp + 0x70]
mov dword [esp + 0x28], eax
call fcn.10059630
mov ebp, dword [eax]
push esi
lea ecx, [esp + 0x90]
call fcn.10059630
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.10059630
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 0x1007f98d
mov ecx, 0xff
mov edi, dword [esp + 0x20]
add ebp, edi
cmp ebp, 0xff
jle 0x1007f9a0
mov ebp, 0xff
mov edi, dword [esp + 0x24]
add eax, edi
cmp eax, 0xff
jle 0x1007f9b2
mov eax, 0xff
movzx edi, byte [esp + 0x3a]
cmp edi, dword [esp + 0x34]
jl 0x1007f9e2
cmp edi, ecx
jg 0x1007f9e2
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x2c]
jl 0x1007f9e2
cmp ecx, ebp
jg 0x1007f9e2
mov ecx, dword [esp + 0x1c]
cmp ecx, edx
jl 0x1007f9e2
cmp ecx, eax
jg 0x1007f9e2
mov eax, 1
jmp 0x1007f9e4
xor eax, eax
cmp dword [esp + 0x40], eax
je 0x1007ff7b
add esi, 1
cmp esi, dword [esp + 0x28]
jl 0x1007f8d0
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 0x1007f8a0
add edi, 1
cmp edi, dword [esp + 0xa0]
mov dword [esp + 0x18], edi
jl 0x1007f885
jmp 0x1007ffa3
cmp eax, 6
jne 0x1007fbeb
mov edi, dword [esp + 0xa0]
add edi, 0xffffffff
mov dword [esp + 0x18], edi
js 0x1007ffa3
mov eax, dword [esp + 0xa4]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x14], ecx
jle 0x1007fbd9
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 0x1007fbc3
nop
push esi
lea ecx, [esp + 0x60]
call fcn.10059630
mov eax, dword [eax]
push esi
lea ecx, [esp + 0x70]
mov dword [esp + 0x28], eax
call fcn.10059630
mov ebp, dword [eax]
push esi
lea ecx, [esp + 0x90]
call fcn.10059630
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.10059630
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 0x1007fb4d
mov ecx, 0xff
mov edi, dword [esp + 0x20]
add ebp, edi
cmp ebp, 0xff
jle 0x1007fb60
mov ebp, 0xff
mov edi, dword [esp + 0x24]
add eax, edi
cmp eax, 0xff
jle 0x1007fb72
mov eax, 0xff
movzx edi, byte [esp + 0x3a]
cmp edi, dword [esp + 0x34]
jl 0x1007fba2
cmp edi, ecx
jg 0x1007fba2
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x2c]
jl 0x1007fba2
cmp ecx, ebp
jg 0x1007fba2
mov ecx, dword [esp + 0x1c]
cmp ecx, edx
jl 0x1007fba2
cmp ecx, eax
jg 0x1007fba2
mov eax, 1
jmp 0x1007fba4
xor eax, eax
cmp dword [esp + 0x40], eax
je 0x1007ff7b
add esi, 1
cmp esi, dword [esp + 0x28]
jl 0x1007fa90
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 0x1007fa64
sub edi, 1
mov dword [esp + 0x18], edi
jns 0x1007fa56
jmp 0x1007ffa3
cmp eax, 7
jne 0x1007fdb9
xor edi, edi
cmp dword [esp + 0xa0], edi
mov dword [esp + 0x18], edi
jle 0x1007ffa3
jmp 0x1007fc10
mov edx, dword [esp + 0xa4]
add edx, 0xffffffff
mov dword [esp + 0x14], edx
js 0x1007fda0
jmp 0x1007fc30
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 0x1007fd93
jmp 0x1007fc60
push esi
lea ecx, [esp + 0x60]
call fcn.10059630
mov eax, dword [eax]
push esi
lea ecx, [esp + 0x70]
mov dword [esp + 0x28], eax
call fcn.10059630
mov ebp, dword [eax]
push esi
lea ecx, [esp + 0x90]
call fcn.10059630
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.10059630
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 0x1007fd1d
mov ecx, 0xff
mov edi, dword [esp + 0x20]
add ebp, edi
cmp ebp, 0xff
jle 0x1007fd30
mov ebp, 0xff
mov edi, dword [esp + 0x24]
add eax, edi
cmp eax, 0xff
jle 0x1007fd42
mov eax, 0xff
movzx edi, byte [esp + 0x3a]
cmp edi, dword [esp + 0x34]
jl 0x1007fd72
cmp edi, ecx
jg 0x1007fd72
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x2c]
jl 0x1007fd72
cmp ecx, ebp
jg 0x1007fd72
mov ecx, dword [esp + 0x1c]
cmp ecx, edx
jl 0x1007fd72
cmp ecx, eax
jg 0x1007fd72
mov eax, 1
jmp 0x1007fd74
xor eax, eax
cmp dword [esp + 0x40], eax
je 0x1007ff7b
add esi, 1
cmp esi, dword [esp + 0x28]
jl 0x1007fc60
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
sub edx, 1
mov dword [esp + 0x14], edx
jns 0x1007fc30
add edi, 1
cmp edi, dword [esp + 0xa0]
mov dword [esp + 0x18], edi
jl 0x1007fc10
jmp 0x1007ffa3
cmp eax, 8
jne 0x1007ffa3
mov edi, dword [esp + 0xa0]
add edi, 0xffffffff
mov dword [esp + 0x18], edi
js 0x1007ffa3
jmp 0x1007fde0
mov edx, dword [esp + 0xa4]
add edx, 0xffffffff
mov dword [esp + 0x14], edx
js 0x1007ff6c
jmp 0x1007fe00
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 0x1007ff5f
jmp 0x1007fe30
push esi
lea ecx, [esp + 0x60]
call fcn.10059630
mov eax, dword [eax]
push esi
lea ecx, [esp + 0x70]
mov dword [esp + 0x28], eax
call fcn.10059630
mov ebp, dword [eax]
push esi
lea ecx, [esp + 0x90]
call fcn.10059630
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.10059630
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 0x1007feed
mov ecx, 0xff
mov edi, dword [esp + 0x20]
add ebp, edi
cmp ebp, 0xff
jle 0x1007ff00
mov ebp, 0xff
mov edi, dword [esp + 0x24]
add eax, edi
cmp eax, 0xff
jle 0x1007ff12
mov eax, 0xff
movzx edi, byte [esp + 0x3a]
cmp edi, dword [esp + 0x34]
jl 0x1007ff42
cmp edi, ecx
jg 0x1007ff42
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x2c]
jl 0x1007ff42
cmp ecx, ebp
jg 0x1007ff42
mov ecx, dword [esp + 0x1c]
cmp ecx, edx
jl 0x1007ff42
cmp ecx, eax
jg 0x1007ff42
mov eax, 1
jmp 0x1007ff44
xor eax, eax
cmp dword [esp + 0x40], eax
je 0x1007ff7b
add esi, 1
cmp esi, dword [esp + 0x28]
jl 0x1007fe30
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
sub edx, 1
mov dword [esp + 0x14], edx
jns 0x1007fe00
sub edi, 1
mov dword [esp + 0x18], edi
jns 0x1007fde0
jmp 0x1007ffa3
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.100ff229
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 0x1007ffcf
push eax
call fcn.100ee0d8
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 0x1007fff4
push eax
call fcn.100ee0d8
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 0x1008001c
push eax
call fcn.100ee0d8
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 0x10080050
push eax
call fcn.100ee0d8
add esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
jmp 0x1008006f
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.100ff704
add esp, 0xe4
ret