Function at 0x180004fa0
Capabilities:
Access peb ldr_data
Check os version
Enumerate pe sections
Resolve function by hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x110], rax
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0x98], 0
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
movzx edx, word [rax + 0x48]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x50]
call fcn.180005a10
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0x3cfa685d
je 0x180005057
cmp dword [rsp + 0x90], 0x6a4abc5b
jne 0x18000525f
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x118], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x118]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0x60], 0
jmp 0x180005127
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0xe0]
add rax, 4
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe8]
add rax, 2
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x60], eax
jae 0x18000525f
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800059c0
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xe8]
movzx ecx, word [rcx]
lea rax, [rax + rcx*4]
mov qword [rsp + 0xc0], rax
cmp dword [rsp + 0x48], 0x534c0ab8
jne 0x1800051b3
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
jmp 0x18000522c
cmp dword [rsp + 0x48], 0xec0e4e8e
jne 0x1800051dc
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
jmp 0x18000522c
cmp dword [rsp + 0x48], 0x7c0dfcaa
jne 0x180005205
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
jmp 0x18000522c
cmp dword [rsp + 0x48], 0x91afca54
jne 0x18000522c
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0xa0], 0
je 0x18000525a
cmp qword [rsp + 0xa8], 0
je 0x18000525a
cmp qword [rsp + 0x98], 0
je 0x18000525a
cmp qword [rsp + 0xb0], 0
je 0x18000525a
jmp 0x18000525f
jmp 0x1800050f5
cmp qword [rsp + 0xa0], 0
je 0x18000528d
cmp qword [rsp + 0xa8], 0
je 0x18000528d
cmp qword [rsp + 0x98], 0
je 0x18000528d
cmp qword [rsp + 0xb0], 0
je 0x18000528d
jmp 0x1800052b6
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xf8]
cmp qword [rsp + 0x80], rax
jne 0x180005015
cmp qword [rsp + 0xa0], 0
je 0x18000594a
cmp qword [rsp + 0xa8], 0
je 0x18000594a
cmp qword [rsp + 0x98], 0
je 0x18000594a
cmp qword [rsp + 0xb0], 0
je 0x18000594a
mov rax, qword [rsp + 0x150]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x150]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x50]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [rsp + 0x98]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x18000594a
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax + 0x54]
mov rdx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x30]
call fcn.180005960
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0xf0], rax
xor eax, eax
mov word [rsp + 0x20], ax
jmp 0x18000538d
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x180005419
movzx eax, word [rsp + 0x20]
imul rax, rax, 0x28
movzx ecx, word [rsp + 0x20]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0xf0]
mov ecx, dword [rdx + rcx + 0x14]
mov rdx, qword [rsp + 0x150]
add rdx, rcx
mov rcx, rdx
movzx edx, word [rsp + 0x20]
imul rdx, rdx, 0x28
mov r8, qword [rsp + 0xf0]
mov edx, dword [r8 + rdx + 0xc]
mov r8, qword [rsp + 0x30]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x120], rdx
mov r8, qword [rsp + 0xf0]
mov r8d, dword [r8 + rax + 0x10]
mov rdx, rcx
mov rax, qword [rsp + 0x120]
mov rcx, rax
call fcn.180005960
jmp 0x180005380
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
cmp dword [rax + 4], 0
je 0x180005626
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
jmp 0x18000547c
mov rax, qword [rsp + 0x88]
add rax, 0x14
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
cmp dword [rax + 0xc], 0
je 0x180005626
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [rsp + 0xa0]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x180005621
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
cmp qword [rax], 0
je 0x180005621
mov rax, qword [rsp + 0xd0]
movabs rcx, 0x8000000000000000
mov rax, qword [rax]
and rax, rcx
test rax, rax
je 0x1800055bc
mov rax, qword [rsp + 0x68]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x128], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x128]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx]
and rcx, 0xffff
mov rdx, qword [rsp + 0x100]
mov edx, dword [rdx + 0x10]
sub rcx, rdx
mov eax, dword [rax + rcx*4]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x78]
mov qword [rcx], rax
jmp 0x1800055fa
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
add rax, 2
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x78]
mov qword [rcx], rax
mov rax, qword [rsp + 0xd0]
add rax, 8
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x78]
add rax, 8
mov qword [rsp + 0x78], rax
jmp 0x1800054f7
jmp 0x180005468
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
cmp dword [rax + 4], 0
je 0x180005906
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x108]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
jmp 0x1800056a6
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
cmp dword [rax + 4], 0
je 0x180005906
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0
jmp 0x1800056f2
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 4]
sub rax, 8
xor edx, edx
mov ecx, 2
div rcx
cmp qword [rsp + 0x28], rax
jae 0x180005901
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rax + rcx*2]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 0xa
jne 0x180005789
mov eax, 0xfff
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x28]
movzx ecx, word [rcx + rdx*2]
and cx, ax
movzx eax, cx
movzx eax, ax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx + rax]
add rax, qword [rsp + 0xd8]
mov ecx, 0xfff
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x28]
movzx edx, word [rdx + r8*2]
and dx, cx
movzx ecx, dx
movzx ecx, cx
mov rdx, qword [rsp + 0x58]
mov qword [rdx + rcx], rax
jmp 0x1800058fc
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rax + rcx*2]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 3
jne 0x1800057fc
mov eax, 0xfff
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x28]
movzx ecx, word [rcx + rdx*2]
and cx, ax
movzx eax, cx
movzx eax, ax
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax]
add eax, dword [rsp + 0xd8]
mov ecx, 0xfff
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x28]
movzx edx, word [rdx + r8*2]
and dx, cx
movzx ecx, dx
movzx ecx, cx
mov rdx, qword [rsp + 0x58]
mov dword [rdx + rcx], eax
jmp 0x1800058fc
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rax + rcx*2]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 1
jne 0x18000587f
mov eax, 0xfff
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x28]
movzx ecx, word [rcx + rdx*2]
and cx, ax
movzx eax, cx
movzx eax, ax
mov rcx, qword [rsp + 0xd8]
shr rcx, 0x10
and rcx, 0xffff
movzx ecx, cx
mov rdx, qword [rsp + 0x58]
movzx eax, word [rdx + rax]
add eax, ecx
mov ecx, 0xfff
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x28]
movzx edx, word [rdx + r8*2]
and dx, cx
movzx ecx, dx
movzx ecx, cx
mov rdx, qword [rsp + 0x58]
mov word [rdx + rcx], ax
jmp 0x1800058fc
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rax + rcx*2]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 2
jne 0x1800058fc
mov eax, 0xfff
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x28]
movzx ecx, word [rcx + rdx*2]
and cx, ax
movzx eax, cx
movzx eax, ax
mov rcx, qword [rsp + 0xd8]
and rcx, 0xffff
movzx ecx, cx
mov rdx, qword [rsp + 0x58]
movzx eax, word [rdx + rax]
add eax, ecx
mov ecx, 0xfff
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x28]
movzx edx, word [rdx + r8*2]
and dx, cx
movzx ecx, dx
movzx ecx, cx
mov rdx, qword [rsp + 0x58]
mov word [rdx + rcx], ax
jmp 0x1800056e5
jmp 0x18000568e
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x130], rax
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [rsp + 0xb0]
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x30]
call qword [rsp + 0x130]
jmp 0x18000594c
xor eax, eax
add rsp, 0x148
ret