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

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x140353c70]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp dword [0x14035a368], 0
mov rdi, rcx
jne 0x14020e435
mov qword [rsp + 0x60], rbx
lea r10, [rcx + 0x1720]
mov qword [rsp + 0x68], rbp
lea rbx, [0x14035a270]
xor ebp, ebp
mov qword [rsp + 0x70], rsi
mov r9d, ebp
lea rsi, [0x140000000]
mov r11d, ebp
mov r8d, ebp
sub rbx, rcx
nop word [rax + rax]
mov dword [rbx + r10 - 0x1720], r9d
mov eax, 1
mov ecx, dword [r10]
mov edx, ebp
shl eax, cl
test eax, eax
jle 0x14020dfce
nop dword [rax + rax]
mov byte [r8 + rsi + 0x35a170], r11b
mov eax, 1
mov ecx, dword [r10]
inc r9d
shl eax, cl
inc r8
inc edx
cmp edx, eax
jl 0x14020dfb0
inc r11d
add r10, 4
cmp r11d, 0x1c
jl 0x14020df90
movsxd rax, r9d
lea rbx, [0x14035a2f0]
mov edx, ebp
mov r8d, ebp
mov r10, rbp
sub rbx, rdi
mov byte [rax + rsi + 0x35a16f], r11b
lea r11, [rdi + 0x1794]
nop
mov dword [rbx + r11 - 0x1794], edx
mov eax, 1
mov ecx, dword [r11]
mov r9d, ebp
shl eax, cl
test eax, eax
jle 0x14020e03f
nop dword [rax]
mov byte [r10 + rsi + 0x359f70], r8b
mov eax, 1
mov ecx, dword [r11]
inc edx
shl eax, cl
inc r10
inc r9d
cmp r9d, eax
jl 0x14020e020
inc r8d
add r11, 4
cmp r8d, 0x10
jl 0x14020e000
sar edx, 7
cmp r8d, 0x1e
jge 0x14020e0cf
movsxd r11, r8d
add r11, 0x5e5
movsxd r10, edx
lea r11, [rdi + r11*4]
nop word [rax + rax]
mov eax, edx
mov r9d, ebp
shl eax, 7
mov dword [rbx + r11 - 0x1794], eax
mov eax, 1
mov ecx, dword [r11]
sub ecx, 7
shl eax, cl
test eax, eax
jle 0x14020e0c2
nop dword [rax]
nop word [rax + rax]
mov byte [r10 + rsi + 0x35a070], r8b
mov eax, 1
mov ecx, dword [r11]
inc edx
sub ecx, 7
inc r10
shl eax, cl
inc r9d
cmp r9d, eax
jl 0x14020e0a0
inc r8d
add r11, 4
cmp r8d, 0x1e
jl 0x14020e070
mov rsi, qword [rsp + 0x70]
mov rax, rbp
mov rbx, qword [rsp + 0x60]
nop dword [rax]
cmp rax, 0x20
jae 0x14020e448
mov word [rsp + rax + 0x20], bp
add rax, 2
cmp rax, 0x1e
jle 0x14020e0e0
movzx ecx, word [rsp + 0x30]
lea rax, [0x140359a72]
mov edx, 0x90
lea r8, [0x140359cae]
add cx, dx
mov r9d, 8
nop word [rax + rax]
mov word [rax], r9w
add rax, 4
cmp rax, r8
jle 0x14020e120
movzx edx, word [rsp + 0x32]
lea rax, [0x140359cb6]
lea r10, [0x140359e72]
mov r8d, 9
nop word [rax + rax]
mov word [rax - 4], r8w
add dx, 0x38
mov word [rax], r8w
mov word [rax + 4], r8w
mov word [rax + 8], r8w
mov word [rax + 0xc], r8w
mov word [rax + 0x10], r8w
mov word [rax + 0x14], r8w
mov word [rax + 0x18], r8w
mov word [rax + 0x1c], r8w
mov word [rax + 0x20], r8w
mov word [rax + 0x24], r8w
mov word [rax + 0x28], r8w
mov word [rax + 0x2c], r8w
mov word [rax + 0x30], r8w
mov word [rax + 0x34], r8w
mov word [rax + 0x38], r8w
mov word [rax + 0x3c], r8w
mov word [rax + 0x40], r8w
mov word [rax + 0x44], r8w
mov word [rax + 0x48], r8w
mov word [rax + 0x4c], r8w
mov word [rax + 0x50], r8w
mov word [rax + 0x54], r8w
mov word [rax + 0x58], r8w
mov word [rax + 0x5c], r8w
mov word [rax + 0x60], r8w
mov word [rax + 0x64], r8w
mov word [rax + 0x68], r8w
mov word [rax + 0x6c], r8w
mov word [rax + 0x70], r8w
mov word [rax + 0x74], r8w
mov word [rax + 0x78], r8w
mov word [rax + 0x7c], r8w
mov word [rax + 0x80], r8w
mov word [rax + 0x84], r8w
mov word [rax + 0x88], r8w
mov word [rax + 0x8c], r8w
mov word [rax + 0x90], r8w
mov word [rax + 0x94], r8w
mov word [rax + 0x98], r8w
mov word [rax + 0x9c], r8w
mov word [rax + 0xa0], r8w
mov word [rax + 0xa4], r8w
mov word [rax + 0xa8], r8w
mov word [rax + 0xac], r8w
mov word [rax + 0xb0], r8w
mov word [rax + 0xb4], r8w
mov word [rax + 0xb8], r8w
mov word [rax + 0xbc], r8w
mov word [rax + 0xc0], r8w
mov word [rax + 0xc4], r8w
mov word [rax + 0xc8], r8w
mov word [rax + 0xcc], r8w
mov word [rax + 0xd0], r8w
mov word [rax + 0xd4], r8w
mov word [rax + 0xd8], r8w
add rax, 0xe0
cmp rax, r10
jle 0x14020e150
add word [rsp + 0x2e], 0x18
mov eax, 7
add cx, r9w
mov word [rsp + 0x32], dx
mov word [rsp + 0x30], cx
lea rdx, [0x140359a70]
mov word [0x140359ed2], r9w
mov rcx, rdi
mov word [0x140359ed6], r9w
mov r8d, 0x11f
mov word [0x140359eda], r9w
mov word [0x140359ede], r9w
mov word [0x140359ee2], r9w
mov word [0x140359ee6], r9w
mov word [0x140359eea], r9w
mov word [0x140359eee], r9w
lea r9, [rsp + 0x20]
mov word [0x140359e72], ax
mov word [0x140359e76], ax
mov word [0x140359e7a], ax
mov word [0x140359e7e], ax
mov word [0x140359e82], ax
mov word [0x140359e86], ax
mov word [0x140359e8a], ax
mov word [0x140359e8e], ax
mov word [0x140359e92], ax
mov word [0x140359e96], ax
mov word [0x140359e9a], ax
mov word [0x140359e9e], ax
mov word [0x140359ea2], ax
mov word [0x140359ea6], ax
mov word [0x140359eaa], ax
mov word [0x140359eae], ax
mov word [0x140359eb2], ax
mov word [0x140359eb6], ax
mov word [0x140359eba], ax
mov word [0x140359ebe], ax
mov word [0x140359ec2], ax
mov word [0x140359ec6], ax
mov word [0x140359eca], ax
mov word [0x140359ece], ax
call fcn.14020caa0
mov r9d, ebp
lea r10, [0x140359ef0]
mov r11d, 5
nop word [rax + rax]
mov word [r10 + 2], r11w
mov edx, r11d
mov r8d, r9d
mov eax, ebp
nop dword [rax]
mov ecx, r8d
dec edx
and ecx, 1
shr r8d, 1
or eax, ecx
add eax, eax
test edx, edx
jg 0x14020e400
shr eax, 1
inc r9d
mov word [r10], ax
add r10, 4
cmp r9d, 0x1e
jl 0x14020e3f0
mov rbp, qword [rsp + 0x68]
mov dword [0x14035a368], 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1402474e0
add rsp, 0x50
pop rdi
ret
call fcn.1402478d0
int3