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

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov edi, dword [ecx + 4]
mov esi, dword [ecx + 0xc]
mov ebx, dword [ecx]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x1c], edi
mov edi, dword [ecx + 8]
mov dword [ebp - 0x20], esi
mov esi, dword [ecx + 0x14]
test byte [0x63bcb034], 8
jne 0x63bc5d48
test edx, edx
setne dl
test esi, esi
sete al
or al, dl
jne 0x63bc5de0
test ebx, ebx
je 0x63bc5de0
mov eax, dword [ebp - 0x1c]
mov dword [esi], 0
and eax, 0xf
je 0x63bc5da0
sub eax, 1
mov ecx, 0xc0000000
cmp eax, 1
ja 0x63bc5de0
mov eax, dword [ebp - 0x1c]
and eax, 0xf0
cmp eax, 0x20
je 0x63bc5db6
ja 0x63bc5d28
cmp eax, 1
sbb eax, eax
and eax, 3
mov edx, dword [ebp - 0x1c]
and edx, 0xf000
je 0x63bc5dca
cmp edx, 0x1000
jne 0x63bc5de0
mov edx, 2
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x63bc5e08
mov dword [ebp - 0x24], eax
mov ecx, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov dword [ebp - 0x20], ecx
call ecx
mov edx, dword [ebp - 0x24]
mov dword [eax], 0x63bcde60
mov edi, eax
sub esp, 0xc
mov ecx, dword [ebp - 0x20]
mov dword [eax + 4], 1
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0xc], eax
cmp word [ebx], 0
je 0x63bc5e30
mov eax, ebx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x63bc5cc8
sub eax, ebx
lea edx, [eax + 2]
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1c], edx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ecx
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [edi + 0x10], eax
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 8], edx
call sub.ucrtbase.dll_memcpy
mov dword [esi], edi
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x18
cmp eax, 0x30
je 0x63bc5df8
cmp eax, 0x40
jne 0x63bc5de0
mov eax, 3
jmp 0x63bc5c14
mov eax, ebx
mov dword [ebp - 0x24], edx
call fcn.63bc3570
mov dword [esp + 0x24], esi
mov edx, dword [ebp - 0x24]
mov dword [esp + 0x20], edx
mov ecx, dword [ebp - 0x20]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._s___ld___lx___d___p___p__n
mov dword [esp + 8], str.SHCreateStreamOnFileEx
mov dword [esp + 0x14], ecx
mov dword [esp + 4], 0x63bcb034
mov dword [esp], 3
call fcn.63bc2700
mov edx, dword [ebp - 0x24]
jmp 0x63bc5bb8
mov eax, dword [ebp - 0x1c]
mov ecx, 0x80000000
and eax, 0xf0
cmp eax, 0x20
jne 0x63bc5c06
mov edx, dword [ebp - 0x1c]
mov eax, 1
and edx, 0xf000
jne 0x63bc5c23
cmp dword [ebp - 0x20], 1
sbb edx, edx
and edx, 2
add edx, 1
jmp 0x63bc5c34
lea esp, [ebp - 0x10]
mov eax, 0x80070057
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x18
mov eax, 2
jmp 0x63bc5c14
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovg eax, edx
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x18
mov edx, 2
jmp 0x63bc5cd6