Function at 0x10017d20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ae8dfc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
push 0
push 0x10305
lea ecx, [esi + 0x84]
mov dword [esp + 0x1c], esi
call fcn.1002ca50
mov dword [esp + 0x5c], 0
mov dword [esi + 0x168], 0x5b088ac
mov dword [esp + 0x14], 0x7f8a
mov dword [esp + 0x18], 0x7f00
mov dword [esp + 0x1c], 0x7f03
mov dword [esp + 0x20], 0x7f89
mov dword [esp + 0x24], 0x7f8b
mov dword [esp + 0x28], 0x7f01
mov dword [esp + 0x2c], 0x7f81
mov dword [esp + 0x30], 0x7f88
mov dword [esp + 0x34], 0x7f80
mov dword [esp + 0x38], 0x7f86
mov dword [esp + 0x3c], 0x7f83
mov dword [esp + 0x40], 0x7f85
mov dword [esp + 0x44], 0x7f82
mov dword [esp + 0x48], 0x7f84
mov dword [esp + 0x4c], 0x7f04
mov dword [esp + 0x50], 0x7f02
lea ebx, [esp + 0x14]
lea edi, [esi + 0x1ac]
mov ebp, 0x10
mov eax, dword [ebx]
push eax
push 0
mov dword [edi - 0x40], eax
call dword [0x5b08590]
mov dword [edi], eax
add ebx, 4
add edi, 4
dec ebp
jne 0x10017df7
mov ecx, dword [esp + 0x64]
mov ebx, 1
mov byte [esp + 0x5c], bl
mov dword [esi], 0x5b088b8
lea eax, [ecx - 1]
cmp eax, 0x1f
ja 0x10017e3f
xor edx, edx
mov dl, byte [eax + 0x5a67fbc]
jmp dword [edx*4 + 0x5a67fb4]
mov dword [esi + 8], 0x20
mov ecx, esi
call fcn.10018a20
test eax, eax
jne 0x10017e5b
push eax
call dword [0x5b08594]
mov dword [esi + 0x48], eax
lea edi, [esi + 0x30]
push edi
call dword [0x5b08134]
mov eax, dword [esp + 0x6c]
mov ecx, dword [edi]
xor ebp, ebp
mov dword [esi + 0x14], eax
push ebp
push eax
mov eax, dword [edi + 4]
mov dword [esi + 0xc], 0xcc0020
push eax
push ecx
mov dword [esi + 0x10], ebx
call fcn.1002d430
mov dword [edi], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 4], edx
mov dl, byte [esp + 0x68]
mov edi, dword [0x5b080a8]
push 0x76
push eax
mov byte [esi + 0x18], dl
call edi
mov ecx, dword [esi + 0x48]
push 0x75
push ecx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
mov eax, 0x20
cdq
idiv dword [esi + 8]
mov edx, dword [esi + 0x48]
mov edi, dword [0x5b080b0]
push edx
mov dword [esi + 0x28], ebp
mov byte [esi + 0x24], al
call edi
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x48]
push eax
call edi
mov ecx, dword [esi + 0x48]
mov dword [esi + 0x50], eax
push ecx
call edi
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 8]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x1c]
push edx
lea edi, [esi + 0x58]
lea ebx, [esi + 0x5c]
push eax
push ecx
mov ecx, esi
mov dword [edi], ebp
mov dword [ebx], ebp
call fcn.10018880
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 8]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x1c]
push edx
push eax
push ecx
mov ecx, esi
call fcn.10018880
mov edx, dword [esi + 0x64]
push ebp
push ebp
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x48]
push edi
mov edi, dword [0x5b080ac]
push ebp
push edx
push eax
call edi
mov dword [esi + 0x6c], eax
mov ecx, dword [esi + 0x64]
mov edx, dword [esi + 0x48]
push ebp
push ebp
push ebx
push ebp
push ecx
push edx
call edi
mov ecx, dword [esi + 0x4c]
mov edi, dword [0x5b080d4]
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x6c]
push eax
push ecx
call edi
mov edx, dword [esi + 0x70]
mov eax, dword [esi + 0x50]
push edx
push eax
call edi
mov ecx, dword [esi + 0x64]
mov edx, dword [ecx + 0x14]
shl edx, 1
push edx
call fcn.1002d190
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x64]
mov dword [esi + 0x7c], ebp
xor edx, edx
add esp, 4
mov eax, dword [eax + 0x14]
div ecx
mov edx, dword [esi + 8]
push 6
push edx
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0x14]
push eax
push ecx
mov ecx, dword [esi + 0x1c]
push ecx
lea ecx, [esi + 0x84]
call fcn.1002caa0
mov ecx, dword [esp + 0x54]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0xc