Function at 0x18002e080
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x148
mov rax, qword [0x180053040]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov dword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x160]
call fcn.18002da50
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x18002e103
mov rax, qword [rsp + 0x178]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x178]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x68], eax
jmp 0x18002e134
mov rax, qword [rsp + 0x178]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x178]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x68]
add ecx, eax
mov eax, ecx
imul eax, eax, 5
mov dword [rsp + 0x88], eax
mov ecx, dword [rsp + 0x88]
call fcn.180013b60
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x18002ee9f
mov eax, dword [rsp + 0x68]
mov r8d, eax
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x20]
call fcn.180013ac0
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x98], rax
mov eax, 0x28
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
mov eax, dword [rcx + rax + 0x14]
mov dword [rsp + 0x4c], eax
xor eax, eax
mov word [rsp + 0x44], ax
jmp 0x18002e1ef
movzx eax, word [rsp + 0x44]
inc ax
mov word [rsp + 0x44], ax
movzx eax, word [rsp + 0x44]
mov rcx, qword [rsp + 0x90]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x18002e227
movzx eax, word [rsp + 0x44]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x98]
mov eax, dword [rcx + rax + 0x10]
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
jmp 0x18002e1e2
mov rcx, qword [rsp + 0x20]
call fcn.18002da50
movzx eax, al
test eax, eax
je 0x18002e6f7
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 0x18]
mov rcx, qword [rsp + 0x50]
movzx ecx, word [rcx + 6]
dec ecx
movsxd rcx, ecx
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
dec ecx
mov ecx, ecx
and rax, rcx
test rax, rax
je 0x18002e2ea
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
dec ecx
not ecx
mov ecx, ecx
and rax, rcx
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0xa0], rax
jmp 0x18002e2fa
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0xa0]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
add eax, dword [rsp + 0x3c]
add eax, dword [rsp + 0x168]
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
dec ecx
mov ecx, ecx
and rax, rcx
test rax, rax
je 0x18002e397
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
dec ecx
not ecx
mov ecx, ecx
and rax, rcx
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0xa8], rax
jmp 0x18002e3a7
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0xa8]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x28]
add eax, dword [rcx + 0xc]
mov eax, eax
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x38]
dec ecx
mov ecx, ecx
and rax, rcx
test rax, rax
je 0x18002e432
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x28]
add eax, dword [rcx + 0xc]
mov eax, eax
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x38]
dec ecx
not ecx
mov ecx, ecx
and rax, rcx
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x38]
add rax, rcx
mov qword [rsp + 0xb0], rax
jmp 0x18002e44c
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x28]
add eax, dword [rcx + 0xc]
mov eax, eax
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0xb0]
mov dword [rax + 0x50], ecx
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
and eax, 0x40
test eax, eax
je 0x18002e51e
mov eax, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
dec ecx
mov ecx, ecx
and rax, rcx
test rax, rax
je 0x18002e4e8
mov eax, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
dec ecx
not ecx
mov ecx, ecx
and rax, rcx
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0xb8], rax
jmp 0x18002e501
mov eax, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov eax, eax
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x20]
add rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x20], eax
jmp 0x18002e6a1
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
and eax, 0x80
test eax, eax
je 0x18002e5e3
mov eax, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
dec ecx
mov ecx, ecx
and rax, rcx
test rax, rax
je 0x18002e5ad
mov eax, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
dec ecx
not ecx
mov ecx, ecx
and rax, rcx
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0xc0], rax
jmp 0x18002e5c6
mov eax, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov eax, eax
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x24]
add rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x24], eax
jmp 0x18002e6a1
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
and eax, 0x20
test eax, eax
je 0x18002e6a1
mov eax, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
dec ecx
mov ecx, ecx
and rax, rcx
test rax, rax
je 0x18002e670
mov eax, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
dec ecx
not ecx
mov ecx, ecx
and rax, rcx
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0xc8], rax
jmp 0x18002e689
mov eax, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov eax, eax
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x1c]
add rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x1c], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x28]
add eax, dword [rcx + 0x10]
mov rcx, qword [rsp + 0x170]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x20]
call fcn.18002d7e0
cmp eax, 3
jne 0x18002e6f2
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
bts eax, 0x1b
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x24], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
btr eax, 0x19
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x24], eax
jmp 0x18002ebad
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x18]
mov rcx, qword [rsp + 0x58]
movzx ecx, word [rcx + 6]
dec ecx
movsxd rcx, ecx
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
dec ecx
mov ecx, ecx
and rax, rcx
test rax, rax
je 0x18002e7a5
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
dec ecx
not ecx
mov ecx, ecx
and rax, rcx
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0xd0], rax
jmp 0x18002e7b5
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0xd0]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
add eax, dword [rsp + 0x40]
add eax, dword [rsp + 0x168]
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
dec ecx
mov ecx, ecx
and rax, rcx
test rax, rax
je 0x18002e852
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
dec ecx
not ecx
mov ecx, ecx
and rax, rcx
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0xd8], rax
jmp 0x18002e862
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0xd8]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x30]
add eax, dword [rcx + 0xc]
mov eax, eax
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x38]
dec ecx
mov ecx, ecx
and rax, rcx
test rax, rax
je 0x18002e8ed
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x30]
add eax, dword [rcx + 0xc]
mov eax, eax
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x38]
dec ecx
not ecx
mov ecx, ecx
and rax, rcx
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x38]
add rax, rcx
mov qword [rsp + 0xe0], rax
jmp 0x18002e907
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x30]
add eax, dword [rcx + 0xc]
mov eax, eax
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x58]
mov ecx, dword [rsp + 0xe0]
mov dword [rax + 0x50], ecx
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
and eax, 0x40
test eax, eax
je 0x18002e9d9
mov eax, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
dec ecx
mov ecx, ecx
and rax, rcx
test rax, rax
je 0x18002e9a3
mov eax, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
dec ecx
not ecx
mov ecx, ecx
and rax, rcx
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0xe8], rax
jmp 0x18002e9bc
mov eax, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov eax, eax
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x20]
add rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 0x20], eax
jmp 0x18002eb5c
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
and eax, 0x80
test eax, eax
je 0x18002ea9e
mov eax, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
dec ecx
mov ecx, ecx
and rax, rcx
test rax, rax
je 0x18002ea68
mov eax, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
dec ecx
not ecx
mov ecx, ecx
and rax, rcx
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0xf0], rax
jmp 0x18002ea81
mov eax, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov eax, eax
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x24]
add rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 0x24], eax
jmp 0x18002eb5c
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
and eax, 0x20
test eax, eax
je 0x18002eb5c
mov eax, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
dec ecx
mov ecx, ecx
and rax, rcx
test rax, rax
je 0x18002eb2b
mov eax, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
dec ecx
not ecx
mov ecx, ecx
and rax, rcx
mov rcx, qword [rsp + 0x20]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rdx + rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0xf8], rax
jmp 0x18002eb44
mov eax, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov eax, eax
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x1c]
add rax, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 0x1c], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x30]
add eax, dword [rcx + 0x10]
mov rcx, qword [rsp + 0x170]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x20]
call fcn.18002d7e0
cmp eax, 3
jne 0x18002ebad
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
bts eax, 0x1b
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x24], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
btr eax, 0x19
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x24], eax
mov rax, qword [rsp + 0x170]
cmp dword [rax], 0
je 0x18002ee9f
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x168]
mov r8d, eax
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x60]
call fcn.180013ac0
mov dword [rsp + 0x48], 0
jmp 0x18002ec02
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x170]
mov eax, dword [rax]
cmp dword [rsp + 0x48], eax
jae 0x18002ec6f
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x18002ec49
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x20]
movabs rdx, 0x5285241274382195
cmp qword [rcx + rax], rdx
jne 0x18002ec47
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x20]
mov qword [rdx + rax], rcx
jmp 0x18002ec6f
jmp 0x18002ec6d
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x20]
cmp dword [rcx + rax], 0x52852412
jne 0x18002ec6d
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x20]
mov edx, dword [rsp + 0x4c]
mov dword [rcx + rax], edx
jmp 0x18002ec6f
jmp 0x18002ebf8
mov rcx, qword [rsp + 0x178]
call fcn.18002d8d0
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x118], 0x62
mov byte [rsp + 0x119], 0x2e
mov byte [rsp + 0x11a], 0x64
mov byte [rsp + 0x11b], 0x6c
mov byte [rsp + 0x11c], 0x6c
mov byte [rsp + 0x11d], 0
lea rax, [rsp + 0x11e]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov byte [rsp + 0x128], 0x63
mov byte [rsp + 0x129], 0x2e
mov byte [rsp + 0x12a], 0x64
mov byte [rsp + 0x12b], 0x6c
mov byte [rsp + 0x12c], 0x6c
mov byte [rsp + 0x12d], 0
lea rax, [rsp + 0x12e]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
cmp qword [rsp + 0x78], 0
je 0x18002ed27
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0x78]
call fcn.18001fe80
test eax, eax
je 0x18002ed2f
cmp qword [rsp + 0x78], 0
jne 0x18002ed92
mov edx, 0xff
xor ecx, ecx
call fcn.180015e80
mov byte [rsp + 0x39], al
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x168]
mov dword [rax], ecx
mov rax, qword [rsp + 0x60]
movzx ecx, byte [rsp + 0x39]
mov byte [rax + 4], cl
mov dword [rsp + 0x6c], 5
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x168]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x6c]
mov rdx, qword [rsp + 0x60]
add rdx, rcx
mov rcx, rdx
movzx r8d, byte [rsp + 0x39]
mov edx, eax
call fcn.180013d20
jmp 0x18002ee9f
cmp qword [rsp + 0x78], 0
je 0x18002ee73
lea rdx, [rsp + 0x128]
mov rcx, qword [rsp + 0x78]
call fcn.18001fe80
test eax, eax
jne 0x18002ee73
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x168]
mov dword [rax], ecx
mov ecx, 0x38
call fcn.180013b60
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x18002ee1f
mov rax, qword [rsp + 0x60]
lea rdi, [rax + 4]
mov rsi, qword [rsp + 0x80]
mov ecx, 0x38
rep movsb byte [rdi], byte [rsi]
cmp qword [rsp + 0x80], 0
je 0x18002ee1f
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x80]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [rsp + 0x70], 0x3c
mov rax, qword [rsp + 0x60]
add rax, 4
mov ecx, dword [rsp + 0x70]
mov edx, dword [rsp + 0x168]
sub edx, ecx
mov ecx, edx
mov edx, dword [rsp + 0x70]
mov rdi, qword [rsp + 0x60]
add rdi, rdx
mov rdx, rdi
mov qword [rsp + 0x110], rdx
mov r9d, 0x38
mov r8, rax
mov edx, ecx
mov rax, qword [rsp + 0x110]
mov rcx, rax
call fcn.180013dc0
jmp 0x18002ee9f
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x168]
mov dword [rax], ecx
mov eax, dword [rsp + 0x168]
sub rax, 4
mov rcx, qword [rsp + 0x60]
add rcx, 4
mov r8b, 0x44
mov edx, eax
call fcn.180013d20
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.18002f360
add rsp, 0x148
pop rdi
pop rsi
ret