Function at 0x1003c050
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043763
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x100e3998]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [0x100e4104], 0x1000a5b0
mov dword [ebp - 4], 0
mov dword [0x100e4110], 0x1000a5b0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0xc], 0x10001308
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x2c], 0x10001c08
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov byte [ebx + 0x40], 0
lea esi, [ebx + 0x44]
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi], 0x10001bd8
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
mov dword [ebx + 0x5c], 0x100037bc
mov dword [ebx + 0x68], 0x100037a8
mov dword [ebx + 0x64], 0x10001580
mov dword [ebx + 0x68], 0x1000156c
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x70], 0
mov byte [ebp - 4], 5
lea eax, [ebx + 0x80]
mov edi, dword [0x100e76ec]
mov dword [ebx + 0x7c], 0x10003798
mov dword [ebx], 0x10001a54
mov dword [ebx + 4], 0x10001a2c
mov dword [ebx + 8], 0x10001a1c
mov dword [ebx + 0xc], 0x100019ac
mov dword [ebx + 0x28], 0x10001998
mov dword [ebx + 0x2c], 0x10001968
mov dword [esi], 0x10001938
mov dword [ebx + 0x5c], 0x1000191c
mov dword [ebx + 0x60], 0x10001908
mov dword [ebx + 0x64], 0x10001580
mov dword [ebx + 0x68], 0x1000156c
mov dword [ebx + 0x7c], 0x100018f8
mov dword [eax + 4], 0
mov dword [eax], 0x10001594
cmp dword [0x100e39a0], 0xffffffff
mov dword [ebp - 0x1c], eax
jne 0x1004cf8f
test byte [0x100e4068], 2
jne 0x1004cf8f
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0
mov dword [ebx + 0x98], 0
mov byte [ebx + 0x9c], 7
mov dword [ebx + 0xa0], 0
mov byte [ebx + 0xa4], 7
mov dword [ebx + 0xa8], 0
mov byte [ebx + 0xac], 7
mov dword [ebx + 0xb0], 0
mov byte [ebx + 0xb4], 7
mov dword [ebx + 0xb8], 0
mov byte [ebx + 0xbc], 7
mov dword [ebx + 0xc0], 0
mov dword [ebx + 0xc4], 0
mov dword [ebx + 0xcc], 3
mov dword [ebx + 0xd0], 0
mov dword [ebx + 0xd4], 0x1e
mov dword [ebx + 0xd8], 0xf
mov dword [ebx + 0xdc], 0xffffffff
add ebx, 0xe0
mov dword [ebp - 0x20], ebx
mov dword [0x100e40ec], 0x1000a5b0
lea edi, [ebx + 8]
mov dword [ebp - 0x14], edi
mov dword [edi + 4], 0
mov dword [edi], fcn.10053190
mov dword [edi + 0x18], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov byte [ebp - 4], 9
lea ecx, [edi + 0x24]
mov dword [edi], fcn.10053190
call dword [sym.imp.MSDART.DLL_public:_void___thiscall_CReaderWriterLock3AR::constructor_void_]
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x20], 0
mov dword [edi + 0x30], 1
mov dword [ebx + 0x3c], 0
mov byte [ebx + 0x40], 0
mov dword [ebx + 0x44], eax
mov dword [ebx], 0x10001788
mov dword [ebx + 4], 0x10001778
mov dword [edi], 0x100016bc
lock inc dword [0x100e404c]
mov ebx, dword [ebp - 0x18]
lea edi, [ebx + 0x128]
mov dword [ebp - 0x14], edi
mov dword [edi + 4], 0
mov dword [edi], fcn.10053190
mov dword [edi + 0x18], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x24]
mov dword [edi], fcn.10053190
call dword [sym.imp.MSDART.DLL_public:_void___thiscall_CReaderWriterLock3AR::constructor_void_]
mov dword [edi + 0x20], 0
mov dword [edi + 0x30], 1
mov dword [edi], 0x100014a4
lock inc dword [0x100e404c]
mov dword [ebx + 0x15c], 0
mov dword [ebx + 0x160], 0
mov dword [ebx + 0x164], 0
mov dword [ebx + 0x168], 0
mov dword [ebx + 0x16c], 0
mov dword [ebx + 0x170], 0
mov byte [ebx + 0x174], 0
lea edi, [ebx + 0x178]
mov dword [ebp - 0x14], edi
mov dword [edi + 4], 0
mov dword [edi], fcn.10053190
mov dword [edi + 0x18], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov byte [ebp - 4], 0xe
lea ecx, [edi + 0x24]
mov dword [edi], fcn.10053190
call dword [sym.imp.MSDART.DLL_public:_void___thiscall_CReaderWriterLock3AR::constructor_void_]
mov dword [edi + 0x20], 0
mov dword [edi + 0x30], 1
mov dword [edi], 0x100014a4
lock inc dword [0x100e404c]
lea edi, [ebx + 0x1ac]
mov dword [ebp - 0x14], edi
mov dword [edi + 4], 0
mov dword [edi], fcn.10053190
mov dword [edi + 0x18], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov byte [ebp - 4], 0x10
lea ecx, [edi + 0x24]
mov dword [edi], fcn.10053190
call dword [sym.imp.MSDART.DLL_public:_void___thiscall_CReaderWriterLock3AR::constructor_void_]
mov dword [edi + 0x20], 0
mov dword [edi + 0x30], 1
mov dword [edi], 0x100014a4
lock inc dword [0x100e404c]
add ebx, 0x1e0
mov dword [ebp - 0x14], ebx
mov dword [0x100e40f8], 0x1000a5b0
lea edi, [ebx + 0xc]
mov dword [ebp - 0x20], edi
mov dword [edi + 4], 0
mov dword [edi], fcn.10053190
mov dword [edi + 0x18], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov byte [ebp - 4], 0x13
lea ecx, [edi + 0x24]
mov dword [edi], fcn.10053190
call dword [sym.imp.MSDART.DLL_public:_void___thiscall_CReaderWriterLock3AR::constructor_void_]
mov dword [edi + 0x20], 0
mov dword [edi + 0x30], 1
mov dword [edi], fcn.10053190
mov dword [ebx], 0x100018c8
mov dword [ebx + 4], 0x100018b8
mov dword [ebx + 8], 0x1000189c
mov dword [edi], 0x100017e0
lock inc dword [0x100e404c]
mov ebx, dword [ebp - 0x18]
mov dword [ebx + 0x220], 0
mov dword [ebx + 0x224], 0
mov dword [ebx + 0x228], 0
mov dword [ebx + 0x22c], 0
mov dword [ebx + 0x230], 0
mov dword [ebx + 0x234], 0
mov word [ebx + 0x238], 0
mov dword [ebx + 0x23c], 0x1000
mov dword [ebx + 0x240], 0
mov dword [ebx + 0x244], 0
mov word [ebx + 0x248], 0
mov dword [ebx + 0x24c], 0
mov dword [ebx + 0x250], 0
mov dword [ebx + 0x25c], 0
mov byte [ebx + 0x260], 7
mov dword [ebx + 0x264], 0
mov byte [ebx + 0x268], 7
mov dword [ebx + 0x26c], 0
mov byte [ebx + 0x270], 7
mov dword [ebx + 0x274], 0
mov byte [ebx + 0x278], 7
mov dword [ebx + 0x27c], 0
mov byte [ebx + 0x280], 7
mov dword [ebx + 0x284], 0
mov dword [ebx + 0x288], 0
mov dword [ebx + 0x254], 0
mov byte [ebx + 0x258], 0
mov eax, dword [ebx + 0x25c]
test eax, eax
jne 0x1004cfd6
mov dword [ebx + 0x25c], 0
mov eax, dword [ebx + 0x264]
test eax, eax
jne 0x1004cfeb
mov dword [ebx + 0x264], 0
mov eax, dword [ebx + 0x26c]
test eax, eax
jne 0x1004d000
mov dword [ebx + 0x26c], 0
mov eax, dword [ebx + 0x274]
test eax, eax
jne 0x1004d015
mov dword [ebx + 0x274], 0
mov eax, dword [ebx + 0x27c]
test eax, eax
jne 0x1004d02a
mov dword [ebx + 0x27c], 0
mov byte [ebx + 0x289], 0
mov word [ebx + 0x28b], 0
mov byte [ebp - 4], 0x15
lea eax, [ebx + 0x29c]
mov dword [ebx + 0x290], 0
mov dword [ebx + 0x294], 0
push eax
mov dword [ebx + 0x298], 0x10001560
mov dword [eax], 0
call dword [sym.imp.MSDART.DLL_MPInitializeCriticalSection]
mov dword [ebx + 0x2a0], 0
lea eax, [ebx + 0x2a8]
mov byte [ebp - 4], 0x16
push eax
mov dword [ebx + 0x2a4], 0x10001560
mov dword [eax], 0
call dword [sym.imp.MSDART.DLL_MPInitializeCriticalSection]
mov dword [ebx + 0x2ac], 0
mov eax, 0xffff
mov word [ebx + 0x2b4], ax
add esp, 8
lea eax, [ebx + 0x2c]
mov dword [ebx + 0x2b0], 0xffffffff
mov dword [ebx + 0x88], eax
mov eax, ebx
mov byte [ebx + 0xc8], 0
mov dword [ebx + 0x8c], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10040f40
mov esp, ebp
pop ebp
ret
cmp dword [0x100e4024], 0
je 0x1004cfa3
call fcn.100d74b1
lea eax, [ebx + 0x80]
mov ecx, dword [0x100e39a0]
cmp ecx, 0xffffffff
je 0x1003c1e2
push 0
push eax
push 6
push edi
mov edi, dword [0x100e303c]
push ecx
mov ecx, edi
call dword [0x100e52dc]
call edi
mov ecx, eax
lea eax, [ebx + 0x80]
jmp 0x1003c1e4
push eax
push dword [0x100e4034]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x1003c642
push eax
push dword [0x100e4034]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x1003c65a
push eax
push dword [0x100e4034]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x1003c672
push eax
push dword [0x100e4034]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x1003c68a
push eax
push dword [0x100e4034]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x1003c6a2