Function at 0x180034fe0
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 [0x180067048]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov dword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x160]
call fcn.180034b80
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x180035063
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 0x180035094
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.1800328b0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180035dff
mov eax, dword [rsp + 0x68]
mov r8d, eax
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x20]
call fcn.180032810
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 0x18003514f
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 0x180035187
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 0x180035142
mov rcx, qword [rsp + 0x20]
call fcn.180034b80
movzx eax, al
test eax, eax
je 0x180035657
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 0x18003524a
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 0x18003525a
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 0x1800352f7
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 0x180035307
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 0x180035392
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 0x1800353ac
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 0x18003547e
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 0x180035448
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 0x180035461
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 0x180035601
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
and eax, 0x80
test eax, eax
je 0x180035543
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 0x18003550d
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 0x180035526
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 0x180035601
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
and eax, 0x20
test eax, eax
je 0x180035601
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 0x1800355d0
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 0x1800355e9
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.180034950
cmp eax, 3
jne 0x180035652
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 0x180035b0d
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 0x180035705
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 0x180035715
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 0x1800357b2
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 0x1800357c2
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 0x18003584d
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 0x180035867
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 0x180035939
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 0x180035903
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 0x18003591c
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 0x180035abc
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
and eax, 0x80
test eax, eax
je 0x1800359fe
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 0x1800359c8
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 0x1800359e1
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 0x180035abc
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
and eax, 0x20
test eax, eax
je 0x180035abc
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 0x180035a8b
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 0x180035aa4
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.180034950
cmp eax, 3
jne 0x180035b0d
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 0x180035dff
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.180032810
mov dword [rsp + 0x48], 0
jmp 0x180035b62
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 0x180035bcf
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x180035ba9
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x20]
movabs rdx, 0x5285241274382195
cmp qword [rcx + rax], rdx
jne 0x180035ba7
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x20]
mov qword [rdx + rax], rcx
jmp 0x180035bcf
jmp 0x180035bcd
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x20]
cmp dword [rcx + rax], 0x52852412
jne 0x180035bcd
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x20]
mov edx, dword [rsp + 0x4c]
mov dword [rcx + rax], edx
jmp 0x180035bcf
jmp 0x180035b58
mov rcx, qword [rsp + 0x178]
call fcn.180034a40
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x118], 0x62
mov byte [rsp + 0x119], 0x2e
mov byte [rsp + 0x11a], 0x64
mov byte [rsp + 0x11b], WSAGetLastError
mov byte [rsp + 0x11c], WSAGetLastError
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], WSAGetLastError
mov byte [rsp + 0x12c], WSAGetLastError
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 0x180035c87
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0x78]
call fcn.180032e90
test eax, eax
je 0x180035c8f
cmp qword [rsp + 0x78], 0
jne 0x180035cf2
mov edx, 0xff
xor ecx, ecx
call fcn.1800237b0
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.180032a70
jmp 0x180035dff
cmp qword [rsp + 0x78], 0
je 0x180035dd3
lea rdx, [rsp + 0x128]
mov rcx, qword [rsp + 0x78]
call fcn.180032e90
test eax, eax
jne 0x180035dd3
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x168]
mov dword [rax], ecx
mov ecx, 0x38
call fcn.1800328b0
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x180035d7f
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 0x180035d7f
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.180032b10
jmp 0x180035dff
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.180032a70
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.1800377f0
add rsp, 0x148
pop rdi
pop rsi
ret