Function at 0x180017dcc
Capabilities:
Access peb ldr_data
Resolve function by hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword gs:[0x60]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov rax, qword [rax + 0x18]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180017ebf
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x48]
mov word [rsp], ax
mov qword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
ror eax, 0xd
mov eax, eax
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
cmp eax, 0x61
jl 0x180017e69
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
sub eax, 0x20
cdqe
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x180017e81
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
movzx eax, word [rsp]
dec ax
mov word [rsp], ax
movzx eax, word [rsp]
test eax, eax
jne 0x180017e2f
cmp dword [rsp + 0x20], 0x6a4abc5b
jne 0x180017ead
jmp 0x180017ebf
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
jmp 0x180017dff
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov eax, 6
mov word [rsp], ax
movzx eax, word [rsp]
test eax, eax
jle 0x180018143
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x10], 0
mov eax, dword [rsp + 0x10]
ror eax, 0xd
mov dword [rsp + 0x10], eax
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
mov ecx, dword [rsp + 0x10]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x10], eax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
test eax, eax
jne 0x180017f7c
mov eax, dword [rsp + 0x10]
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 0xec0e4e8e
je 0x180017ffc
cmp dword [rsp + 4], 0x7c0dfcaa
je 0x180017ffc
cmp dword [rsp + 4], 0x91afca54
je 0x180017ffc
cmp dword [rsp + 4], 0x7946c61b
je 0x180017ffc
cmp dword [rsp + 4], 0x753a4fc
je 0x180017ffc
cmp dword [rsp + 4], 0xd3324904
jne 0x180018122
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x18]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x18], rax
cmp dword [rsp + 4], 0xec0e4e8e
jne 0x180018054
mov rax, qword [rsp + 0x18]
mov eax, dword [rax]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x10], rax
jmp 0x180018117
cmp dword [rsp + 4], 0x7c0dfcaa
jne 0x18001807e
mov rax, qword [rsp + 0x18]
mov eax, dword [rax]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 8], rax
jmp 0x180018117
cmp dword [rsp + 4], 0x91afca54
jne 0x1800180a5
mov rax, qword [rsp + 0x18]
mov eax, dword [rax]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x20], rax
jmp 0x180018117
cmp dword [rsp + 4], 0x7946c61b
jne 0x1800180cc
mov rax, qword [rsp + 0x18]
mov eax, dword [rax]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x28], rax
jmp 0x180018117
cmp dword [rsp + 4], 0x753a4fc
jne 0x1800180f3
mov rax, qword [rsp + 0x18]
mov eax, dword [rax]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x18], rax
jmp 0x180018117
cmp dword [rsp + 4], 0xd3324904
jne 0x180018117
mov rax, qword [rsp + 0x18]
mov eax, dword [rax]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
movzx eax, word [rsp]
dec ax
mov word [rsp], ax
mov rax, qword [rsp + 0x38]
add rax, 4
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
jmp 0x180017f51
add rsp, 0x68
ret