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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, qword [0x180396260]
mov r15, rdx
and byte [rcx + 0x43d], 0xf8
mov rdi, rcx
mov rbp, r14
cmp byte [r14 + 0x5a], 0
jne 0x1800309ac
cmp byte [rcx + 0x3c], 0
je 0x180030a0c
test dword [rcx + 0x14], 0x1080001
jne 0x180030a0c
cmp byte [rcx + 0xfb], 0
jne 0x180030a0c
cmp dword [rcx + 0x468], 0
lea rbx, [r14 + 0x6158]
jne 0x180030a44
mov edx, 1
mov rcx, rbx
mov r11d, edx
call fcn.18000b6e0
test rax, rax
je 0x180030a03
nop dword [rax]
nop word [rax + rax]
inc r11d
mov rcx, rbx
mov edx, r11d
call fcn.18000b6e0
test rax, rax
jne 0x1800309f0
mov dword [rdi + 0x468], r11d
jmp 0x180030a44
mov ecx, dword [rcx + 0x14]
shr ecx, 0x13
and cl, 1
test byte [r14 + 0x4b40], 1
je 0x180030a39
movsx eax, byte [rdi + 0x11c]
test dword [r14 + 0x4b44], eax
je 0x180030a39
cmp byte [r14 + 0x4b80], 0
jne 0x180030a7e
test cl, cl
jne 0x180030a7e
lea rbx, [r14 + 0x6158]
mov r11d, dword [rdi + 0x468]
mov rsi, qword [rdi + 0x458]
test r11d, r11d
je 0x180030bb3
test rsi, rsi
jne 0x180030bb3
mov edx, r11d
mov rcx, rbx
call fcn.18000b6e0
mov rsi, rax
test rax, rax
je 0x180030aa5
cmp qword [rax + 0x20], 0
je 0x180030ad6
mov r8b, 1
mov rdx, rdi
mov rcx, rbp
call fcn.18002a630
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov edx, r11d
mov rcx, rbp
call fcn.180029490
mov rsi, rax
mov eax, dword [rax + 0xc8]
and eax, 0xfffffe92
or eax, 0x92
mov dword [rsi + 0xc8], eax
mov eax, dword [r14 + 0x4098]
mov dword [rsi + 0xac], eax
test byte [rsi + 0xcc], 1
jne 0x180030b83
mov r10, rsi
mov rax, qword [r10 + 0x18]
test rax, rax
je 0x180030afb
test byte [rax + 0xcc], 1
mov r10, rax
je 0x180030ae6
mov rax, qword [r10 + 0x18]
mov rdx, r10
test rax, rax
je 0x180030b1c
nop word [rax + rax]
mov rdx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x180030b10
and byte [rdx + 0xcc], 0xdf
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x180030b31
call fcn.18002b6b0
mov rcx, qword [rdx + 0x28]
test rcx, rcx
je 0x180030b3f
call fcn.18002b6b0
cmp qword [rdx + 0x18], 0
jne 0x180030b70
mov rax, qword [rdx + 0x98]
test rax, rax
je 0x180030b70
nop dword [rax]
nop word [rax + rax]
or byte [rax + 0xcc], 0x20
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x180030b60
mov r8, qword [r10 + 0x50]
mov r9, rsi
mov rdx, qword [r10 + 0x48]
mov rcx, r10
call fcn.18002f850
movzx ebx, byte [rsi + 0xcc]
mov r8b, 1
mov rdx, rdi
mov rcx, rsi
call fcn.18002acd0
movzx eax, byte [rsi + 0xcc]
mov r14, qword [0x180396260]
xor bl, al
and bl, 1
xor bl, al
mov byte [rsi + 0xcc], bl
mov ecx, dword [rbp + 0x4098]
cmp dword [rsi + 0xac], ecx
jge 0x180030bf4
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x180030bdc
nop word [rax + rax]
mov rsi, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x180030bd0
cmp dword [rsi + 0xac], ecx
jl 0x180030a7e
or byte [rdi + 0x43d], 1
jmp 0x180030a8c
lea rcx, [rbp + 0x3ae0]
call fcn.18000b3c0
lea rcx, [rbp + 0x3cf0]
mov dword [rdi + 0x440], eax
call fcn.18000b3c0
lea rcx, [rbp + 0x3d00]
mov dword [rdi + 0x444], eax
call fcn.18000b3c0
lea rcx, [rbp + 0x3d10]
mov dword [rdi + 0x448], eax
call fcn.18000b3c0
lea rcx, [rbp + 0x3d20]
mov dword [rdi + 0x44c], eax
call fcn.18000b3c0
lea rcx, [rbp + 0x3d30]
mov dword [rdi + 0x450], eax
call fcn.18000b3c0
mov dword [rdi + 0x454], eax
mov rax, qword [rsi + 0x88]
test rax, rax
jne 0x180030cae
cmp dword [rsi + 0x14], 2
jne 0x180030c79
or byte [rdi + 0x43d], 1
cmp dword [rsi + 0x30], 1
jle 0x180030a8c
cmp byte [rdi + 0xf9], 0
je 0x180030a8c
cmp byte [rdi + 0xf3], 0
mov byte [rdi + 0xfa], 1
sete al
inc al
mov byte [rdi + 0x118], al
jmp 0x180030a8c
test byte [rsi + 0x10], 1
mov dword [rsi + 0x14], 3
jne 0x180030ccf
movzx eax, word [rax + 0x106]
cmp word [rdi + 0x106], ax
jl 0x180030a7e
mov eax, dword [r14 + 0x4b40]
xor r8d, r8d
or eax, 1
mov dword [r14 + 0x4b40], eax
or eax, 2
movsd xmm0, qword [rsi + 0x48]
mov dword [r14 + 0x4b40], eax
movsd qword [r14 + 0x4b54], xmm0
mov qword [r14 + 0x4b5c], r8
mov dword [r14 + 0x4b44], 1
mov byte [r14 + 0x4b80], 1
movsd xmm0, qword [rsi + 0x50]
movsd qword [r14 + 0x4b64], xmm0
mov dword [r14 + 0x4b48], 1
mov byte [rbp + 0x4b80], r8b
movzx eax, byte [rdi + 0x43d]
or al, 3
and al, 0xfb
mov byte [rdi + 0x43d], al
test byte [rsi + 0x10], 1
jne 0x180030a8c
cmp qword [rsi + 0x90], rdi
jne 0x180030d61
or al, 4
mov byte [rdi + 0x43d], al
mov edx, dword [rdi + 0x14]
or dword [rdi + 0x1c], 2
or edx, 0x1000002
mov dword [rdi + 0x14], edx
mov eax, edx
or eax, 1
and edx, 0xfffffffe
test dword [rsi + 0x10], 0x3000
cmovne edx, eax
mov dword [rdi + 0x14], edx
cmp qword [rsi + 0x40], r8
je 0x180030de6
cmp byte [rdi + 0xf4], r8b
je 0x180030de6
mov rax, qword [rdi + 0x458]
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x180030dda
mov edx, dword [rdi + 0xb8]
test edx, edx
je 0x180030dda
movsxd rax, dword [rcx]
test eax, eax
jle 0x180030dda
mov r10, qword [rcx + 8]
mov r9, rax
mov rax, r10
mov rcx, r8
cmp dword [rax], edx
je 0x180030e5c
inc r8d
inc rcx
add rax, 0x38
cmp rcx, r9
jl 0x180030dc3
mov edx, 0xffffffff
mov word [rdi + 0x43e], dx
test byte [rsi + 0xcc], 0x40
jne 0x180030dfd
mov eax, dword [rdi + 0xb8]
cmp dword [rsi + 0xc0], eax
jne 0x180030e06
test r15, r15
je 0x180030e06
mov byte [r15], 0
mov rax, qword [rdi + 0x458]
xor edx, edx
mov rbp, qword [rdi + 8]
mov rcx, rbp
mov rbx, qword [rax + 0x88]
movsxd rax, dword [rbx + 0x130]
mov r8, qword [rbx + 0x138]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.18000ad50
mov rcx, qword [rbx]
mov esi, eax
cmp dword [rcx + 0x418c], eax
jne 0x180030e51
mov r8, rbp
mov edx, 0xb
mov ecx, eax
call fcn.180032840
mov dword [rdi + 0xbc], esi
jmp 0x180030a8c
movsxd rax, r8d
imul rcx, rax, 0x38
lea rax, [rcx + r10]
test rax, rax
je 0x180030dda
movabs rax, 0x4924924924924925
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jmp 0x180030ddf