Function at 0x10008d30
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x68e18b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push ebp
push esi
mov dword [esp + 0x10], ecx
push edi
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x2d]
mov byte [esp + 0x2c], 0
mov ebx, dword [esp + 0xbc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0xc0]
xor ecx, ecx
xor edx, edx
mov ch, byte [eax + 2]
mov dh, byte [eax]
mov cl, byte [eax + 3]
mov dl, byte [eax + 1]
xor eax, eax
push ecx
mov ah, byte [ebx + 0x10]
xor ecx, ecx
mov al, byte [ebx + 0x11]
mov cl, byte [ebx + 0x12]
shl eax, 8
push edx
or eax, ecx
xor edx, edx
xor ecx, ecx
mov dl, byte [ebx + 0x13]
mov cl, byte [ebx + 0xe]
shl eax, 8
or eax, edx
xor edx, edx
push eax
xor eax, eax
mov ah, byte [ebx + 0xc]
mov dl, byte [ebx + 0xf]
mov al, byte [ebx + 0xd]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
push eax
lea eax, [esp + 0x3c]
push 0x695ec4
push eax
call fcn.1000b4e9
mov cl, byte [esp + 0x2b]
lea edi, [esp + 0x44]
mov byte [esp + 0x30], cl
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call fcn.10006470
test al, al
je 0x10008e2d
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.10006450
xor esi, esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0xb4], esi
lea esi, [eax + 0x5f8]
mov dword [esp + 0x14], esi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10008eba
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10008eba
mov eax, dword [esi + 0xc]
test eax, eax
jle 0x10008eba
mov edx, dword [esp + 0x20]
test edx, edx
je 0x10008eba
lea edx, [esp + 0x18]
push eax
push edx
call ecx
add esp, 8
test eax, eax
jl 0x10008eba
cmp eax, dword [esi + 0xc]
jge 0x10008eba
mov ecx, dword [esi + 0x14]
mov ebp, dword [ecx + eax*4]
test ebp, ebp
je 0x10008eba
mov eax, dword [ebp + 4]
mov edi, dword [eax]
cmp edi, eax
je 0x10008eba
mov esi, dword [edi + 8]
test esi, esi
je 0x10008eb1
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x10008e9a
mov eax, 0x68f3c8
mov edx, dword [esp + 0x20]
mov ecx, esi
push edx
push eax
mov eax, dword [esi + 8]
push eax
push 0
call fcn.10006930
test eax, eax
je 0x10008ee3
mov edi, dword [edi]
mov eax, dword [ebp + 4]
cmp edi, eax
jne 0x10008e86
xor esi, esi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xb4], 0xffffffff
test eax, eax
je 0x10008ef1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x10008ee8
cmp al, 0xff
je 0x10008ee8
dec al
mov byte [ecx], al
jmp 0x10008ef1
mov esi, dword [esi + 0x10]
jmp 0x10008ebc
push ecx
call fcn.100168d7
add esp, 4
test esi, esi
jne 0x10008f99
push 0x438
call fcn.100168ae
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x10008f95
mov edx, dword [esp + 0xc4]
mov ecx, 0x10e
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov eax, dword [edx]
lea ecx, [ebp + 4]
mov dword [ebp + 4], eax
mov dx, word [edx + 4]
mov word [ecx + 4], dx
call dword [0x68f204]
lea edi, [ebp + 0xa]
mov ecx, 5
mov esi, ebx
mov dword [ebp + 0x434], eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xc0]
lea edi, [ebp + 0x1e]
mov ecx, 5
push ebp
rep movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea eax, [esp + 0x27]
mov ecx, esp
mov dword [esp + 0x3c], esp
lea edx, [esp + 0x40]
push eax
push edx
mov dword [ebp], 1
call fcn.10005a90
mov ecx, dword [esp + 0x28]
call fcn.10005ca0
test al, al
jne 0x10008f95
push ebp
call fcn.100168d7
add esp, 4
xor eax, eax
jmp 0x10008f9b
mov eax, ebp
jmp 0x10008f9b
mov eax, esi
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa8
ret 0xc