Function at 0x6af960
Capabilities:
Execute anti-debugging instructions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc50
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x6b3190
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
cmp dword [ebp + 8], 0x1fefa
je 0x6af9cd
call fcn.006b0060
rdtsc
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edx
cmp dword [ebp + 0xc], 0
je 0x6afa03
nop
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp eax, 7
jb 0x6af9f4
inc dword [0x872848]
mov dword [ebp - 0x2c], 0
jmp 0x6afa31
cmp dword [0x872884], 0x33c0
jne 0x6afb84
sub esp, 4
call fcn.006b1c70
add eax, 0x33c0
mov dword [0x872884], eax
jmp 0x6afb84
nop
cmp eax, dword [0x872844]
jbe 0x6afa03
nop
mov dword [0x872844], eax
cmp dword [ebp + 8], 0
je 0x6afa2a
mov ecx, 2
nop
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
movzx eax, byte [eax + ecx - 2]
test eax, eax
je 0x6afa2a
cmp eax, 0x2e
je 0x6afa64
mov ecx, dword [ebp - 0x24]
inc ecx
jmp 0x6afa10
mov dword [ebp - 0x2c], 0
xor ebx, ebx
nop
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x6afa47
nop
inc dword [0x8727f8]
jmp 0x6afaf6
nop
inc dword [0x8727fc]
cmp byte [ebp - 0x2c], 0
je 0x6afaef
nop
inc dword [0x872810]
jmp 0x6afaf6
lea ebx, [ebp - 0x45c]
push 0x400
push 0
push ebx
call fcn.007311f0
add esp, 0xc
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x24]
lea edi, [eax - 2]
push edi
mov esi, dword [ebp + 8]
push esi
push ebx
call fcn.00731570
add esp, 0xc
mov dword [ebp - 0x10], 0xffffffff
push ebx
call fcn.00694430
mov ecx, edi
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], 0
test eax, eax
nop
mov dword [ebp - 0x34], 0
jne 0x6afc35
nop
mov dword [ebp - 0x2c], ecx
push 0
push ebx
call fcn.006adb60
mov dword [ebp - 0x28], eax
test eax, eax
je 0x6afb9f
nop
inc dword [0x87281c]
nop
mov dword [ebp - 0x34], 0
mov edi, dword [ebp - 0x24]
jmp 0x6afc32
nop
inc dword [0x872814]
rdtsc
sub eax, dword [ebp - 0x50]
sbb edx, dword [ebp - 0x54]
mov ecx, dword [0x872860]
or ecx, dword [0x872864]
je 0x6afb1f
nop
mov ecx, dword [0x872864]
mov esi, dword [0x872860]
cmp esi, eax
sbb ecx, edx
jae 0x6afb2b
nop
mov dword [0x872860], eax
mov dword [0x872864], edx
cmp dword [ebp - 0x20], 0
je 0x6afb42
nop
mov dword [ebp - 0x10], 0xffffffff
push 0
call fcn.006ba620
jmp 0x6afb84
mov eax, dword [ebp - 0x2c]
and bl, al
cmp bl, 1
jne 0x6afb60
nop
mov dword [ebp - 0x10], 0xffffffff
push 0x4750412d
call fcn.006ba620
jmp 0x6afb84
nop
mov dword [ebp - 0x10], 0xffffffff
test al, al
je 0x6afb79
nop
push 0xc0000138
call fcn.006ba620
jmp 0x6afb84
nop
push 0xc0000139
call fcn.006ba620
nop
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0xc50
pop esi
pop edi
pop ebx
pop ebp
ret 8
nop
inc dword [0x872820]
call fcn.006b4940
test eax, eax
nop
mov dword [ebp - 0x34], 0
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
je 0x6afc35
lea ecx, [ebp - 0xc5c]
mov dword [ebp - 0x58], ecx
xor ecx, ecx
nop dword [eax + eax]
movsx edx, byte [ebp + ecx - 0x45c]
mov word [ebp + ecx*2 - 0xc5c], dx
inc ecx
test dx, dx
jne 0x6afbd0
lea edx, [ecx*2 - 2]
add ecx, ecx
mov word [ebp - 0x5c], dx
mov word [ebp - 0x5a], cx
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x5c]
push ecx
push edx
push 0
push 0
call eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x6afc1e
inc dword [0x872800]
jmp 0x6afc25
nop
inc dword [0x872804]
nop
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x24]
lea ebx, [ebp - 0x45c]
mov ecx, dword [ebp - 0x2c]
push ecx
push 0
push ebx
call fcn.007311f0
add esp, 0xc
movzx ebx, byte [esi + edi - 1]
cmp bl, 0x23
sete al
mov dword [ebp - 0x2c], eax
jne 0x6afc6a
lea eax, [esi + edi]
push eax
call fcn.007057d6
add esp, 4
mov dword [ebp - 0x30], eax
nop
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x6afc75
jmp 0x6afc88
dec edi
mov dword [ebp - 0x24], edi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x6afc88
nop
cmp dword [eax], 7
jb 0x6afc88
inc dword [0x872848]
xor ebx, ebx
jmp 0x6aff46
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x6aff44
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + ecx + 0x78]
test eax, eax
je 0x6aff44
nop
mov ecx, dword [esi + ecx + 0x7c]
test ecx, ecx
je 0x6aff44
cmp ecx, 0x28
jb 0x6aff44
lea edx, [esi + eax]
add ecx, edx
mov dword [ebp - 0x38], ecx
mov ecx, dword [edx + 0x1c]
add ecx, esi
mov dword [ebp - 0x3c], ecx
cmp bl, 0x23
mov ecx, dword [edx + 0x14]
jne 0x6afd4a
nop
mov edi, dword [edx + 0x10]
inc dword [0x872808]
test ecx, ecx
je 0x6aff44
mov bl, 1
mov edx, dword [ebp - 0x30]
sub edx, edi
jb 0x6aff46
cmp edx, ecx
jae 0x6aff46
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + edx*4]
test ecx, ecx
je 0x6aff44
lea edi, [esi + ecx]
cmp ecx, eax
jl 0x6aff7d
cmp edi, dword [ebp - 0x38]
ja 0x6aff7d
nop
push dword [ebp + 8]
push edi
call fcn.006ada00
test al, al
je 0x6aff85
nop
push esi
push edi
call fcn.006adb60
test eax, eax
je 0x6aff9f
nop
mov dword [ebp - 0x28], eax
inc dword [0x87281c]
jmp 0x6affa6
nop
mov eax, dword [edx + 0x20]
add eax, esi
mov dword [ebp - 0x4c], eax
add esi, dword [edx + 0x24]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], edx
mov edx, dword [edx + 0x18]
inc dword [0x87280c]
test ecx, ecx
setne al
mov dword [ebp - 0x40], edx
test edx, edx
setne cl
and cl, al
xor edx, edx
cmp cl, 1
mov ebx, 0
jne 0x6aff46
mov eax, dword [ebp - 0x24]
add eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
jmp 0x6afda6
nop
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x30]
inc edx
xor ebx, ebx
cmp edx, dword [ebp - 0x40]
jae 0x6aff46
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x30], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x6afd97
nop
mov edi, dword [ebp - 0x28]
add eax, edi
xor ecx, ecx
nop dword [eax + eax]
movzx edx, byte [eax + ecx]
mov esi, dword [ebp - 0x24]
mov dh, byte [esi + ecx]
test dl, dl
je 0x6afdd3
inc ecx
cmp dl, dh
je 0x6afdc0
cmp dl, dh
jne 0x6afd97
nop
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x30]
movzx eax, word [eax + ecx*2]
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ecx + eax*4]
test esi, esi
je 0x6afd97
add esi, edi
cmp esi, dword [ebp - 0x44]
jb 0x6afe3e
cmp esi, dword [ebp - 0x38]
ja 0x6afe3e
nop
push dword [ebp + 8]
push esi
call fcn.006ada00
test al, al
je 0x6afe47
nop
mov dword [ebp - 0x10], 0
push edi
push esi
call fcn.006adb60
test eax, eax
je 0x6afe78
mov dword [ebp - 0x28], eax
inc dword [0x87281c]
push dword [ebp - 0x24]
push eax
call fcn.006b01d0
nop
mov dword [ebp - 0x20], eax
inc dword [0x8727f4]
test eax, eax
je 0x6afe8c
jmp 0x6aff44
nop
mov dword [ebp - 0x20], esi
jmp 0x6aff27
nop
inc dword [0x8727f0]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x6afe5f
nop
inc dword [eax]
mov dword [ebp - 0x10], 0
nop
mov dword [ebp - 0x10], 0
push eax
push esi
call fcn.006af960
mov esi, eax
mov dword [ebp - 0x20], eax
jmp 0x6aff27
nop
inc dword [0x872820]
mov dword [ebp - 0x20], 0
inc dword [0x8727f4]
call fcn.006b67e0
test eax, eax
je 0x6afd8f
xor ecx, ecx
nop
mov esi, dword [ebp - 0x24]
cmp byte [esi + ecx], 0
lea ecx, [ecx + 1]
jne 0x6afe9f
lea edx, [ecx - 1]
mov word [ebp - 0xc5c], dx
mov word [ebp - 0xc5a], cx
mov dword [ebp - 0xc58], esi
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x20]
push edx
push 0
lea edx, [ebp - 0xc5c]
push edx
push ecx
call eax
cmp eax, 0xc0000142
je 0x6afee7
cmp eax, 0xc0000138
jne 0x6aff0a
nop
mov dword [ebp - 0x20], 0
inc dword [0x872824]
nop
inc dword [0x872840]
inc dword [0x872828]
inc dword [0x872830]
jmp 0x6aff23
inc dword [0x872824]
cmp dword [ebp - 0x20], 0
je 0x6afef5
nop
inc dword [0x872834]
inc dword [0x87283c]
nop
mov esi, dword [ebp - 0x20]
xor ebx, ebx
test esi, esi
jne 0x6aff46
mov edx, dword [ebp - 0x30]
inc edx
cmp edx, dword [ebp - 0x40]
jb 0x6afda6
jmp 0x6aff46
xor ebx, ebx
mov eax, dword [ebp - 0x20]
test eax, eax
setne cl
cmp dword [ebp - 0x34], 0
sete dl
or dl, cl
jne 0x6afa37
nop
mov dword [ebp - 0x10], 0xffffffff
call fcn.006b6720
test eax, eax
je 0x6afa33
nop
push dword [ebp - 0x34]
call eax
jmp 0x6afa33
nop
mov dword [ebp - 0x20], edi
xor ebx, ebx
jmp 0x6aff46
nop
inc dword [0x8727f0]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x6affe3
nop
inc dword [eax]
push eax
push edi
call fcn.006af960
jmp 0x6affec
nop
inc dword [0x872820]
nop
mov dword [ebp - 0x20], 0
inc dword [0x8727f4]
call fcn.006b67e0
test eax, eax
je 0x6afff7
nop
inc dword [0x872824]
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0x30]
push 0
push dword [ebp - 0x28]
call eax
cmp eax, 0xc0000138
jne 0x6b0006
nop
mov dword [ebp - 0x20], 0
jmp 0x6b0026
nop
push 0
push edi
call fcn.006af960
nop
mov dword [ebp - 0x20], eax
xor ebx, ebx
jmp 0x6aff46
nop
mov dword [ebp - 0x20], 0
xor ebx, ebx
jmp 0x6aff46
cmp dword [ebp - 0x20], 0
je 0x6b0026
nop
inc dword [0x872840]
inc dword [0x872834]
inc dword [0x872838]
xor ebx, ebx
jmp 0x6aff46
nop
inc dword [0x872840]
inc dword [0x872828]
inc dword [0x87282c]
xor ebx, ebx
jmp 0x6aff46