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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xe8
xor eax, eax
mov dword [rsp + 0x148], r9d
lea r13d, [r8 + 1]
mov r9, qword [rcx]
mov rbx, rcx
mov qword [rsp + 0xb0], rax
mov r15, rdx
mov r14d, r8d
lea rdx, [rsp + 0xc0]
mov qword [rsp + 0xc0], rax
mov r8d, r13d
mov qword [rsp + 0xc8], rax
lea rax, [rcx + 0x3c]
mov rcx, rax
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x50], rax
call fcn.140227fe0
mov ebp, eax
test eax, eax
jne 0x14022a2ea
test r14d, r14d
mov r12, qword [rsp + 0xc0]
mov r9, qword [rsp + 0x58]
jle 0x140229c02
lea rax, [r12 + 1]
mov ecx, r14d
mov rsi, r15
mov rdi, rax
rep movsb byte [rdi], byte [rsi]
mov edi, dword [rsp + 0x148]
and edi, 1
jne 0x140229c12
xor esi, esi
jmp 0x140229c78
xor eax, eax
xor edx, edx
cmp r14d, eax
jle 0x140229c4e
cmp byte [r15 + rax], 0xbf
lea ecx, [rax + 1]
jbe 0x140229c47
movsxd rax, ecx
mov ecx, eax
cmp r14d, eax
jle 0x140229c47
movsx r8d, byte [r15 + rax]
inc rax
and r8d, 0xc0
cmp r8d, 0x80
je 0x140229c28
inc edx
movsxd rax, ecx
jmp 0x140229c16
mov r8d, dword [r9 + 0x30]
xor esi, esi
xor eax, eax
lea r10d, [rdx + 1]
cmp r8d, edi
jl 0x140229c78
mov rcx, qword [r9 + 0x38]
mov ecx, dword [rcx + rax]
cmp ecx, edx
je 0x140229c78
cmp r10d, ecx
cmove esi, edi
inc edi
add rax, 4
jmp 0x140229c5a
cmp dword [r9 + 0x30], edi
jl 0x140229cea
mov rcx, rbx
add edi, 0x30
call fcn.1401efec0
mov byte [r12], dil
mov rsi, rax
test rax, rax
je 0x14022a2c4
lea rax, [rsp + 0xb0]
mov dword [rsp + 0x28], r13d
mov rcx, rbx
mov rdx, rsi
mov qword [rsp + 0x40], rax
xor eax, eax
mov r8d, dword [rsp + 0x148]
mov dword [rsp + 0x38], eax
mov r9, qword [rsp + 0x150]
mov dword [rsp + 0x30], 0xffffffff
or r8d, 0x10
mov qword [rsp + 0x20], r12
call fcn.1401eaf60
mov rcx, rsi
call fcn.1401f04b0
jmp 0x14022a2c4
mov rax, qword [rbx]
mov edi, dword [rax + 0x5c]
cmp edi, 1
jne 0x140229d1a
lea rax, [0x1401e2830]
mov dword [rsp + 0x90], 0x20
mov qword [rsp + 0x68], rax
lea rax, [0x1401ea800]
mov qword [rsp + 0x70], rax
jmp 0x140229d42
lea rax, [0x1401e2790]
mov edi, 0xf
mov dword [rsp + 0x90], 0x78
mov qword [rsp + 0x68], rax
lea rax, [0x1401ea380]
mov qword [rsp + 0x70], rax
movsxd rdx, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x50]
shl rdx, 4
call fcn.14022a740
mov rcx, rbx
mov qword [rsp + 0x58], rax
call fcn.1401efec0
cmp qword [rsp + 0x58], 0
mov qword [rsp + 0x60], rax
je 0x14022a24d
test rax, rax
je 0x14022a24d
xor eax, eax
xorps xmm0, xmm0
xor r14d, r14d
mov dword [rsp + 0xa8], 1
mov qword [rsp + 0xb8], rax
movaps xmmword [rsp + 0xd0], xmm0
test esi, esi
je 0x140229e99
mov byte [r12], 0x30
mov rdx, qword [rsp + 0x60]
xor r15d, r15d
mov rcx, rbx
lea rax, [rsp + 0xb8]
mov dword [rsp + 0x28], r13d
mov r9, qword [rsp + 0x150]
mov r8d, 0x30
mov qword [rsp + 0x40], rax
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], 0xffffffff
mov qword [rsp + 0x20], r12
mov dword [rsp + 0xac], r15d
call fcn.1401eaf60
mov r15, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x50]
mov rdx, r15
call fcn.1401e9e40
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0xac]
mov qword [rsp + 0x80], rax
cmp dword [rbx + 0x3c], 0
jne 0x140229e91
cmp byte [r15 + 0x14], 0
jne 0x140229e91
mov rdx, qword [r15 + 0x58]
mov rcx, r15
movzx edx, word [rdx + 4]
imul rdx, rdx, 0x88
lea rdx, [r15 + rdx + 0x60]
call qword [r15 + 0x38]
cmp dword [r15 + 0x10], 0
je 0x140229e76
mov rdx, qword [r15]
mov r9, qword [rsp + 0x78]
mov r8, r15
mov rcx, rbx
mov rax, qword [rsp + 0x68]
sub rdx, r14
call rax
mov r14, qword [r15]
cmp dword [rbx + 0x3c], 0
jne 0x140229e2c
mov r8, qword [rsp + 0x80]
mov rdx, r15
mov rcx, rbx
call fcn.1401ebe40
jmp 0x140229e2c
mov rcx, r15
call fcn.1401ead00
xor r11d, r11d
add esi, 0x30
mov rdx, qword [rsp + 0x60]
mov rcx, rbx
lea rax, [rsp + 0xb8]
mov byte [r12], sil
mov r9, qword [rsp + 0x150]
mov r8d, 0x38
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r12
call fcn.1401eaf60
mov rsi, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
call fcn.1401e9e40
movsxd rax, r13d
mov qword [rsp + 0x88], rax
lea eax, [rdi + rdi]
mov dword [rsp + 0x94], eax
cmp dword [rbx + 0x3c], 0
jne 0x14022a0de
cmp byte [rsi + 0x14], 0
jne 0x14022a0de
mov rax, qword [rsi + 0x58]
movzx edx, word [rax + 4]
mov rax, rdx
imul rdx, rdx, 0x88
imul rax, rax, 0x88
add rdx, rsi
mov rcx, qword [rdx + 0xc8]
mov r15d, dword [rdx + 0xd0]
lea rdx, [rsi + rax + 0x60]
mov qword [rsp + 0x78], rcx
mov rcx, rsi
call qword [rsi + 0x38]
cmp dword [rsp + 0xa8], 0
je 0x140229f8a
cmp r13d, r15d
jg 0x14022a0de
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x78]
mov rcx, r12
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x14022a0de
cmp dword [rsi + 0x10], 0
je 0x14022a0bc
cmp qword [rsi], r14
jg 0x14022a09e
cmp dword [rsp + 0xd8], 0
jle 0x14022a09e
lea rax, [rsp + 0xd0]
movsxd r11, edi
mov r15d, edi
xor r14d, r14d
mov qword [rsp + 0x80], rax
cmp dword [rbx + 0x3c], 0
jne 0x14022a09b
cmp dword [rsp + 0xd8], 0
je 0x14022a09b
mov eax, r15d
mov r9, r14
sub eax, edi
shl r9, 4
mov dword [rsp + 0x78], eax
mov edx, eax
mov rax, qword [rsp + 0x58]
add r9, rax
mov rax, r9
cmp dword [rax + 8], 0
jne 0x14022a02e
mov rcx, qword [rsp + 0xd8]
movups xmm1, xmmword [rax]
xor r10d, r10d
mov r8, qword [rsp + 0xd0]
movaps xmmword [rsp + 0xd0], xmm1
mov qword [rax], r8
mov qword [rax + 8], rcx
mov dword [rsp + 0xd8], r10d
jmp 0x14022a039
inc edx
add rax, 0x10
cmp edx, r15d
jl 0x140229ff9
cmp edx, r15d
je 0x14022a055
mov r15d, dword [rsp + 0x78]
mov eax, dword [rsp + 0x94]
add r14, r11
add r15d, eax
jmp 0x140229fc4
mov qword [rsp + 0x98], r11
mov rax, qword [rsp + 0x70]
mov r8d, edi
mov rcx, rbx
mov rdx, qword [rsp + 0x80]
call rax
mov r11, qword [rsp + 0x98]
mov rax, r14
cmp r15d, eax
jle 0x14022a03e
mov rdx, rax
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
inc rax
shl rdx, 4
mov dword [rcx + rdx + 8], r8d
jmp 0x14022a07d
xor r14d, r14d
mov rdx, qword [rsi]
mov rax, qword [rsp + 0x68]
mov r8, rsi
mov rcx, rbx
lea r9, [rsp + 0xd0]
sub rdx, r14
call rax
mov r14, qword [rsi]
cmp dword [rbx + 0x3c], 0
jne 0x140229f0c
lea r8, [rsp + 0xa8]
mov rdx, rsi
mov rcx, rbx
call fcn.1401ebe40
jmp 0x140229f0c
movsxd r13, edi
mov r12, qword [rsp + 0x58]
shl r13, 4
cmp dword [rbx + 0x3c], 0
jne 0x14022a108
mov rax, qword [rsp + 0x70]
mov r9, r12
mov r8d, edi
mov rcx, rbx
lea rdx, [rsp + 0xd0]
call rax
lea r14d, [rbp + rdi]
mov r15, r12
mov rcx, r15
inc ebp
add r15, 0x10
call fcn.140227fb0
cmp ebp, r14d
jl 0x14022a110
add r12, r13
cmp dword [rsp + 0x90], r14d
jle 0x14022a135
mov ebp, r14d
jmp 0x14022a0ea
mov rcx, rsi
call fcn.1401ead00
movsxd rdx, dword [rsp + 0xd8]
mov rcx, qword [rsp + 0x50]
add rdx, 0x18
call fcn.14022a740
mov rbp, rax
test rax, rax
je 0x14022a240
movsxd rcx, dword [rsp + 0xd8]
lea rax, [rax + 0x10]
mov qword [rbp], rax
mov dword [rbp + 0xc], ecx
mov dword [rbp + 8], ecx
test ecx, ecx
je 0x14022a186
mov rsi, qword [rsp + 0xd0]
mov rdi, rax
rep movsb byte [rdi], byte [rsi]
mov edx, 2
mov rcx, rbx
call fcn.1401eab80
mov rsi, rax
test rax, rax
je 0x14022a238
cmp dword [rbp + 0xc], 0
lea rdi, [rax + 0xe8]
mov dword [rax + 0xf0], 1
jle 0x14022a221
mov qword [rax + 0xf8], rbp
mov rcx, qword [rbp]
lea rdx, [rax + 0x160]
call fcn.1402291a0
movzx eax, al
mov qword [rsi + 0x108], rax
mov eax, dword [rbp + 8]
mov dword [rsi + 0x134], eax
mov rax, qword [rsi + 0x58]
mov word [rax + 4], 1
test byte [rsp + 0x148], 2
je 0x14022a212
mov dword [rsi + 0x44], 1
mov rdx, rdi
mov rcx, rbx
mov dword [rsi + 0xf0], 3
call fcn.1401ee490
jmp 0x14022a21d
mov rdx, rdi
mov rcx, rbx
call fcn.1401edce0
xor ebp, ebp
jmp 0x14022a225
mov byte [rax + 0x14], 1
mov rdx, rdi
mov rcx, rbx
call fcn.1401ee6e0
mov qword [rsp + 0xb0], rsi
mov rcx, rbp
call fcn.14025a080
lea rcx, [rsp + 0xd0]
call fcn.140227fb0
mov rcx, qword [rsp + 0x60]
call fcn.1401f04b0
mov rcx, qword [rsp + 0x58]
call fcn.14025a080
mov rsi, qword [rsp + 0xb0]
test rsi, rsi
je 0x14022a2c4
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
call fcn.1401e9e40
cmp dword [rbx + 0x3c], 0
je 0x14022a2a2
mov rcx, qword [rsp + 0xb0]
call fcn.14022a610
xor ecx, ecx
mov qword [rsp + 0xb0], rcx
mov rcx, rbx
call fcn.140229ad0
jmp 0x14022a2ca
mov rax, qword [rsi + 0x58]
movzx edx, word [rax + 4]
imul rdx, rdx, 0x88
cmp qword [rsi + rdx + 0x70], 0
je 0x14022a2ca
lea rdx, [rsi + rdx + 0x60]
mov rcx, rsi
call qword [rsi + 0x38]
cmp dword [rbx + 0x3c], 0
jne 0x14022a281
mov rax, qword [rsp + 0x158]
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0xc0]
mov qword [rax], rdx
call fcn.140227fb0
mov eax, dword [rbx + 0x3c]
xor edx, edx
mov dword [rbx + 0x3c], edx
add rsp, 0xe8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret