Function at 0x1006e940
Capabilities:
Check if file exists
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ec
push ebx
push esi
push edi
push 0x22
push 0x10035fec
lea ecx, [esp + 0x1cc]
mov dword [esp + 0x1cc], 0
mov dword [esp + 0x1dc], 0
mov dword [esp + 0x1e0], 0xf
call fcn.1003ae40
push 0x28
push 0x10036010
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0xf
call fcn.1003ae40
push 0x1c
push 0x1003603c
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0xf
call fcn.1003ae40
push 0x1c
push 0x1003605c
lea ecx, [esp + 0x90]
mov dword [esp + 0x90], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0xf
call fcn.1003ae40
push 0xd
push 0x1003607c
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0xf
call fcn.1003ae40
push 2
push 0x1003608c
lea ecx, [esp + 0xc0]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0xf
call fcn.1003ae40
push 5
push 0x10036090
lea ecx, [esp + 0xd8]
mov dword [esp + 0xd8], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0xf
call fcn.1003ae40
push 0x13
push 0x10036098
lea ecx, [esp + 0xf0]
mov dword [esp + 0xf0], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0xf
call fcn.1003ae40
push 4
push 0x100360ac
lea ecx, [esp + 0x108]
mov dword [esp + 0x108], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0xf
call fcn.1003ae40
push 0xb
push 0x100360b4
lea ecx, [esp + 0x120]
mov dword [esp + 0x120], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0xf
call fcn.1003ae40
push 9
push 0x100360c0
lea ecx, [esp + 0x138]
mov dword [esp + 0x138], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0xf
call fcn.1003ae40
mov dword [esp + 0x148], 0
push 0xc
push 0x100360cc
lea ecx, [esp + 0x150]
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0xf
call fcn.1003ae40
push 0x1d
push 0x100360dc
lea ecx, [esp + 0x168]
mov dword [esp + 0x168], 0
mov dword [esp + 0x178], 0
mov dword [esp + 0x17c], 0xf
call fcn.1003ae40
push 0x1d
push 0x100360fc
lea ecx, [esp + 0x180]
mov dword [esp + 0x180], 0
mov dword [esp + 0x190], 0
mov dword [esp + 0x194], 0xf
call fcn.1003ae40
push 0x17
push 0x1003611c
lea ecx, [esp + 0x198]
mov dword [esp + 0x198], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0xf
call fcn.1003ae40
push 0x13
push 0x10036134
lea ecx, [esp + 0x1b0]
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1c0], 0
mov dword [esp + 0x1c4], 0xf
call fcn.1003ae40
lea ecx, [esp + 0x70]
push ecx
lea eax, [esp + 0x1c4]
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.100785e0
push 0x1003adf0
push 0xe
push 0x18
lea eax, [esp + 0x7c]
push eax
call fcn.10079b58
push 0xd
push 0x10036148
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0xf
call fcn.1003ae40
push 4
push 0x10036158
lea ecx, [esp + 0x90]
mov dword [esp + 0x90], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0xf
call fcn.1003ae40
push 0xc
push 0x10036160
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0xf
call fcn.1003ae40
push 0x23
push 0x10036170
lea ecx, [esp + 0xc0]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0xf
call fcn.1003ae40
push 0xa
mov dword [esp + 0xd4], 0
lea ecx, [esp + 0xd4]
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0xf
push 0x10036194
call fcn.1003ae40
push 0x13
push 0x100361a0
lea ecx, [esp + 0xf0]
mov dword [esp + 0xf0], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0xf
call fcn.1003ae40
push 0x1f
push 0x100361b4
lea ecx, [esp + 0x108]
mov dword [esp + 0x108], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0xf
call fcn.1003ae40
push 6
push 0x100361d4
lea ecx, [esp + 0x120]
mov dword [esp + 0x120], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0xf
call fcn.1003ae40
push 0x1d
push 0x100361dc
lea ecx, [esp + 0x138]
mov dword [esp + 0x138], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0xf
call fcn.1003ae40
push 0x1c
push 0x100361fc
lea ecx, [esp + 0x150]
mov dword [esp + 0x150], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0xf
call fcn.1003ae40
push 0x11
push 0x1003621c
lea ecx, [esp + 0x168]
mov dword [esp + 0x168], 0
mov dword [esp + 0x178], 0
mov dword [esp + 0x17c], 0xf
call fcn.1003ae40
push 7
push 0x10036230
lea ecx, [esp + 0x180]
mov dword [esp + 0x180], 0
mov dword [esp + 0x190], 0
mov dword [esp + 0x194], 0xf
call fcn.1003ae40
push 0xd
push 0x10036238
lea ecx, [esp + 0x198]
mov dword [esp + 0x198], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0xf
call fcn.1003ae40
push 0x21
push 0x10036248
lea ecx, [esp + 0x1b0]
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1c0], 0
mov dword [esp + 0x1c4], 0xf
call fcn.1003ae40
lea ecx, [esp + 0x70]
push ecx
lea eax, [esp + 0x1c4]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.100785e0
push 0x1003adf0
push 0xe
push 0x18
lea eax, [esp + 0x7c]
push eax
call fcn.10079b58
cmp dword [0x1009d21c], 0x32
jae 0x1006f003
push 0x1009d100
mov edx, 0x1009d11c
lea ecx, [esp + 0x38]
call fcn.100789e0
add esp, 4
mov ecx, 0x1009d20c
push eax
call fcn.1003b590
mov edx, dword [esp + 0x48]
cmp edx, 0x10
jb 0x1006f003
mov ecx, dword [esp + 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006eff9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f935
push edx
push ecx
call fcn.10079b22
add esp, 8
cmp dword [0x1009d180], 0x1d
jae 0x1006f0c5
push 0x1009d0e8
push 0x1009d20c
mov edx, 0x1009d134
lea ecx, [esp + 0x3c]
call fcn.100789e0
add esp, 4
lea ecx, [esp + 0x14]
mov edx, eax
call fcn.10078930
add esp, 4
mov ecx, 0x1009d170
push eax
call fcn.1003b590
mov edx, dword [esp + 0x24]
cmp edx, 0x10
jb 0x1006f07a
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006f070
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f93a
push edx
push ecx
call fcn.10079b22
add esp, 8
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xf
mov byte [esp + 0x10], 0
cmp edx, 0x10
jb 0x1006f0c5
mov ecx, dword [esp + 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006f0bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f93a
push edx
push ecx
call fcn.10079b22
add esp, 8
push 0xa19f
push dword [ebp + 0x14]
lea eax, [esp + 0x1cc]
push dword [0x100027a4]
push 0x1009d0d0
push 0x1009d134
push dword [ebp + 0x28]
push eax
push dword [ebp + 0x48]
lea eax, [esp + 0x78]
push dword [0x100027b4]
push 0x1009d0a0
push dword [0x100027a0]
push dword [ebp + 0x4c]
push eax
mov eax, dword [ebp + 0x20]
push 0x1009d0a0
push dword [ebp + 0x3c]
push dword [0x10002794]
push dword [0x10002798]
push dword [ebp + 0x54]
push eax
push eax
push 0x1009d0a0
call sym.desktop.d_electroosmotically
add esp, 0x54
mov ecx, 0xa19f
sub ecx, eax
add dword [0x100027b4], ecx
lea ecx, [esp + 0x4c]
push dword [esp + 0x1dc]
push dword [0x1009d168]
push dword [0x1009d164]
call fcn.10078c90
mov ecx, dword [ebp + 0x34]
mov edx, 0x57
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xf
cmp dword [ecx + 0x10], edx
cmovb edx, dword [ecx + 0x10]
cmp dword [ecx + 0x14], 0x10
jb 0x1006f185
mov ecx, dword [ecx]
push edx
push ecx
lea ecx, [esp + 0x18]
call fcn.1003ae40
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
mov byte [eax], 0
mov edx, dword [esp + 0x24]
cmp edx, 0x10
jb 0x1006f1d7
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006f1cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f94e
push edx
push ecx
call fcn.10079b22
add esp, 8
mov ecx, dword [esp + 0x2c]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x28]
xor ebx, ebx
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1006f25e
xor edi, edi
lea eax, [edi + esi]
push eax
lea ecx, [esp + 0x38]
call fcn.1003d520
mov edx, dword [esp + 0x48]
cmp edx, 0x10
jb 0x1006f23b
mov ecx, dword [esp + 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006f231
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f94e
push edx
push ecx
call fcn.10079b22
add esp, 8
mov ecx, dword [esp + 0x2c]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x28]
inc ebx
sub ecx, esi
add edi, 0x18
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1006f1f8
cmp dword [0x1009d110], 0x4d
jae 0x1006f39b
push 0x1009d0a0
push 0x1009d14c
mov edx, 0x1009d0e8
lea ecx, [esp + 0x3c]
call fcn.100789e0
add esp, 4
lea ecx, [esp + 0x14]
mov edx, eax
call fcn.10078930
mov esi, eax
add esp, 4
cmp esi, 0x1009d100
je 0x1006f31a
mov ecx, dword [0x1009d114]
cmp ecx, 0x10
jb 0x1006f2d7
mov eax, dword [0x1009d100]
inc ecx
cmp ecx, 0x1000
jb 0x1006f2cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f93f
mov eax, edx
push ecx
push eax
call fcn.10079b22
add esp, 8
mov dword [0x1009d110], 0
mov dword [0x1009d114], 0xf
mov byte [0x1009d100], 0
movups xmm0, xmmword [esi]
movups xmmword [0x1009d100], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x1009d110], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [esp + 0x24]
cmp edx, 0x10
jb 0x1006f350
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006f346
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f93f
push edx
push ecx
call fcn.10079b22
add esp, 8
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xf
mov byte [esp + 0x10], 0
cmp edx, 0x10
jb 0x1006f39b
mov ecx, dword [esp + 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006f391
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f93f
push edx
push ecx
call fcn.10079b22
add esp, 8
push 0x1003626c
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
sub dword [0x100027c4], eax
mov ecx, 0x17
cmp dword [0x1009d110], ecx
mov eax, 0x1009d100
mov dword [esp + 0x10], 0
cmovb ecx, dword [0x1009d110]
cmp dword [0x1009d114], 0x10
push ecx
cmovae eax, dword [0x1009d100]
lea ecx, [esp + 0x14]
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xf
call fcn.1003ae40
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
mov byte [eax], 0
mov edx, dword [esp + 0x24]
cmp edx, 0x10
jb 0x1006f43b
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006f431
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f94e
push edx
push ecx
call fcn.10079b22
add esp, 8
cmp dword [0x1009d0c8], 0x59
jae 0x1006f57b
lea eax, [esp + 0x1c4]
mov edx, 0x1009d100
push 0x1009d1f4
push eax
lea ecx, [esp + 0x3c]
call fcn.100789e0
add esp, 4
lea ecx, [esp + 0x14]
mov edx, eax
call fcn.10078930
mov esi, eax
add esp, 4
cmp esi, 0x1009d0b8
je 0x1006f4fa
mov ecx, dword [0x1009d0cc]
cmp ecx, 0x10
jb 0x1006f4b7
mov eax, dword [0x1009d0b8]
inc ecx
cmp ecx, 0x1000
jb 0x1006f4ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f944
mov eax, edx
push ecx
push eax
call fcn.10079b22
add esp, 8
mov dword [0x1009d0c8], 0
mov dword [0x1009d0cc], 0xf
mov byte [0x1009d0b8], 0
movups xmm0, xmmword [esi]
movups xmmword [0x1009d0b8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x1009d0c8], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [esp + 0x24]
cmp edx, 0x10
jb 0x1006f530
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006f526
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f944
push edx
push ecx
call fcn.10079b22
add esp, 8
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xf
mov byte [esp + 0x10], 0
cmp edx, 0x10
jb 0x1006f57b
mov ecx, dword [esp + 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006f571
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f944
push edx
push ecx
call fcn.10079b22
add esp, 8
cmp dword [0x1009d1b0], 0x97
jae 0x1006f71f
lea eax, [esp + 0x58]
push eax
push 0x1009d0a0
push 0x1009d224
mov edx, eax
lea ecx, [esp + 0x1ec]
call fcn.100789e0
add esp, 4
lea ecx, [esp + 0x3c]
mov edx, eax
call fcn.10078930
add esp, 4
lea ecx, [esp + 0x14]
mov edx, eax
call fcn.10078930
mov esi, eax
add esp, 4
cmp esi, 0x1009d1a0
je 0x1006f64d
mov ecx, dword [0x1009d1b4]
cmp ecx, 0x10
jb 0x1006f60a
mov eax, dword [0x1009d1a0]
inc ecx
cmp ecx, 0x1000
jb 0x1006f600
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f949
mov eax, edx
push ecx
push eax
call fcn.10079b22
add esp, 8
mov dword [0x1009d1b0], 0
mov dword [0x1009d1b4], 0xf
mov byte [0x1009d1a0], 0
movups xmm0, xmmword [esi]
movups xmmword [0x1009d1a0], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x1009d1b0], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [esp + 0x24]
cmp edx, 0x10
jb 0x1006f683
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006f679
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f949
push edx
push ecx
call fcn.10079b22
add esp, 8
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xf
mov byte [esp + 0x10], 0
cmp edx, 0x10
jb 0x1006f6ce
mov ecx, dword [esp + 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006f6c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f949
push edx
push ecx
call fcn.10079b22
add esp, 8
mov edx, dword [esp + 0x1f4]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0xf
mov byte [esp + 0x34], 0
cmp edx, 0x10
jb 0x1006f71f
mov ecx, dword [esp + 0x1e0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006f715
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f949
push edx
push ecx
call fcn.10079b22
add esp, 8
push 0x2a5
call fcn.1007e260
mov ecx, dword [0x1009d1ec]
add esp, 4
mov esi, dword [0x1009d1e8]
xor ebx, ebx
mov dword [0x100027b4], eax
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1006f7d3
xor edi, edi
nop word [eax + eax]
lea eax, [edi + esi]
push eax
lea ecx, [esp + 0x1e4]
call fcn.1003d520
mov edx, dword [esp + 0x1f4]
cmp edx, 0x10
jb 0x1006f7ac
mov ecx, dword [esp + 0x1e0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006f7a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f94e
push edx
push ecx
call fcn.10079b22
add esp, 8
mov ecx, dword [0x1009d1ec]
mov eax, 0x2aaaaaab
mov esi, dword [0x1009d1e8]
inc ebx
sub ecx, esi
add edi, 0x18
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1006f760
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x1006f849
mov edx, dword [esp + 0x2c]
push ecx
call fcn.1003b800
mov ecx, dword [esp + 0x34]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x2c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x1006f827
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f94e
push ecx
push esi
call fcn.10079b22
add esp, 8
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x1006f8bf
mov edx, dword [esp + 0x50]
push ecx
call fcn.1003b800
mov ecx, dword [esp + 0x58]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x50]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x1006f89d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f94e
push ecx
push esi
call fcn.10079b22
add esp, 8
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov edx, dword [esp + 0x6c]
cmp edx, 0x10
jb 0x1006f8f1
mov ecx, dword [esp + 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006f8e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f94e
push edx
push ecx
call fcn.10079b22
add esp, 8
mov edx, dword [esp + 0x1d8]
cmp edx, 0x10
jb 0x1006f929
mov ecx, dword [esp + 0x1c4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006f91f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f94e
push edx
push ecx
call fcn.10079b22
add esp, 8
pop edi
pop esi
mov eax, 0xa19f
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1007e1df
call fcn.1007e1df
call fcn.1007e1df
call fcn.1007e1df
call fcn.1007e1df
call fcn.1007e1df
int3