Function at 0x10006ff0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004bae0
push 0x1001bd80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffda4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x26c], ecx
mov eax, dword [ebp - 0x26c]
mov dword [eax], vtable.CCodeHook.0
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x26c]
mov dword [ecx + 0x4c], 0
mov edx, dword [ebp - 0x26c]
mov byte [edx + 0x3f], 0
mov dword [ebp - 4], 0
call fcn.10004480
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x26c]
call fcn.10007b00
mov dword [ebp - 0x24], 0xa
push 0
push 0x5000
call fcn.10002050
add esp, 8
mov ecx, dword [ebp - 0x26c]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x2c]
add eax, 0x3000
mov ecx, dword [ebp - 0x26c]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x2c]
mov ecx, dword [0x10038b70]
mov dword [eax], ecx
mov edx, dword [0x10038b74]
mov dword [eax + 4], edx
mov cx, word [0x10038b78]
mov word [eax + 8], cx
mov edx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x2c]
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 0x30]
mov dword [eax + 2], edx
mov eax, dword [ebp - 0x26c]
mov ecx, dword [eax + 0x44]
mov dword [ebp - 0x138], ecx
mov byte [ebp - 0x1d], 0
mov edx, dword [ebp - 0x26c]
mov byte [edx + 0x40], 0
mov eax, dword [ebp - 0x26c]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x44]
push eax
push 0x10038bf8
push 0x10038be0
call fcn.10003e20
add esp, 0x10
lea ecx, [ebp - 0x130]
push ecx
call fcn.10003780
mov dword [ebp - 0x134], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x134], 0
je 0x1000716a
push 0xffffffffffffffff
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 3
lea eax, [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 0x44]
push edx
push 0x10038bf8
push str.e4801
call fcn.10003e20
add esp, 0x10
push 1
lea eax, [ebp - 0x248]
push eax
call fcn.10003e00
mov dword [ebp - 0x140], eax
lea ecx, [ebp - 0x140]
push ecx
mov ecx, dword [ebp - 0x26c]
call fcn.10008610
neg eax
sbb eax, eax
add eax, 1
mov edx, dword [ebp - 0x26c]
mov byte [edx + 0x3e], al
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x26c]
movzx ecx, byte [eax + 0x3e]
test ecx, ecx
je 0x1000724f
lea edx, [ebp - 0x1d]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov ecx, dword [ebp - 0x26c]
call fcn.10007be0
test eax, eax
jne 0x1000724f
mov eax, dword [ebp - 0x26c]
mov byte [eax + 0x3d], 0
push 0x8000
push 0
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 0x26c]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x26c]
mov dword [ecx + 0x30], 0
push 0xffffffffffffffff
lea edx, [ebp - 0x10]
push edx
call fcn.1001d770
add esp, 8
jmp 0x10007ab4
mov dword [ebp - 0x24c], 0
mov dword [ebp - 4], 5
lea eax, [ebp - 0x24c]
push eax
mov cl, byte [ebp - 0x1d]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp - 0x138]
push eax
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x140]
push edx
mov ecx, dword [ebp - 0x26c]
call fcn.100082a0
mov ecx, dword [ebp - 0x26c]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x2c]
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 0x48]
mov dword [eax + 0x3004], edx
mov eax, dword [ebp + 0x1c]
and eax, 1
jne 0x1000770e
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 0x2c]
add edx, 0x1000
mov eax, dword [ebp - 0x26c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 0x2c]
add edx, 0x3008
mov eax, dword [ebp - 0x26c]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 8]
add edx, 0x888
mov eax, dword [ebp - 0x26c]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 0x2c]
add edx, 0xa
mov dword [ebp - 0x258], edx
mov eax, dword [ebp + 0x1c]
and eax, 0x400
jne 0x100074fb
push 0x59
push str.WVRQPS
mov ecx, dword [ebp - 0x258]
push ecx
call fcn.1001bea0
add esp, 0xc
mov edx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x26c]
mov ecx, dword [eax + 4]
mov dword [edx + 7], ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x26c]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x26c]
mov ecx, dword [eax + 8]
mov dword [edx + 0x11], ecx
mov edx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x48]
sub eax, dword [ebp - 0x258]
sub eax, 0x59
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0x55], eax
mov edx, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x258]
mov dword [edx + 0x48], eax
mov ecx, dword [ebp - 0x258]
add ecx, 0x59
mov dword [ebp - 0x258], ecx
push 0x2d
push 0x10038c5c
mov edx, dword [ebp - 0x258]
push edx
call fcn.1001bea0
add esp, 0xc
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 4]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x1b], edx
mov dword [ebp - 0x254], 0x63
mov dword [ebp - 0x25c], 0
jmp 0x10007408
mov eax, dword [ebp - 0x25c]
add eax, 1
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0x222
jge 0x100074f6
mov ecx, dword [ebp - 0x25c]
imul ecx, ecx, 0xe
mov edx, dword [ebp - 0x26c]
mov eax, dword [edx + 4]
mov word [eax + ecx + 3], 0x15ff
mov ecx, dword [ebp - 0x25c]
imul ecx, ecx, 0xe
mov edx, dword [ebp - 0x26c]
mov eax, dword [edx + 4]
mov byte [eax + ecx + 9], 0xe8
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 0x2c]
add edx, dword [ebp - 0x254]
mov eax, dword [ebp - 0x25c]
imul eax, eax, 0xe
mov ecx, dword [ebp - 0x26c]
mov ecx, dword [ecx + 4]
lea eax, [ecx + eax + 9]
sub edx, eax
sub edx, 5
mov ecx, dword [ebp - 0x25c]
imul ecx, ecx, 0xe
mov eax, dword [ebp - 0x26c]
mov eax, dword [eax + 4]
mov dword [eax + ecx + 0xa], edx
mov ecx, dword [ebp - 0x25c]
imul ecx, ecx, 0xe
mov edx, dword [ebp - 0x26c]
mov eax, dword [edx + 4]
mov byte [ecx + eax], 0x83
mov ecx, dword [ebp - 0x25c]
imul ecx, ecx, 0xe
mov edx, dword [ebp - 0x26c]
mov eax, dword [edx + 4]
mov byte [eax + ecx + 1], 0xc4
mov ecx, dword [ebp - 0x25c]
imul ecx, ecx, 0xe
mov edx, dword [ebp - 0x26c]
mov eax, dword [edx + 4]
mov byte [eax + ecx + 2], 4
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 0x2c]
add edx, 0x3004
mov eax, dword [ebp - 0x25c]
imul eax, eax, 0xe
mov ecx, dword [ebp - 0x26c]
mov ecx, dword [ecx + 4]
mov dword [ecx + eax + 5], edx
jmp 0x100073f9
jmp 0x100076d7
push 0x37c
push 0x10038c90
mov edx, dword [ebp - 0x258]
push edx
call fcn.1001bea0
add esp, 0xc
mov eax, dword [ebp + 0x20]
lea ecx, [eax*4 + 0x4c]
mov edx, dword [ebp - 0x258]
mov dword [edx + 0x14], ecx
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp + 0x20]
mov dword [eax + 0x19], ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x26c]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x26], ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x26c]
mov ecx, dword [eax + 8]
mov dword [edx + 0x2b], ecx
mov edx, dword [ebp + 0x20]
lea eax, [edx*4 + 0xc]
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0x59], eax
mov edx, dword [ebp + 0x20]
lea eax, [edx*4 + 0x38]
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0x60], eax
mov edx, dword [ebp + 0x20]
lea eax, [edx*4 + 0x34]
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0x67], eax
mov edx, dword [ebp + 0x20]
lea eax, [edx*4 + 0x30]
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0x6e], eax
mov edx, dword [ebp + 0x20]
lea eax, [edx*4 + 0x2c]
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0x75], eax
mov edx, dword [ebp + 0x20]
lea eax, [edx*4 + 0x20]
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0x7c], eax
mov edx, dword [ebp + 0x20]
lea eax, [edx*4 + 0x1c]
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0x83], eax
mov edx, dword [ebp + 0x20]
lea eax, [edx*4 + 0x28]
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0x8a], eax
mov edx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x48]
sub eax, dword [ebp - 0x258]
sub eax, 0x94
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0x90], eax
mov edx, dword [ebp + 0x20]
lea eax, [edx*4 + 0x1c]
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0x99], eax
mov edx, dword [ebp + 0x20]
lea eax, [edx*4 + 0x1c]
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0xc4], eax
mov edx, dword [ebp + 0x20]
lea eax, [edx*4 + 0x14]
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0xcd], eax
mov dword [ebp - 0x260], 0
jmp 0x10007672
mov edx, dword [ebp - 0x260]
add edx, 1
mov dword [ebp - 0x260], edx
mov eax, dword [ebp - 0x260]
cmp eax, dword [ebp + 0x20]
ja 0x100076c8
mov ecx, dword [ebp + 0x20]
add ecx, 0xf
sub ecx, dword [ebp - 0x260]
lea edx, [ecx*4 + 0x10]
mov eax, dword [ebp - 0x260]
imul eax, eax, 0xa
mov ecx, dword [ebp - 0x258]
mov dword [ecx + eax + 0xf5], edx
mov edx, dword [ebp - 0x260]
shl edx, 2
mov eax, dword [ebp - 0x260]
imul eax, eax, 0xa
mov ecx, dword [ebp - 0x258]
mov word [ecx + eax + 0xfa], dx
jmp 0x10007663
mov edx, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x258]
mov dword [edx + 0x48], eax
push 0x888
push 0
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 8]
push edx
call fcn.1001c680
add esp, 0xc
push 0x888
push 0
mov eax, dword [ebp - 0x26c]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.1001c680
add esp, 0xc
jmp 0x10007874
mov edx, dword [ebp + 0x1c]
and edx, 0x400
je 0x10007874
mov eax, dword [ebp - 0x26c]
mov ecx, dword [eax + 0x2c]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x264], ecx
push 0x31f
push 0x10039010
mov edx, dword [ebp - 0x264]
push edx
call fcn.1001bea0
add esp, 0xc
mov eax, dword [ebp + 0x20]
lea ecx, [eax*4 + 0x4c]
mov edx, dword [ebp - 0x264]
mov dword [edx + 0x14], ecx
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp + 0x20]
mov dword [eax + 0x19], ecx
mov edx, dword [ebp + 0x20]
lea eax, [edx*4 + 0x38]
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp + 0x20]
lea eax, [edx*4 + 0x34]
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x2f], eax
mov edx, dword [ebp + 0x20]
lea eax, [edx*4 + 0x20]
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x36], eax
mov edx, dword [ebp + 0x20]
lea eax, [edx*4 + 0x28]
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x3d], eax
mov edx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x48]
sub eax, dword [ebp - 0x264]
sub eax, 0x47
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x43], eax
mov edx, dword [ebp + 0x20]
lea eax, [edx*4 + 0x1c]
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x4c], eax
mov edx, dword [ebp + 0x20]
lea eax, [edx*4 + 0x1c]
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x77], eax
mov dword [ebp - 0x268], 0
jmp 0x1000780f
mov edx, dword [ebp - 0x268]
add edx, 1
mov dword [ebp - 0x268], edx
mov eax, dword [ebp - 0x268]
cmp eax, dword [ebp + 0x20]
ja 0x10007865
mov ecx, dword [ebp + 0x20]
add ecx, 0xf
sub ecx, dword [ebp - 0x268]
lea edx, [ecx*4 + 0x10]
mov eax, dword [ebp - 0x268]
imul eax, eax, 0xa
mov ecx, dword [ebp - 0x264]
mov dword [ecx + eax + 0x98], edx
mov edx, dword [ebp - 0x268]
shl edx, 2
mov eax, dword [ebp - 0x268]
imul eax, eax, 0xa
mov ecx, dword [ebp - 0x264]
mov word [ecx + eax + 0x9d], dx
jmp 0x10007800
mov edx, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x264]
mov dword [edx + 0x48], eax
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 0x28]
mov eax, dword [ebp - 0x26c]
mov ecx, dword [eax + 0x2c]
mov dword [edx], ecx
mov edx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x30]
push eax
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 0x48]
push edx
mov eax, dword [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x26c]
call fcn.100085a0
mov ecx, dword [ebp - 0x26c]
mov byte [ecx + 0x3d], 1
mov edx, dword [ebp - 0x26c]
movzx eax, byte [edx + 0x1c]
xor ecx, ecx
cmp eax, 0xe9
setne cl
add ecx, 5
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0x26c]
movzx eax, byte [edx + 0x3e]
test eax, eax
jne 0x1000796a
push 9
call fcn.10006e80
test eax, eax
jne 0x1000796a
mov ecx, dword [ebp - 0x250]
push ecx
mov edx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x18]
push eax
call fcn.10006c10
test eax, eax
jne 0x10007983
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0x26c]
mov ecx, dword [edx]
cmp ecx, dword [eax + 0x22]
jne 0x10007983
cmp dword [ebp - 0x250], 5
jne 0x10007946
mov edx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x18]
movzx ecx, byte [eax + 4]
mov edx, dword [ebp - 0x26c]
movzx eax, byte [edx + 0x26]
cmp ecx, eax
je 0x1000796a
cmp dword [ebp - 0x250], 6
jne 0x10007983
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 0x18]
movzx eax, word [edx + 4]
mov ecx, dword [ebp - 0x26c]
movzx edx, word [ecx + 0x26]
cmp eax, edx
jne 0x10007983
mov eax, dword [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
mov ecx, dword [ebp - 0x26c]
call fcn.10009370
mov dword [ebp - 4], 4
call fcn.10007991
jmp 0x100079a8
mov dword [ebp - 4], 3
call fcn.100079b6
jmp 0x100079db
mov dword [ebp - 4], 2
call fcn.100079e9
jmp 0x10007a00
mov dword [ebp - 4], 1
call fcn.10007a0e
jmp 0x10007a25
lea edx, [ebp - 0x13c]
push edx
push 0x20
push 0x3000
mov eax, dword [ebp - 0x26c]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [ebp - 0x13c]
push edx
push 4
push 0x2000
mov eax, dword [ebp - 0x26c]
mov ecx, dword [eax + 0x2c]
add ecx, 0x3000
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 4], 0
call fcn.10007a75
jmp 0x10007a85
mov dword [ebp - 4], 0xffffffff
jmp 0x10007ab4
mov eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c