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

Disassembly:
push 0xffffffffffffffff
push 0x10184644
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x14], ebp
call fcn.10028800
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [ebp + 4], 0x1019a718
lea esi, [ebp + 8]
mov ecx, esi
mov byte [esp + 0x20], 1
mov dword [ebp], 0x1019a978
mov dword [ebp + 4], 0x1019a868
call fcn.10061590
mov dword [esi + 4], eax
mov byte [eax + 0x81], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
movzx eax, byte [ebp + 0x18]
and al, 0xf1
mov dword [ebp + 0x14], ebx
or al, 0x11
mov byte [ebp + 0x18], al
mov byte [ebp + 0x19], bl
mov dword [ebp + 0x1a], ebx
mov word [ebp + 0x1e], bx
mov dword [ebp + 0x20], ebx
mov word [ebp + 0x24], bx
mov dword [ebp + 0x26], ebx
mov word [ebp + 0x2a], bx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x38], ebx
lea esi, [ebp + 0x3c]
mov ecx, esi
mov byte [esp + 0x20], 3
call fcn.100615d0
mov dword [esi + 4], eax
mov byte [eax + 0x32], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
mov cl, byte [ebp + 0x4c]
and cl, 0xf1
or cl, 0x11
mov byte [ebp + 0x4c], cl
mov dword [ebp + 0x48], ebx
mov byte [ebp + 0x4d], bl
mov dword [ebp + 0x4e], ebx
mov word [ebp + 0x52], bx
mov dword [ebp + 0x54], ebx
mov word [ebp + 0x58], bx
mov dword [ebp + 0x5a], ebx
mov word [ebp + 0x5e], bx
mov dword [ebp + 0x60], ebx
mov word [ebp + 0x64], bx
mov byte [ebp + 0x66], bl
lea esi, [ebp + 0x70]
mov ecx, esi
mov byte [esp + 0x20], 4
mov word [ebp + 0x67], bx
mov dword [ebp + 0x69], ebx
call fcn.10061610
mov dword [esi + 4], eax
mov byte [eax + 0x39], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
mov dword [ebp + 0x80], ebx
mov dword [ebp + 0x84], ebx
mov dword [ebp + 0x88], ebx
mov dword [ebp + 0x90], ebx
mov dword [ebp + 0x94], ebx
mov dword [ebp + 0x98], ebx
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp + 0x9c], ebx
lea edx, [ebp + 0xa8]
mov dword [ebp + 0xa0], 0x1019a840
mov edi, 0x10199604
push edx
mov dword [ebp + 0xa4], edi
call esi
mov dword [ebp + 0xc0], ebx
lea eax, [ebp + 0xcc]
mov dword [ebp + 0xc4], 0x1019a840
push eax
mov dword [ebp + 0xc8], edi
call esi
mov byte [ebp + 0xe4], bl
lea edi, [ebp + 0xe8]
mov ecx, edi
mov byte [esp + 0x20], 9
call fcn.100616a0
mov dword [edi + 4], eax
mov byte [eax + 0x49], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov byte [ebp + 0xf4], bl
lea ecx, [ebp + 0x100]
mov dword [ebp + 0xf8], 0x1019a840
mov edi, 0x10199604
push ecx
mov dword [ebp + 0xfc], edi
call esi
lea edx, [ebp + 0x124]
mov dword [ebp + 0x11c], 0x1019a840
push edx
mov dword [ebp + 0x120], edi
call esi
lea eax, [ebp + 0x148]
mov dword [ebp + 0x140], 0x1019a840
push eax
mov dword [ebp + 0x144], edi
call esi
lea ecx, [ebp + 0x16c]
mov dword [ebp + 0x164], 0x1019a840
push ecx
mov dword [ebp + 0x168], edi
call esi
lea edx, [ebp + 0x190]
mov dword [ebp + 0x188], 0x1019a840
push edx
mov dword [ebp + 0x18c], edi
call esi
lea eax, [ebp + 0x1b4]
mov dword [ebp + 0x1ac], 0x1019a840
push eax
mov dword [ebp + 0x1b0], edi
call esi
mov byte [esp + 0x20], 0x10
mov dword [ebp + 0x1fc], ebx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov dword [ebp + 0x200], ebx
mov dword [ebp + 0x204], ebx
mov byte [ebp + 0x208], 1
mov dword [ebp + 0x20c], ebx
mov byte [ebp + 0x210], 1
mov dword [ebp + 0x214], ebx
mov byte [ebp + 0x218], 1
mov dword [ebp + 0x21c], ebx
mov byte [ebp + 0x220], 1
mov dword [ebp + 0x224], ebx
mov byte [ebp + 0x228], 1
mov dword [ebp + 0x22c], ebx
mov byte [ebp + 0x230], 1
mov dword [ebp + 0x234], ecx
mov ecx, dword [esp + 0x34]
mov dword [ebp + 0x23c], eax
mov eax, dword [esp + 0x3c]
mov dword [ebp + 0x240], ecx
mov dword [ebp + 0x238], edx
mov edx, dword [eax]
mov dword [ebp + 0x244], edx
mov ecx, dword [eax + 4]
mov dword [ebp + 0x248], ecx
mov edx, dword [eax + 8]
mov dword [ebp + 0x24c], edx
mov ecx, dword [eax + 0xc]
mov dword [ebp + 0x250], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x40]
mov dword [ebp + 0x254], edx
mov dword [ebp + 0x258], ebx
mov dword [ebp + 0x25c], ebx
mov dword [ebp + 0x260], ebx
push eax
lea ecx, [ebp + 0x268]
mov dword [ebp + 0x264], ebx
call fcn.10038bd0
mov esi, dword [esp + 0x38]
mov dl, byte [esp + 0x4c]
mov al, byte [esp + 0x50]
lea edi, [ebp + 0x3ae]
mov ecx, 0x2da
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x44]
lea edi, [ebp + 0xf16]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x48]
mov dword [ebp + 0xf4c], ecx
lea esi, [ebp + 0xf60]
mov ecx, esi
mov byte [esp + 0x20], 0x11
mov dword [ebp + 0xf50], ebx
mov dword [ebp + 0xf54], ebx
mov byte [ebp + 0xf5c], bl
mov byte [ebp + 0xf5d], dl
mov byte [ebp + 0xf5e], al
mov byte [ebp + 0xf5f], bl
call fcn.100044d0
mov dword [esi + 4], eax
mov byte [eax + 0x11], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
lea esi, [ebp + 0xf6c]
mov ecx, esi
mov byte [esp + 0x20], 0x12
call fcn.100044d0
mov dword [esi + 4], eax
mov byte [eax + 0x11], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
lea esi, [ebp + 0xf78]
mov ecx, esi
mov byte [esp + 0x20], 0x13
call fcn.100044d0
mov dword [esi + 4], eax
mov byte [eax + 0x11], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
lea esi, [ebp + 0xf84]
mov ecx, esi
mov byte [esp + 0x20], 0x14
call fcn.100044d0
mov dword [esi + 4], eax
mov byte [eax + 0x11], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
lea esi, [ebp + 0xf90]
mov ecx, esi
mov byte [esp + 0x20], 0x15
call fcn.100044d0
mov dword [esi + 4], eax
mov byte [eax + 0x11], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
lea ecx, [ebp + 0xf9c]
mov byte [esp + 0x20], 0x16
call fcn.100667e0
lea esi, [ebp + 0x10d0]
mov ecx, esi
mov byte [esp + 0x20], 0x17
call fcn.100a74f0
mov dword [esi + 4], eax
mov byte [eax + 0x19], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
lea esi, [ebp + 0x10dc]
mov ecx, esi
mov byte [esp + 0x20], 0x18
call fcn.100044d0
mov dword [esi + 4], eax
mov byte [eax + 0x11], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
mov dword [ebp + 0x10e8], 0x1019a840
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [ebp + 0x10f0]
mov edi, 0x10199604
push ecx
mov dword [ebp + 0x10ec], edi
call esi
mov byte [ebp + 0x1108], bl
lea edx, [ebp + 0x1114]
mov dword [ebp + 0x110c], 0x1019a840
push edx
mov dword [ebp + 0x1110], edi
call esi
mov byte [ebp + 0x112c], bl
lea esi, [ebp + 0x1130]
mov ecx, esi
mov byte [esp + 0x20], 0x1b
call fcn.100a74b0
mov dword [esi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
mov eax, dword [esp + 0x38]
mov byte [ebp + 0x113c], bl
mov byte [ebp + 0x113d], 0xf
mov byte [ebp + 0x113e], bl
mov byte [ebp + 0x113f], 0x40
mov byte [ebp + 0x1140], 1
mov byte [ebp + 0x1141], bl
mov dword [ebp + 0x1144], ebx
mov byte [ebp + 0x1148], 1
mov byte [ebp + 0x1149], bl
mov byte [ebp + 0x114a], bl
mov byte [ebp + 0x114b], bl
mov ecx, dword [eax + 6]
push 0x3e8
mov dword [ebp + 0x114c], ecx
push 3
lea ecx, [ebp + 0x1150]
mov byte [esp + 0x28], 0x1c
call fcn.100f873f
push 0x3e8
push 0xa
lea ecx, [ebp + 0x1180]
mov byte [esp + 0x28], 0x1d
call fcn.100f873f
mov byte [ebp + 0x11b0], bl
mov byte [esp + 0x20], 0x1e
mov dword [ebp + 0x11b8], ebx
mov dword [ebp + 0x11bc], ebx
mov dword [ebp + 0x11c0], ebx
mov dword [ebp + 0x11c4], ebx
mov dword [ebp + 0x11c8], ebx
mov dword [ebp + 0x11cc], ebx
mov dword [ebp + 0x11d0], ebx
mov dword [ebp + 0x11d4], ebx
mov dword [ebp + 0x11d8], ebx
mov dword [ebp + 0x11dc], ebx
mov dword [ebp + 0x11e0], ebx
mov dword [ebp + 0x11e4], ebx
mov dword [ebp + 0x11e8], ebx
mov dword [ebp + 0x11ec], ebx
mov dword [ebp + 0x11f0], ebx
mov dword [ebp + 0x11f4], ebx
mov dword [ebp + 0x11f8], ebx
mov dword [ebp + 0x11fc], ebx
mov dword [ebp + 0x1200], ebx
mov dword [ebp + 0x1204], ebx
mov dword [ebp + 0x1208], ebx
mov dword [ebp + 0x120c], ebx
mov dword [ebp + 0x1210], ebx
mov dword [ebp + 0x1214], ebx
lea esi, [ebp + 0x1234]
mov dword [ebp + 0x1218], ebx
mov dword [ebp + 0x121c], ebx
mov ecx, esi
mov byte [ebp + 0x1230], bl
call fcn.100616e0
mov dword [esi + 4], eax
mov byte [eax + 0x21], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
lea esi, [ebp + 0x1240]
mov ecx, esi
mov byte [esp + 0x20], 0x1f
call fcn.10061720
mov dword [esi + 4], eax
mov byte [eax + 0x29], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
lea esi, [ebp + 0x124c]
mov ecx, esi
mov byte [esp + 0x20], 0x20
call fcn.10061760
mov dword [esi + 4], eax
mov byte [eax + 0x79], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
lea esi, [ebp + 0x1258]
mov ecx, esi
mov byte [esp + 0x20], 0x21
call fcn.10061760
mov dword [esi + 4], eax
mov byte [eax + 0x79], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edi, [ebp + 0x100]
push edi
call esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp + 0x118], ebx
call edi
lea eax, [ebp + 0x124]
push eax
call esi
lea eax, [ebp + 0x124]
push eax
mov dword [ebp + 0x13c], ebx
call edi
lea eax, [ebp + 0x16c]
push eax
call esi
lea eax, [ebp + 0x16c]
push eax
mov dword [ebp + 0x184], ebx
call edi
lea eax, [ebp + 0x148]
push eax
call esi
lea eax, [ebp + 0x148]
push eax
mov dword [ebp + 0x160], ebx
call edi
lea eax, [ebp + 0x190]
push eax
call esi
lea eax, [ebp + 0x190]
push eax
mov dword [ebp + 0x1a8], ebx
call edi
lea eax, [ebp + 0x1b4]
push eax
call esi
lea eax, [ebp + 0x1b4]
push eax
mov dword [ebp + 0x1cc], ebx
call edi
cmp byte [ebp + 0xf5e], bl
mov edx, dword [esp + 0x38]
mov dword [ebp + 0x1d0], ebx
mov dword [ebp + 0x1d4], ebx
mov byte [ebp + 0x1d8], bl
mov byte [ebp + 0x1d9], bl
mov byte [ebp + 0x1f0], bl
mov byte [ebp + 0x1f1], bl
mov byte [ebp + 0x1f2], bl
mov byte [ebp + 0x1f3], bl
mov dword [ebp + 0x1e0], ebx
mov dword [ebp + 0x1e4], ebx
mov dword [ebp + 0x1e8], ebx
mov dword [ebp + 0x1ec], ebx
mov byte [ebp + 0x1224], bl
mov dword [ebp + 0x1228], ebx
mov dword [ebp + 0x11b4], 0x28
mov eax, dword [edx + 6]
mov dword [ebp + 0x122c], eax
je 0x100700ef
cmp byte [ebp + 0xf28], bl
mov eax, 0xea60
jne 0x100700f4
mov eax, 0xbb8
push ebx
mov dword [ebp + 0x1220], eax
mov dword [ebp + 0x1f4], eax
mov dword [ebp + 0x1f8], 0x5265c00
call fcn.1015972a
push eax
call fcn.1015a060
add esp, 8
mov eax, ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x2c