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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r15, qword [rcx + 0x18]
xor r12d, r12d
xor r13d, r13d
mov ebp, r8d
mov rdi, rdx
mov rsi, rcx
mov qword [rax + 0x20], r12
test rdx, rdx
je 0x1800838a8
mov qword [rax + 0x10], rdx
mov rax, qword [rdx + 0x78]
inc word [rax + 0x2a]
jmp 0x1800838b8
mov edx, r8d
call fcn.18007ff14
mov rdi, rax
mov qword [rsp + 0x78], rax
mov rcx, qword [r15 + 0x78]
call fcn.18007c15c
mov ebx, eax
mov dword [rsp + 0x70], eax
test eax, eax
jne 0x180083baa
mov rdx, qword [r15 + 0x70]
movzx eax, byte [rdx + 0x25]
movzx r14d, byte [rdx + 0x24]
shl r14d, 8
or r14d, eax
movzx eax, byte [rdx + 0x26]
shl r14d, 8
or r14d, eax
movzx eax, byte [rdx + 0x27]
shl r14d, 8
or r14d, eax
lea ecx, [r14 + 1]
mov eax, ecx
mov byte [rdx + 0x27], cl
shr eax, 0x18
mov byte [rdx + 0x24], al
mov eax, ecx
shr eax, 0x10
mov byte [rdx + 0x25], al
mov eax, ecx
shr eax, 8
mov byte [rdx + 0x26], al
cmp byte [rsi + 0x22], r12b
je 0x18008396e
test rdi, rdi
jne 0x180083944
lea r8, [rsp + 0x78]
xor r9d, r9d
mov edx, ebp
mov rcx, rsi
call fcn.18007feac
mov ebx, eax
test eax, eax
jne 0x180083be4
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rdi + 0x78]
call fcn.18007c15c
mov ebx, eax
mov dword [rsp + 0x70], eax
test eax, eax
jne 0x180083baa
mov rax, qword [rdi + 0x68]
mov rcx, qword [rdi + 0x70]
xor edx, edx
mov r8d, dword [rax + 0x30]
call fcn.1800d7640
cmp byte [rsi + 0x24], r12b
je 0x18008399a
lea rax, [rsp + 0x70]
xor r9d, r9d
mov r8b, 2
mov edx, ebp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.18007f168
mov ebx, dword [rsp + 0x70]
test ebx, ebx
jne 0x180083baa
mov eax, 0x20
test r14d, r14d
je 0x180083b23
mov rcx, qword [r15 + 0x70]
lea r8, [rsp + 0x88]
xor r9d, r9d
add rcx, rax
movzx eax, byte [rcx]
movzx r13d, byte [rcx + 1]
shl eax, 8
or r13d, eax
movzx eax, byte [rcx + 2]
shl r13d, 8
or r13d, eax
movzx eax, byte [rcx + 3]
mov rcx, rsi
shl r13d, 8
or r13d, eax
mov edx, r13d
call fcn.18007feac
mov r12, qword [rsp + 0x88]
mov ebx, eax
test eax, eax
jne 0x180083baa
mov rcx, qword [r12 + 0x70]
movzx eax, byte [rcx + 5]
movzx r14d, byte [rcx + 4]
shl r14d, 8
or r14d, eax
movzx eax, byte [rcx + 6]
shl r14d, 8
or r14d, eax
movzx eax, byte [rcx + 7]
mov ecx, dword [rsi + 0x34]
shr ecx, 2
shl r14d, 8
or r14d, eax
lea eax, [rcx - 2]
cmp r14d, eax
jbe 0x180083a45
mov ecx, 0xc1ab
call fcn.1800c0da4
mov ebx, eax
jmp 0x180083baa
lea eax, [rcx - 8]
cmp r14d, eax
jae 0x180083b23
mov rcx, qword [r12 + 0x78]
call fcn.18007c15c
mov ebx, eax
test eax, eax
jne 0x180083baa
mov rcx, qword [r12 + 0x70]
lea edx, [r14 + 1]
mov byte [rcx + 7], dl
mov eax, edx
shr eax, 0x18
mov byte [rcx + 4], al
mov eax, edx
shr eax, 0x10
mov byte [rcx + 5], al
mov eax, edx
shr eax, 8
mov byte [rcx + 6], al
lea ecx, [r14*4 + 8]
mov eax, ebp
add rcx, qword [r12 + 0x70]
shr eax, 0x18
mov byte [rcx], al
mov eax, ebp
mov byte [rcx + 3], bpl
shr eax, 0x10
mov byte [rcx + 1], al
mov eax, ebp
shr eax, 8
mov byte [rcx + 2], al
test rdi, rdi
je 0x180083adc
cmp byte [rsi + 0x22], bl
jne 0x180083adc
mov rdx, qword [rdi + 0x78]
movzx ecx, word [rdx + 0x28]
test cl, 2
je 0x180083adc
mov rax, qword [rdx + 0x20]
cmp dword [rax + 0x80], ebx
jne 0x180083adc
or cx, 0x20
mov word [rdx + 0x28], cx
xor ebx, ebx
cmp qword [rsi + 0x58], rbx
jne 0x180083b0b
mov r13d, dword [rsi + 0x3c]
mov ecx, 0x200
call fcn.180072c30
test rax, rax
je 0x180083afa
mov dword [rax], r13d
mov qword [rsi + 0x58], rax
test rax, rax
jne 0x180083b0b
lea ebx, [rax + 7]
jmp 0x180083baa
mov rcx, qword [rsi + 0x58]
cmp ebp, dword [rcx]
ja 0x180083baa
mov edx, ebp
call fcn.1800777c0
jmp 0x180083a3e
test rdi, rdi
jne 0x180083b49
lea r8, [rsp + 0x78]
xor r9d, r9d
mov edx, ebp
mov rcx, rsi
call fcn.18007feac
mov ebx, eax
test eax, eax
jne 0x180083be4
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rdi + 0x78]
call fcn.18007c15c
mov ebx, eax
test eax, eax
jne 0x180083baa
mov rcx, qword [rdi + 0x70]
mov eax, r13d
shr eax, 0x18
mov byte [rcx + 3], r13b
mov byte [rcx], al
mov eax, r13d
shr eax, 0x10
mov byte [rcx + 1], al
mov eax, r13d
shr eax, 8
mov byte [rcx + 2], al
mov rax, qword [rdi + 0x70]
mov byte [rax + 4], bl
mov byte [rax + 5], bl
mov byte [rax + 6], bl
mov byte [rax + 7], bl
mov rdx, qword [r15 + 0x70]
mov eax, ebp
shr eax, 0x18
mov byte [rdx + 0x23], bpl
mov byte [rdx + 0x20], al
mov eax, ebp
shr eax, 0x10
mov byte [rdx + 0x21], al
mov eax, ebp
shr eax, 8
mov byte [rdx + 0x22], al
test rdi, rdi
je 0x180083bbb
mov byte [rdi], 0
mov rcx, qword [rdi + 0x78]
call fcn.18007bcfc
test r12, r12
je 0x180083bca
mov rcx, qword [r12 + 0x78]
call fcn.18007bcfc
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdi, qword [rsp + 0x78]
jmp 0x180083baa