Function at 0x10137f20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101f3f68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x101ff094]
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x1c], ebp
mov dword [ebp + 4], eax
mov ecx, dword [0x101ff094]
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [ebp + 8], ecx
mov eax, 0x101fc0dc
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x28], ebx
lea ecx, [ebp + 0x44]
mov byte [esp + 0x38], 3
call fcn.101d3302
lea ecx, [ebp + 0x58]
mov byte [esp + 0x38], 4
call fcn.101d3302
mov edx, dword [0x101ff094]
mov dword [ebp + 0x6c], edx
mov eax, dword [0x101ff094]
mov dword [ebp + 0x70], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edi, edx
mov byte [esp + 0x38], 7
mov word [esp + 0x24], bx
mov word [esp + 0x26], bx
lea esi, [edi + 1]
mov byte [esp + 0x28], bl
cmp esi, ebx
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov dword [esp + 0x10], edi
jne 0x10138004
cmp eax, ebx
je 0x10137ff9
push eax
call fcn.101d505d
add esp, 4
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x14], ebx
jmp 0x1013811a
cmp eax, ebx
jne 0x1013803a
mov edi, esi
shl edi, 4
push edi
call fcn.101d5034
mov edx, eax
mov ecx, edi
mov dword [ebp + 0x10], 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 + 0x18], esi
mov dword [ebp + 0x14], esi
jmp 0x10138116
mov ecx, dword [ebp + 0x18]
cmp esi, ecx
jg 0x1013806f
cmp esi, edx
jle 0x10138067
mov ecx, esi
sub ecx, edx
shl edx, 4
add edx, eax
xor eax, eax
shl ecx, 4
mov edi, edx
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 edi, dword [esp + 0x10]
mov dword [ebp + 0x14], esi
jmp 0x1013811a
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
jne 0x10138099
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x1013808d
mov eax, 4
jmp 0x10138099
cmp eax, 0x400
jle 0x10138099
mov eax, 0x400
add eax, ecx
cmp esi, eax
mov dword [esp + 0x14], eax
jl 0x101380a7
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x14]
shl eax, 4
push eax
call fcn.101d5034
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
shl ecx, 4
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x1c], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x14]
lea esi, [ecx + 1]
mov ecx, esi
sub ecx, edx
shl edx, 4
add edx, eax
xor eax, eax
shl ecx, 4
mov edi, edx
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 eax, dword [ebp + 0x10]
push eax
call fcn.101d505d
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add esp, 8
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x18], edx
mov edi, dword [esp + 0x10]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x28]
shl edi, 4
add edi, eax
xor eax, eax
mov edx, dword [esp + 0x2c]
mov dword [edi], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
or eax, 0xffffffff
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 0xc], edx
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x40], eax
pop edi
mov dword [ebp], ebx
mov dword [ebp + 0x74], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x3c], ebx
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret