Function at 0x1006fa50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c64d8
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd4], ecx
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0x30]
push ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x2c]
push eax
lea ecx, [ebp - 0x58]
call fcn.1000e9e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 8]
push ecx
lea ecx, [ebp - 0x40]
call fcn.1000e9e0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 0x10]
push edx
lea ecx, [ebp - 0x28]
call fcn.1000e9e0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ebp - 0xd4]
add eax, 4
push eax
mov ecx, dword [ebp - 0xd4]
add ecx, 0x120
call fcn.10050450
movzx ecx, al
test ecx, ecx
jne 0x1006fbfd
call dword [0x100fa7f0]
movzx edx, al
test edx, edx
je 0x1006fb89
call dword [0x100fa7f8]
cmp eax, 3
jg 0x1006fb89
push 0xf
lea eax, [ebp - 0xd0]
push eax
call fcn.10040590
add esp, 8
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xe0]
call fcn.10049c40
push eax
push 0xf
push 0x100d65a8
push 3
push 0x15
push str.mode_lsp.cpp
call dword [0x100fa800]
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd0]
call fcn.1000c290
mov edx, dword [ebp - 0xd4]
cmp dword [edx + 0xbe], 0
je 0x1006fbc4
push 0x701000f
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0x18]
push ecx
push 0x5f5
mov edx, dword [ebp - 0xd4]
add edx, 4
push edx
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0xbe]
call ecx
mov byte [ebp - 0xd5], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10005f30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10005f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.10005f30
mov al, byte [ebp - 0xd5]
jmp 0x1006ff23
mov edx, dword [ebp - 0xd4]
cmp dword [edx + 0xbe], 0
je 0x1006fc38
push 0x101000e
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0x18]
push ecx
push 0x5f5
mov edx, dword [ebp - 0xd4]
add edx, 4
push edx
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0xbe]
call ecx
push 0
push 0
mov ecx, dword [ebp - 0xd4]
call fcn.1006e7e0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0xfc]
call fcn.1004a660
mov byte [ebp - 4], 4
lea edx, [ebp - 0xa0]
push edx
mov ecx, dword [ebp - 0xd4]
call fcn.1006ce20
mov byte [ebp - 4], 5
push 1
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, dword [ebp - 0xd4]
add ecx, 0x108
call fcn.10063cd0
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x24]
push eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 0x20]
push edx
lea ecx, [ebp - 0x88]
call fcn.1000e9e0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0x92]
push ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x8e]
push eax
lea ecx, [ebp - 0x70]
call fcn.1000e9e0
mov byte [ebp - 4], 7
push 0x100d65d8
lea ecx, [ebp - 0xb8]
call fcn.10005de0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xd4]
movzx edx, word [ecx + 0xbc]
push edx
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0xb8]
push ecx
lea edx, [ebp - 0xb8]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x128]
push ecx
call fcn.1005a270
add esp, 0xc
mov dword [ebp - 0xe4], eax
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xe8]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x100], esp
lea edx, [ebp - 0x88]
push edx
call fcn.10008e80
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0xd4]
add ecx, 0x120
call fcn.100522b0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x128]
call fcn.10017280
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb8]
call fcn.10005f30
push 0x50
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x108], esp
lea eax, [ebp - 0x28]
push eax
call fcn.10008e80
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x10c], ecx
mov byte [ebp - 4], 0xa
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x110], esp
lea edx, [ebp - 0x40]
push edx
call fcn.10008e80
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 0xb
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x118], esp
lea edx, [ebp - 0x58]
push edx
call fcn.10008e80
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0xd4]
add ecx, 4
push ecx
mov ecx, dword [ebp - 0xd4]
add ecx, 0x120
mov byte [ebp - 4], 7
call fcn.10052990
mov byte [ebp - 0xd6], al
movzx edx, byte [ebp - 0xd6]
test edx, edx
jne 0x1006feb6
mov byte [ebp - 0xd7], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.10005f30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
call fcn.10005f30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.10005f30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xfc]
call fcn.10017280
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10005f30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10005f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.10005f30
mov al, byte [ebp - 0xd7]
jmp 0x1006ff23
mov byte [ebp - 0xd8], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.10005f30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
call fcn.10005f30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.10005f30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xfc]
call fcn.10017280
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10005f30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10005f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.10005f30
mov al, byte [ebp - 0xd8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret