Function at 0x1400228a0
Capabilities:
Access pe header
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x14037da00]
xor rax, rsp
mov qword [rbp + 0x108], rax
xor r14d, r14d
mov dword [rsp + 0x38], r14d
mov esi, r14d
mov edx, 0xe9
lea rcx, [rbp + 0x40]
call fcn.140011160
mov rdi, rax
mov rbx, qword [rax + 0x10]
mov rcx, rax
call fcn.140042c40
lea r13, [0x14024ecc0]
test al, al
je 0x140022910
mov ecx, r14d
jmp 0x14002291e
mov rax, qword [rdi + 8]
mov rcx, r13
test rax, rax
cmovne rcx, rax
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rcx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x58]
call fcn.14008e300
nop
mov rbx, 0xffffffffffffffff
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x14002295a
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14002295a
mov rcx, qword [rbp + 0x40]
call fcn.14021b7f0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], r14
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], r14w
mov dword [rsp + 0x38], 7
mov rdx, qword [rsp + 0x68]
test rdx, rdx
jne 0x1400229a2
mov qword [rbp + 0x98], rdx
mov word [rbp + rdx*2 + 0x88], r14w
jmp 0x1400229e3
cmp rdx, 7
ja 0x1400229cb
mov qword [rbp + 0x98], rdx
movzx eax, r14w
lea rdi, [rbp + 0x88]
mov rcx, rdx
rep stosw word [rdi], ax
mov word [rbp + rdx*2 + 0x88], r14w
jmp 0x1400229e3
mov word [rsp + 0x20], r14w
mov r9, rdx
xor r8d, r8d
lea rcx, [rbp + 0x88]
call fcn.140004100
lea rax, [rbp + 0x88]
mov r9, qword [rbp + 0x88]
mov rcx, qword [rbp + 0xa0]
cmp rcx, 7
cmova rax, r9
mov rdx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
test rdx, rdx
jne 0x140022a16
lea rdx, [0x14024fde0]
lea r8, [rdi + rdi]
mov rcx, rax
call fcn.14023ffe0
mov rcx, qword [rbp + 0xa0]
mov r9, qword [rbp + 0x88]
mov r8, qword [rbp + 0x98]
cmp rdi, r8
ja 0x140022a59
mov qword [rbp + 0x98], rdi
lea rax, [rbp + 0x88]
cmp rcx, 7
cmova rax, r9
mov word [rax + rdi*2], r14w
jmp 0x140022ab6
mov rdx, rdi
sub rdx, r8
mov rax, rcx
sub rax, r8
cmp rdx, rax
ja 0x140022a9e
mov qword [rbp + 0x98], rdi
lea r10, [rbp + 0x88]
cmp rcx, 7
cmova r10, r9
lea rdi, [r10 + r8*2]
test rdx, rdx
je 0x140022a93
movzx eax, r14w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r10 + rax*2], r14w
jmp 0x140022ab6
mov word [rsp + 0x20], r14w
mov r9, rdx
xor r8d, r8d
lea rcx, [rbp + 0x88]
call fcn.140004100
lea rcx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 7
cmova rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
mov qword [rsp + 0x30], rax
mov rdx, qword [rbp + 0xa0]
cmp rdx, 7
jbe 0x140022b21
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022b1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023096
call fcn.140214330
mov qword [rbp + 0x98], r14
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], r14w
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140022b5a
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140022b5a
mov rcx, qword [rsp + 0x58]
call fcn.14021b7f0
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov r12, rax
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rax
mov edx, 0x205
lea rcx, [rbp + 0x58]
call fcn.140011160
mov rdi, rax
mov r15, qword [rax + 0x10]
mov rcx, rax
call fcn.140042c40
test al, al
je 0x140022b9f
mov rcx, r14
jmp 0x140022bad
mov rax, qword [rdi + 8]
mov rcx, r13
test rax, rax
cmovne rcx, rax
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], rcx
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 8]
call fcn.14008e300
nop
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x140022be1
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140022be1
mov rcx, qword [rbp + 0x58]
call fcn.14021b7f0
nop
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x20]
call fcn.140093e70
nop
lea rdx, [rbp + 0xc8]
lea rcx, [rbp - 0x20]
call fcn.140041f70
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140022c1e
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140022c1e
mov rcx, qword [rbp - 0x20]
call fcn.14021b7f0
nop
lea rdx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova rdx, qword [rbp + 0xc8]
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], r14
mov qword [rbp + 0xc0], r14
mov r8, rbx
inc r8
cmp byte [rdx + r8], 0
jne 0x140022c50
lea rcx, [rbp + 0xa8]
call fcn.140006ba0
nop
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x140022ca8
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022ca3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002309c
call fcn.140214330
movdqa xmm0, xmmword [0x1403415a0]
movdqu xmmword [rbp + 0xd8], xmm0
mov byte [rbp + 0xc8], 0
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x140022cdc
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140022cdc
mov rcx, qword [rbp - 8]
call fcn.14021b7f0
lea rax, [rsp + 0x70]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 0x18
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x4c]
lea rcx, [rsp + 0x48]
call fcn.140020650
cmp dword [rsp + 0x48], 6
jne 0x140022d26
cmp dword [rsp + 0x4c], 2
jne 0x140022d26
mov r9, qword [rsp + 0x30]
mov rsi, r9
mov rdi, r12
jmp 0x140022ec4
mov eax, dword [0x140389108]
test eax, eax
jne 0x140022d50
lea r8, [0x140389110]
lea rdx, [0x14038910c]
lea rcx, [0x140389108]
call fcn.140020650
mov eax, dword [0x140389108]
cmp eax, 6
jne 0x140022d5e
cmp dword [0x14038910c], 3
je 0x140022d69
seta al
test al, al
je 0x140022efd
mov rsi, qword [rsp + 0x30]
mov rdi, r12
mov edx, 0x206
lea rcx, [rbp + 0x70]
call fcn.140011160
mov r15, rax
mov r12, qword [rax + 0x10]
mov rcx, rax
call fcn.140042c40
test al, al
je 0x140022d97
mov r13, r14
jmp 0x140022da2
mov rax, qword [r15 + 8]
test rax, rax
cmovne r13, rax
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r13
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x28]
call fcn.14008e300
nop
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x140022dd6
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140022dd6
mov rcx, qword [rbp + 0x70]
call fcn.14021b7f0
nop
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x10]
call fcn.140093e70
nop
lea rdx, [rbp + 0xe8]
lea rcx, [rbp + 0x10]
call fcn.140041f70
nop
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140022e13
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140022e13
mov rcx, qword [rbp + 0x10]
call fcn.14021b7f0
nop
lea rdx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0xf
cmova rdx, qword [rbp + 0xe8]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140022e30
lea rcx, [rbp + 0xa8]
call fcn.140006950
nop
mov rdx, qword [rbp + 0x100]
cmp rdx, 0xf
jbe 0x140022e88
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022e83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400230a2
call fcn.140214330
movdqa xmm0, xmmword [0x1403415a0]
movdqu xmmword [rbp + 0xf8], xmm0
mov byte [rbp + 0xe8], 0
mov rax, qword [rbp + 0x28]
test rax, rax
je 0x140022eba
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x140022eba
mov rcx, qword [rbp + 0x28]
call fcn.14021b7f0
mov r12, qword [rsp + 0x40]
mov r9, qword [rsp + 0x30]
test rsi, rsi
je 0x14002301a
test rdi, rdi
je 0x14002301a
test r9, r9
je 0x14002301a
test r12, r12
je 0x14002301a
mov edx, dword [rdi + 0xa4]
test edx, edx
je 0x140022f61
mov ecx, dword [rdi + 0xa0]
add rcx, rsi
jmp 0x140022f64
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r15, qword [rcx + 0x18]
add r15, 0x10
mov rbx, qword [r15]
cmp rbx, r15
je 0x140022f50
nop word [rax + rax]
lea rdi, [rbx]
mov rbx, qword [rbx]
mov rcx, qword [rdi + 0x30]
call fcn.14001fce0
test rax, rax
jne 0x140022f4b
test rsi, rsi
je 0x140022f47
mov rax, qword [rdi + 0x30]
cmp rsi, rax
jb 0x140022f4b
mov rsi, rax
jmp 0x140022f4b
mov rsi, qword [rdi + 0x30]
cmp rbx, r15
jne 0x140022f20
mov rcx, rsi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov rdi, rax
jmp 0x140022ebf
mov rcx, r14
mov eax, dword [rdi + 0x50]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x80], eax
mov dword [rbp - 0x7c], edx
nop word [rax + rax]
lea rdx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0xf
cmova rdx, qword [rbp + 0xa8]
lea r8, [rbp - 0x40]
mov rcx, r9
call fcn.140023ef0
test eax, eax
js 0x140023020
mov rdi, qword [rbp - 0x30]
add rdi, 0xfffffffffffffff0
mov eax, dword [0x140389108]
test eax, eax
jne 0x140022fd9
lea r8, [0x140389110]
lea rdx, [0x14038910c]
lea rcx, [0x140389108]
call fcn.140020650
mov eax, dword [0x140389108]
cmp eax, 6
jne 0x140022fe7
cmp dword [0x14038910c], 2
je 0x140022fee
seta al
test al, al
je 0x140022ffd
cmp dword [rdi + 4], 0x200
jne 0x140023004
cmp dword [rdi + 0xc], 0
je 0x14002301d
cmp dword [rdi + 4], 0x200
mov r9, qword [rsp + 0x30]
jne 0x140022f80
cmp dword [rdi + 8], 0
je 0x14002301d
jmp 0x140022f80
mov rdi, r14
mov r14, rdi
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0xf
jbe 0x14002305d
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023058
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023090
call fcn.140214330
mov rax, r14
mov rcx, qword [rbp + 0x108]
xor rcx, rsp
call fcn.140214310
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140221490
nop
call fcn.140221490
nop
call fcn.140221490
nop
call fcn.140221490
int3