Function at 0x10017f00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1017d91b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x40]
mov dword [esi], eax
push edx
lea eax, [esp + 0x48]
mov dword [esi + 4], ecx
xor ebx, ebx
push eax
lea ecx, [esi + 0xc]
mov dword [esp + 0x48], 3
mov dword [esp + 0x4c], ebx
call fcn.1004de60
mov dword [esp + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
lea edi, [esi + 0x4c]
mov ecx, edi
mov byte [esp + 0x38], 1
call fcn.1002eab0
mov dword [edi + 4], eax
mov byte [eax + 0x29], 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 ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ebp, dword [0x10199068]
lea eax, [esi + 0x68]
mov word [esi + 0x58], bx
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], edx
mov edi, 0x101995f8
push eax
mov dword [esi + 0x64], edi
call ebp
lea ecx, [esi + 0x80]
mov byte [esp + 0x38], 3
call fcn.1000ebc0
lea ecx, [esi + 0xb8]
push ecx
mov dword [esi + 0xb4], edi
call ebp
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov dl, byte [esp + 0x50]
lea eax, [esi + 0xf4]
mov word [esi + 0xe0], bx
mov byte [esi + 0xe2], dl
mov dword [esi + 0xe8], 0x400
mov dword [esi + 0xec], ebx
push eax
mov dword [esi + 0xf0], edi
call ebp
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
mov dword [esi + 0x118], ebx
lea ecx, [esi + 0x120]
push ecx
mov dword [esi + 0x11c], edi
call ebp
movzx edx, byte [esi + 0x13c]
mov dword [esi + 0x138], ebx
and dl, 0xf1
or dl, 0x11
lea eax, [esi + 0x154]
mov byte [esi + 0x13c], dl
mov byte [esi + 0x13d], bl
mov dword [esi + 0x13e], ebx
mov word [esi + 0x142], bx
mov dword [esi + 0x144], ebx
mov word [esi + 0x148], bx
mov dword [esi + 0x14a], ebx
mov word [esi + 0x14e], bx
push eax
mov dword [esi + 0x150], edi
call ebp
mov dword [esi + 0x16c], ebx
lea edi, [esi + 0x178]
mov dword [esi + 0x170], ebx
mov ecx, edi
mov byte [esp + 0x38], 0xa
mov dword [esi + 0x174], ebx
call fcn.10004470
mov dword [edi + 4], eax
mov byte [eax + 0x31], 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 dword [esi + 0x188], ebx
mov dword [esi + 0x18c], ebx
mov dword [esi + 0x190], ebx
lea ecx, [esi + 0x19c]
mov byte [esi + 0x194], bl
push ecx
mov dword [esi + 0x198], 0x101995f8
call ebp
lea edi, [esi + 0x1b4]
mov ecx, edi
mov byte [esp + 0x38], 0xd
call fcn.1002eab0
mov dword [edi + 4], eax
mov byte [eax + 0x29], 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 dword [esi + 0x1c4], ebx
mov dword [esi + 0x1c8], ebx
mov dword [esi + 0x1cc], ebx
mov dword [esi + 0x1d4], ebx
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x1dc], ebx
push 0x38
mov byte [esp + 0x3c], 0x10
call fcn.10158fbd
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebx
mov byte [esp + 0x38], 0x11
je 0x10018171
mov ecx, eax
call fcn.1007a320
jmp 0x10018173
xor eax, eax
push ebx
mov edi, 0x1019a834
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 0x10
mov dword [esp + 0x28], edi
call fcn.10004090
mov dword [esp + 0x20], 0x1019a834
mov edx, dword [esi + 0x60]
push edx
lea eax, [esp + 0x24]
push eax
push 0x12
lea ecx, [esi + 0x1e0]
mov byte [esp + 0x44], 0x12
call fcn.100d35f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 0x14
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 0x10199c24
call fcn.1001fec0
movzx ecx, byte [esp + 0x50]
mov dword [esi + 0x1f8], 0x3e8
mov word [esi + 0x1fc], bx
mov dword [esi + 0x200], ebx
mov word [esi + 0x204], bx
mov dword [esi + 0x208], ecx
mov dword [esi + 0x210], ebx
mov dword [esi + 0x214], ebx
mov dword [esi + 0x218], ebx
lea edi, [esi + 0x22c]
mov ecx, edi
mov byte [esp + 0x38], 0x15
mov byte [esi + 0x21c], bl
mov byte [esi + 0x228], bl
call fcn.1002eab0
mov dword [edi + 4], eax
mov byte [eax + 0x29], 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 edx, dword [esp + 0x54]
mov dword [esi + 0x238], ebx
mov dword [esi + 0x23c], ebx
mov dword [esi + 0x240], ebx
mov dword [esi + 0x244], ebx
mov dword [esi + 0x248], ebx
mov dword [esi + 0x24c], 0xa
mov dword [esi + 0x250], edx
mov dword [esi + 0x258], ebx
mov dword [esi + 0x25c], ebx
mov dword [esi + 0x260], ebx
mov dword [esi + 0x268], ebx
mov dword [esi + 0x26c], ebx
mov dword [esi + 0x270], ebx
mov dword [esi + 0x278], ebx
mov dword [esi + 0x27c], ebx
mov dword [esi + 0x280], ebx
lea edi, [esi + 0x284]
mov ecx, edi
mov byte [esp + 0x38], 0x19
call fcn.100044b0
mov dword [edi + 4], eax
mov byte [eax + 0x22], 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
lea edi, [esi + 0x2a4]
mov ecx, edi
mov byte [esp + 0x38], 0x1a
mov byte [esi + 0x2a0], bl
call fcn.10062510
mov dword [edi + 4], eax
mov byte [eax + 0x19], 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
lea ecx, [esi + 0x2b4]
mov byte [esp + 0x38], 0x1b
mov byte [esi + 0x2b0], bl
call fcn.1000d080
mov byte [esp + 0x38], 0x1c
mov word [esi + 0x30c], bx
call fcn.10002380
mov ecx, dword [eax]
mov edi, dword [0x101993cc]
mov dword [esi + 0x290], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x294], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x298], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x58]
push 0x1f90
mov dword [esi + 0x29c], edx
mov dword [esi + 0x2dc], eax
call edi
push 0x1f9a
mov word [esi + 0x2e0], ax
call edi
mov ecx, dword [esp + 0x50]
push ecx
lea edx, [esp + 0x23]
mov word [esi + 0x2e0], ax
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov word [esp + 0x28], bx
mov byte [esp + 0x2a], bl
call fcn.1000aaf0
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + 0x10c]
mov byte [esp + 0x3c], 0x1d
call fcn.1000ae10
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov byte [esp + 0x38], 0x1c
je 0x100183cb
push eax
call fcn.10158c57
add esp, 4
call fcn.100efa1f
mov ecx, eax
call fcn.100ef7ac
push ebx
mov dword [esi + 8], eax
call fcn.10158e4a
push eax
call fcn.10159780
add esp, 8
call fcn.1015978d
cdq
mov ecx, 0xffff
idiv ecx
mov ecx, esi
mov word [esi + 0x1fe], dx
mov edx, dword [0x101cc018]
mov dword [esi + 0x220], edx
mov eax, dword [0x101cc01c]
mov dword [esi + 0x224], eax
call fcn.10017a00
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x1c