Function at 0x562840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x5635d0
mov ebx, edx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov edx, dword fs:[0]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
cmp dword [esi + 8], 0
je 0x56289a
mov edi, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
test edi, edi
je 0x5628a2
mov eax, dword [esi + 0x1c]
cmp edi, eax
jae 0x5628a6
cmp byte [edx + edi], 0xbf
jg 0x5628ac
jmp 0x562a97
mov edx, dword [esi + 0x14]
mov edi, dword [esi + 0x1c]
jmp 0x5628ac
xor edi, edi
jmp 0x5628ac
jne 0x562a97
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edx
sub ecx, dword [ebp + 0xc]
sub eax, esi
add ecx, edi
cmp eax, ecx
jae 0x5628e9
mov dword [ebp - 0x10], 0
push ecx
push esi
push ebx
call fcn.0059c3c0
add esp, 0xc
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
sub eax, esi
cmp eax, edi
jae 0x56290b
mov dword [ebp - 0x10], 0
push edi
push esi
push ebx
call fcn.0059c3c0
add esp, 0xc
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebx + 8]
mov eax, dword [ebx]
add eax, esi
push edi
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add esi, edi
mov dword [ebx + 8], esi
cmp esi, dword [ebx + 4]
jne 0x56293b
mov dword [ebp - 0x10], 0
push esi
push ebx
call fcn.00485810
add esp, 8
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebx + 8]
mov eax, dword [ebx]
mov byte [eax + esi], 0x23
inc dword [ebx + 8]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov eax, 0x2600
jmp 0x56296e
mov ecx, edx
cmp ecx, 0x110000
jne 0x562a15
cmp ebx, esi
je 0x562a13
movzx edx, byte [ebx]
movzx ecx, dl
test dl, dl
js 0x562990
inc ebx
mov edx, ecx
cmp edx, 0xd
jbe 0x5629e9
jmp 0x562960
movzx edi, byte [ebx + 1]
and ecx, 0x1f
and edi, 0x3f
cmp dl, 0xdf
jbe 0x5629d4
movzx esi, byte [ebx + 2]
shl edi, 6
and esi, 0x3f
or esi, edi
cmp dl, 0xf0
jb 0x5629fc
movzx edx, byte [ebx + 3]
shl esi, 6
and ecx, 7
add ebx, 4
shl ecx, 0x12
and edx, 0x3f
or edx, esi
mov esi, dword [ebp + 0x10]
or edx, ecx
cmp edx, 0x110000
jne 0x5629e0
jmp 0x562a15
shl ecx, 6
add ebx, 2
or ecx, edi
mov edx, ecx
nop
cmp edx, 0xd
ja 0x562960
mov ecx, 0x110000
bt eax, edx
jb 0x562962
jmp 0x562960
shl ecx, 0xc
add ebx, 3
or esi, ecx
mov edx, esi
mov esi, dword [ebp + 0x10]
cmp edx, 0xd
jbe 0x5629e9
jmp 0x562960
mov ebx, esi
mov dword [ebp - 0x10], 0
push esi
push ebx
push dword [ebp - 0x20]
call fcn.00562af0
add esp, 0xc
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ecx + 8]
movsd xmm0, qword [ecx]
movsd xmm3, qword [esi + 0x34]
movsd xmm1, qword [esi + 0x3c]
movsd xmm2, qword [esi]
mov ecx, dword [ebp - 0x24]
mov dword [edx + 0x1c], eax
movzx eax, byte [esi + 0x44]
movsd qword [edx + 0x14], xmm0
movsd qword [edx + 0x3c], xmm1
movsd qword [edx + 0x34], xmm3
movups xmm1, xmmword [esi + 0x20]
mov byte [edx + 0x44], al
movsd qword [edx], xmm2
mov dword [edx + 8], 1
mov dword [edx + 0xc], ecx
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x30]
mov dword [edx + 0x10], ecx
mov ecx, dword [ebp - 0x18]
movups xmmword [edx + 0x20], xmm1
mov dword [edx + 0x30], eax
mov dword fs:[0], ecx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
push 0x63d568
push edi
push 0
push eax
push edx
call fcn.005a11c0
add esp, 0x14
ud2