Function at 0x1004d280
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10165bec
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x101f6008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 4], 0
lea eax, [ebx + 0xc]
mov dword [ebx + 8], 0
xor ecx, ecx
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov byte [eax + 4], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 7
mov word [eax + 8], cx
mov byte [ebp - 4], 2
mov byte [ebx + 0x2c], cl
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x38], ecx
mov byte [ebp - 4], 3
lea esi, [ebx + 0x3c]
mov dword [ebp - 0x14], esi
mov dword [esi], ecx
mov dword [esi + 4], ecx
call fcn.100502b0
mov dword [esi], eax
mov byte [ebp - 4], 6
push 0x18
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
call fcn.10144448
add esp, 4
mov dword [ebx + 0x50], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 7
lea esi, [ebx + 0x58]
mov dword [ebx + 0x54], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100502b0
mov dword [esi], eax
mov byte [ebp - 4], 0xa
xor eax, eax
push 0x24
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0
push str.79D18F47_10D4_4D5F_ABD9_AF32B4447756
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.10006790
mov byte [ebp - 4], 0xb
xor eax, eax
push 0x24
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0
push str.4B688389_6B43_4526_B4B4_4365D11EE220
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.10006790
mov byte [ebp - 4], 0xc
lea edi, [ebx + 0x60]
mov dword [ebp - 0x14], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov byte [ebp - 4], 0xd
lea esi, [edi + 8]
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10065030
mov dword [esi], eax
mov byte [ebp - 4], 0x10
lea eax, [edi + 0x10]
push 0x102
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
add esp, 8
mov byte [ebp - 4], 0x12
lea ecx, [edi + 0x48]
mov dword [edi + 0x40], 0
xor eax, eax
mov byte [edi + 0x44], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov byte [ebp - 4], 0x13
add edi, 0x60
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x30]
cmp ecx, eax
je 0x1004d46a
cmp dword [ebp - 0x1c], 8
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.10006790
lea eax, [ebp - 0x48]
cmp edi, eax
je 0x1004d484
cmp dword [ebp - 0x34], 8
mov ecx, edi
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
push eax
call fcn.10006790
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x30]
call fcn.10006730
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x48]
call fcn.10006730
xor eax, eax
mov dword [ebp - 0x50], 0
push eax
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x60]
push 0x101a2c64
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
call fcn.10006790
mov byte [ebp - 4], 0x18
sub esp, 8
lea eax, [ebp - 0x60]
lea ecx, [ebx + 0xc]
push eax
call fcn.100e6f80
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x60]
call fcn.10006730
mov eax, dword [ebx + 0x30]
lea ecx, [ebx + 0x3c]
mov dword [ebx + 0x34], eax
call fcn.1004fe00
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret