Function at 0x10017630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1003e628
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004d650]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0xf4]
mov dword [esp + 0x1c], eax
mov byte [eax], 1
mov eax, dword [edi + 0xc]
mov ebp, dword [eax + 0x84]
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 8]
mov ecx, dword [edi + 0xc]
dec eax
xor ebx, ebx
mov dword [ecx + 0x84], eax
mov dword [esp + 0x30], ebx
mfence
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 8]
mov ecx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x84]
mov dword [esp + 0x24], ebp
mov byte [esp + 0x17], bl
cmp eax, ecx
jne 0x100176fe
cmp eax, ebp
jb 0x10017725
mov ecx, edi
call fcn.10016c20
mov edx, dword [edi + 0xc]
mov dword [edx + 0x84], ebx
mov eax, dword [edi + 0xc]
mov dword [eax + 8], ebx
mov eax, dword [0x1004c1c8]
cmp eax, ebx
je 0x100176dc
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0x10]
shl ecx, 8
lea ecx, [ecx + edx + 0x180]
push ecx
call eax
add esp, 4
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0x1c]
mov dword [edx + 4], ebx
mov byte [eax], bl
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov ecx, edi
mov byte [esp + 0x17], 1
call fcn.10016c20
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 8]
cmp eax, ebp
jb 0x10017725
mov ecx, dword [edi + 0xc]
mov dword [ecx + 0x84], ebx
mov edx, dword [edi + 0xc]
mov dword [edx + 8], ebx
jmp 0x100176bd
mov ebx, ebp
mov dword [esp + 0x18], ebx
mov ecx, eax
cmp eax, ebp
jae 0x10017778
mov edx, dword [edi + 0xc]
mov edx, dword [edx + 0x8c]
mov edx, dword [edx + ecx*4]
mov ebx, dword [edi + 0xe0]
mov ebx, dword [ebx]
mov dword [esp + 0x20], edx
mov edx, dword [edx - 0x20]
mov edx, dword [edx + 0x90]
cmp edx, ebx
jl 0x1001775f
inc ecx
cmp ecx, ebp
jb 0x10017731
mov ebx, ebp
jmp 0x10017778
mov ebx, dword [edi + 0xe4]
mov edx, dword [esp + 0x20]
mov dword [edx - 0x18], ebx
mov dword [esp + 0x18], ecx
mov dword [edi + 0xe4], edx
mov ebx, ecx
inc ecx
cmp ecx, ebp
jae 0x100177d4
lea ecx, [ecx]
mov edx, dword [edi + 0xc]
mov edx, dword [edx + 0x8c]
mov edx, dword [edx + ecx*4]
mov ebx, dword [edx - 0x20]
mov ebp, dword [edi + 0xe0]
mov ebx, dword [ebx + 0x90]
mov ebp, dword [ebp]
cmp ebx, ebp
jge 0x100177b7
mov ebx, dword [edi + 0xe4]
mov dword [edx - 0x18], ebx
mov ebx, dword [esp + 0x18]
mov dword [edi + 0xe4], edx
jmp 0x100177cd
mov ebx, dword [edi + 0xc]
mov ebp, dword [ebx + 0x8c]
mov ebx, dword [esp + 0x18]
mov dword [ebp + ebx*4], edx
inc ebx
mov dword [esp + 0x18], ebx
inc ecx
cmp ecx, dword [esp + 0x24]
jb 0x10017780
cmp eax, ebx
jae 0x100177ee
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx + 0x8c]
mov ecx, dword [edx + ebx*4 - 4]
dec ebx
mov dword [esp + 0x18], ecx
xor ebp, ebp
jmp 0x100177f4
xor ebp, ebp
mov dword [esp + 0x18], ebp
cmp eax, ebx
jne 0x1001783c
cmp byte [esp + 0x17], 0
jne 0x10017806
mov ecx, edi
call fcn.10016c20
mov edx, dword [edi + 0xc]
mov dword [edx + 0x84], ebp
mov eax, dword [edi + 0xc]
mov dword [eax + 8], ebp
mov eax, dword [0x1004c1c8]
cmp eax, ebp
je 0x10017834
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0x10]
shl ecx, 8
lea ecx, [ecx + edx + 0x180]
push ecx
call eax
add esp, 4
mov edx, dword [edi + 0xc]
mov dword [edx + 4], ebp
jmp 0x1001787b
cmp byte [esp + 0x17], 0
je 0x10017872
mov eax, dword [edi + 0xc]
mov dword [eax + 0x84], ebx
mov eax, dword [edi + 0xc]
cmp dword [eax + 4], ebp
je 0x1001787b
mov ecx, dword [0x1004c1c8]
cmp ecx, ebp
je 0x10017864
push eax
call ecx
add esp, 4
mov esi, dword [edi + 0xc]
mov eax, dword [esi + 0x8c]
mov dword [esi + 4], eax
jmp 0x1001787b
mov esi, dword [edi + 0xc]
mov dword [esi + 0x84], ebx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov byte [ecx], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret