Function at 0x10036c80
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a1912
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov ebx, ecx
mov dword [ebp - 0x14], ebx
push esi
push edi
mov dword [ebx], 1
mov dword [ebx + 4], SysStringLen
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x50], 0xffffffff
mov dword [ebx + 0x54], 0xffffffff
mov dword [ebx + 0x58], 0
mov word [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov byte [ebp - 4], 1
lea esi, [ebx + 0xb8]
mov dword [ebx + 0x80], 0xffffffff
mov dword [ebx + 0x84], 0xffffffff
mov dword [ebx + 0x88], 0xffffffff
mov dword [ebx + 0x8c], 0xffffffff
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0
mov dword [ebx + 0x98], 0xffffffff
mov dword [ebx + 0xb4], 0
mov dword [ebp - 0x18], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10079cc9
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 3
xor eax, eax
mov dword [ebx + 0x9c], eax
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0xa4], eax
mov dword [ebx + 0xa8], eax
mov dword [ebx + 0xac], eax
mov dword [ebx + 0xb0], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x10036e39
mov byte [eax], 0
push 0x94
mov byte [ebx + 0x5d], 1
call fcn.10079cc9
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 4
mov dword [edi], 1
mov dword [edi + 4], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov byte [ebp - 4], 5
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov byte [ebp - 4], 6
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov byte [ebp - 4], 7
lea esi, [edi + 0x84]
mov dword [ebp - 0x1c], esi
push 0x24
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10079cc9
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 9
lea esi, [edi + 8]
push esi
mov dword [edi + 0x8c], 0
mov byte [edi + 0x90], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 3
push esi
mov dword [ebx + 0x28], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], 0
push 0x18
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.10079cc9
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x30]
push dword [ebp + 0x18]
mov ecx, dword [ebx + 0x28]
push dword [ebp + 0x14]
push eax
push dword [ebp + 0xc]
call fcn.100364d0
test al, al
jne 0x10036feb
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
mov dword [ebp + 0x18], eax
jmp 0x10037057
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x28]
shr eax, 0x1e
and al, 1
movzx eax, al
push eax
push dword [ebp - 0x2c]
lea eax, [ebx + 0x2c]
push dword [ebp - 0x30]
push eax
call fcn.10036a60
test al, al
jne 0x10037019
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
mov dword [ebp + 0x18], eax
jmp 0x10037057
lea eax, [ebp - 0x28]
lea edi, [ebx + 0xb8]
cmp edi, eax
je 0x1003704d
mov esi, dword [edi]
mov ecx, edi
push dword [esi + 4]
push edi
call fcn.100266d0
lea eax, [ebp - 0x28]
mov dword [esi + 4], esi
mov dword [esi], esi
mov ecx, edi
mov dword [esi + 8], esi
push eax
mov dword [edi + 4], 0
call fcn.10038550
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x28]
push dword [eax + 4]
lea eax, [ebp - 0x28]
push eax
mov ecx, eax
call fcn.100266d0
push 0x18
push dword [ebp - 0x28]
call fcn.10079cf9
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14