Function at 0x10197e00
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
lea ebp, [esp - 0x44c]
sub esp, 0x44c
push 0xffffffffffffffff
push 0x101de245
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10205ac8]
xor eax, ebp
mov dword [ebp + 0x448], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x454]
xor al, al
mov edi, dword [ebp + 0x458]
mov dword [ebp - 0x14], esi
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xd], al
mov dword [ebp + 0x10], 0
call fcn.10196400
mov dword [ebp - 0x38], eax
cmp esi, 0x12345678
je 0x101982c2
call fcn.101991e0
rdtsc
mov dword [ebp - 0x34], eax
mov dword [ebp + 0xc], edx
cmp edi, 0xffff
ja 0x10197e89
mov byte [ebp - 0xe], 1
xor bh, bh
jmp 0x10197e96
cmp byte [edi], 0
mov dword [ebp - 4], 0xffffffff
sete bh
test esi, esi
jne 0x10197ea1
call fcn.10197ad0
mov esi, eax
cmp byte [0x1020d408], 0
mov bl, 1
je 0x10197f0c
call fcn.1019bdb0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10197f0a
xor bl, bl
cmp byte [ebp - 0xe], bl
je 0x10197ecd
lea ecx, [ebp + 0x10]
push ecx
push edi
push 0
push dword [ebp - 0x14]
call eax
jmp 0x10197efa
push edi
call fcn.101994a0
movzx eax, ax
mov word [ebp], ax
inc eax
mov word [ebp + 2], ax
lea eax, [ebp + 0x10]
push eax
push 0
lea eax, [ebp]
mov dword [ebp + 4], edi
push eax
push dword [ebp - 0x14]
call dword [ebp - 0x18]
xorps xmm0, xmm0
movlpd qword [ebp], xmm0
cmp eax, 0xc0000138
jne 0x10197f0c
mov dword [ebp + 0x10], 0
jmp 0x10197f0c
mov bl, 1
test esi, esi
je 0x10197f48
test bl, bl
je 0x10197f48
mov ecx, dword [esi + 0x3c]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x10197f48
mov eax, dword [ecx + esi]
xor eax, 0x57494255
cmp eax, 0x57490705
jne 0x10197f48
cmp dword [ecx + esi + 0x78], 0
je 0x10197f3f
cmp dword [ecx + esi + 0x7c], 0
jne 0x10197f48
mov bh, 1
mov bl, bh
mov byte [ebp - 0xd], bl
jmp 0x10197f4b
mov bl, byte [ebp - 0xd]
push 0x400
lea eax, [ebp + 0x30]
push 0
push eax
call fcn.101b66d0
add esp, 0xc
test bh, bh
jne 0x10198152
push dword [ebp - 0x14]
call fcn.10196440
mov edx, eax
test edx, edx
je 0x10198152
test bl, bl
jne 0x10198152
xor esi, esi
movzx ecx, word [edx + esi*2]
mov eax, ecx
xor eax, 0x33
movzx eax, ax
cmp eax, 0x33
je 0x10197f9f
cmp eax, 0x1d
je 0x10197f9f
mov byte [ebp + esi + 0x30], cl
inc esi
jmp 0x10197f82
mov ebx, 0x400
sub ebx, esi
cmp ebx, 1
jbe 0x10198152
push 1
push 0x10044ab4
lea ecx, [ebp + 0x14]
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x28], 0xf
mov byte [ebp + 0x14], 0
call fcn.10074240
cmp byte [ebp - 0xe], 0
lea ecx, [ebp + 0x14]
mov dword [ebp - 4], 4
je 0x1019809a
push 1
push 0x10056fbc
call fcn.10074010
movzx eax, di
push eax
lea eax, [ebp + 0x445]
push eax
call fcn.100b4b20
mov ecx, eax
mov dword [ebp - 0x1c], 0xf
xor edx, edx
lea eax, [ebp + 0x445]
add esp, 8
mov dword [ebp - 0x20], edx
mov byte [ebp - 0x30], dl
cmp ecx, eax
je 0x1019802d
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.10074240
mov edx, dword [ebp - 0x20]
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
push edx
cmovae eax, dword [ebp - 0x30]
lea ecx, [ebp + 0x14]
push eax
mov byte [ebp - 4], 5
call fcn.10074010
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x10198086
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
mov byte [ebp - 4], 6
cmp edx, 0x1000
jb 0x10198078
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10198305
push edx
push ecx
call fcn.101b44e7
add esp, 8
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
jmp 0x101980a0
push edi
call fcn.100bfd60
mov edx, dword [ebp + 0x24]
cmp edx, ebx
jae 0x101980f7
lea ebx, [ebp + 0x30]
add ebx, esi
cmp dword [ebp + 0x28], 0x10
lea esi, [ebp + 0x14]
cmovae esi, dword [ebp + 0x14]
xor eax, eax
test edx, edx
je 0x101980d5
mov ecx, ebx
mov dword [ebp - 0x18], edx
sub esi, ebx
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x101980c4
mov eax, dword [ebp - 0x18]
mov byte [eax + ebx], 0
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x30]
mov dword [ebp + 0x2c], 0
push eax
call fcn.10198310
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x2c], 0
mov edx, dword [ebp + 0x28]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10198140
mov ecx, dword [ebp + 0x14]
inc edx
mov eax, ecx
mov dword [ebp - 4], 7
cmp edx, 0x1000
jb 0x1019812f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10198305
push edx
push ecx
call fcn.101b44e7
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x28], 0xf
mov byte [ebp + 0x14], 0
push 0x400
lea eax, [ebp + 0x30]
push 0
push eax
call fcn.101b66d0
mov esi, dword [0x10205968]
add esp, 0xc
mov ecx, dword [0x1020596c]
rdtsc
mov ebx, eax
sub ebx, dword [ebp - 0x34]
sbb edx, dword [ebp + 0xc]
or esi, ecx
je 0x10198194
mov ecx, dword [0x10205968]
mov eax, dword [0x1020596c]
cmp eax, edx
ja 0x101981a0
jb 0x10198194
cmp ecx, ebx
jae 0x101981a0
mov dword [0x10205968], ebx
mov dword [0x1020596c], edx
cmp dword [ebp + 0x10], 0
jne 0x101982a0
cmp byte [ebp - 0xd], 0
jne 0x101982a0
call fcn.1019e3c0
cmp eax, 0x4750412d
je 0x101982a0
call fcn.1019bdb0
mov esi, eax
test esi, esi
je 0x101982a0
mov ecx, dword [0x10205934]
inc ecx
mov dword [0x10205934], ecx
cmp edi, 0xffff
ja 0x101981f6
lea eax, [ebp + 0x10]
push eax
push edi
push 0
push dword [ebp - 0x14]
call esi
jmp 0x10198222
push edi
call fcn.101994a0
movzx eax, ax
mov word [ebp + 8], ax
inc eax
mov word [ebp + 0xa], ax
lea eax, [ebp + 0x10]
push eax
push 0
lea eax, [ebp + 8]
mov dword [ebp + 0xc], edi
push eax
push dword [ebp - 0x14]
call esi
xorps xmm0, xmm0
movlpd qword [ebp + 8], xmm0
cmp eax, 0xc0000138
je 0x10198263
cmp eax, 0xc0000142
je 0x10198263
cmp dword [ebp + 0x10], 0
je 0x1019826a
mov eax, dword [0x10205944]
inc eax
mov dword [0x10205944], eax
cmp edi, 0xffff
ja 0x10198256
mov eax, dword [0x10205948]
inc eax
mov dword [0x10205948], eax
jmp 0x101982a0
mov eax, dword [0x1020594c]
inc eax
mov dword [0x1020594c], eax
jmp 0x101982a0
mov dword [ebp + 0x10], 0
mov eax, dword [0x10205950]
inc eax
mov dword [0x10205950], eax
mov eax, dword [0x10205938]
inc eax
mov dword [0x10205938], eax
cmp edi, 0xffff
ja 0x10198295
mov eax, dword [0x1020593c]
inc eax
mov dword [0x1020593c], eax
jmp 0x101982a0
mov eax, dword [0x10205940]
inc eax
mov dword [0x10205940], eax
push dword [ebp - 0x38]
call fcn.10196800
xor eax, eax
cmp dword [ebp + 0x10], eax
jne 0x101982ba
cmp byte [ebp - 0xe], al
sete al
add eax, 0xc0000138
push eax
call fcn.1019e3e0
jmp 0x101982dd
cmp dword [0x102059a0], 0x33c0
jne 0x101982dd
call fcn.1019e91d
add eax, 0x33c0
mov dword [0x102059a0], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x448]
xor ecx, ebp
call fcn.101b4a00
lea esp, [ebp + 0x44c]
pop ebp
ret 8
call fcn.100ecc9c
int3