Function at 0x1800180e0
Capabilities:
Access peb ldr_data
Enumerate pe sections
Get ntdll base address
Resolve function by hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0xc0], 0
mov dword [rsp + 0x8c], 1
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x60], rax
mov rax, qword gs:[0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180018636
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x48]
mov word [rsp + 0x20], ax
mov qword [rsp + 0x38], 0
mov ecx, dword [rsp + 0x38]
call fcn.180018070
mov eax, eax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax]
cmp eax, 0x61
jl 0x1800181f2
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax]
sub eax, 0x20
cdqe
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
jmp 0x18001820a
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x20]
dec ax
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
test eax, eax
jne 0x1800181b6
cmp dword [rsp + 0x38], 0x6a4abc5b
jne 0x180018428
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov eax, 4
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
test eax, eax
jle 0x180018423
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180018080
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0xec0e4e8e
je 0x180018328
cmp dword [rsp + 0x40], 0x7c0dfcaa
je 0x180018328
cmp dword [rsp + 0x40], 0x91afca54
je 0x180018328
cmp dword [rsp + 0x40], 0x60e0ceef
jne 0x1800183fc
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x90]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x68], rax
cmp dword [rsp + 0x40], 0xec0e4e8e
jne 0x18001837f
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
jmp 0x1800183ef
cmp dword [rsp + 0x40], 0x7c0dfcaa
jne 0x1800183a5
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
jmp 0x1800183ef
cmp dword [rsp + 0x40], 0x91afca54
jne 0x1800183cb
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
jmp 0x1800183ef
cmp dword [rsp + 0x40], 0x60e0ceef
jne 0x1800183ef
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe0], rax
movzx eax, word [rsp + 0x20]
dec ax
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x70]
add rax, 4
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x90]
add rax, 2
mov qword [rsp + 0x90], rax
jmp 0x1800182d1
jmp 0x1800185eb
cmp dword [rsp + 0x38], 0x3cfa685d
jne 0x1800185eb
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x80], eax
mov eax, 2
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
test eax, eax
jle 0x1800185eb
cmp dword [rsp + 0x80], 0
jbe 0x1800185eb
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180018080
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x534c0ab8
je 0x18001852c
cmp dword [rsp + 0x40], 0xff7f061a
jne 0x1800185b4
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x90]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x68], rax
cmp dword [rsp + 0x40], 0x534c0ab8
jne 0x180018583
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc0], rax
jmp 0x1800185a7
cmp dword [rsp + 0x40], 0xff7f061a
jne 0x1800185a7
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd8], rax
movzx eax, word [rsp + 0x20]
dec ax
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x70]
add rax, 4
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x90]
add rax, 2
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x80]
dec eax
mov dword [rsp + 0x80], eax
jmp 0x1800184db
cmp qword [rsp + 0xb0], 0
je 0x180018624
cmp qword [rsp + 0xb8], 0
je 0x180018624
cmp qword [rsp + 0xa0], 0
je 0x180018624
cmp qword [rsp + 0xe0], 0
je 0x180018624
cmp qword [rsp + 0xc0], 0
je 0x180018624
jmp 0x180018636
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
jmp 0x180018185
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x50]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0xf0], 0
je 0x1800186e4
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
movzx ecx, byte [rcx]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
jmp 0x180018694
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x78]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 6]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xa8]
dec rax
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xf8], 0
je 0x1800187df
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x48]
dec rax
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x100], 0
je 0x1800187cc
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
movzx ecx, byte [rcx]
mov byte [rax], cl
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x18001877c
mov rax, qword [rsp + 0x30]
add rax, 0x28
mov qword [rsp + 0x30], rax
jmp 0x18001870d
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x78]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0xc], 0
je 0x1800189c4
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [rsp + 0xb0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1800189b1
cmp qword [rsp + 0x48], 0
je 0x180018950
mov rax, qword [rsp + 0x48]
movabs rcx, 0x8000000000000000
mov rax, qword [rax]
and rax, rcx
test rax, rax
je 0x180018950
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
and rax, 0xffff
mov rcx, qword [rsp + 0x58]
mov ecx, dword [rcx + 0x10]
sub rax, rcx
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
jmp 0x180018988
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
add rax, 2
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x48], 0
je 0x1800189ac
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x48], rax
jmp 0x180018871
mov rax, qword [rsp + 0x38]
add rax, 0x14
mov qword [rsp + 0x38], rax
jmp 0x180018811
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x78]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax + 4], 0
je 0x180018c57
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax + 4], 0
je 0x180018c57
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 4]
sub rax, 8
xor edx, edx
mov ecx, 2
div rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x38]
add rax, 8
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x50]
dec rax
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x108], 0
je 0x180018c3a
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 0xa
jne 0x180018af6
mov eax, 0xfff
mov rcx, qword [rsp + 0x48]
movzx ecx, word [rcx]
and cx, ax
movzx eax, cx
movzx eax, ax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + rax]
add rax, qword [rsp + 0x60]
mov ecx, 0xfff
mov rdx, qword [rsp + 0x48]
movzx edx, word [rdx]
and dx, cx
movzx ecx, dx
movzx ecx, cx
mov rdx, qword [rsp + 0x30]
mov qword [rdx + rcx], rax
jmp 0x180018c27
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 3
jne 0x180018b53
mov eax, 0xfff
mov rcx, qword [rsp + 0x48]
movzx ecx, word [rcx]
and cx, ax
movzx eax, cx
movzx eax, ax
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax]
add eax, dword [rsp + 0x60]
mov ecx, 0xfff
mov rdx, qword [rsp + 0x48]
movzx edx, word [rdx]
and dx, cx
movzx ecx, dx
movzx ecx, cx
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx], eax
jmp 0x180018c27
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 1
jne 0x180018bc0
mov eax, 0xfff
mov rcx, qword [rsp + 0x48]
movzx ecx, word [rcx]
and cx, ax
movzx eax, cx
movzx eax, ax
mov rcx, qword [rsp + 0x60]
shr rcx, 0x10
and rcx, 0xffff
movzx ecx, cx
mov rdx, qword [rsp + 0x30]
movzx eax, word [rdx + rax]
add eax, ecx
mov ecx, 0xfff
mov rdx, qword [rsp + 0x48]
movzx edx, word [rdx]
and dx, cx
movzx ecx, dx
movzx ecx, cx
mov rdx, qword [rsp + 0x30]
mov word [rdx + rcx], ax
jmp 0x180018c27
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 2
jne 0x180018c27
mov eax, 0xfff
mov rcx, qword [rsp + 0x48]
movzx ecx, word [rcx]
and cx, ax
movzx eax, cx
movzx eax, ax
mov rcx, qword [rsp + 0x60]
and rcx, 0xffff
movzx ecx, cx
mov rdx, qword [rsp + 0x30]
movzx eax, word [rdx + rax]
add eax, ecx
mov ecx, 0xfff
mov rdx, qword [rsp + 0x48]
movzx edx, word [rdx]
and dx, cx
movzx ecx, dx
movzx ecx, cx
mov rdx, qword [rsp + 0x30]
mov word [rdx + rcx], ax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
jmp 0x180018a6d
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
jmp 0x180018a1e
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [rsp + 0xc0]
mov r8, qword [rsp + 0x130]
mov edx, 1
mov rcx, qword [rsp + 0x28]
call qword [rsp + 0x30]
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
cmp dword [rax + 4], 0
jne 0x180018cc9
jmp 0x180018e5c
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
cmp dword [rax + 0x18], 0
je 0x180018d02
mov rax, qword [rsp + 0x98]
cmp dword [rax + 0x14], 0
jne 0x180018d07
jmp 0x180018e5c
mov dword [rsp + 0x88], 0xffffffff
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x84], 0
jmp 0x180018d93
mov eax, dword [rsp + 0x84]
inc eax
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0xc8]
add rax, 4
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xd0]
add rax, 2
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x84], eax
jae 0x180018de6
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180018080
cmp eax, dword [rsp + 0x140]
jne 0x180018de1
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax]
mov dword [rsp + 0x88], eax
jmp 0x180018de6
jmp 0x180018d5b
cmp dword [rsp + 0x88], 0xffffffff
jne 0x180018df2
jmp 0x180018e5c
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x88]
shl ecx, 2
movsxd rcx, ecx
mov eax, dword [rax + rcx]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x110], rax
mov edx, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x148]
call qword [rsp + pe_nt_image_headers64]
test eax, eax
jne 0x180018e47
jmp 0x180018e5c
mov dword [rsp + 0x8c], 0
xor eax, eax
test eax, eax
jne 0x180018c98
cmp qword [rsp + 0xd8], 0
je 0x180018e77
mov ecx, dword [rsp + 0x8c]
call qword [rsp + 0xd8]
jmp 0x180018e85
mov ecx, dword [rsp + 0x8c]
call qword [rsp + 0xe0]
add rsp, 0x128
ret