Function at 0x100176b0
Capabilities:
Check if file exists
Get file attributes
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004a226
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
mov eax, dword [0x1005f0f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x80]
call fcn.10016c60
push 0x100595dc
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.100067b0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x88], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x6c]
cmp edx, 0x10
jb 0x1001776c
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10017762
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001848e
push edx
push ecx
call fcn.100274be
add esp, 8
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
call fcn.10016c60
push str.dmg
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.100067b0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x58], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xa4]
cmp edx, 0x10
jb 0x1001780e
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10017804
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018493
push edx
push ecx
call fcn.100274be
add esp, 8
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
call fcn.10016c60
push str.DLLs
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.100067b0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xc0]
cmp edx, 0x10
jb 0x100178b9
mov ecx, dword [ebp - 0xd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100178af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018498
push edx
push ecx
call fcn.100274be
add esp, 8
cmp dword [ebp - 0x84], 0x10
lea edx, [ebp - 0x98]
mov dword [ebp - 0xc4], 0
cmovae edx, dword [ebp - 0x98]
mov ecx, edx
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10017902
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10003e80
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmovae eax, dword [ebp - 0x2c]
push eax
call esi
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x1001795d
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10017953
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001849d
push edx
push ecx
call fcn.100274be
add esp, 8
cmp dword [ebp - 0x3c], 0x10
lea edx, [ebp - 0x50]
mov dword [ebp - 0x2c], 0
cmovae edx, dword [ebp - 0x50]
mov ecx, edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10017982
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10003e80
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call esi
cmp eax, 0xffffffff
jne 0x100179b1
mov byte [ebp - 0xa0], 0
jmp 0x100179bc
shr al, 4
and al, 1
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x100179f0
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100179e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100184a2
push edx
push ecx
call fcn.100274be
add esp, 8
cmp byte [ebp - 0xa0], 0
mov esi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
je 0x10017a14
lea ecx, [ebp - 0x50]
call fcn.10016890
push 0
call edi
push eax
call esi
cmp dword [ebp - 0x54], 0x10
lea edx, [ebp - 0x68]
mov dword [ebp - 0x2c], 0
cmovae edx, dword [ebp - 0x68]
mov ecx, edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
lea eax, [ecx + 1]
mov dword [ebp - 0xa0], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10017a40
sub ecx, dword [ebp - 0xa0]
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10003e80
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10017a77
mov byte [ebp - 0xa0], 0
jmp 0x10017a82
shr al, 4
and al, 1
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x10017ab6
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10017aac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100184a7
push edx
push ecx
call fcn.100274be
add esp, 8
cmp byte [ebp - 0xa0], 0
je 0x10017ace
lea ecx, [ebp - 0x68]
call fcn.10016890
push 0
call edi
push eax
call esi
push 1
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x80]
push 0x10058ec4
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
call fcn.10003e80
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x80]
mov ecx, esp
push eax
call fcn.10003db0
lea ecx, [ebp - 0x38]
call fcn.10017240
mov edi, dword [ebp - 0x34]
xor ecx, ecx
mov esi, dword [ebp - 0x38]
mov eax, 0x2aaaaaab
mov dword [ebp - 0xa0], ecx
add esp, 0x18
mov ecx, edi
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1001830b
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x2c]
lea eax, [eax + eax*2]
lea eax, [esi + eax*8]
push eax
call fcn.10003db0
push dword [ebp - 0xbc]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
cmp edi, 0x10
mov esi, dword [ebp - 0x1c]
mov edx, esi
cmovae ecx, dword [ebp - 0x2c]
push 1
push 0x10058ec4
push ecx
call fcn.100147c0
add esp, 0x10
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
lea edx, [eax + 1]
cmp esi, edx
jb 0x100184b1
sub esi, edx
lea eax, [ebp - 0x2c]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp edi, 0x10
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0xb8]
add eax, edx
push eax
call fcn.10003e80
mov esi, dword [ebp - 0xa4]
lea ecx, [ebp - 0xb8]
mov edx, dword [ebp - 0xb8]
cmp esi, 0x10
cmovae ecx, edx
cmp dword [ebp - 0xa8], 3
jne 0x10017c3a
movzx eax, byte [ecx]
cmp al, 0x6d
jne 0x10017c2a
movzx eax, byte [ecx + 1]
cmp al, 0x69
jne 0x10017c2a
movzx eax, byte [ecx + 2]
cmp al, 0x78
jne 0x10017c2a
xor eax, eax
jmp 0x10017c2f
sbb eax, eax
or eax, 1
mov byte [ebp - 0x99], 1
test eax, eax
je 0x10017c41
mov byte [ebp - 0x99], 0
cmp esi, 0x10
jb 0x10017c71
lea ecx, [esi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10017c67
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001848e
push ecx
push edx
call fcn.100274be
add esp, 8
cmp byte [ebp - 0x99], 0
jne 0x10018290
push dword [ebp - 0xbc]
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmp edi, 0x10
push 1
cmovae ecx, dword [ebp - 0x2c]
mov edx, esi
push 0x10058ec4
push ecx
call fcn.100147c0
add esp, 0x10
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
lea edx, [eax + 1]
cmp esi, edx
jb 0x100184b1
sub esi, edx
lea eax, [ebp - 0x2c]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp edi, 0x10
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0xb8]
add eax, edx
push eax
call fcn.10003e80
mov esi, dword [ebp - 0xa4]
lea ecx, [ebp - 0xb8]
mov edx, dword [ebp - 0xb8]
cmp esi, 0x10
cmovae ecx, edx
cmp dword [ebp - 0xa8], 3
jne 0x10017d3f
movzx eax, byte [ecx]
cmp al, 0x66
jne 0x10017d2f
movzx eax, byte [ecx + 1]
cmp al, 0x6c
jne 0x10017d2f
movzx eax, byte [ecx + 2]
cmp al, 0x74
jne 0x10017d2f
xor eax, eax
jmp 0x10017d34
sbb eax, eax
or eax, 1
mov byte [ebp - 0x99], 1
test eax, eax
je 0x10017d46
mov byte [ebp - 0x99], 0
cmp esi, 0x10
jb 0x10017d76
lea ecx, [esi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10017d6c
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001848e
push ecx
push edx
call fcn.100274be
add esp, 8
cmp byte [ebp - 0x99], 0
jne 0x10018290
push dword [ebp - 0xbc]
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmp edi, 0x10
push 1
cmovae ecx, dword [ebp - 0x2c]
mov edx, esi
push 0x10058ec4
push ecx
call fcn.100147c0
add esp, 0x10
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
lea edx, [eax + 1]
cmp esi, edx
jb 0x100184b1
sub esi, edx
lea eax, [ebp - 0x2c]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp edi, 0x10
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0xb8]
add eax, edx
push eax
call fcn.10003e80
mov esi, dword [ebp - 0xa4]
lea ecx, [ebp - 0xb8]
mov edx, dword [ebp - 0xb8]
cmp esi, 0x10
cmovae ecx, edx
cmp dword [ebp - 0xa8], 3
jne 0x10017e44
movzx eax, byte [ecx]
cmp al, 0x6d
jne 0x10017e34
movzx eax, byte [ecx + 1]
cmp al, 0x33
jne 0x10017e34
movzx eax, byte [ecx + 2]
cmp al, 0x64
jne 0x10017e34
xor eax, eax
jmp 0x10017e39
sbb eax, eax
or eax, 1
mov byte [ebp - 0x99], 1
test eax, eax
je 0x10017e4b
mov byte [ebp - 0x99], 0
cmp esi, 0x10
jb 0x10017e7b
lea ecx, [esi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10017e71
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001848e
push ecx
push edx
call fcn.100274be
add esp, 8
cmp byte [ebp - 0x99], 0
jne 0x10018290
push dword [ebp - 0xbc]
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmp edi, 0x10
push 1
cmovae ecx, dword [ebp - 0x2c]
mov edx, esi
push 0x10058ec4
push ecx
call fcn.100147c0
add esp, 0x10
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
lea edx, [eax + 1]
cmp esi, edx
jb 0x100184b1
sub esi, edx
lea eax, [ebp - 0x2c]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp edi, 0x10
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0xb8]
add eax, edx
push eax
call fcn.10003e80
mov esi, dword [ebp - 0xa4]
lea ecx, [ebp - 0xb8]
mov edx, dword [ebp - 0xb8]
cmp esi, 0x10
cmovae ecx, edx
cmp dword [ebp - 0xa8], 3
jne 0x10017f49
movzx eax, byte [ecx]
cmp al, 0x61
jne 0x10017f39
movzx eax, byte [ecx + 1]
cmp al, 0x73
jne 0x10017f39
movzx eax, byte [ecx + 2]
cmp al, 0x69
jne 0x10017f39
xor eax, eax
jmp 0x10017f3e
sbb eax, eax
or eax, 1
mov byte [ebp - 0x99], 1
test eax, eax
je 0x10017f50
mov byte [ebp - 0x99], 0
cmp esi, 0x10
jb 0x10017f80
lea ecx, [esi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10017f76
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001848e
push ecx
push edx
call fcn.100274be
add esp, 8
cmp byte [ebp - 0x99], 0
jne 0x10018290
push dword [ebp - 0xbc]
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmp edi, 0x10
push 1
cmovae ecx, dword [ebp - 0x2c]
mov edx, esi
push 0x10058ec4
push ecx
call fcn.100147c0
add esp, 0x10
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
lea edx, [eax + 1]
cmp esi, edx
jb 0x100184b1
sub esi, edx
lea eax, [ebp - 0x2c]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp edi, 0x10
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0xb8]
add eax, edx
push eax
call fcn.10003e80
mov esi, dword [ebp - 0xa4]
lea ecx, [ebp - 0xb8]
mov edx, dword [ebp - 0xb8]
cmp esi, 0x10
cmovae ecx, edx
cmp dword [ebp - 0xa8], 3
jne 0x1001804e
movzx eax, byte [ecx]
cmp al, 0x62
jne 0x1001803e
movzx eax, byte [ecx + 1]
cmp al, 0x61
jne 0x1001803e
movzx eax, byte [ecx + 2]
cmp al, 0x74
jne 0x1001803e
xor eax, eax
jmp 0x10018043
sbb eax, eax
or eax, 1
mov byte [ebp - 0x99], 1
test eax, eax
je 0x10018055
mov byte [ebp - 0x99], 0
cmp esi, 0x10
jb 0x10018085
lea ecx, [esi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001807b
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001848e
push ecx
push edx
call fcn.100274be
add esp, 8
cmp byte [ebp - 0x99], 0
jne 0x10018290
push dword [ebp - 0xbc]
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmp edi, 0x10
push 1
cmovae ecx, dword [ebp - 0x2c]
mov edx, esi
push 0x10058ec4
push ecx
call fcn.100147c0
add esp, 0x10
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
lea edx, [eax + 1]
cmp esi, edx
jb 0x100184b1
sub esi, edx
lea eax, [ebp - 0x2c]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp edi, 0x10
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0xb8]
add eax, edx
push eax
call fcn.10003e80
mov esi, dword [ebp - 0xa4]
lea ecx, [ebp - 0xb8]
mov edx, dword [ebp - 0xb8]
cmp esi, 0x10
cmovae ecx, edx
cmp dword [ebp - 0xa8], 3
jne 0x10018153
movzx eax, byte [ecx]
cmp al, 0x70
jne 0x10018143
movzx eax, byte [ecx + 1]
cmp al, 0x79
jne 0x10018143
movzx eax, byte [ecx + 2]
cmp al, 0x63
jne 0x10018143
xor eax, eax
jmp 0x10018148
sbb eax, eax
or eax, 1
mov byte [ebp - 0x99], 1
test eax, eax
je 0x1001815a
mov byte [ebp - 0x99], 0
cmp esi, 0x10
jb 0x1001818a
lea ecx, [esi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10018180
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001848e
push ecx
push edx
call fcn.100274be
add esp, 8
cmp byte [ebp - 0x99], 0
jne 0x10018290
push dword [ebp - 0xbc]
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmp edi, 0x10
push 1
cmovae ecx, dword [ebp - 0x2c]
mov edx, esi
push 0x10058ec4
push ecx
call fcn.100147c0
add esp, 0x10
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
lea edx, [eax + 1]
cmp esi, edx
jb 0x100184b1
sub esi, edx
lea eax, [ebp - 0x2c]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp edi, 0x10
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0xb8]
add eax, edx
push eax
call fcn.10003e80
mov esi, dword [ebp - 0xa4]
lea ecx, [ebp - 0xb8]
mov edx, dword [ebp - 0xb8]
cmp esi, 0x10
cmovae ecx, edx
cmp dword [ebp - 0xa8], 2
jne 0x10018250
movzx eax, byte [ecx]
cmp al, 0x70
jne 0x10018240
movzx eax, byte [ecx + 1]
cmp al, 0x79
jne 0x10018240
xor eax, eax
jmp 0x10018245
sbb eax, eax
or eax, 1
mov byte [ebp - 0x99], 1
test eax, eax
je 0x10018257
mov byte [ebp - 0x99], 0
cmp esi, 0x10
jb 0x10018287
lea ecx, [esi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001827d
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001848e
push ecx
push edx
call fcn.100274be
add esp, 8
cmp byte [ebp - 0x99], 0
je 0x100182a4
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.10033906
add esp, 4
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x100182dc
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100182d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001848e
push edx
push ecx
call fcn.100274be
add esp, 8
mov edi, dword [ebp - 0x34]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x38]
mov ecx, edi
inc dword [ebp - 0xa0]
sub ecx, esi
imul ecx
mov ecx, dword [ebp - 0xa0]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jb 0x10017b60
test esi, esi
je 0x10018378
push ecx
mov edx, edi
mov ecx, esi
call fcn.1001c0d0
mov ecx, dword [ebp - 0x30]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x38]
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 0x10018359
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100184ac
push ecx
push esi
call fcn.100274be
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x6c]
cmp edx, 0x10
jb 0x100183ac
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100183a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100184ac
push edx
push ecx
call fcn.100274be
add esp, 8
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x100183e0
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100183d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100184ac
push edx
push ecx
call fcn.100274be
add esp, 8
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
cmp edx, 0x10
jb 0x10018426
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001841c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100184ac
push edx
push ecx
call fcn.100274be
add esp, 8
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp edx, 0x10
jb 0x1001846e
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10018464
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100184ac
push edx
push ecx
call fcn.100274be
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10026f69
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1002df33
call fcn.1002df33
call fcn.1002df33
call fcn.1002df33
call fcn.1002df33
call fcn.1002df33
call fcn.1002df33
call fcn.10008c20
int3