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

Disassembly:
push rbx
push rbp
push rsi
push r12
push r13
sub rsp, 0x40
xor ebp, ebp
xor r12d, r12d
mov r13, rdx
mov rsi, rcx
test rdx, rdx
je 0x140169f11
mov ebx, dword [rdx + 0x18]
mov ecx, 0x200
call fcn.1401a52b0
mov r12, rax
test rax, rax
je 0x140169ef5
xor edx, edx
mov r8d, 0x200
mov rcx, rax
call sub.msvcrt.dll_memset
mov dword [r12], ebx
test r12, r12
jne 0x140169f0b
lea eax, [r12 + 7]
add rsp, 0x40
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret
mov eax, dword [r13 + 0x18]
jmp 0x140169f14
mov eax, dword [rcx + 0x24]
mov dword [rsi + 0x20], eax
movzx eax, byte [rsi + 0x10]
mov byte [rsi + 0x17], al
test r13, r13
jne 0x140169f3f
cmp qword [rsi + 0x120], rbp
je 0x140169f3f
mov rcx, rsi
add rsp, 0x40
pop r13
pop r12
pop rsi
pop rbp
pop rbx
jmp 0x14016a160
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x38], r14
mov r14, qword [rsi + 0x60]
test r13, r13
je 0x140169fa9
cmp qword [rsi + 0x120], rbp
jne 0x140169fa9
mov rax, qword [r13 + 8]
mov rdi, r14
test rax, rax
cmovne rdi, rax
mov rax, qword [r13]
mov qword [rsi + 0x60], rax
cmp qword [rsi + 0x60], rdi
jge 0x140169f9f
lea rdx, [rsi + 0x60]
mov r9d, 1
mov r8, r12
mov rcx, rsi
mov dword [rsp + 0x20], 1
call fcn.14016b4f0
mov ebp, eax
test eax, eax
je 0x140169f71
jmp 0x14016a056
test ebp, ebp
jne 0x14016a056
jmp 0x140169fad
mov qword [rsi + 0x60], rbp
mov qword [rsp + 0x30], r15
cmp qword [rsi + 0x60], r14
jge 0x14016a051
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x78]
mov r8, r14
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x78], 0
mov qword [rsp + 0x20], rax
call fcn.140170990
mov r15d, dword [rsp + 0x78]
mov ebp, eax
test r15d, r15d
jne 0x14016a01b
mov eax, dword [rsi + 0xb8]
mov rcx, qword [rsi + 0x60]
add rax, qword [rsi + 0x68]
cmp rax, rcx
jne 0x14016a01b
mov rax, r14
sub rax, rcx
mov rcx, qword [rsi + 0xc0]
add rcx, 8
cqo
idiv rcx
mov r15, rax
xor edi, edi
test ebp, ebp
jne 0x14016a051
cmp edi, r15d
jae 0x140169fb2
cmp qword [rsi + 0x60], r14
jge 0x14016a051
lea rdx, [rsi + 0x60]
mov r9d, 1
mov r8, r12
mov rcx, rsi
mov dword [rsp + 0x20], 1
call fcn.14016b4f0
inc edi
mov ebp, eax
test eax, eax
je 0x14016a021
mov r15, qword [rsp + 0x30]
test r13, r13
je 0x14016a0f8
mov rcx, qword [rsi + 0xc0]
mov eax, dword [r13 + 0x1c]
add rcx, 4
imul rcx, rax
mov qword [rsp + 0x78], rcx
mov rcx, qword [rsi + 0x120]
test rcx, rcx
je 0x14016a0c2
mov eax, dword [rcx + 0x88]
cmp dword [r13 + 0x30], eax
je 0x14016a0a1
mov dword [r13 + 0x24], 0
mov eax, dword [rcx + 0x88]
mov dword [r13 + 0x30], eax
mov eax, dword [r13 + 0x24]
cmp eax, dword [rcx + 0x58]
jae 0x14016a0c0
mov dword [rcx + 0x58], eax
mov eax, dword [r13 + 0x28]
mov dword [rcx + 0x60], eax
mov eax, dword [r13 + 0x2c]
mov dword [rcx + 0x64], eax
call fcn.1401e3030
xor ebp, ebp
mov edi, dword [r13 + 0x1c]
test ebp, ebp
jne 0x14016a0f8
nop word [rax + rax]
cmp edi, dword [rsi + 0x3c]
jae 0x14016a0f8
lea rdx, [rsp + 0x78]
xor r9d, r9d
mov r8, r12
mov rcx, rsi
mov dword [rsp + 0x20], 1
call fcn.14016b4f0
inc edi
mov ebp, eax
test eax, eax
je 0x14016a0d0
mov rcx, r12
call fcn.14017e560
mov rdi, qword [rsp + 0x70]
test ebp, ebp
jne 0x14016a10d
mov qword [rsi + 0x60], r14
mov eax, ebp
mov r14, qword [rsp + 0x38]
add rsp, 0x40
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov eax, dword [rcx + 0x24]
mov rsi, rcx
mov r8, rcx
mov dword [rcx + 0x20], eax
mov rcx, qword [rcx + 0x120]
lea rdx, [fcn.14016a330]
call fcn.1401ce270
mov rcx, qword [rsi + 0x118]
mov ebx, eax
call fcn.1401a9bd0
test rax, rax
je 0x14016a1d0
mov qword [rsp + 0x30], rdi
test ebx, ebx
jne 0x14016a1be
mov edx, dword [rax + 0x30]
mov rdi, qword [rax + 0x20]
mov rcx, rsi
call fcn.14016a330
mov ebx, eax
mov rax, rdi
test rdi, rdi
jne 0x14016a1a1
mov eax, ebx
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret