Function at 0x140179550
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, 0x58
xor r14d, r14d
xor r15d, r15d
mov rbx, qword [rcx + 0x10]
mov rsi, qword [rdx + 0x28]
mov qword [rsp + 0xa0], rcx
mov ecx, dword [rdx + 0x30]
mov rdi, rdx
test ecx, ecx
jg 0x1401795b5
jmp 0x140179611
movsxd rax, dword [rbx + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rcx*8 - 0x18]
mov byte [rax + 1], 0xf9
mov qword [rax + 0x10], rdx
add r14d, 1
add rsi, 0x20
cmp dword [rdi + 0x30], r14d
jle 0x140179611
mov ebp, dword [rsi + 0x18]
mov r13, qword [rsi]
test ebp, ebp
mov r12, qword [r13 + 0x20]
jns 0x140179628
xor r9d, r9d
test r12, r12
je 0x1401795cf
mov r9d, dword [r12]
mov eax, dword [rdi + 0x20]
mov edx, 0xa5
mov rcx, rbx
add eax, dword [rdi + 0xc]
mov dword [rsp + 0x20], r15d
lea r8d, [rax + r14]
call fcn.140177290
mov rcx, qword [rbx]
mov rdx, qword [rsi + 8]
cmp byte [rcx + 0x67], 0
je 0x140179588
test byte [rdx + 4], 0x10
je 0x1401795a7
call fcn.140158fd0
add r14d, 1
add rsi, 0x20
cmp dword [rdi + 0x30], r14d
jg 0x1401795b5
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [r12]
xor r11d, r11d
mov rcx, qword [rsp + 0xa0]
mov edx, eax
mov dword [rsp + 0x34], eax
call fcn.140150b10
cmp byte [rsi + 0x1c], 0
mov dword [rsp + 0x38], eax
je 0x14017965f
mov rax, qword [r13 + 0x10]
cmp byte [rsi + 0x1d], 1
mov rax, qword [rax + 0x20]
mov r11d, dword [rax]
adc r11d, 0
mov eax, dword [rbx + 0x90]
cmp eax, dword [rbx + 0x94]
mov dword [rsp + 0x3c], eax
jge 0x140179958
mov edx, dword [rsp + 0x3c]
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov dword [rsp + 0x48], eax
movsxd rax, edx
lea rdx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rdx*8]
mov dword [rax + 4], ebp
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov dword [rax], 0x24
mov eax, dword [rsp + 0x34]
mov ebp, dword [rsp + 0x38]
lea edx, [rax - 1]
lea r13d, [r11 + rdx]
sub ebp, r11d
test edx, edx
js 0x140179719
mov qword [rsp + 0x40], r12
mov r12d, r11d
mov qword [rsp + 0xa8], rdi
mov edi, r13d
mov r13d, edx
nop dword [rax]
mov r8d, dword [rsi + 0x18]
lea eax, [rbp + rdi]
mov r9d, edi
mov edx, 0x5e
mov dword [rsp + 0x20], eax
mov rcx, rbx
call fcn.140177290
mov eax, edi
sub edi, 1
cmp r12d, eax
jne 0x1401796e0
mov r11d, r12d
mov rdi, qword [rsp + 0xa8]
mov edx, r13d
mov r12, qword [rsp + 0x40]
cmp byte [rsi + 0x1e], 0
jne 0x140179830
mov eax, dword [rdi + 0x20]
xor r8d, r8d
mov edx, 0xa2
mov rcx, rbx
add eax, dword [rdi + 0xc]
mov r9d, dword [rsp + 0x38]
add eax, r14d
mov dword [rsp + 0x20], eax
call fcn.140177290
mov rcx, qword [rbx]
mov rdx, qword [rsi + 8]
cmp byte [rcx + 0x67], 0
jne 0x140179818
movsxd rcx, dword [rbx + 0x90]
lea r8, [rcx + rcx*2]
mov rax, rcx
mov rcx, qword [rbx + 0x88]
lea rcx, [rcx + r8*8 - 0x18]
mov byte [rcx + 1], 0xf9
mov qword [rcx + 0x10], rdx
test eax, eax
jle 0x140179794
mov rdx, qword [rbx + 0x88]
lea rax, [rax + rax*2]
lea rax, [rdx + rax*8]
movzx edx, byte [rsp + 0x34]
mov word [rax - 0x16], dx
mov r8d, dword [rsi + 0x18]
mov edx, 0x27
mov rcx, rbx
mov dword [rsp + 0x20], r15d
mov r9d, dword [rsp + 0x48]
call fcn.140177290
mov rcx, qword [rbx]
lea rax, [0x14041e460]
mov edx, dword [rbx + 0x90]
cmp byte [rcx + 0x67], 0
jne 0x1401797da
movsxd r13, dword [rsp + 0x3c]
mov rax, qword [rbx + 0x88]
lea rcx, [r13 + r13*2]
lea rax, [rax + rcx*8]
cmp dword [rsp + 0x34], 1
mov dword [rax + 8], edx
je 0x140179918
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rsp + 0x34]
cmp eax, dword [rcx + 0x28]
jle 0x1401795cb
movd xmm1, dword [rsp + 0x38]
movd xmm0, eax
punpckldq xmm0, xmm1
movq qword [rcx + 0x28], xmm0
jmp 0x1401795cb
test byte [rdx + 4], 0x10
jne 0x140179990
movsxd rax, dword [rbx + 0x90]
jmp 0x140179778
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x1f]
test al, al
je 0x1401799a8
mov rcx, qword [rsp + 0xa0]
sub eax, 1
mov byte [rcx + 0x1f], al
movzx eax, al
mov ecx, dword [rcx + rax*4 + 0xe8]
cmp word [rsi + 0x1c], 1
mov eax, dword [rsp + 0x34]
mov r13d, dword [rsp + 0x38]
adc r11d, eax
lea ebp, [rdx + r11]
sub r13d, r11d
test edx, edx
js 0x1401798da
mov qword [rsp + 0x40], r12
mov r12d, ecx
mov dword [rsp + 0x4c], r14d
mov r14d, r11d
nop dword [rax + rax]
mov r8d, dword [rsi + 0x18]
mov r9d, ebp
mov edx, 0x5e
mov rcx, rbx
mov dword [rsp + 0x20], r12d
call fcn.140177290
lea r9d, [r13 + rbp]
mov r8d, r12d
mov rcx, rbx
mov dword [rsp + 0x20], r15d
mov edx, 0xb6
call fcn.140177290
mov eax, ebp
sub ebp, 1
cmp eax, r14d
jne 0x140179890
mov ecx, r12d
mov r14d, dword [rsp + 0x4c]
mov r12, qword [rsp + 0x40]
test ecx, ecx
je 0x140179723
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x1f]
cmp al, 7
ja 0x140179723
mov r10, qword [rsp + 0xa0]
lea edx, [rax + 1]
mov byte [r10 + 0x1f], dl
mov dword [r10 + rax*4 + 0xe8], ecx
jmp 0x140179723
mov ecx, dword [rsp + 0x38]
test ecx, ecx
je 0x1401795cb
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x1f]
cmp al, 7
ja 0x1401795cb
mov r10, qword [rsp + 0xa0]
lea edx, [rax + 1]
mov byte [r10 + 0x1f], dl
mov dword [r10 + rax*4 + 0xe8], ecx
jmp 0x1401795cb
xor r9d, r9d
mov r8d, ebp
mov edx, 0x24
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x20], 0
mov rcx, rbx
call fcn.1401771f0
mov r11d, dword [rsp + 0x40]
mov dword [rsp + 0x3c], eax
add eax, 1
mov dword [rsp + 0x48], eax
jmp 0x1401796b1
call fcn.140158fd0
movsxd rax, dword [rbx + 0x90]
jmp 0x140179778
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x38]
lea ecx, [rax + 1]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x38], ecx
jmp 0x14017985c