Function at 0x100a2730
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cb5fe
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10101404]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x60], ebx
mov dword [ebx], vtable.HookManager.0
mov dword [ebx + 4], vtable.CriticalSectionWrapper.0
lea eax, [ebx + 8]
xor esi, esi
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], esi
lea edi, [ebx + 0x20]
mov dword [ebp - 0x58], edi
push edi
call fcn.100a4580
mov byte [ebp - 4], 1
mov dword [edi], 0x100db06c
mov byte [ebp - 4], 2
lea edi, [ebx + 0x30]
mov dword [ebp - 0x58], edi
mov dword [edi + 8], esi
push 1
call fcn.1002eb40
mov dword [edi + 4], eax
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov eax, dword [edi + 4]
mov byte [eax + 0x18], 1
mov ecx, dword [edi + 4]
mov byte [ecx + 0x19], 1
mov byte [ebp - 4], 5
lea edi, [ebx + 0x40]
mov dword [ebp - 0x58], edi
mov dword [edi + 8], esi
push 1
call fcn.100a5600
add esp, 8
mov dword [edi + 4], eax
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov edx, dword [edi + 4]
mov byte [edx + 0x68], 1
mov eax, dword [edi + 4]
mov byte [eax + 0x69], 1
mov byte [ebp - 4], 8
mov dword [ebx + 0x58], esi
mov dword [ebx + 0x5c], esi
mov byte [ebx + 0x60], 0
mov dword [ebp - 0x5c], esi
mov byte [ebp - 4], 9
lea eax, [esi + 0x10]
call fcn.100b0040
mov dword [ebp - 0x10], esp
mov edi, esp
push 0xdead0059
push 0x14beef
lea ecx, [ebp - 0x30]
push ecx
call fcn.100018e0
add esp, 0xc
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 0x10
jb 0x100a2855
mov eax, dword [eax]
mov edx, dword [eax]
mov dword [edi], edx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov edx, dword [eax + 8]
mov dword [edi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x30]
call fcn.10002d60
mov eax, 4
call fcn.100b0040
mov dword [ebp - 0x10], esp
mov eax, esp
mov dword [ebp - 0x5c], eax
cmp eax, esi
je 0x100a2893
mov dword [eax], 0xabab0014
mov dword [ebp - 4], 8
jmp 0x100a28b1
cmp eax, esi
je 0x100a28bb
mov dword [eax], 0xcdcd0014
mov dword [ebp - 0x58], 6
test byte [0x10106d78], 1
jne 0x100a28ec
or dword [0x10106d78], 1
mov byte [ebp - 4], 0xc
call fcn.10030630
push 0x100ce5d0
call fcn.100af684
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
push ecx
mov edi, 0x10106d28
call fcn.10030d50
test al, al
je 0x100a2a42
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x54], 0
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x58], ebx
lea edi, [ebp - 0x54]
call fcn.10031570
mov edi, eax
mov eax, dword [edi + 0x1c]
cmp eax, esi
jne 0x100a2946
push 0x17
push str.Constructor_Instance0x
mov ecx, edi
call fcn.1000bc70
jmp 0x100a2954
push str.Constructor_Instance0x
push eax
call fcn.1000d880
add esp, 8
lea edx, [ebp - 0x58]
push edx
mov esi, edi
call fcn.10098c20
add esp, 4
push 0x1ff
push 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x54]
push ecx
call fcn.10031630
mov ecx, eax
call fcn.10001860
mov esi, eax
mov byte [ebp - 4], 0x10
test byte [0x10106d78], 1
jne 0x100a29ad
or dword [0x10106d78], 1
mov byte [ebp - 4], 0x11
call fcn.10030630
push 0x100ce5d0
call fcn.100af684
add esp, 4
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x58], 0x10106d2c
mov ecx, 0x10106d2c
mov edx, dword [0x10106d2c]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x12
mov ecx, dword [0x10106d74]
test ecx, ecx
je 0x100a29f4
cmp dword [esi + 0x14], 8
jb 0x100a29dc
mov eax, dword [esi]
jmp 0x100a29de
mov eax, esi
mov edx, dword [ecx]
push 0x14
push 0x100dae34
push str.HookManager.cpp
push eax
push 6
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x10
mov edx, dword [0x10106d2c]
mov ecx, 0x10106d2c
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x1c], 8
jb 0x100a2a1f
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
xor edx, edx
mov word [ebp - 0x30], dx
mov byte [ebp - 4], 8
lea eax, [ebp - 0x54]
push eax
call fcn.10031440
xor esi, esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0x54], eax
mov byte [ebx + 0x60], 1
lea ecx, [ebx + 0x5c]
push ecx
push esi
push ebx
push 0x100a3110
push esi
push esi
call dword [sym.imp.MSVCR100.dll__beginthreadex]
add esp, 0x18
mov dword [ebx + 0x58], eax
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
lea esp, [ebp - 0x70]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100af1c6
mov esp, ebp
pop ebp
ret