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

Disassembly:
mov r11, rsp
push rbx
push r12
push r13
sub rsp, 0x60
mov rax, qword [rcx]
mov rbx, rdx
mov r13, rcx
mov r12, qword [rax]
movsxd rax, dword [rax + 0x10]
shl rax, 4
add rax, r12
mov qword [rsp + 0x90], rax
cmp r12, rax
je 0x18007844f
mov qword [r11 + 0x10], rbp
mov qword [r11 - 0x20], rsi
mov qword [r11 - 0x28], rdi
mov qword [r11 - 0x30], r14
mov qword [r11 - 0x38], r15
nop dword [rax + rax]
mov eax, dword [r13 + 8]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov eax, dword [r13 + 0xc]
mov rcx, r12
mov dword [rsp + 0x24], eax
mov eax, dword [r13 + 0x10]
mov dword [rsp + 0x28], eax
mov eax, dword [r13 + 0x14]
mov dword [rsp + 0x2c], eax
call fcn.18004b8b0
movsxd rbp, dword [rsp + 0x38]
test ebp, ebp
jle 0x180078421
mov eax, dword [rsp + 0x3c]
test eax, eax
jle 0x180078421
mov r14d, dword [rsp + 0x34]
lea r15d, [r14 + rax]
cmp r14d, r15d
jge 0x180078421
nop dword [rax]
mov r8, qword [rbx]
mov eax, dword [r8 + 0xc]
imul eax, r14d
movsxd rdx, eax
add rdx, qword [r8]
mov qword [rbx + 8], rdx
movsxd r9, dword [r8 + 0x10]
mov eax, r9d
imul eax, dword [rsp + 0x30]
movsxd rcx, eax
mov eax, dword [rbx + 0x10]
add rcx, rdx
cmp byte [rbx + 0x13], 0xff
mov dword [rsp + 0x80], eax
jb 0x18007837a
mov r8d, ebp
cmp r9d, 3
jne 0x180078348
cmp byte [rbx + 0x20], 0
je 0x1800782a9
shr eax, 0x10
lea r8, [rbp*2]
add r8, rbp
movzx edx, al
call fcn.1800a7360
jmp 0x180078415
movzx r10d, byte [rsp + 0x82]
movzx r11d, byte [rsp + 0x81]
test ebp, 0xffffffe0
je 0x18007831d
cmp ebp, 8
jle 0x1800782e4
test cl, 7
je 0x1800782e4
dec r8d
mov byte [rcx], al
mov byte [rcx + 1], r11b
mov byte [rcx + 2], r10b
add rcx, 3
cmp r8d, 8
jg 0x1800782c8
cmp r8d, 4
jle 0x18007831d
lea edx, [r8 - 5]
shr edx, 2
inc edx
mov r9d, edx
neg edx
lea r8d, [r8 + rdx*4]
nop dword [rax]
mov edx, dword [rbx + 0x14]
mov dword [rcx], edx
lea rdx, [rcx + 4]
mov ecx, dword [rbx + 0x18]
mov dword [rdx], ecx
mov ecx, dword [rbx + 0x1c]
mov dword [rdx + 4], ecx
lea rcx, [rdx + 8]
dec r9
jne 0x180078300
dec r8d
js 0x180078415
add rcx, 2
nop word [rax + rax]
dec r8d
mov byte [rcx - 2], al
mov byte [rcx - 1], r11b
mov byte [rcx], r10b
lea rcx, [rcx + 3]
jns 0x180078330
jmp 0x180078415
movzx r10d, byte [rsp + 0x81]
mov rdx, r9
movzx r9d, byte [rsp + 0x82]
nop dword [rax]
dec r8d
mov byte [rcx], al
mov byte [rcx + 1], r10b
mov byte [rcx + 2], r9b
add rcx, rdx
test r8d, r8d
jg 0x180078360
jmp 0x180078415
movzx edx, byte [rsp + 0x83]
mov r11d, eax
mov r10d, 0x100
shr eax, 8
sub r10d, edx
and r11d, 0xff00ff
mov edi, ebp
mov rsi, r9
and eax, 0xff00ff
movzx edx, byte [rcx]
movzx r8d, byte [rcx + 2]
mov r9d, 0x100
shl r8d, 0x10
dec edi
or r8d, edx
imul r8d, r10d
shr r8d, 8
and r8d, 0xff00ff
add r8d, r11d
mov edx, r8d
shr edx, 8
and edx, 0xff00ff
sub r9d, edx
or r9d, r8d
movzx r8d, byte [rcx + 1]
and r9d, 0xff00ff
mov byte [rcx], r9b
imul r8d, r10d
shr r8d, 8
add r8d, eax
mov edx, r8d
shr edx, 8
neg dl
or dl, r8b
mov byte [rcx + 1], dl
mov edx, r9d
shr edx, 0x10
mov byte [rcx + 2], dl
add rcx, rsi
test edi, edi
jg 0x1800783a2
inc r14d
cmp r14d, r15d
jl 0x180078240
add r12, 0x10
cmp r12, qword [rsp + 0x90]
jne 0x1800781e0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x88]
add rsp, 0x60
pop r13
pop r12
pop rbx
ret