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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov rax, qword [rdx + 0x130]
xor r12d, r12d
mov qword [rcx + 0xb8], rax
mov rbx, rcx
movsx eax, word [rdx + 0x118]
mov rdi, rdx
mov esi, dword [rdx + 0x38]
mov ebp, eax
mov qword [rdx + 0x130], r12
mov r15, qword [rcx]
mov ecx, dword [rdx + 0x34]
add esi, ecx
mov word [rsp + 0xa0], ax
mov dword [rsp + 0xb8], eax
mov eax, dword [rdx + 0x80]
mov qword [rsp + 0x40], r15
mov dword [rsp + 0xa8], ecx
mov dword [rsp + 0xb0], eax
test ecx, ecx
jne 0x140175785
test esi, esi
jle 0x140175785
inc esi
mov eax, dword [rbx + 0x98]
lea ecx, [rax + rax*2]
mov eax, dword [rdx + 0x3c]
shl ecx, 3
lea rdx, [rsp + 0xb0]
movsxd r14, ecx
sub eax, ecx
add r14, qword [rbx + 0x90]
mov rcx, rbx
movsxd r13, eax
mov qword [rsp + 0x30], r14
and r13, 0xfffffffffffffff8
call fcn.140173f40
cmp byte [rdi + 0x20], r12b
je 0x1401757cd
mov eax, 0x40
cmp byte [rdi + 0x21], r12b
jne 0x1401757d0
mov eax, r12d
mov ecx, dword [rbx + 0xd0]
and ecx, 0xffffffbf
or ecx, eax
mov dword [rbx + 0xd0], ecx
movzx eax, byte [rdi + 0x11b]
test al, al
je 0x1401758b5
movzx eax, al
mov edx, 0xa
cmp esi, edx
cmovl esi, edx
shl eax, 2
xor eax, ecx
mov edx, 4
and eax, 0xc
xor eax, ecx
mov ecx, 8
mov r14d, ecx
mov dword [rbx + 0xd0], eax
movzx edi, byte [rdi + 0x11b]
cmp dil, 2
cmovne r14d, r12d
cmovne edx, ecx
mov rcx, rbx
mov qword [rsp + 0x38], r14
call fcn.1401760f0
cmp dil, 2
mov r12d, 0xc
mov eax, 8
cmovne r12d, eax
cmp r14, r12
jae 0x1401758b0
mov r15d, r14d
lea rbp, str.addr
mov edi, r14d
nop
mov rax, qword [rbx]
cmp byte [rax + 0x63], 0
jne 0x140175899
mov rdx, qword [rbp + rdi*8]
mov eax, r14d
sub eax, r15d
mov qword [rsp + 0x20], 0
cdqe
mov r9b, 1
imul rcx, rax, 0x38
mov r8, 0xffffffffffffffff
add rcx, qword [rbx + 0xa0]
call fcn.140172740
inc r14d
inc rdi
cmp rdi, r12
jl 0x140175860
mov ebp, dword [rsp + 0xb8]
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x30]
and dword [rbx + 0xd0], 0xfffffffc
xor r9d, r9d
movsxd rax, esi
mov ecx, r9d
imul r12, rax, 0x38
cmp r12, r13
jg 0x1401758d7
mov rcx, r13
sub rcx, r12
add rcx, r14
mov rdx, r13
movsxd rax, ebp
sub rdx, r12
mov qword [rbx + 0x70], rcx
cmp r12, r13
mov rdi, r9
mov rcx, r9
cmovg rdx, r13
cmovg rdi, r12
imul r8, rax, 0x38
mov qword [rsp + 0xb8], r8
cmp r8, rdx
jg 0x140175911
mov rcx, r14
sub rcx, r8
add rcx, rdx
jmp 0x140175914
add rdi, r8
movsxd r14, dword [rsp + 0xb0]
mov rax, rdx
sub rax, r8
mov qword [rbx + 0x88], rcx
cmp r8, rdx
mov rcx, r9
mov r8, qword [rsp + 0x30]
cmovg rax, rdx
shl r14, 3
cmp r14, rax
jg 0x14017594c
mov rcx, r8
sub rcx, r14
add rcx, rax
jmp 0x14017594f
add rdi, r14
mov rdx, rax
mov qword [rbx + 0x78], rcx
movsxd rcx, dword [rsp + 0xa8]
sub rdx, r14
cmp r14, rax
mov r13, rcx
cmovg rdx, rax
shl r13, 3
mov rax, r9
cmp r13, rdx
jg 0x140175982
mov rax, rdx
sub rax, r13
add rax, r8
jmp 0x140175985
add rdi, r13
mov qword [rbx + 0x80], rax
test rdi, rdi
je 0x140175a35
mov rdx, rdi
mov rcx, r15
call fcn.14014e9c0
mov qword [rbx + 0x100], rax
mov rcx, rax
cmp byte [r15 + 0x63], 0
jne 0x140175a2b
mov rax, qword [rbx + 0x70]
test rax, rax
jne 0x1401759c6
cmp r12, rdi
jg 0x1401759c6
sub rdi, r12
lea rax, [rcx + rdi]
mov rdx, qword [rbx + 0x88]
mov qword [rbx + 0x70], rax
test rdx, rdx
jne 0x1401759ea
mov rax, qword [rsp + 0xb8]
cmp rax, rdi
jg 0x1401759ea
sub rdi, rax
lea rdx, [rdi + rcx]
mov rax, qword [rbx + 0x78]
mov qword [rbx + 0x88], rdx
test rax, rax
jne 0x140175a06
cmp r14, rdi
jg 0x140175a06
sub rdi, r14
lea rax, [rdi + rcx]
mov qword [rbx + 0x78], rax
mov rax, qword [rbx + 0x80]
test rax, rax
jne 0x140175a24
cmp r13, rdi
jg 0x140175a24
mov rax, rcx
sub rax, r13
add rax, rdi
mov qword [rbx + 0x80], rax
mov ecx, dword [rsp + 0xa8]
xor r9d, r9d
cmp byte [r15 + 0x63], 0
mov edi, 1
je 0x140175a50
mov word [rbx + 0x20], r9w
mov qword [rbx + 0x28], 0
jmp 0x140175ac9
movzx eax, word [rsp + 0xa0]
mov word [rbx + 0x20], ax
mov rax, qword [rbx + 0x88]
mov dword [rbx + 0x2c], ecx
test ebp, ebp
jle 0x140175a85
add rax, 8
nop
dec ebp
mov qword [rax + 0x20], r15
mov word [rax], di
mov dword [rax + 0x18], r9d
lea rax, [rax + 0x38]
test ebp, ebp
jg 0x140175a70
mov rax, qword [rbx + 0x70]
mov dword [rbx + 0x28], esi
test esi, esi
jle 0x140175ab5
add rax, 8
mov ecx, 0x80
nop dword [rax]
dec esi
mov qword [rax + 0x20], r15
mov word [rax], cx
mov dword [rax + 0x18], r9d
lea rax, [rax + 0x38]
test esi, esi
jg 0x140175aa0
mov rcx, qword [rbx + 0x80]
mov r8, r13
xor edx, edx
call fcn.1401ec560
xor r9d, r9d
mov dword [rbx + 0x24], 0x2df20da3
mov dword [rbx + 0x34], 0xffffffff
mov dword [rbx + 0x38], r9d
mov word [rbx + 0xca], 0xff02
mov qword [rbx + 0x40], r9
mov dword [rbx + 0x30], edi
mov dword [rbx + 0x48], r9d
mov qword [rbx + 0x58], r9
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret