Function at 0x10057170
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cc5ba
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
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, edx
mov dword [ebp - 0x68], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ecx
mov dword [ebx], vtable.BrowserModule.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
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call edi
mov dword [ebp - 4], esi
mov dword [ebx + 0x20], vtable.CriticalSectionWrapper.0
lea eax, [ebx + 0x24]
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 edi
mov byte [ebp - 4], 1
mov dword [ebx + 0x3c], vtable.CriticalSectionWrapper.0
lea eax, [ebx + 0x40]
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 edi
mov byte [ebp - 4], 2
mov dword [ebx + 0x58], esi
mov dword [ebx + 0x5c], esi
mov byte [ebp - 4], 3
lea eax, [ebx + 0x60]
mov dword [ebp - 0x58], eax
mov dword [eax], esi
mov dword [eax + 4], esi
mov byte [ebp - 4], 5
lea edi, [ebx + 0x68]
mov dword [ebp - 0x58], edi
push edi
call fcn.10061a90
mov byte [ebp - 4], 6
mov dword [edi], 0x100d70c4
mov byte [ebp - 4], 7
lea eax, [ebx + 0x78]
mov dword [ebp - 0x58], eax
mov dword [eax], esi
mov dword [eax + 4], esi
mov byte [ebp - 4], 9
mov dword [ebx + 0x80], 2
mov dword [ebx + 0x84], esi
mov dword [ebx + 0x88], esi
mov dword [ebx + 0x8c], esi
mov byte [ebp - 4], 0xa
mov dword [ebx + 0x94], esi
mov dword [ebx + 0x98], esi
mov byte [ebx + 0x9c], 1
lea eax, [ebx + 0xa0]
mov dword [ebp - 0x58], eax
mov dword [eax], esi
mov dword [eax + 4], esi
mov byte [ebp - 4], 0xc
lea eax, [ebx + 0xa8]
mov dword [ebp - 0x58], eax
mov dword [eax], esi
mov dword [eax + 4], esi
mov byte [ebp - 4], 0xe
mov byte [ebx + 0xb0], 0
lea eax, [ebx + 0xb4]
mov dword [ebp - 0x58], eax
mov dword [eax], esi
mov dword [eax + 4], esi
mov byte [ebp - 4], 0x10
mov byte [ebx + 0xbc], 1
lea edi, [ebx + 0xc0]
mov dword [ebp - 0x58], edi
mov dword [edi + 8], esi
push 1
call fcn.10062cb0
add esp, 4
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 + 0x30], 1
mov eax, dword [edi + 4]
mov byte [eax + 0x31], 1
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x5c], esi
mov byte [ebp - 4], 0x14
lea eax, [esi + 0x10]
call fcn.100b0040
mov dword [ebp - 0x10], esp
mov edi, esp
push 0xdead0022
push 0x18beef
lea ecx, [ebp - 0x30]
push ecx
call fcn.100018e0
add esp, 0xc
mov byte [ebp - 4], 0x15
cmp dword [eax + 0x14], 0x10
jb 0x1005734d
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], 0x14
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 0x1005738b
mov dword [eax], 0xabab0018
mov dword [ebp - 4], 0x13
jmp 0x100573a9
cmp eax, esi
je 0x100573b3
mov dword [eax], 0xcdcd0018
mov dword [ebp - 0x58], 6
test byte [0x10106d78], 1
jne 0x100573e4
or dword [0x10106d78], 1
mov byte [ebp - 4], 0x17
call fcn.10030630
push 0x100ce5d0
call fcn.100af684
add esp, 4
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x58]
push ecx
mov edi, 0x10106d28
call fcn.10030d50
test al, al
je 0x1005753a
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x54], 0
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x58], ebx
lea edi, [ebp - 0x54]
call fcn.10031570
mov edi, eax
mov eax, dword [edi + 0x1c]
cmp eax, esi
jne 0x1005743e
push 0x17
push str.Constructor_Instance0x
mov ecx, edi
call fcn.1000bc70
jmp 0x1005744c
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], 0x1b
test byte [0x10106d78], 1
jne 0x100574a5
or dword [0x10106d78], 1
mov byte [ebp - 4], 0x1c
call fcn.10030630
push 0x100ce5d0
call fcn.100af684
add esp, 4
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x58], 0x10106d2c
mov ecx, 0x10106d2c
mov edx, dword [0x10106d2c]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1d
mov ecx, dword [0x10106d74]
test ecx, ecx
je 0x100574ec
cmp dword [esi + 0x14], 8
jb 0x100574d4
mov eax, dword [esi]
jmp 0x100574d6
mov eax, esi
mov edx, dword [ecx]
push 0x18
push 0x100d69a8
push str.BrowserModule.cpp
push eax
push 6
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x1b
mov edx, dword [0x10106d2c]
mov ecx, 0x10106d2c
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x1c], 8
jb 0x10057517
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], 0x13
lea eax, [ebp - 0x54]
push eax
call fcn.10031440
xor esi, esi
mov ecx, dword [ebp + 8]
mov dword [0x101068d4], ecx
lea edx, [ebx + 0x60]
mov ecx, dword [ebp - 0x64]
call fcn.10062410
lea edx, [ebx + 0xa0]
mov ecx, dword [ebp - 0x60]
call fcn.100624f0
push 0x64
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0x1e
cmp eax, esi
je 0x1005757b
mov ecx, eax
call fcn.100a2730
jmp 0x1005757d
xor eax, eax
mov byte [ebp - 4], 0x13
lea edx, [ebx + 0xb4]
mov ecx, eax
call fcn.100625d0
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0x98], eax
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
lea esp, [ebp - 0x78]
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 8