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

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov edi, dword [rdx]
mov rbx, rcx
mov r9d, dword [rdx + 4]
mov esi, 4
mov r10d, dword [rdx + 8]
mov eax, r10d
mov r11d, dword [rdx + 0xc]
shr eax, 0x10
mov dword [rcx], edi
mov dword [rcx + 8], r9d
mov dword [rcx + 0x10], r10d
mov dword [rcx + 0x18], r11d
mov ecx, r11d
shl ecx, 0x10
or ecx, eax
mov dword [rbx + 0x40], 0
mov dword [rbx + 4], ecx
mov eax, edi
shl eax, 0x10
mov ecx, r11d
shr ecx, 0x10
or ecx, eax
mov eax, edi
shr eax, 0x10
mov dword [rbx + 0xc], ecx
mov ecx, r9d
shl ecx, 0x10
or ecx, eax
mov eax, r9d
shr eax, 0x10
mov dword [rbx + 0x14], ecx
mov ecx, r10d
shl ecx, 0x10
or ecx, eax
mov eax, r10d
rol eax, 0x10
mov dword [rbx + 0x20], eax
mov eax, r11d
rol eax, 0x10
mov dword [rbx + 0x28], eax
mov eax, edi
rol eax, 0x10
mov dword [rbx + 0x30], eax
mov eax, r9d
rol eax, 0x10
mov dword [rbx + 0x38], eax
mov eax, r9d
xor eax, edi
mov dword [rbx + 0x1c], ecx
movzx ecx, ax
mov eax, r10d
xor ecx, edi
xor eax, r9d
mov dword [rbx + 0x24], ecx
movzx ecx, ax
mov eax, r11d
xor ecx, r9d
xor eax, r10d
mov dword [rbx + 0x2c], ecx
movzx ecx, ax
mov eax, r11d
xor ecx, r10d
xor eax, edi
mov dword [rbx + 0x34], ecx
mov edi, esi
movzx ecx, ax
xor ecx, r11d
mov dword [rbx + 0x3c], ecx
mov rcx, rbx
call fcn.140141030
sub rdi, 1
jne 0x140141450
mov edi, dword [rbx + 0x10]
mov ebp, edi
xor ebp, dword [rbx + 0x20]
mov dword [rbx + 0x20], ebp
mov r11d, dword [rbx + 0x14]
mov r15d, r11d
xor r15d, dword [rbx + 0x24]
mov dword [rbx + 0x24], r15d
mov r10d, dword [rbx + 0x18]
mov eax, r10d
xor eax, dword [rbx + 0x28]
mov dword [rbx + 0x28], eax
mov r9d, dword [rbx + 0x1c]
mov r12d, r9d
xor r12d, dword [rbx + 0x2c]
mov dword [rbx + 0x2c], r12d
mov r8d, dword [rbx]
mov dword [rsp + 0x80], eax
mov eax, r8d
xor eax, dword [rbx + 0x30]
mov dword [rbx + 0x30], eax
mov edx, dword [rbx + 4]
mov r13d, edx
xor r13d, dword [rbx + 0x34]
mov dword [rbx + 0x34], r13d
mov ecx, dword [rbx + 8]
mov dword [rsp + 0x88], eax
mov eax, ecx
xor eax, dword [rbx + 0x38]
mov dword [rbx + 0x38], eax
mov dword [rsp + 0x98], eax
mov eax, dword [rbx + 0xc]
mov r14d, eax
xor r14d, dword [rbx + 0x3c]
mov dword [rbx + 0x3c], r14d
mov dword [rbx + 0x44], r8d
mov dword [rbx + 0x64], ebp
mov dword [rbx + 0x48], edx
mov dword [rbx + 0x68], r15d
mov dword [rbx + 0x4c], ecx
mov ecx, dword [rsp + 0x80]
mov dword [rbx + 0x6c], ecx
mov dword [rbx + 0x50], eax
mov dword [rbx + 0x70], r12d
mov dword [rbx + 0x54], edi
mov edi, dword [rsp + 0x88]
mov dword [rbx + 0x74], edi
mov dword [rbx + 0x58], r11d
mov r11d, dword [rsp + 0x98]
mov dword [rbx + 0x78], r13d
mov dword [rbx + 0x5c], r10d
mov r10d, r14d
mov dword [rbx + 0x7c], r11d
mov dword [rbx + 0x60], r9d
mov dword [rbx + 0x80], r14d
mov eax, dword [rbx + 0x40]
mov dword [rbx + 0x84], eax
mov rax, qword [rsp + 0x90]
test rax, rax
je 0x140141553
mov r9, qword [rax]
mov r8, r9
shr r8, 0x20
jmp 0x140141559
xor r9d, r9d
xor r8d, r8d
xor ebp, r9d
mov edx, r8d
mov eax, r9d
mov dword [rbx + 0x64], ebp
shr eax, 0x10
and edx, 0xffff0000
or edx, eax
mov ecx, r8d
movzx eax, r9w
xor r15d, edx
shl ecx, 0x10
xor r9d, edi
or ecx, eax
mov dword [rbx + 0x68], r15d
mov eax, r8d
mov dword [rbx + 0x74], r9d
xor eax, dword [rsp + 0x80]
xor r12d, ecx
xor r13d, edx
mov dword [rbx + 0x6c], eax
xor r8d, r11d
mov dword [rbx + 0x70], r12d
xor r10d, ecx
mov dword [rbx + 0x78], r13d
mov dword [rbx + 0x80], r10d
mov dword [rbx + 0x7c], r8d
lea rcx, [rbx + 0x44]
call fcn.140141030
sub rsi, 1
jne 0x1401415b6
xor eax, eax
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret