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

Disassembly:
lea r12, [rsp - 0x148]
cmp r12, qword [r14 + 0x10]
jbe 0x62a0f0
push rbp
mov rbp, rsp
sub rsp, 0x1c0
mov qword [rsp + 0x1e8], rax
mov qword [rsp + 0x1f0], rbx
mov qword [rsp + 0x1f8], rcx
mov qword [rsp + 0x210], r8
mov rdx, qword [rsp + 0x1e0]
cmp rdx, 0x10
jb 0x62a0e5
mov qword [rsp + 0x220], r10
mov qword [rsp + 0x218], r9
mov qword [rsp + 0x210], r8
mov qword [rsp + 0x208], rsi
mov qword [rsp + 0x200], rdi
mov qword [rsp + 0x1f8], rcx
mov qword [rsp + 0x1f0], rbx
mov qword [rsp + 0x1e8], rax
mov rsi, qword [0x00886aa0]
mov r8, qword [0x00886aa8]
mov r9, qword [0x00886ab0]
mov r10, qword [rax + 0x28]
mov ecx, 0x10
mov rdi, rdx
mov rax, rbx
mov rbx, qword [rsp + 0x1d0]
call r10
mov rcx, qword [rsp + 0x218]
mov rdx, rcx
shr rdx, 7
mov r10, qword [rsp + 0x208]
mov rbx, qword [rsp + 0x1d0]
mov rdi, qword [rsp + 0x1e0]
mov r11, qword [rsp + 0x210]
mov r12, qword [rsp + 0x200]
mov r13, qword [rsp + 0x1f8]
mov r15, qword [rsp + 0x220]
xor eax, eax
jmp 0x629688
mov qword [rsp + 0x1b8], r12
lea rax, [r13 + r10]
lea rax, [rax + 0x10]
mov qword [rsp + 0x1b0], rax
lea rcx, [rsi - 0x10]
mov qword [rsp + 0xf0], rcx
lea rcx, [r11 + r15]
lea rcx, [rcx + 0x10]
mov qword [rsp + 0x140], rcx
lea rcx, [r8 - 0x10]
mov qword [rsp + 0x78], rcx
lea rcx, [r13 + r10]
lea rcx, [rcx + 0x20]
mov qword [rsp + 0x1a8], rcx
lea rcx, [rsi - 0x20]
mov qword [rsp + 0xe8], rcx
lea rcx, [r11 + r15]
lea rcx, [rcx + 0x20]
mov qword [rsp + 0x138], rcx
lea rcx, [r8 - 0x20]
mov qword [rsp + 0x70], rcx
lea rcx, [r13 + r10]
lea rcx, [rcx + 0x30]
mov qword [rsp + 0x1a0], rcx
lea rcx, [rsi - 0x30]
mov qword [rsp + 0xe0], rcx
lea rcx, [r11 + r15]
lea rcx, [rcx + 0x30]
mov qword [rsp + 0x130], rcx
lea rcx, [r8 - 0x30]
mov qword [rsp + 0x68], rcx
lea rcx, [r13 + r10]
lea rcx, [rcx + 0x40]
mov qword [rsp + 0x198], rcx
lea rcx, [rsi - 0x40]
mov qword [rsp + 0xd8], rcx
lea rcx, [r11 + r15]
lea rcx, [rcx + 0x40]
mov qword [rsp + 0x128], rcx
lea rcx, [r8 - 0x40]
mov qword [rsp + 0x60], rcx
lea rcx, [r13 + r10]
lea rcx, [rcx + 0x50]
mov qword [rsp + 0x190], rcx
lea rcx, [rsi - 0x50]
mov qword [rsp + 0xd0], rcx
lea rcx, [r11 + r15]
lea rcx, [rcx + 0x50]
mov qword [rsp + 0x120], rcx
lea rcx, [r8 - 0x50]
mov qword [rsp + 0x58], rcx
lea rcx, [r13 + r10]
lea rcx, [rcx + 0x60]
mov qword [rsp + 0x188], rcx
lea rcx, [rsi - 0x60]
mov qword [rsp + 0xc8], rcx
lea rcx, [r11 + r15]
lea rcx, [rcx + 0x60]
mov qword [rsp + 0x118], rcx
lea rcx, [r8 - 0x60]
mov qword [rsp + 0x50], rcx
lea r10, [r13 + r10]
lea r10, [r10 + 0x70]
mov qword [rsp + 0x180], r10
lea r13, [rsi - 0x70]
mov qword [rsp + 0xc0], r13
lea r15, [r11 + r15]
lea r15, [r15 + 0x70]
mov qword [rsp + 0x110], r15
lea r11, [r8 - 0x70]
mov qword [rsp + 0x48], r11
dec rdx
mov qword [rsp + 0x80], rdx
nop
mov qword [rsp], r12
mov qword [rsp + 8], 0x10
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0x10
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 0x10
mov qword [rsp + 0x40], rdi
call fcn.00538980
xorps xmm15, xmm15
mov r14, qword [0x0091f2b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x1e8]
mov rcx, qword [rax + 0x28]
mov rbx, qword [rsp + 0x1d0]
mov rdi, qword [rsp + 0x1e0]
mov rsi, qword [rsp + 0x1b8]
mov r8d, 0x10
mov r9, qword [rsp + 0xf8]
mov rax, qword [rsp + 0x1f0]
mov r10, rcx
mov rcx, r8
call r10
mov rax, qword [rsp + 0x1b0]
mov qword [rsp], rax
mov qword [rsp + 8], 0x10
mov rcx, qword [rsp + 0xf0]
mov qword [rsp + 0x10], rcx
mov rdx, qword [rsp + 0x140]
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 0x10
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x1d0]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], 0x10
mov rbx, qword [rsp + 0x1e0]
mov qword [rsp + 0x40], rbx
call fcn.00538980
xorps xmm15, xmm15
mov r14, qword [0x0091f2b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x1e8]
mov rcx, qword [rax + 0x28]
mov rbx, qword [rsp + 0x1d0]
mov rdi, qword [rsp + 0x1e0]
mov rsi, qword [rsp + 0x1b0]
mov r8d, 0x10
mov r9, qword [rsp + 0xf0]
mov rax, qword [rsp + 0x1f0]
mov r10, rcx
mov rcx, r8
call r10
mov rax, qword [rsp + 0x1a8]
mov qword [rsp], rax
mov qword [rsp + 8], 0x10
mov rcx, qword [rsp + 0xe8]
mov qword [rsp + 0x10], rcx
mov rdx, qword [rsp + 0x138]
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 0x10
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x1d0]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], 0x10
mov rbx, qword [rsp + 0x1e0]
mov qword [rsp + 0x40], rbx
call fcn.00538980
xorps xmm15, xmm15
mov r14, qword [0x0091f2b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x1e8]
mov rcx, qword [rax + 0x28]
mov rbx, qword [rsp + 0x1d0]
mov rdi, qword [rsp + 0x1e0]
mov rsi, qword [rsp + 0x1a8]
mov r8d, 0x10
mov r9, qword [rsp + 0xe8]
mov rax, qword [rsp + 0x1f0]
mov r10, rcx
mov rcx, r8
call r10
mov rax, qword [rsp + 0x1a0]
mov qword [rsp], rax
mov qword [rsp + 8], 0x10
mov rcx, qword [rsp + 0xe0]
mov qword [rsp + 0x10], rcx
mov rdx, qword [rsp + 0x130]
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 0x10
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x1d0]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], 0x10
mov rbx, qword [rsp + 0x1e0]
mov qword [rsp + 0x40], rbx
call fcn.00538980
xorps xmm15, xmm15
mov r14, qword [0x0091f2b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x1e8]
mov rcx, qword [rax + 0x28]
mov rbx, qword [rsp + 0x1d0]
mov rdi, qword [rsp + 0x1e0]
mov rsi, qword [rsp + 0x1a0]
mov r8d, 0x10
mov r9, qword [rsp + 0xe0]
mov rax, qword [rsp + 0x1f0]
mov r10, rcx
mov rcx, r8
call r10
mov rax, qword [rsp + 0x198]
mov qword [rsp], rax
mov qword [rsp + 8], 0x10
mov rcx, qword [rsp + 0xd8]
mov qword [rsp + 0x10], rcx
mov rdx, qword [rsp + 0x128]
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 0x10
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x1d0]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], 0x10
mov rbx, qword [rsp + 0x1e0]
mov qword [rsp + 0x40], rbx
call fcn.00538980
xorps xmm15, xmm15
mov r14, qword [0x0091f2b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x1e8]
mov rcx, qword [rax + 0x28]
mov rbx, qword [rsp + 0x1d0]
mov rdi, qword [rsp + 0x1e0]
mov rsi, qword [rsp + 0x198]
mov r8d, 0x10
mov r9, qword [rsp + 0xd8]
mov rax, qword [rsp + 0x1f0]
mov r10, rcx
mov rcx, r8
call r10
mov rax, qword [rsp + 0x190]
mov qword [rsp], rax
mov qword [rsp + 8], 0x10
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x10], rcx
mov rdx, qword [rsp + 0x120]
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 0x10
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x1d0]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], 0x10
mov rbx, qword [rsp + 0x1e0]
mov qword [rsp + 0x40], rbx
call fcn.00538980
xorps xmm15, xmm15
mov r14, qword [0x0091f2b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x1e8]
mov rcx, qword [rax + 0x28]
mov rbx, qword [rsp + 0x1d0]
mov rdi, qword [rsp + 0x1e0]
mov rsi, qword [rsp + 0x190]
mov r8d, 0x10
mov r9, qword [rsp + 0xd0]
mov rax, qword [rsp + 0x1f0]
mov r10, rcx
mov rcx, r8
call r10
mov rax, qword [rsp + 0x188]
mov qword [rsp], rax
mov qword [rsp + 8], 0x10
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0x10], rcx
mov rdx, qword [rsp + 0x118]
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 0x10
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x1d0]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], 0x10
mov rbx, qword [rsp + 0x1e0]
mov qword [rsp + 0x40], rbx
call fcn.00538980
xorps xmm15, xmm15
mov r14, qword [0x0091f2b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x1e8]
mov rcx, qword [rax + 0x28]
mov rbx, qword [rsp + 0x1d0]
mov rdi, qword [rsp + 0x1e0]
mov rsi, qword [rsp + 0x188]
mov r8d, 0x10
mov r9, qword [rsp + 0xc8]
mov rax, qword [rsp + 0x1f0]
mov r10, rcx
mov rcx, r8
call r10
mov rax, qword [rsp + 0x180]
mov qword [rsp], rax
mov qword [rsp + 8], 0x10
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x10], rcx
mov rdx, qword [rsp + 0x110]
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 0x10
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x1d0]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], 0x10
mov rbx, qword [rsp + 0x1e0]
mov qword [rsp + 0x40], rbx
call fcn.00538980
xorps xmm15, xmm15
mov r14, qword [0x0091f2b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x1e8]
mov rcx, qword [rax + 0x28]
mov rbx, qword [rsp + 0x1d0]
mov rdi, qword [rsp + 0x1e0]
mov rsi, qword [rsp + 0x180]
mov r8d, 0x10
mov r9, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x1f0]
mov r10, rcx
mov rcx, r8
call r10
mov rax, qword [rsp + 0x100]
sub rax, 0xffffffffffffff80
mov rcx, qword [rsp + 0x208]
mov rdx, qword [rsp + 0x1d0]
mov rbx, qword [rsp + 0x1e0]
mov rsi, qword [rsp + 0x210]
mov rdi, qword [rsp + 0x218]
mov r8, qword [rsp + 0x200]
mov r9, qword [rsp + 0x1f8]
mov r10, qword [rsp + 0x220]
mov r11, qword [rsp + 0x80]
mov rcx, rdi
mov rbx, rdx
mov rdi, qword [rsp + 0x1e0]
mov r10, qword [rsp + 0x208]
mov r11, rsi
mov r12, r8
mov r13, r9
mov r15, qword [rsp + 0x220]
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x100], rax
test rdx, rdx
jle 0x6296fd
cmp rcx, rax
jb 0x62a0e0
sub r15, rax
mov r8, r15
neg r15
sar r15, 0x3f
and r15, rax
lea r9, [r11 + r15]
cmp r8, 0x80
jb 0x62a0cf
nop
cmp r12, rax
jb 0x62a0c7
sub r10, rax
mov qword [rsp + 0xf8], r10
neg r10
sar r10, 0x3f
and r10, rax
lea r12, [r13 + r10]
mov rsi, qword [rsp + 0xf8]
cmp rsi, 0x80
jae 0x628eac
jmp 0x62a0ba
mov rdx, rcx
shr rdx, 4
and edx, 7
lea rsi, [0x0070b460]
jmp qword [rsi + rdx*8]
mov ecx, pe_nt_image_headers64
mov rdx, rsi
call fcn.0046bee0
mov rcx, r12
call fcn.0046bf20
mov ecx, pe_nt_image_headers64
mov rdx, r8
call fcn.0046bee0
nop dword [rax]
call fcn.0046bf20
mov ecx, 0x10
call fcn.0046bee0
nop
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x58], r10
call fcn.00469b80
mov rax, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov r9, qword [rsp + 0x50]
mov r10, qword [rsp + 0x58]
jmp fcn.00628da0