Function at 0x18020b790
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
sub rsp, 0x50
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp dword [0x18038a9a8], 0
mov rsi, rcx
jne 0x18020bc45
mov qword [rsp + 0x60], rbx
lea r10, [rcx + 0x1720]
mov qword [rsp + 0x68], rbp
lea rbx, [0x18038a8b0]
mov qword [rsp + 0x70], rdi
lea rbp, sym.LoaderKernel.dll_1_bID_MjfIzcypTm24yu_z_nD4S
mov qword [rsp + 0x78], r14
xor r14d, r14d
mov r9d, r14d
mov r11d, r14d
mov r8d, r14d
sub rbx, rcx
nop dword [rax]
mov dword [rbx + r10 - 0x1720], r9d
mov eax, 1
mov ecx, dword [r10]
mov edx, r14d
shl eax, cl
test eax, eax
jle 0x18020b82e
nop dword [rax]
mov byte [r8 + rbp + 0x38a7b0], r11b
mov eax, 1
mov ecx, dword [r10]
inc r9d
shl eax, cl
inc r8
inc edx
cmp edx, eax
jl 0x18020b810
inc r11d
add r10, 4
cmp r11d, 0x1c
jl 0x18020b7f0
movsxd rax, r9d
lea rdi, [0x18038a930]
mov r8d, r14d
mov r9d, r14d
mov r10, r14
sub rdi, rsi
mov byte [rax + rbp + 0x38a7af], r11b
lea r11, [rsi + 0x1794]
mov dword [rdi + r11 - 0x1794], r8d
mov eax, 1
mov ecx, dword [r11]
mov edx, r14d
shl eax, cl
movsxd rbx, r9d
test eax, eax
jle 0x18020b89e
nop dword [rax]
mov byte [r10 + rbp + 0x38a5b0], r9b
mov eax, 1
mov ecx, dword [r11]
inc r8d
shl eax, cl
inc r10
inc edx
cmp edx, eax
jl 0x18020b880
inc r9d
add r11, 4
cmp r9d, 0x10
jl 0x18020b860
sar r8d, 7
cmp r9d, 0x1e
jge 0x18020b91f
add rbx, 0x5e6
movsxd r11, r8d
lea rbx, [rsi + rbx*4]
nop dword [rax]
nop word [rax + rax]
mov eax, r8d
mov edx, 1
shl eax, 7
mov r10d, r14d
mov dword [rbx + rdi - 0x1794], eax
mov ecx, dword [rbx]
sub ecx, 7
shl edx, cl
test edx, edx
jle 0x18020b912
mov byte [r11 + rbp + 0x38a6b0], r9b
mov edx, 1
mov ecx, dword [rbx]
inc r8d
sub ecx, 7
inc r11
shl edx, cl
inc r10d
cmp r10d, edx
jl 0x18020b8f0
inc r9d
add rbx, 4
cmp r9d, 0x1e
jl 0x18020b8d0
mov rdi, qword [rsp + 0x70]
mov rax, r14
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
cmp rax, 0x20
jae 0x18020bc58
mov word [rsp + rax + 0x20], r14w
add rax, 2
cmp rax, 0x1e
jle 0x18020b931
movzx ecx, word [rsp + 0x30]
lea rax, [0x18038a0b2]
mov edx, 0x90
mov r8d, 8
add cx, dx
lea rdx, [0x18038a2ee]
nop dword [rax]
mov word [rax], r8w
add rax, 4
cmp rax, rdx
jle 0x18020b970
add word [rsp + 0x32], 0x70
lea rax, [0x18038a2f6]
mov edx, 9
lea r9, [0x18038a4b2]
nop word [rax + rax]
mov word [rax - 4], dx
mov word [rax], dx
mov word [rax + 4], dx
mov word [rax + 8], dx
mov word [rax + 0xc], dx
mov word [rax + 0x10], dx
mov word [rax + 0x14], dx
mov word [rax + 0x18], dx
mov word [rax + 0x1c], dx
mov word [rax + 0x20], dx
mov word [rax + 0x24], dx
mov word [rax + 0x28], dx
mov word [rax + 0x2c], dx
mov word [rax + 0x30], dx
mov word [rax + 0x34], dx
mov word [rax + 0x38], dx
mov word [rax + 0x3c], dx
mov word [rax + 0x40], dx
mov word [rax + 0x44], dx
mov word [rax + 0x48], dx
mov word [rax + 0x4c], dx
mov word [rax + 0x50], dx
mov word [rax + 0x54], dx
mov word [rax + 0x58], dx
mov word [rax + 0x5c], dx
mov word [rax + 0x60], dx
mov word [rax + 0x64], dx
mov word [rax + 0x68], dx
mov word [rax + 0x6c], dx
mov word [rax + 0x70], dx
mov word [rax + 0x74], dx
mov word [rax + 0x78], dx
mov word [rax + 0x7c], dx
mov word [rax + 0x80], dx
mov word [rax + 0x84], dx
mov word [rax + 0x88], dx
mov word [rax + 0x8c], dx
mov word [rax + 0x90], dx
mov word [rax + 0x94], dx
mov word [rax + 0x98], dx
mov word [rax + 0x9c], dx
mov word [rax + 0xa0], dx
mov word [rax + 0xa4], dx
mov word [rax + 0xa8], dx
mov word [rax + 0xac], dx
mov word [rax + 0xb0], dx
mov word [rax + 0xb4], dx
mov word [rax + 0xb8], dx
mov word [rax + 0xbc], dx
mov word [rax + 0xc0], dx
mov word [rax + 0xc4], dx
mov word [rax + 0xc8], dx
mov word [rax + 0xcc], dx
mov word [rax + 0xd0], dx
mov word [rax + 0xd4], dx
mov word [rax + 0xd8], dx
add rax, 0xe0
cmp rax, r9
jle 0x18020b9a0
add word [rsp + 0x2e], 0x18
lea r9, [rsp + 0x20]
mov eax, 7
mov word [0x18038a512], r8w
add cx, r8w
mov word [0x18038a516], r8w
mov word [rsp + 0x30], cx
lea rdx, [0x18038a0b0]
mov word [0x18038a51a], r8w
mov rcx, rsi
mov word [0x18038a51e], r8w
mov word [0x18038a522], r8w
mov word [0x18038a526], r8w
mov word [0x18038a52a], r8w
mov word [0x18038a52e], r8w
mov r8d, 0x11f
mov word [0x18038a4b2], ax
mov word [0x18038a4b6], ax
mov word [0x18038a4ba], ax
mov word [0x18038a4be], ax
mov word [0x18038a4c2], ax
mov word [0x18038a4c6], ax
mov word [0x18038a4ca], ax
mov word [0x18038a4ce], ax
mov word [0x18038a4d2], ax
mov word [0x18038a4d6], ax
mov word [0x18038a4da], ax
mov word [0x18038a4de], ax
mov word [0x18038a4e2], ax
mov word [0x18038a4e6], ax
mov word [0x18038a4ea], ax
mov word [0x18038a4ee], ax
mov word [0x18038a4f2], ax
mov word [0x18038a4f6], ax
mov word [0x18038a4fa], ax
mov word [0x18038a4fe], ax
mov word [0x18038a502], ax
mov word [0x18038a506], ax
mov word [0x18038a50a], ax
mov word [0x18038a50e], ax
call fcn.18020a120
mov r9d, r14d
lea r10, [0x18038a530]
mov r11d, 5
nop dword [rax]
mov word [r10 + 2], r11w
mov edx, r11d
mov r8d, r9d
mov eax, r14d
nop
mov ecx, r8d
dec edx
and ecx, 1
shr r8d, 1
or eax, ecx
add eax, eax
test edx, edx
jg 0x18020bc10
shr eax, 1
inc r9d
mov word [r10], ax
add r10, 4
cmp r9d, 0x1e
jl 0x18020bc00
mov r14, qword [rsp + 0x78]
mov dword [0x18038a9a8], 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18007b140
add rsp, 0x50
pop rsi
ret
call fcn.18007b5a4
int3