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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rsi, rdx
mov rbx, rcx
mov r8, qword [rcx]
or dword [rdx + 0x10], 1
mov rdx, qword [rdx + 8]
and rdx, 0xfffffffffffffffe
test byte [rsi + 8], 1
je 0x140179bd6
mov rdx, qword [rdx]
mov rcx, qword [rsi + 0xb0]
lea rdi, [0x14029d860]
cmp rcx, rdi
jne 0x140179bf7
lea rcx, [rsi + 0xb0]
call fcn.1400040b0
jmp 0x140179c12
cmp rcx, r8
je 0x140179c12
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140179c09
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
call fcn.140003300
mov r8, qword [rbx + 8]
cmp qword [r8 + 0x10], 0
je 0x140179c67
or dword [rsi + 0x10], 2
mov rdx, qword [rsi + 8]
and rdx, 0xfffffffffffffffe
test byte [rsi + 8], 1
je 0x140179c32
mov rdx, qword [rdx]
mov rcx, qword [rsi + 0xb8]
cmp rcx, rdi
jne 0x140179c4c
lea rcx, [rsi + 0xb8]
call fcn.1400040b0
jmp 0x140179c67
cmp rcx, r8
je 0x140179c67
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140179c5e
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
call fcn.140003300
cmp dword [rbx + 0x3c], 3
jne 0x140179c82
mov ecx, 3
call fcn.14018ef80
mov rdx, rax
mov rcx, rsi
call fcn.140194d90
xor ebp, ebp
mov r14d, ebp
cmp dword [rbx + 0x20], ebp
jle 0x140179d30
mov r15d, ebp
mov rdi, qword [rbx + 0x18]
test rdi, rdi
je 0x140179ced
xor r9d, r9d
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
je 0x140179e20
cmp dword [rsp + 0x50], 0
je 0x140179ced
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 4
mov rcx, rbx
call fcn.1401864f0
mov dword [rsp + 0x28], ebp
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x140179e20
mov rax, qword [rbx + 0x48]
mov rcx, qword [r15 + rax]
mov rdi, qword [rcx]
lea rcx, [rsi + 0x18]
call fcn.140146370
cmp rax, rdi
je 0x140179d1f
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140179d13
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.140003300
inc r14d
add r15, 8
cmp r14d, dword [rbx + 0x20]
jl 0x140179c93
mov edi, ebp
cmp dword [rbx + 0x24], ebp
jle 0x140179d68
mov r14, rbp
nop word [rax + rax]
mov rax, qword [rbx + 0x58]
mov ecx, dword [r14 + rax]
mov dword [rsp + 0x50], ecx
lea rdx, [rsp + 0x50]
lea rcx, [rsi + 0x90]
call fcn.140146170
inc edi
lea r14, [r14 + 4]
cmp edi, dword [rbx + 0x24]
jl 0x140179d40
mov edi, ebp
cmp dword [rbx + 0x28], ebp
jle 0x140179d9a
mov r14, rbp
mov rax, qword [rbx + 0x60]
mov ecx, dword [r14 + rax]
mov dword [rsp + 0x50], ecx
lea rdx, [rsp + 0x50]
lea rcx, [rsi + 0xa0]
call fcn.140146170
inc edi
lea r14, [r14 + 4]
cmp edi, dword [rbx + 0x28]
jl 0x140179d72
mov edi, ebp
cmp dword [rbx + 0x2c], ebp
jle 0x140179dc8
lea rcx, [rsi + 0x30]
call fcn.140032db0
movsxd rcx, edi
lea rcx, [rcx + rcx*8]
shl rcx, 4
add rcx, qword [rbx + 0x68]
mov rdx, rax
call fcn.140178ef0
inc edi
cmp edi, dword [rbx + 0x2c]
jl 0x140179da1
mov edi, ebp
cmp dword [rbx + 0x30], ebp
jle 0x140179df7
nop
lea rcx, [rsi + 0x48]
call fcn.14014ef20
movsxd rcx, edi
lea rcx, [rcx + rcx*4]
shl rcx, 4
add rcx, qword [rbx + 0x70]
mov rdx, rax
call fcn.1401793a0
inc edi
cmp edi, dword [rbx + 0x30]
jl 0x140179dd0
mov r14d, ebp
cmp dword [rbx + 0x34], ebp
jle 0x140179e7c
nop
mov rcx, qword [rsi + 0x70]
test rcx, rcx
je 0x140179e2c
movsxd rdx, dword [rsi + 0x68]
mov eax, dword [rcx]
cmp edx, eax
jge 0x140179e27
mov r8, qword [rcx + rdx*8 + 8]
lea eax, [rdx + 1]
mov dword [rsi + 0x68], eax
jmp 0x140179e5c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
cmp eax, dword [rsi + 0x6c]
jne 0x140179e3e
mov edx, dword [rsi + 0x6c]
inc edx
lea rcx, [rsi + 0x60]
call fcn.140146df0
mov rcx, qword [rsi + 0x70]
inc dword [rcx]
mov rcx, qword [rsi + 0x60]
call fcn.140148fa0
mov r8, rax
movsxd rcx, dword [rsi + 0x68]
mov rax, qword [rsi + 0x70]
mov qword [rax + rcx*8 + 8], r8
inc dword [rsi + 0x68]
movsxd rax, r14d
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rbx + 0x78]
mov rdx, r8
call fcn.14017a240
inc r14d
cmp r14d, dword [rbx + 0x34]
jl 0x140179e00
cmp dword [rbx + 0x38], 0
jle 0x140179eab
lea rcx, [rsi + 0x78]
call fcn.14014ef90
movsxd rcx, ebp
imul rcx, rcx, 0x98
add rcx, qword [rbx + 0x80]
mov rdx, rax
call fcn.140179690
inc ebp
cmp ebp, dword [rbx + 0x38]
jl 0x140179e82
call fcn.1401615c0
cmp qword [rbx + 0x88], rax
je 0x140179ef5
or dword [rsi + 0x10], 8
mov rax, qword [rsi + 0xc8]
test rax, rax
jne 0x140179ee6
mov rcx, qword [rsi + 8]
and rcx, 0xfffffffffffffffe
test byte [rsi + 8], 1
je 0x140179eda
mov rcx, qword [rcx]
call fcn.140148ad0
mov qword [rsi + 0xc8], rax
mov rdx, qword [rbx + 0x88]
mov rcx, rax
call fcn.140153500
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret