Function at 0xd45b80
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xd581bc
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0xd5f010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], edi
call fcn.00d49740
lea eax, [ebx + 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0x18]
call fcn.00d49740
lea esi, [edi + 0x30]
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], esi
push 0x40
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.00d56b2a
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea eax, [ebx + 0x30]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.00d4c0f0
lea eax, [ebx + 0x38]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x38]
call fcn.00d49740
lea eax, [ebx + 0x50]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0x50]
call fcn.00d49740
mov byte [ebp - 4], 5
lea ecx, [edi + 0x6c]
mov eax, dword [ebx + 0x68]
mov dword [edi + 0x68], eax
lea eax, [ebx + 0x6c]
push eax
call fcn.00d49740
lea eax, [ebx + 0x84]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x84]
call fcn.00d49740
lea esi, [edi + 0x9c]
mov byte [ebp - 4], 7
mov dword [ebp - 0x10], esi
push 0x40
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.00d56b2a
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 8
mov ecx, esi
push eax
mov eax, dword [ebx + 0x9c]
push dword [eax + 4]
call fcn.00d4d750
mov ecx, eax
mov eax, dword [esi]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xa0]
mov dword [esi + 4], eax
mov esi, dword [esi]
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0xd45d03
mov ecx, dword [edx]
cmp byte [ecx + 0xd], 0
jne 0xd45cdf
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0xd45cd3
mov dword [esi], edx
mov edx, dword [edi + 0x9c]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0xd45cfe
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0xd45cf3
mov dword [edx + 8], ecx
jmp 0xd45d0e
mov dword [esi], esi
mov eax, dword [edi + 0x9c]
mov dword [eax + 8], eax
lea esi, [edi + 0xa4]
mov byte [ebp - 4], 9
mov dword [ebp - 0x10], esi
push 0x88
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.00d56b2a
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0xa
mov ecx, esi
push eax
mov eax, dword [ebx + 0xa4]
push dword [eax + 4]
call fcn.00d4f330
mov ecx, eax
mov eax, dword [esi]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xa8]
mov dword [esi + 4], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
cmp byte [edx + 0xd], 0
jne 0xd45db1
mov ecx, dword [edx]
cmp byte [ecx + 0xd], 0
jne 0xd45d91
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0xd45d83
mov eax, dword [esi]
mov dword [eax], edx
mov edx, dword [esi]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0xd45dac
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0xd45da1
mov dword [edx + 8], ecx
jmp 0xd45db8
mov dword [eax], eax
mov eax, dword [esi]
mov dword [eax + 8], eax
mov byte [ebp - 4], 0xb
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
mov eax, dword [ebx + 0xb0]
sub eax, dword [ebx + 0xac]
sar eax, 3
test eax, eax
je 0xd45e89
cmp eax, 0x1fffffff
ja 0xd46051
lea esi, [eax*8]
cmp esi, 0x1000
jb 0xd45e36
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0xd46056
push eax
call fcn.00d56b2a
mov ecx, eax
add esp, 4
test ecx, ecx
je 0xd45e30
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0xd45e47
call dword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
test esi, esi
je 0xd45e45
push esi
call fcn.00d56b2a
add esp, 4
jmp 0xd45e47
xor eax, eax
mov dword [edi + 0xac], eax
mov dword [edi + 0xb0], eax
add eax, esi
mov dword [edi + 0xb4], eax
mov esi, dword [ebx + 0xb0]
mov eax, dword [ebx + 0xac]
sub esi, eax
mov edi, dword [edi + 0xac]
push esi
push eax
push edi
call sub.vcruntime140.dll_memmove
add esp, 0xc
sar esi, 3
lea eax, [edi + esi*8]
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0xb0], eax
mov byte [ebp - 4], 0xc
lea esi, [edi + 0xb8]
mov dword [ebp - 0x10], esi
mov eax, dword [ebx + 0xb8]
mov dword [esi], eax
mov al, byte [ebx + 0xbc]
mov byte [esi + 4], al
mov eax, 0x2aaaaaab
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov ecx, dword [ebx + 0xc4]
sub ecx, dword [ebx + 0xc0]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x18], eax
je 0xd45f3d
cmp eax, 0x15555555
ja 0xd4605b
push eax
call fcn.00d4cec0
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
mov dword [esi + 0x10], eax
mov edi, dword [esi + 8]
mov esi, dword [ebx + 0xc4]
mov eax, dword [ebx + 0xc0]
sub esi, eax
push esi
push eax
push edi
call sub.vcruntime140.dll_memmove
mov eax, 0x2aaaaaab
add esp, 0xc
imul esi
mov esi, dword [ebp - 0x10]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
lea eax, [edi + eax*4]
mov edi, dword [ebp - 0x1c]
mov dword [esi + 0xc], eax
movq xmm0, qword [ebx + 0xcc]
movq qword [esi + 0x14], xmm0
mov eax, dword [ebx + 0xd4]
mov dword [esi + 0x1c], eax
movq xmm0, qword [ebx + 0xd8]
movq qword [esi + 0x20], xmm0
mov eax, dword [ebx + 0xe0]
mov dword [esi + 0x28], eax
movq xmm0, qword [ebx + 0xe4]
movq qword [esi + 0x2c], xmm0
mov eax, dword [ebx + 0xec]
mov dword [esi + 0x34], eax
mov eax, dword [ebx + 0xf0]
lea esi, [edi + 0xf8]
mov dword [edi + 0xf0], eax
mov dword [ebp - 0x10], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebx + 0x11c]
test ecx, ecx
je 0xd45fb1
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
lea esi, [edi + 0x120]
mov dword [ebp - 0x10], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebx + 0x144]
test ecx, ecx
je 0xd45fd7
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov eax, dword [ebx + 0x148]
lea esi, [edi + 0x150]
mov dword [edi + 0x148], eax
mov dword [ebp - 0x10], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebx + 0x174]
test ecx, ecx
je 0xd46009
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
lea esi, [edi + 0x178]
mov dword [ebp - 0x10], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 0x14
mov ecx, dword [ebx + 0x19c]
test ecx, ecx
je 0xd4602f
mov edx, dword [ecx]
push esi
call dword [edx]
mov dword [esi + 0x24], eax
mov ecx, dword [ebx + 0x1a0]
mov eax, edi
mov dword [edi + 0x1a0], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00d4ceb0
call fcn.00d412c0
call fcn.00d4ceb0
int3