Function at 0x11d589d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x11df4988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [esp + 0x38]
push ebp
mov ebp, ecx
push esi
push eax
lea ecx, [esp + 0x10]
call fcn.11d7a640
mov ecx, dword [esp + 0xc]
xor esi, esi
mov dword [esp + 0x38], esi
cmp dword [ecx - 8], esi
je 0x11d58d0f
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], esi
call fcn.11d7f580
mov edx, dword [esp + 0x40]
mov byte [esp + 0x38], 1
cmp dword [edx - 8], esi
je 0x11d58d01
push ebx
push edi
lea ecx, [esp + 0x48]
call fcn.11d7e7f0
lea ecx, [esp + 0x48]
call fcn.11d7eb10
mov eax, dword [esp + 0x48]
cmp dword [eax - 8], esi
je 0x11d58cbd
push 0x11e0b8b0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x38], esi
call fcn.11d7bfc0
mov edi, eax
or ebx, 0xffffffff
cmp edi, ebx
jne 0x11d58a84
mov ecx, dword [esp + 0x48]
push ecx
call fcn.11d8f6de
add esp, 4
lea edx, [esp + 0x1c]
push edi
push edx
lea ecx, [esp + 0x50]
call fcn.11d7d520
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
mov eax, dword [eax - 8]
sub eax, edi
dec eax
push eax
push ecx
lea ecx, [esp + 0x50]
call fcn.11d7d320
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 3
call fcn.11d7e7f0
lea ecx, [esp + 0x10]
call fcn.11d7eb10
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
cmp eax, esi
je 0x11d58af9
cmp dword [edx - 8], esi
je 0x11d58af9
push ecx
call fcn.11d8f6de
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
push edx
call fcn.11d8f6de
add esp, 8
mov dword [esp + 0x34], eax
jmp 0x11d58b39
cmp eax, esi
je 0x11d58b19
cmp dword [edx - 8], esi
jne 0x11d58b15
push ecx
call fcn.11d8f6de
add esp, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
jmp 0x11d58b39
cmp eax, esi
jne 0x11d58b31
cmp dword [edx - 8], esi
je 0x11d58b31
push edx
call fcn.11d8f6de
add esp, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
jmp 0x11d58b39
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov ecx, dword [ebp + 4]
xor edi, edi
mov esi, ecx
mov dword [esp + 0x28], esi
lea ebx, [esi + 1]
cmp ebx, edi
jne 0x11d58b6d
mov eax, dword [ebp]
cmp eax, edi
je 0x11d58b62
push eax
mov dword [esp + 0x2c], ecx
call fcn.11d8efae
add esp, 4
mov dword [ebp], edi
mov dword [ebp + 8], edi
mov dword [ebp + 4], edi
jmp 0x11d58c8d
mov edx, dword [ebp]
cmp edx, edi
jne 0x11d58ba8
lea edi, [ebx*8]
push edi
call fcn.11d8efa0
mov edx, eax
mov ecx, edi
mov dword [ebp], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 8], ebx
mov dword [ebp + 4], ebx
jmp 0x11d58c8d
mov edi, dword [ebp + 8]
cmp ebx, edi
jg 0x11d58be9
cmp ecx, ebx
jge 0x11d58bd9
mov eax, ebx
lea edi, [edx + ecx*8]
sub eax, ecx
lea ecx, [eax*8]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 4], ebx
jmp 0x11d58c8d
jle 0x11d58be1
sub ecx, ebx
mov dword [esp + 0x28], ecx
mov dword [ebp + 4], ebx
jmp 0x11d58c8d
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x11d58c13
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x11d58c07
mov eax, 4
jmp 0x11d58c13
cmp eax, 0x400
jle 0x11d58c13
mov eax, 0x400
add eax, edi
cmp ebx, eax
mov dword [esp + 0x18], eax
jl 0x11d58c21
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x18]
lea ecx, [eax*8]
push ecx
call fcn.11d8efa0
mov ecx, dword [ebp + 4]
mov esi, dword [ebp]
shl ecx, 3
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x28], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp + 4]
mov ecx, ebx
sub ecx, edx
shl ecx, 3
lea edi, [eax + edx*8]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp]
push eax
call fcn.11d8efae
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x30]
add esp, 8
mov dword [ebp], eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ecx
mov edx, dword [ebp]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x40], 2
mov dword [edx + esi*8], eax
mov dword [edx + esi*8 + 4], ecx
lea ecx, [esp + 0x10]
call fcn.11d7ade0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 1
call fcn.11d7ade0
xor esi, esi
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.11d7f580
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 4
call fcn.11d7af70
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 1
call fcn.11d7ade0
mov edx, dword [esp + 0x48]
cmp dword [edx - 8], esi
jne 0x11d58a3d
pop edi
pop ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 0
call fcn.11d7ade0
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.11d7ade0
mov ecx, dword [esp + 0x30]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x34
ret 8