Function at 0x14017ad40
Capabilities:
Acquire debug privileges
Check if file exists
Get file attributes
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0xf58
mov rax, qword [0x140280480]
xor rax, rsp
mov qword [rsp + 0xf40], rax
mov dword [rsp + 0x810], 0
lea rax, [rsp + 0xa10]
mov rdi, rax
xor eax, eax
mov ecx, 0x108
rep stosb byte [rdi], al
lea rax, [rsp + 0x86]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x818]
lea rcx, [rsp + 0x86]
call fcn.14015d500
mov qword [rsp + 0x50], rax
movzx eax, byte [rsp + 0x132]
mov byte [rsp + 0x133], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1f8], rax
xor eax, eax
imul rax, rax, 1
mov rcx, qword [rsp + 0x1f8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x200]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x8c], al
movzx eax, byte [rsp + 0x8c]
mov byte [rsp + 0xa0], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x208], rax
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x208]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x210]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x8d], al
movzx eax, byte [rsp + 0x8d]
mov byte [rsp + 0xa1], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x218], rax
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x218]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x220]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x68], al
movzx eax, byte [rsp + 0x68]
mov byte [rsp + 0xa2], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x228], rax
mov eax, 3
imul rax, rax, 1
mov rcx, qword [rsp + 0x228]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x230]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x69], al
movzx eax, byte [rsp + 0x69]
mov byte [rsp + 0xa3], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x238], rax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x238]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x240], rax
mov rax, qword [rsp + 0x240]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x6a], al
movzx eax, byte [rsp + 0x6a]
mov byte [rsp + 0xa4], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x248], rax
mov eax, 5
imul rax, rax, 1
mov rcx, qword [rsp + 0x248]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x250]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x6b], al
movzx eax, byte [rsp + 0x6b]
mov byte [rsp + 0xa5], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x258], rax
mov eax, 6
imul rax, rax, 1
mov rcx, qword [rsp + 0x258]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x260]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x6c], al
movzx eax, byte [rsp + 0x6c]
mov byte [rsp + 0xa6], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x268], rax
mov eax, 7
imul rax, rax, 1
mov rcx, qword [rsp + 0x268]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x270]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x6d], al
movzx eax, byte [rsp + 0x6d]
mov byte [rsp + 0xa7], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x278], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x278]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x280]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x6e], al
movzx eax, byte [rsp + 0x6e]
mov byte [rsp + 0xa8], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x288], rax
mov eax, 9
imul rax, rax, 1
mov rcx, qword [rsp + 0x288]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x290], rax
mov rax, qword [rsp + 0x290]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x6f], al
movzx eax, byte [rsp + 0x6f]
mov byte [rsp + 0xa9], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x298], rax
mov eax, 0xa
imul rax, rax, 1
mov rcx, qword [rsp + 0x298]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x2a0], rax
mov rax, qword [rsp + 0x2a0]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x70], al
movzx eax, byte [rsp + 0x70]
mov byte [rsp + 0xaa], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2a8], rax
mov eax, ntohl
imul rax, rax, 1
mov rcx, qword [rsp + 0x2a8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x2b0], rax
mov rax, qword [rsp + 0x2b0]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x71], al
movzx eax, byte [rsp + 0x71]
mov byte [rsp + 0xab], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2b8], rax
mov eax, ntohl
imul rax, rax, 1
mov rcx, qword [rsp + 0x2b8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x2c0], rax
mov rax, qword [rsp + 0x2c0]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x72], al
movzx eax, byte [rsp + 0x72]
mov byte [rsp + 0xac], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2c8], rax
mov eax, reloc.WS2_32.dll_listen
imul rax, rax, 1
mov rcx, qword [rsp + 0x2c8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x2d0], rax
mov rax, qword [rsp + 0x2d0]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x73], al
movzx eax, byte [rsp + 0x73]
mov byte [rsp + 0xad], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2d8], rax
mov eax, reloc.WS2_32.dll_ntohl
imul rax, rax, 1
mov rcx, qword [rsp + 0x2d8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x2e0], rax
mov rax, qword [rsp + 0x2e0]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x74], al
movzx eax, byte [rsp + 0x74]
mov byte [rsp + 0xae], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2e8], rax
mov eax, reloc.WS2_32.dll_ntohs
imul rax, rax, 1
mov rcx, qword [rsp + 0x2e8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x2f0], rax
mov rax, qword [rsp + 0x2f0]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x75], al
movzx eax, byte [rsp + 0x75]
mov byte [rsp + 0xaf], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2f8], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 1
mov rcx, qword [rsp + 0x2f8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x300], rax
mov rax, qword [rsp + 0x300]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x76], al
movzx eax, byte [rsp + 0x76]
mov byte [rsp + 0xb0], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x308], rax
mov eax, reloc.WS2_32.dll_recvfrom
imul rax, rax, 1
mov rcx, qword [rsp + 0x308]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x310], rax
mov rax, qword [rsp + 0x310]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x77], al
movzx eax, byte [rsp + 0x77]
mov byte [rsp + 0xb1], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x318], rax
mov eax, reloc.WS2_32.dll_select
imul rax, rax, 1
mov rcx, qword [rsp + 0x318]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x320], rax
mov rax, qword [rsp + 0x320]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x78], al
movzx eax, byte [rsp + 0x78]
mov byte [rsp + 0xb2], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x328], rax
mov eax, reloc.WS2_32.dll_send
imul rax, rax, 1
mov rcx, qword [rsp + 0x328]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x330], rax
mov rax, qword [rsp + 0x330]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x79], al
movzx eax, byte [rsp + 0x79]
mov byte [rsp + 0xb3], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x338], rax
mov eax, reloc.WS2_32.dll_sendto
imul rax, rax, 1
mov rcx, qword [rsp + 0x338]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x340], rax
mov rax, qword [rsp + 0x340]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x7a], al
movzx eax, byte [rsp + 0x7a]
mov byte [rsp + 0xb4], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x348], rax
mov eax, reloc.WS2_32.dll_setsockopt
imul rax, rax, 1
mov rcx, qword [rsp + 0x348]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x350], rax
mov rax, qword [rsp + 0x350]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x7b], al
movzx eax, byte [rsp + 0x7b]
mov byte [rsp + 0xb5], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x358], rax
mov eax, reloc.WLDAP32.dll_Ordinal_22
imul rax, rax, 1
mov rcx, qword [rsp + 0x358]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x360], rax
mov rax, qword [rsp + 0x360]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x7c], al
movzx eax, byte [rsp + 0x7c]
mov byte [rsp + 0xb6], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x368], rax
mov eax, reloc.WS2_32.dll_socket
imul rax, rax, 1
mov rcx, qword [rsp + 0x368]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x370], rax
mov rax, qword [rsp + 0x370]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x7d], al
movzx eax, byte [rsp + 0x7d]
mov byte [rsp + 0xb7], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x378], rax
mov eax, Ordinal_27
imul rax, rax, 1
mov rcx, qword [rsp + 0x378]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x380], rax
mov rax, qword [rsp + 0x380]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x7e], al
movzx eax, byte [rsp + 0x7e]
mov byte [rsp + 0xb8], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x388], rax
mov eax, Ordinal_27
imul rax, rax, 1
mov rcx, qword [rsp + 0x388]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x390], rax
mov rax, qword [rsp + 0x390]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x7f], al
movzx eax, byte [rsp + 0x7f]
mov byte [rsp + 0xb9], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x398], rax
mov eax, reloc.WLDAP32.dll_Ordinal_26
imul rax, rax, 1
mov rcx, qword [rsp + 0x398]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x3a0], rax
mov rax, qword [rsp + 0x3a0]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x80], al
movzx eax, byte [rsp + 0x80]
mov byte [rsp + 0xba], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x3a8], rax
mov eax, reloc.WLDAP32.dll_Ordinal_27
imul rax, rax, 1
mov rcx, qword [rsp + 0x3a8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x3b0], rax
mov rax, qword [rsp + 0x3b0]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x81], al
movzx eax, byte [rsp + 0x81]
mov byte [rsp + 0xbb], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x3b8], rax
mov eax, Ordinal_32
imul rax, rax, 1
mov rcx, qword [rsp + 0x3b8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x3c0], rax
mov rax, qword [rsp + 0x3c0]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x82], al
movzx eax, byte [rsp + 0x82]
mov byte [rsp + 0xbc], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x3c8], rax
mov eax, Ordinal_33
imul rax, rax, 1
mov rcx, qword [rsp + 0x3c8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x3d0], rax
mov rax, qword [rsp + 0x3d0]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x83], al
movzx eax, byte [rsp + 0x83]
mov byte [rsp + 0xbd], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x3d8], rax
mov eax, reloc.WLDAP32.dll_Ordinal_30
imul rax, rax, 1
mov rcx, qword [rsp + 0x3d8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x3e0], rax
mov rax, qword [rsp + 0x3e0]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x84], al
movzx eax, byte [rsp + 0x84]
mov byte [rsp + 0xbe], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x3e8], rax
mov eax, Ordinal_33
imul rax, rax, 1
mov rcx, qword [rsp + 0x3e8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x3f0], rax
mov rax, qword [rsp + 0x3f0]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x85], al
movzx eax, byte [rsp + 0x85]
mov byte [rsp + 0xbf], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x3f8], rax
mov eax, reloc.WLDAP32.dll_Ordinal_32
imul rax, rax, 1
mov rcx, qword [rsp + 0x3f8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x400], rax
mov rax, qword [rsp + 0x400]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x8b], al
movzx eax, byte [rsp + 0x8b]
mov byte [rsp + 0xc0], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x408], rax
mov eax, reloc.WLDAP32.dll_Ordinal_33
imul rax, rax, 1
mov rcx, qword [rsp + 0x408]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x410], rax
mov rax, qword [rsp + 0x410]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x87], al
movzx eax, byte [rsp + 0x87]
mov byte [rsp + 0xc1], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x418], rax
mov eax, Ordinal_35
imul rax, rax, 1
mov rcx, qword [rsp + 0x418]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x420], rax
mov rax, qword [rsp + 0x420]
movsx rax, byte [rax]
xor rax, 0x1f2
mov byte [rsp + 0x88], al
movzx eax, byte [rsp + 0x88]
mov byte [rsp + 0xc2], al
lea rax, [rsp + 0xa0]
mov rdi, qword [rsp + 0x50]
mov rsi, rax
mov ecx, reloc.WLDAP32.dll_Ordinal_35
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x428], rax
mov rax, qword [rsp + 0x428]
mov qword [rsp + 0x430], rax
mov rax, qword [rsp + 0x430]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, Ordinal_35
mov rdx, rax
lea rcx, [rsp + 0xa10]
call fcn.1400662c0
nop
lea rax, [0x1404e2378]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1f0]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
mov qword [rsp + 0x438], rax
mov rax, qword [rsp + 0x438]
mov qword [rsp + 0x458], rax
lea rax, [0x1404e2378]
mov rax, qword [rax]
mov qword [rsp + 0x440], rax
mov rax, qword [rsp + 0x440]
mov qword [rsp + 0x448], rax
mov rax, qword [rsp + 0x448]
mov qword [rsp + 0x450], rax
mov rax, qword [rsp + 0x450]
mov qword [rsp + 0x460], rax
mov r8, qword [rsp + 0x458]
mov rdx, qword [rsp + 0x460]
lea rcx, [rsp + 0xa10]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rsp + 0xa10]
call fcn.140066220
nop
lea rax, [rsp + 0x89]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x870]
lea rcx, [rsp + 0x89]
call fcn.14015dbf0
mov qword [rsp + 0x58], rax
movzx eax, byte [rsp + 0x134]
mov byte [rsp + 0x135], al
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x468], rax
xor eax, eax
imul rax, rax, 2
mov rcx, qword [rsp + 0x468]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x470], rax
mov rax, qword [rsp + 0x470]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xc8], ax
movzx eax, word [rsp + 0xc8]
mov word [rsp + 0x170], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x478], rax
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x478]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x480], rax
mov rax, qword [rsp + 0x480]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xca], ax
movzx eax, word [rsp + 0xca]
mov word [rsp + 0x172], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x488], rax
mov eax, 2
imul rax, rax, 2
mov rcx, qword [rsp + 0x488]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x490], rax
mov rax, qword [rsp + 0x490]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xcc], ax
movzx eax, word [rsp + 0xcc]
mov word [rsp + 0x174], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x498], rax
mov eax, 3
imul rax, rax, 2
mov rcx, qword [rsp + 0x498]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x4a0], rax
mov rax, qword [rsp + 0x4a0]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xce], ax
movzx eax, word [rsp + 0xce]
mov word [rsp + 0x176], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x4a8], rax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x4a8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x4b0], rax
mov rax, qword [rsp + 0x4b0]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xd0], ax
movzx eax, word [rsp + 0xd0]
mov word [rsp + 0x178], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x4b8], rax
mov eax, 5
imul rax, rax, 2
mov rcx, qword [rsp + 0x4b8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x4c0], rax
mov rax, qword [rsp + 0x4c0]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xd2], ax
movzx eax, word [rsp + 0xd2]
mov word [rsp + 0x17a], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x4c8], rax
mov eax, 6
imul rax, rax, 2
mov rcx, qword [rsp + 0x4c8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x4d0], rax
mov rax, qword [rsp + 0x4d0]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xd4], ax
movzx eax, word [rsp + 0xd4]
mov word [rsp + 0x17c], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x4d8], rax
mov eax, 7
imul rax, rax, 2
mov rcx, qword [rsp + 0x4d8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x4e0], rax
mov rax, qword [rsp + 0x4e0]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xd6], ax
movzx eax, word [rsp + 0xd6]
mov word [rsp + 0x17e], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x4e8], rax
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x4e8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x4f0], rax
mov rax, qword [rsp + 0x4f0]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xd8], ax
movzx eax, word [rsp + 0xd8]
mov word [rsp + 0x180], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x4f8], rax
mov eax, 9
imul rax, rax, 2
mov rcx, qword [rsp + 0x4f8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x500], rax
mov rax, qword [rsp + 0x500]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xda], ax
movzx eax, word [rsp + 0xda]
mov word [rsp + 0x182], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x508], rax
mov eax, 0xa
imul rax, rax, 2
mov rcx, qword [rsp + 0x508]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x510], rax
mov rax, qword [rsp + 0x510]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xdc], ax
movzx eax, word [rsp + 0xdc]
mov word [rsp + 0x184], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x518], rax
mov eax, ntohl
imul rax, rax, 2
mov rcx, qword [rsp + 0x518]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x520], rax
mov rax, qword [rsp + 0x520]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xde], ax
movzx eax, word [rsp + 0xde]
mov word [rsp + 0x186], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x528], rax
mov eax, ntohl
imul rax, rax, 2
mov rcx, qword [rsp + 0x528]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x530], rax
mov rax, qword [rsp + 0x530]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xe0], ax
movzx eax, word [rsp + 0xe0]
mov word [rsp + 0x188], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x538], rax
mov eax, reloc.WS2_32.dll_listen
imul rax, rax, 2
mov rcx, qword [rsp + 0x538]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x540], rax
mov rax, qword [rsp + 0x540]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xe2], ax
movzx eax, word [rsp + 0xe2]
mov word [rsp + 0x18a], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x548], rax
mov eax, reloc.WS2_32.dll_ntohl
imul rax, rax, 2
mov rcx, qword [rsp + 0x548]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x550], rax
mov rax, qword [rsp + 0x550]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xe4], ax
movzx eax, word [rsp + 0xe4]
mov word [rsp + 0x18c], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x558], rax
mov eax, reloc.WS2_32.dll_ntohs
imul rax, rax, 2
mov rcx, qword [rsp + 0x558]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x560], rax
mov rax, qword [rsp + 0x560]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xe6], ax
movzx eax, word [rsp + 0xe6]
mov word [rsp + 0x18e], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x568], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 2
mov rcx, qword [rsp + 0x568]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x570], rax
mov rax, qword [rsp + 0x570]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xe8], ax
movzx eax, word [rsp + 0xe8]
mov word [rsp + 0x190], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x578], rax
mov eax, reloc.WS2_32.dll_recvfrom
imul rax, rax, 2
mov rcx, qword [rsp + 0x578]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x580], rax
mov rax, qword [rsp + 0x580]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xea], ax
movzx eax, word [rsp + 0xea]
mov word [rsp + 0x192], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x588], rax
mov eax, reloc.WS2_32.dll_select
imul rax, rax, 2
mov rcx, qword [rsp + 0x588]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x590], rax
mov rax, qword [rsp + 0x590]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xec], ax
movzx eax, word [rsp + 0xec]
mov word [rsp + 0x194], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x598], rax
mov eax, reloc.WS2_32.dll_send
imul rax, rax, 2
mov rcx, qword [rsp + 0x598]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x5a0], rax
mov rax, qword [rsp + 0x5a0]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xee], ax
movzx eax, word [rsp + 0xee]
mov word [rsp + 0x196], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x5a8], rax
mov eax, reloc.WS2_32.dll_sendto
imul rax, rax, 2
mov rcx, qword [rsp + 0x5a8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x5b0], rax
mov rax, qword [rsp + 0x5b0]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xf0], ax
movzx eax, word [rsp + 0xf0]
mov word [rsp + 0x198], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x5b8], rax
mov eax, reloc.WS2_32.dll_setsockopt
imul rax, rax, 2
mov rcx, qword [rsp + 0x5b8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x5c0], rax
mov rax, qword [rsp + 0x5c0]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xf2], ax
movzx eax, word [rsp + 0xf2]
mov word [rsp + 0x19a], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x5c8], rax
mov eax, reloc.WLDAP32.dll_Ordinal_22
imul rax, rax, 2
mov rcx, qword [rsp + 0x5c8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x5d0], rax
mov rax, qword [rsp + 0x5d0]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xf4], ax
movzx eax, word [rsp + 0xf4]
mov word [rsp + 0x19c], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x5d8], rax
mov eax, reloc.WS2_32.dll_socket
imul rax, rax, 2
mov rcx, qword [rsp + 0x5d8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x5e0], rax
mov rax, qword [rsp + 0x5e0]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xf6], ax
movzx eax, word [rsp + 0xf6]
mov word [rsp + 0x19e], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x5e8], rax
mov eax, Ordinal_27
imul rax, rax, 2
mov rcx, qword [rsp + 0x5e8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x5f0], rax
mov rax, qword [rsp + 0x5f0]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xf8], ax
movzx eax, word [rsp + 0xf8]
mov word [rsp + 0x1a0], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x5f8], rax
mov eax, Ordinal_27
imul rax, rax, 2
mov rcx, qword [rsp + 0x5f8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x600], rax
mov rax, qword [rsp + 0x600]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xfa], ax
movzx eax, word [rsp + 0xfa]
mov word [rsp + 0x1a2], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x608], rax
mov eax, reloc.WLDAP32.dll_Ordinal_26
imul rax, rax, 2
mov rcx, qword [rsp + 0x608]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x610], rax
mov rax, qword [rsp + 0x610]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xfc], ax
movzx eax, word [rsp + 0xfc]
mov word [rsp + 0x1a4], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x618], rax
mov eax, reloc.WLDAP32.dll_Ordinal_27
imul rax, rax, 2
mov rcx, qword [rsp + 0x618]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x620], rax
mov rax, qword [rsp + 0x620]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0xfe], ax
movzx eax, word [rsp + 0xfe]
mov word [rsp + 0x1a6], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x628], rax
mov eax, Ordinal_32
imul rax, rax, 2
mov rcx, qword [rsp + 0x628]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x630], rax
mov rax, qword [rsp + 0x630]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0x100], ax
movzx eax, word [rsp + 0x100]
mov word [rsp + 0x1a8], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x638], rax
mov eax, Ordinal_33
imul rax, rax, 2
mov rcx, qword [rsp + 0x638]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x640], rax
mov rax, qword [rsp + 0x640]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0x102], ax
movzx eax, word [rsp + 0x102]
mov word [rsp + 0x1aa], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x648], rax
mov eax, reloc.WLDAP32.dll_Ordinal_30
imul rax, rax, 2
mov rcx, qword [rsp + 0x648]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x650], rax
mov rax, qword [rsp + 0x650]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0x104], ax
movzx eax, word [rsp + 0x104]
mov word [rsp + 0x1ac], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x658], rax
mov eax, Ordinal_33
imul rax, rax, 2
mov rcx, qword [rsp + 0x658]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x660], rax
mov rax, qword [rsp + 0x660]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0x106], ax
movzx eax, word [rsp + 0x106]
mov word [rsp + 0x1ae], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x668], rax
mov eax, reloc.WLDAP32.dll_Ordinal_32
imul rax, rax, 2
mov rcx, qword [rsp + 0x668]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x670], rax
mov rax, qword [rsp + 0x670]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0x108], ax
movzx eax, word [rsp + 0x108]
mov word [rsp + 0x1b0], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x678], rax
mov eax, reloc.WLDAP32.dll_Ordinal_33
imul rax, rax, 2
mov rcx, qword [rsp + 0x678]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x680], rax
mov rax, qword [rsp + 0x680]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0x10a], ax
movzx eax, word [rsp + 0x10a]
mov word [rsp + 0x1b2], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x688], rax
mov eax, Ordinal_35
imul rax, rax, 2
mov rcx, qword [rsp + 0x688]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x690], rax
mov rax, qword [rsp + 0x690]
movzx eax, word [rax]
xor rax, 0x1f8
mov word [rsp + 0x10c], ax
movzx eax, word [rsp + 0x10c]
mov word [rsp + 0x1b4], ax
lea rax, [rsp + 0x170]
mov rdi, qword [rsp + 0x58]
mov rsi, rax
mov ecx, 0x46
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x698], rax
mov rax, qword [rsp + 0x698]
mov qword [rsp + 0x6a0], rax
mov rax, qword [rsp + 0x6a0]
mov r8, rax
mov edx, 0x104
lea rcx, [rsp + 0xb20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
nop
lea rax, [rsp + 0x8a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x840]
lea rcx, [rsp + 0x8a]
call fcn.14015ddf0
mov qword [rsp + 0x60], rax
movzx eax, byte [rsp + 0x136]
mov byte [rsp + 0x137], al
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x6a8], rax
xor eax, eax
imul rax, rax, 2
mov rcx, qword [rsp + 0x6a8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x6b0], rax
mov rax, qword [rsp + 0x6b0]
movzx eax, word [rax]
xor rax, 0x1f9
mov word [rsp + 0x10e], ax
movzx eax, word [rsp + 0x10e]
mov word [rsp + 0x140], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x6b8], rax
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x6b8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x6c0], rax
mov rax, qword [rsp + 0x6c0]
movzx eax, word [rax]
xor rax, 0x1f9
mov word [rsp + 0x110], ax
movzx eax, word [rsp + 0x110]
mov word [rsp + 0x142], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x6c8], rax
mov eax, 2
imul rax, rax, 2
mov rcx, qword [rsp + 0x6c8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x6d0], rax
mov rax, qword [rsp + 0x6d0]
movzx eax, word [rax]
xor rax, 0x1f9
mov word [rsp + 0x112], ax
movzx eax, word [rsp + 0x112]
mov word [rsp + 0x144], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x6d8], rax
mov eax, 3
imul rax, rax, 2
mov rcx, qword [rsp + 0x6d8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x6e0], rax
mov rax, qword [rsp + 0x6e0]
movzx eax, word [rax]
xor rax, 0x1f9
mov word [rsp + 0x114], ax
movzx eax, word [rsp + 0x114]
mov word [rsp + 0x146], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x6e8], rax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x6e8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x6f0], rax
mov rax, qword [rsp + 0x6f0]
movzx eax, word [rax]
xor rax, 0x1f9
mov word [rsp + 0x116], ax
movzx eax, word [rsp + 0x116]
mov word [rsp + 0x148], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x6f8], rax
mov eax, 5
imul rax, rax, 2
mov rcx, qword [rsp + 0x6f8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x700], rax
mov rax, qword [rsp + 0x700]
movzx eax, word [rax]
xor rax, 0x1f9
mov word [rsp + 0x118], ax
movzx eax, word [rsp + 0x118]
mov word [rsp + 0x14a], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x708], rax
mov eax, 6
imul rax, rax, 2
mov rcx, qword [rsp + 0x708]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x710], rax
mov rax, qword [rsp + 0x710]
movzx eax, word [rax]
xor rax, 0x1f9
mov word [rsp + 0x11a], ax
movzx eax, word [rsp + 0x11a]
mov word [rsp + 0x14c], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x718], rax
mov eax, 7
imul rax, rax, 2
mov rcx, qword [rsp + 0x718]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x720], rax
mov rax, qword [rsp + 0x720]
movzx eax, word [rax]
xor rax, 0x1f9
mov word [rsp + 0x11c], ax
movzx eax, word [rsp + 0x11c]
mov word [rsp + 0x14e], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x728], rax
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x728]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x730], rax
mov rax, qword [rsp + 0x730]
movzx eax, word [rax]
xor rax, 0x1f9
mov word [rsp + 0x11e], ax
movzx eax, word [rsp + 0x11e]
mov word [rsp + 0x150], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x738], rax
mov eax, 9
imul rax, rax, 2
mov rcx, qword [rsp + 0x738]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x740], rax
mov rax, qword [rsp + 0x740]
movzx eax, word [rax]
xor rax, 0x1f9
mov word [rsp + 0x120], ax
movzx eax, word [rsp + 0x120]
mov word [rsp + 0x152], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x748], rax
mov eax, 0xa
imul rax, rax, 2
mov rcx, qword [rsp + 0x748]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x750], rax
mov rax, qword [rsp + 0x750]
movzx eax, word [rax]
xor rax, 0x1f9
mov word [rsp + 0x122], ax
movzx eax, word [rsp + 0x122]
mov word [rsp + 0x154], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x758], rax
mov eax, ntohl
imul rax, rax, 2
mov rcx, qword [rsp + 0x758]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x760], rax
mov rax, qword [rsp + 0x760]
movzx eax, word [rax]
xor rax, 0x1f9
mov word [rsp + 0x124], ax
movzx eax, word [rsp + 0x124]
mov word [rsp + 0x156], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x768], rax
mov eax, ntohl
imul rax, rax, 2
mov rcx, qword [rsp + 0x768]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x770], rax
mov rax, qword [rsp + 0x770]
movzx eax, word [rax]
xor rax, 0x1f9
mov word [rsp + 0x126], ax
movzx eax, word [rsp + 0x126]
mov word [rsp + 0x158], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x778], rax
mov eax, reloc.WS2_32.dll_listen
imul rax, rax, 2
mov rcx, qword [rsp + 0x778]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x780], rax
mov rax, qword [rsp + 0x780]
movzx eax, word [rax]
xor rax, 0x1f9
mov word [rsp + 0x128], ax
movzx eax, word [rsp + 0x128]
mov word [rsp + 0x15a], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x788], rax
mov eax, reloc.WS2_32.dll_ntohl
imul rax, rax, 2
mov rcx, qword [rsp + 0x788]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x790], rax
mov rax, qword [rsp + 0x790]
movzx eax, word [rax]
xor rax, 0x1f9
mov word [rsp + 0x12a], ax
movzx eax, word [rsp + 0x12a]
mov word [rsp + 0x15c], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x798], rax
mov eax, reloc.WS2_32.dll_ntohs
imul rax, rax, 2
mov rcx, qword [rsp + 0x798]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x7a0], rax
mov rax, qword [rsp + 0x7a0]
movzx eax, word [rax]
xor rax, 0x1f9
mov word [rsp + 0x12c], ax
movzx eax, word [rsp + 0x12c]
mov word [rsp + 0x15e], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x7a8], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 2
mov rcx, qword [rsp + 0x7a8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x7b0], rax
mov rax, qword [rsp + 0x7b0]
movzx eax, word [rax]
xor rax, 0x1f9
mov word [rsp + 0x12e], ax
movzx eax, word [rsp + 0x12e]
mov word [rsp + 0x160], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x7b8], rax
mov eax, reloc.WS2_32.dll_recvfrom
imul rax, rax, 2
mov rcx, qword [rsp + 0x7b8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x7c0], rax
mov rax, qword [rsp + 0x7c0]
movzx eax, word [rax]
xor rax, 0x1f9
mov word [rsp + 0x130], ax
movzx eax, word [rsp + 0x130]
mov word [rsp + 0x162], ax
lea rax, [rsp + 0x140]
mov rdi, qword [rsp + 0x60]
mov rsi, rax
mov ecx, 0x24
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x7c8], rax
mov rax, qword [rsp + 0x7c8]
mov qword [rsp + 0x7d0], rax
mov rax, qword [rsp + 0x7d0]
mov r8, rax
mov edx, 0x104
lea rcx, [rsp + 0xd30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
nop
lea rcx, [rsp + 0xd30]
call fcn.1401617e0
mov dword [rsp + 0x138], eax
cmp dword [rsp + 0x138], 0
jne 0x14017ccbb
mov dword [rsp + 0x1c8], 1
lea rax, [rsp + 0xab8]
mov rcx, rax
call fcn.140066260
lea rax, [rsp + 0xab8]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov eax, dword [rsp + 0x1c8]
jmp 0x14017d2a9
lea rax, [rsp + 0x9f8]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
mov qword [rsp + 0x8c0], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x8c0]
mov edx, Ordinal_41
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14017cd82
mov dword [rsp + 0x9f8], 1
mov eax, ntohl
imul rax, rax, 0
mov dword [rsp + rax + 0xa04], 2
mov eax, ntohl
imul rax, rax, 0
lea rax, [rsp + rax + 0x9fc]
mov r8, rax
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x14017cd73
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x9f8]
xor edx, edx
mov rcx, qword [rsp + 0x8c0]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
nop
mov rcx, qword [rsp + 0x8c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov r8d, dword [rsp + 0x138]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x14017cdf0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x814], eax
mov dword [rsp + 0x1cc], 1
lea rax, [rsp + 0xab8]
mov rcx, rax
call fcn.140066260
lea rax, [rsp + 0xab8]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov eax, dword [rsp + 0x1cc]
jmp 0x14017d2a9
mov rcx, qword [rsp + 0x90]
call fcn.140161980
movzx eax, al
test eax, eax
jne 0x14017ce4c
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rsp + 0x1d0], 1
lea rax, [rsp + 0xab8]
mov rcx, rax
call fcn.140066260
lea rax, [rsp + 0xab8]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov eax, dword [rsp + 0x1d0]
jmp 0x14017d2a9
lea rcx, [rsp + 0xb20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14017ce79
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
lea rax, [rsp + 0x8d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x110
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, Ordinal_41
lea rdx, [rsp + 0xb20]
lea rcx, [rsp + 0x8d0]
call fcn.14015cb10
nop
mov rax, qword [rsp + 0x8d0]
movsxd rax, dword [rax + 4]
lea rax, [rsp + rax + 0x8d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::fail_void_const___ptr64]
movzx eax, al
test eax, eax
je 0x14017cf52
lea rcx, [rsp + 0x8d0]
call fcn.14017f6c0
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rsp + 0x1d8], 1
lea rax, [rsp + 0x980]
mov rcx, rax
call fcn.140064ca0
lea rax, [rsp + 0x980]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rax, [rsp + 0xab8]
mov rcx, rax
call fcn.140066260
lea rax, [rsp + 0xab8]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov eax, dword [rsp + 0x1d8]
jmp 0x14017d2a9
lea rdx, [rsp + 0x9e0]
lea rcx, [rsp + 0x8d0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
nop
mov rax, qword [rsp + 0x9e0]
add rax, qword [rsp + 0x9e8]
mov qword [rsp + 0x7d8], rax
mov rax, qword [rsp + 0x7d8]
cmp rax, 0x1000
jge 0x14017d008
lea rcx, [rsp + 0x8d0]
call fcn.14017f6c0
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rsp + 0x1d4], 1
lea rax, [rsp + 0x980]
mov rcx, rax
call fcn.140064ca0
lea rax, [rsp + 0x980]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rax, [rsp + 0xab8]
mov rcx, rax
call fcn.140066260
lea rax, [rsp + 0xab8]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov eax, dword [rsp + 0x1d4]
jmp 0x14017d2a9
mov rax, qword [rsp + 0x9e0]
add rax, qword [rsp + 0x9e8]
mov qword [rsp + 0x7e0], rax
mov rax, qword [rsp + 0x7e0]
mov rcx, rax
call fcn.140183764
mov qword [rsp + 0x7e8], rax
mov rax, qword [rsp + 0x7e8]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x14017d0ca
lea rcx, [rsp + 0x8d0]
call fcn.14017f6c0
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rsp + 0x1c0], 1
lea rax, [rsp + 0x980]
mov rcx, rax
call fcn.140064ca0
lea rax, [rsp + 0x980]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rax, [rsp + 0xab8]
mov rcx, rax
call fcn.140066260
lea rax, [rsp + 0xab8]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov eax, dword [rsp + 0x1c0]
jmp 0x14017d2a9
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x8d0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
mov rax, qword [rsp + 0x9e0]
add rax, qword [rsp + 0x9e8]
mov qword [rsp + 0x7f0], rax
mov rax, qword [rsp + 0x7f0]
mov r8, rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x8d0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
lea rcx, [rsp + 0x8d0]
call fcn.14017f6c0
nop
mov rax, qword [rsp + 0x9e0]
add rax, qword [rsp + 0x9e8]
mov qword [rsp + 0x7f8], rax
mov rax, qword [rsp + 0x7f8]
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
mov r9b, 1
mov r8, rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call fcn.14017a370
movzx eax, al
test eax, eax
jne 0x14017d1f2
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x1e0], rax
mov rcx, qword [rsp + 0x1e0]
call fcn.140183660
cmp qword [rsp + 0x1e0], 0
jne 0x14017d1bc
mov qword [rsp + 0x800], 0
jmp 0x14017d1d8
mov qword [rsp + 0x98], 0x8123
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x800], rax
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x1e8], rax
mov rcx, qword [rsp + 0x1e8]
call fcn.140183660
cmp qword [rsp + 0x1e8], 0
jne 0x14017d228
mov qword [rsp + 0x808], 0
jmp 0x14017d244
mov qword [rsp + 0x98], 0x8123
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x808], rax
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rsp + 0x1c4], 0
lea rax, [rsp + 0x980]
mov rcx, rax
call fcn.140064ca0
lea rax, [rsp + 0x980]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rax, [rsp + 0xab8]
mov rcx, rax
call fcn.140066260
lea rax, [rsp + 0xab8]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov eax, dword [rsp + 0x1c4]
mov rcx, qword [rsp + 0xf40]
xor rcx, rsp
call fcn.140183af0
add rsp, 0xf58
pop rdi
pop rsi
ret