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

Disassembly:
push rsi
sub rsp, 0x50
mov rax, qword [0x14035f7b8]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp dword [0x1404a7488], 0
mov rsi, rcx
jne 0x140225275
mov qword [rsp + 0x60], rbx
lea r10, [rcx + 0x1720]
mov qword [rsp + 0x68], rbp
lea rbx, [0x1404a7390]
mov qword [rsp + 0x70], rdi
lea rbp, [0x140000000]
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 0x140224e1e
nop dword [rax]
mov byte [r8 + rbp + 0x4a7290], r11b
mov eax, 1
mov ecx, dword [r10]
inc r9d
shl eax, cl
inc r8
inc edx
cmp edx, eax
jl 0x140224e00
inc r11d
add r10, 4
cmp r11d, 0x1c
jl 0x140224de0
movsxd rax, r9d
lea rdi, [0x1404a7410]
mov r8d, r14d
mov r9d, r14d
mov r10, r14
sub rdi, rsi
mov byte [rax + rbp + 0x4a728f], 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 0x140224e8e
nop dword [rax]
mov byte [r10 + rbp + 0x4a7090], r9b
mov eax, 1
mov ecx, dword [r11]
inc r8d
shl eax, cl
inc r10
inc edx
cmp edx, eax
jl 0x140224e70
inc r9d
add r11, 4
cmp r9d, 0x10
jl 0x140224e50
sar r8d, 7
cmp r9d, 0x1e
jge 0x140224f0f
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 0x140224f02
mov byte [r11 + rbp + 0x4a7190], r9b
mov edx, 1
mov ecx, dword [rbx]
inc r8d
sub ecx, 7
inc r11
shl edx, cl
inc r10d
cmp r10d, edx
jl 0x140224ee0
inc r9d
add rbx, 4
cmp r9d, 0x1e
jl 0x140224ec0
mov rdi, qword [rsp + 0x70]
mov rax, r14
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
cmp rax, 0x20
jae 0x140225288
mov word [rsp + rax + 0x20], r14w
add rax, 2
cmp rax, 0x1e
jle 0x140224f21
movzx ecx, word [rsp + 0x30]
lea rax, [0x1404a6b92]
mov edx, 0x90
lea r8, [0x1404a6dce]
add cx, dx
mov r9d, 8
nop dword [rax]
mov word [rax], r9w
add rax, 4
cmp rax, r8
jle 0x140224f60
movzx edx, word [rsp + 0x32]
lea rax, [0x1404a6dd6]
lea r10, [0x1404a6f92]
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 0x140224f90
add word [rsp + 0x2e], 0x18
mov eax, 7
add cx, r9w
mov word [rsp + 0x32], dx
mov word [rsp + 0x30], cx
lea rdx, [0x1404a6b90]
mov word [0x1404a6ff2], r9w
mov rcx, rsi
mov word [0x1404a6ff6], r9w
mov r8d, 0x11f
mov word [0x1404a6ffa], r9w
mov word [0x1404a6ffe], r9w
mov word [0x1404a7002], r9w
mov word [0x1404a7006], r9w
mov word [0x1404a700a], r9w
mov word [0x1404a700e], r9w
lea r9, [rsp + 0x20]
mov word [0x1404a6f92], ax
mov word [0x1404a6f96], ax
mov word [0x1404a6f9a], ax
mov word [0x1404a6f9e], ax
mov word [0x1404a6fa2], ax
mov word [0x1404a6fa6], ax
mov word [0x1404a6faa], ax
mov word [0x1404a6fae], ax
mov word [0x1404a6fb2], ax
mov word [0x1404a6fb6], ax
mov word [0x1404a6fba], ax
mov word [0x1404a6fbe], ax
mov word [0x1404a6fc2], ax
mov word [0x1404a6fc6], ax
mov word [0x1404a6fca], ax
mov word [0x1404a6fce], ax
mov word [0x1404a6fd2], ax
mov word [0x1404a6fd6], ax
mov word [0x1404a6fda], ax
mov word [0x1404a6fde], ax
mov word [0x1404a6fe2], ax
mov word [0x1404a6fe6], ax
mov word [0x1404a6fea], ax
mov word [0x1404a6fee], ax
call fcn.140223870
mov r9d, r14d
lea r10, [0x1404a7010]
mov r11d, 5
nop word [rax + 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 0x140225240
shr eax, 1
inc r9d
mov word [r10], ax
add r10, 4
cmp r9d, 0x1e
jl 0x140225230
mov r14, qword [rsp + 0x78]
mov dword [0x1404a7488], 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1402268d0
add rsp, 0x50
pop rsi
ret
call fcn.140226ad8
int3