Function at 0x1000ac68
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a8
mov dword [ebp - 4], edi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x4c], eax
xor esi, esi
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov dword [ebp - 0x30], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x44], ebx
mov edx, ecx
mov dword [ebp - 0x40], eax
xor ebx, ebx
xor edi, edi
and edx, 1
mov dword [ebp - 0x20], edi
je 0x1000acb1
mov ecx, 0xfffff800
mov eax, 0x7ff
jmp 0x1000acbb
mov ecx, 0xffffff00
mov eax, 0xff
mov dword [ebp - 0x24], edx
mov edx, 1
mov dword [ebp - 0x48], edx
mov edx, dword [ebp + 0x18]
mov edi, edx
and edi, 1
mov dword [ebp - 0x60], edi
and edx, 2
lea edi, [ebp - 0x369]
mov dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x24]
and edi, 0xffffffc0
mov dword [ebp - 0x64], edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x24], edx
and edi, 2
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x68], edi
lea edi, [ebp - 0x269]
and edi, 0xffffffc0
mov dword [ebp - 0x5c], edi
lea edi, [ebp - 0x169]
and edi, 0xffffffc0
mov dword [ebp - 0x58], edi
mov edi, eax
sub edi, ecx
mov dword [ebp - 0x50], edi
mov edi, ecx
cmp ecx, eax
jge 0x1000af52
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x60]
test edx, edx
jne 0x1000ad52
mov eax, dword [ebp - 0x64]
movsx edx, di
lea ecx, [eax + 0x80]
mov word [eax], dx
mov word [eax + 2], dx
mov word [eax + 4], dx
mov word [eax + 6], dx
add eax, 8
cmp ecx, eax
ja 0x1000ad3a
jmp 0x1000ad89
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
lea edx, [eax + 0x80]
mov esi, eax
mov ebx, edx
call fcn.100768f8
cdq
idiv edi
add edx, dword [ebp - 0x34]
mov word [esi], dx
add esi, 2
cmp ebx, esi
ja 0x1000ad6b
mov edi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x68]
test edx, edx
je 0x1000ae07
rdtsc
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], edx
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x64]
push edx
push edx
mov edx, dword [ebp - 0x5c]
push ecx
push edx
mov edx, dword [ebp - 0x4c]
call edx
add esp, 0x10
rdtsc
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], edx
rdtsc
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], edx
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x14], ecx
push edx
push edx
mov edx, dword [ebp - 0x64]
push edx
mov edx, dword [ebp - 0x58]
push edx
mov edx, dword [ebp - 0x3c]
call edx
add esp, 0x10
rdtsc
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], edx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
sub esi, edx
mov edx, dword [ebp - 0x30]
sbb edx, ecx
add esi, dword [ebp - 0x6c]
adc edx, dword [ebp - 0x70]
mov dword [ebp - 0x30], edx
jmp 0x1000ae9b
rdtsc
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa8], edx
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x64]
push edx
mov edx, dword [ebp - 0x5c]
push ecx
push edx
mov edx, dword [ebp - 0x4c]
call edx
mov dword [ebp - 0x44], eax
add esp, 0xc
rdtsc
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa0], edx
rdtsc
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], edx
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x14], ecx
push edx
mov edx, dword [ebp - 0x64]
push edx
mov edx, dword [ebp - 0x58]
push edx
mov edx, dword [ebp - 0x3c]
call edx
mov dword [ebp - 0x40], eax
add esp, 0xc
rdtsc
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], edx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
sub esi, edx
mov edx, dword [ebp - 0x30]
sbb edx, ecx
add esi, dword [ebp - 0x8c]
adc edx, dword [ebp - 0x90]
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x1000aed6
mov edx, dword [ebp - 0x68]
test edx, edx
jne 0x1000aed6
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
cmp edx, ecx
je 0x1000aed6
mov edx, dword [ebp - 0x54]
add dword [ebp - 0x20], 1
test edx, edx
je 0x1000af38
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x38]
push edi
push edx
push ecx
push 0x10321298
call fcn.10076b9a
add esp, 0x10
jmp 0x1000af38
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
xor ecx, ecx
movzx esi, word [edx + ecx*2]
movzx ebx, word [eax + ecx*2]
add ecx, 4
cmp esi, ebx
jne 0x1000afbc
movzx esi, word [edx + ecx*2 - 6]
movzx ebx, word [eax + ecx*2 - 6]
cmp esi, ebx
jne 0x1000afdd
movzx esi, word [edx + ecx*2 - 4]
movzx ebx, word [eax + ecx*2 - 4]
cmp esi, ebx
jne 0x1000afd2
movzx esi, word [edx + ecx*2 - 2]
movzx ebx, word [eax + ecx*2 - 2]
cmp esi, ebx
jne 0x1000afc7
cmp ecx, 0x40
jl 0x1000aee4
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
add ebx, 1
add edi, 1
cmp edi, edx
jl 0x1000ad27
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
add edx, 1
cmp edx, 0x1f
jle 0x1000ad14
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
add esp, 0xfffffff4
mov dword [esp + 4], edi
mov eax, ebx
cdq
mov dword [esp], 0x103212b0
push edx
push ebx
push ecx
push esi
call fcn.10076af0
mov dword [esp + 8], eax
call fcn.10076b9a
add esp, 0xc
mov edx, dword [ebp - 0x20]
test edx, edx
jle 0x1000afa2
mov eax, edx
push ebx
push eax
push 0x103212b8
call fcn.10076b9a
add esp, 0xc
push 0x103212d0
call fcn.10076b9a
pop ecx
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
xor eax, eax
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
jmp 0x1000aeb3
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
jmp 0x1000aeb3
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
jmp 0x1000aeb3
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
jmp 0x1000aeb3