Function at 0x4109ef
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push 0x18
call fcn.00540675
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
mov dword [ebx], 0x62f521
push ebx
mov eax, esp
push eax
call fcn.0041428c
pop ebx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0x67
jne 0x410dc9
call fcn.00409cae
mov eax, 0x62e264
test eax, eax
je 0x410a65
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00540675
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x75c4bc]
test ebx, ebx
je 0x410a79
push ebx
call fcn.0054067b
add esp, 4
pop eax
mov dword [0x75c4bc], eax
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x410a94
mov eax, 0x62e264
push eax
push 1
mov ebx, 0x540bc0
call fcn.00540681
add esp, 0x10
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x62e32e]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.004012a4
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 5
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x410aed
mov eax, 0x62e264
push eax
push 3
mov ebx, 0x542630
call fcn.00540681
add esp, 0x28
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [0x75c4bc]
test ebx, ebx
je 0x410b1a
push ebx
call fcn.0054067b
add esp, 4
pop eax
mov dword [0x75c4bc], eax
mov eax, 0x62f426
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004023f2
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x410b41
push ebx
call fcn.0054067b
add esp, 4
push 0
push 0x7530
push 0xffffffffffffffff
push 8
push 0x16013a3d
push 0x52010001
call fcn.00540699
add esp, 0x18
push 0xffffffffffffffff
push 1
push 0x2601c7b4
push 0x52010001
call fcn.0054069f
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jne 0x410d1f
push 0x10025
push 0x160147a1
push 0x52010001
push 1
mov ebx, 0x545b80
call fcn.00540681
add esp, 0x10
mov dword [0x75c3ec], 0
push 0xffffffffffffffff
push 0x13
push 0x16017f9e
push 0x52010001
call fcn.0054069f
add esp, 0x10
push 0x80000301
push 0
push eax
push 0x1000e
push 0x16017f9e
push 0x52010001
push 2
mov ebx, 0x544820
call fcn.00540681
add esp, 0x1c
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x75c4c0]
test eax, eax
jne 0x410c08
mov eax, 0x62e23c
push eax
push 0x10025
push 0x160147a1
push 0x52010001
push 3
mov ebx, 0x545b50
call fcn.00540681
add esp, 0x28
test eax, eax
je 0x410cdc
push dword [0x75c4bc]
push 0x62f434
mov ecx, 2
call fcn.004010da
add esp, 8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00402f57
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x410c69
push ebx
call fcn.0054067b
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x410c99
mov eax, 0x62f440
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004023f2
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x410c94
push ebx
call fcn.0054067b
add esp, 4
jmp 0x410cd7
mov eax, 0x62f44a
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004023f2
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x410cba
push ebx
call fcn.0054067b
add esp, 4
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010007
push 0x52010001
call fcn.00540699
add esp, 0x18
jmp 0x410d1a
mov eax, 0x62f454
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004023f2
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x410cfd
push ebx
call fcn.0054067b
add esp, 4
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010007
push 0x52010001
call fcn.00540699
add esp, 0x18
jmp 0x410dc4
push 0xffffffffffffffff
push 1
push 0x2601c7b5
push 0x52010001
call fcn.0054069f
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jne 0x410d74
mov ebx, 6
call fcn.004023ea
push htons
push 0
push 0x419181
push 3
mov eax, 3
mov ebx, 0x5cc7f0
call fcn.00540693
add esp, 0x28
jmp 0x410dc4
push 0xffffffffffffffff
push 1
push 0x2601d26e
push 0x52010001
call fcn.0054069f
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jne 0x410dc4
mov ebx, 6
call fcn.004023ea
push htons
push 0
push 0x419181
push 3
mov eax, 3
mov ebx, 0x5cc7f0
call fcn.00540693
add esp, 0x28
jmp 0x412000
cmp dword [ebp + 8], 0xc8
jne 0x410f33
mov eax, 0x62e264
test eax, eax
je 0x410df2
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00540675
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x75c4bc]
test ebx, ebx
je 0x410e06
push ebx
call fcn.0054067b
add esp, 4
pop eax
mov dword [0x75c4bc], eax
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x410e21
mov eax, 0x62e264
push eax
push 1
mov ebx, 0x540bc0
call fcn.00540681
add esp, 0x10
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x62e32e]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.004012a4
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 5
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x410e7a
mov eax, 0x62e264
push eax
push 3
mov ebx, 0x542630
call fcn.00540681
add esp, 0x28
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [0x75c4bc]
test ebx, ebx
je 0x410ea7
push ebx
call fcn.0054067b
add esp, 4
pop eax
mov dword [0x75c4bc], eax
mov eax, 0x62e264
xor ecx, ecx
test eax, eax
je 0x410ebb
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [0x75c4bc]
xor ebx, ebx
test eax, eax
je 0x410ece
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x410ee5
dec eax
test ecx, ecx
je 0x410ee5
call fcn.00401131
add esp, 0xc
test eax, eax
jne 0x410f33
mov eax, 0x62f462
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004023f2
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x410f11
push ebx
call fcn.0054067b
add esp, 4
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010007
push 0x52010001
call fcn.00540699
add esp, 0x18
jmp 0x412000
cmp dword [ebp + 8], 0xc9
jne 0x41156d
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 8
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov ebx, eax
test ebx, ebx
je 0x410f7f
push ebx
call fcn.0054067b
add esp, 4
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x410fc1
push ebx
call fcn.0054067b
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [0x75c4c4]
test ebx, ebx
je 0x410fd8
push ebx
call fcn.0054067b
add esp, 4
pop eax
mov dword [0x75c4c4], eax
push 0x62f474
push dword [0x75c4bc]
push 0x62f4a7
mov ecx, 3
call fcn.004010da
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x411012
push ebx
call fcn.0054067b
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x411029
mov eax, 0x62e264
push eax
push 1
mov ebx, 0x540bc0
call fcn.00540681
add esp, 0x10
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x62e2e3]
fstp qword [ebp - 0x24]
push 0x80000601
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 1
mov ebx, 0x541750
call fcn.00540681
add esp, 0x10
push 0x80000101
push 0
push eax
push 1
mov ebx, 0x542240
call fcn.00540681
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
call fcn.00407f43
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4110b3
push ebx
call fcn.0054067b
add esp, 4
push dword [ebp - 8]
push dword [ebp - 0x34]
mov ecx, 2
call fcn.004010da
add esp, 8
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4110d9
push ebx
call fcn.0054067b
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4110ed
push ebx
call fcn.0054067b
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0xffffffffffffffff
push 1
push 0x2601c7b4
push 0x52010001
call fcn.0054069f
add esp, 0x10
test eax, eax
jne 0x411131
push 0xffffffffffffffff
push 1
push 0x2601d26e
push 0x52010001
call fcn.0054069f
add esp, 0x10
test eax, eax
jne 0x411131
xor eax, eax
jmp 0x411136
mov eax, 1
test eax, eax
je 0x41125d
mov dword [0x75c3ec], 0
push 0xffffffffffffffff
push 0x13
push 0x16017f9e
push 0x52010001
call fcn.0054069f
add esp, 0x10
push 0x80000301
push 0
push eax
push 0x1000e
push 0x16017f9e
push 0x52010001
push 2
mov ebx, 0x544820
call fcn.00540681
add esp, 0x1c
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x75c4c0]
test eax, eax
jne 0x4111a4
mov eax, 0x62e23c
push eax
push 0x10025
push 0x160147a1
push 0x52010001
push 3
mov ebx, 0x545b50
call fcn.00540681
add esp, 0x28
test eax, eax
je 0x4111fd
lea eax, [ebp - 0xc]
push eax
call fcn.00402f57
mov eax, 0x62f4b1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004023f2
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4111f8
push ebx
call fcn.0054067b
add esp, 4
jmp 0x411258
mov eax, 0x62f4bf
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004023f2
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41121e
push ebx
call fcn.0054067b
add esp, 4
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010007
push 0x52010001
call fcn.00540699
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010053
push 0x52010001
call fcn.00540699
add esp, 0x18
jmp 0x411550
push 0xffffffffffffffff
push 1
push 0x2601c7b5
push 0x52010001
call fcn.0054069f
add esp, 0x10
test eax, eax
je 0x41128f
cmp dword [0x75c4b4], 1
jne 0x41128f
mov eax, 1
jmp 0x411294
mov eax, 0
test eax, eax
je 0x411550
mov dword [0x75c3ec], 1
push dword [0x75c3f0]
call fcn.0040b57a
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jne 0x4112c9
push dword [0x75c3f0]
call fcn.0040b780
push 0xffffffffffffffff
push 0x13
push 0x16017f9e
push 0x52010001
call fcn.0054069f
add esp, 0x10
push 0x80000301
push 0
push eax
push 0x1000e
push 0x16017f9e
push 0x52010001
push 2
mov ebx, 0x544820
call fcn.00540681
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x542b00
call fcn.00540681
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push 0x62e336
push dword [0x75c4c0]
push str.tcp:__
mov ecx, 4
call fcn.00401248
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x411358
push ebx
call fcn.0054067b
add esp, 4
push 0xffffffffffffffff
push 8
push 0x1601d01f
push 0x52010001
call fcn.0054069f
add esp, 0x10
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push str.socks5:__
mov ecx, 2
call fcn.00401248
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x411399
push ebx
call fcn.0054067b
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
push 1
push 0x418b0d
push 1
push 0x418d1c
push 1
push 0x4191ec
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push 1
lea eax, [ebp - 0x28]
push eax
push 1
push 1
lea eax, [ebp - 0x20]
push eax
call fcn.00412036
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x411446
push ebx
call fcn.0054067b
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x411456
push ebx
call fcn.0054067b
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x411466
push ebx
call fcn.0054067b
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x411476
push ebx
call fcn.0054067b
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x411486
push ebx
call fcn.0054067b
add esp, 4
mov eax, dword [ebp - 0x50]
mov dword [0x75c3f0], eax
cmp dword [0x75c3f0], 0
jle 0x4114f5
mov eax, 0x62f4b1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004023f2
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4114bc
push ebx
call fcn.0054067b
add esp, 4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4114d6
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00540675
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x75c4c8]
test ebx, ebx
je 0x4114ea
push ebx
call fcn.0054067b
add esp, 4
pop eax
mov dword [0x75c4c8], eax
jmp 0x411550
mov eax, 0x62f4bf
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004023f2
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x411516
push ebx
call fcn.0054067b
add esp, 4
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010007
push 0x52010001
call fcn.00540699
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010053
push 0x52010001
call fcn.00540699
add esp, 0x18
push 0
push 0x7530
push 0xffffffffffffffff
push 8
push 0x16014031
push 0x52010001
call fcn.00540699
add esp, 0x18
cmp dword [ebp + 8], 0xca
jne 0x412000
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 4
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov ebx, eax
test ebx, ebx
je 0x4115b9
push ebx
call fcn.0054067b
add esp, 4
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [0x75c4bc]
test ebx, ebx
je 0x4115f0
push ebx
call fcn.0054067b
add esp, 4
pop eax
mov dword [0x75c4bc], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x411638
push ebx
call fcn.0054067b
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [0x75c4c4]
test ebx, ebx
je 0x41164f
push ebx
call fcn.0054067b
add esp, 4
pop eax
mov dword [0x75c4c4], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov ebx, eax
test ebx, ebx
je 0x411681
push ebx
call fcn.0054067b
add esp, 4
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov ebx, eax
test ebx, ebx
je 0x4116ad
push ebx
call fcn.0054067b
add esp, 4
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4116ef
push ebx
call fcn.0054067b
add esp, 4
push 0x80000301
push 0
push 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x41170e
mov eax, 0x62e23c
push eax
push 2
mov ebx, 0x541100
call fcn.00540681
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x411734
push ebx
call fcn.0054067b
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x411747
mov eax, 0x62e23c
push eax
push 1
mov ebx, 0x541970
call fcn.00540681
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41176d
push ebx
call fcn.0054067b
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
push 0xffffffffffffffff
push 0x12
push 0x160145ee
push 0x52010001
call fcn.0054069f
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jne 0x411a86
push 0xffffffffffffffff
push 8
push 0x16013caa
push 0x52010001
call fcn.0054069f
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4117fb
mov eax, 0x62f323
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, 0x62f4de
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x75c4ac
call fcn.0041412b
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4117eb
push ebx
call fcn.0054067b
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4117fb
push ebx
call fcn.0054067b
add esp, 4
push 0xffffffffffffffff
push 8
push 0x16015ffb
push 0x52010001
call fcn.0054069f
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x411860
mov eax, 0x62f3ee
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, 0x62f4de
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x75c4ac
call fcn.0041412b
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x411850
push ebx
call fcn.0054067b
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x411860
push ebx
call fcn.0054067b
add esp, 4
push 0xffffffffffffffff
push 8
push 0x16014185
push 0x52010001
call fcn.0054069f
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4118c5
mov eax, 0x62f3fc
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, 0x62f4de
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x75c4ac
call fcn.0041412b
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4118b5
push ebx
call fcn.0054067b
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4118c5
push ebx
call fcn.0054067b
add esp, 4
push 0xffffffffffffffff
push 8
push 0x16015b71
push 0x52010001
call fcn.0054069f
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41192a
mov eax, 0x62f40a
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, 0x62f4de
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x75c4ac
call fcn.0041412b
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41191a
push ebx
call fcn.0054067b
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41192a
push ebx
call fcn.0054067b
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [0x75c4bc]
test eax, eax
jne 0x41193f
mov eax, 0x62e264
push eax
push 1
mov ebx, 0x540bc0
call fcn.00540681
add esp, 0x10
push eax
call fcn.00404c23
mov dword [ebp - 0x18], eax
push 0x62f4e3
push dword [0x75c4bc]
push dword [ebp - 0x18]
push 0x62f516
mov ecx, 4
call fcn.004010da
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41198e
push ebx
call fcn.0054067b
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4119a2
push ebx
call fcn.0054067b
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4119b9
mov eax, 0x62e264
push eax
push 1
mov ebx, 0x540bc0
call fcn.00540681
add esp, 0x10
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x62e2e3]
fstp qword [ebp - 0x24]
push 0x80000601
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 1
mov ebx, 0x541750
call fcn.00540681
add esp, 0x10
push 0x80000101
push 0
push eax
push 1
mov ebx, 0x542240
call fcn.00540681
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
call fcn.00407f43
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x411a43
push ebx
call fcn.0054067b
add esp, 4
push dword [ebp - 8]
push dword [ebp - 0x34]
mov ecx, 2
call fcn.004010da
add esp, 8
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x411a69
push ebx
call fcn.0054067b
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x411a7d
push ebx
call fcn.0054067b
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x411bdd
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [0x75c4bc]
test eax, eax
jne 0x411a9b
mov eax, 0x62e264
push eax
push 1
mov ebx, 0x540bc0
call fcn.00540681
add esp, 0x10
push eax
call fcn.00404c23
mov dword [ebp - 0x18], eax
push 0x62f474
push dword [0x75c4bc]
push dword [ebp - 0x18]
push 0x62f516
mov ecx, 4
call fcn.004010da
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x411aea
push ebx
call fcn.0054067b
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x411afe
push ebx
call fcn.0054067b
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x411b15
mov eax, 0x62e264
push eax
push 1
mov ebx, 0x540bc0
call fcn.00540681
add esp, 0x10
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x62e2e3]
fstp qword [ebp - 0x24]
push 0x80000601
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 1
mov ebx, 0x541750
call fcn.00540681
add esp, 0x10
push 0x80000101
push 0
push eax
push 1
mov ebx, 0x542240
call fcn.00540681
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
call fcn.00407f43
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x411b9f
push ebx
call fcn.0054067b
add esp, 4
push dword [ebp - 8]
push dword [ebp - 0x34]
mov ecx, 2
call fcn.004010da
add esp, 8
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x411bc5
push ebx
call fcn.0054067b
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x411bd9
push ebx
call fcn.0054067b
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0
push 0x7530
push 0xffffffffffffffff
push 8
push 0x16014031
push 0x52010001
call fcn.00540699
add esp, 0x18
push 0xffffffffffffffff
push 1
push 0x2601c7b4
push 0x52010001
call fcn.0054069f
add esp, 0x10
test eax, eax
je 0x411cfa
mov dword [0x75c3ec], 0
push 0x80000301
push 0
push dword [ebp - 0x10]
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x75c4c0]
test eax, eax
jne 0x411c41
mov eax, 0x62e23c
push eax
push 0x10025
push 0x160147a1
push 0x52010001
push 3
mov ebx, 0x545b50
call fcn.00540681
add esp, 0x28
test eax, eax
je 0x411cb7
lea eax, [ebp - 0xc]
push eax
call fcn.00402f57
mov eax, 0x62e264
test eax, eax
je 0x411c90
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00540675
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x75c4bc]
test ebx, ebx
je 0x411ca4
push ebx
call fcn.0054067b
add esp, 4
pop eax
mov dword [0x75c4bc], eax
mov eax, dword [ebp - 0x10]
mov dword [0x75c490], eax
jmp 0x411cf5
mov eax, 0x62f4bf
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004023f2
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x411cd8
push ebx
call fcn.0054067b
add esp, 4
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010007
push 0x52010001
call fcn.00540699
add esp, 0x18
jmp 0x412000
push 0xffffffffffffffff
push 1
push 0x2601c7b5
push 0x52010001
call fcn.0054069f
add esp, 0x10
test eax, eax
jne 0x411d5b
push 0xffffffffffffffff
push 1
push 0x2601d26e
push 0x52010001
call fcn.0054069f
add esp, 0x10
test eax, eax
je 0x411d4a
cmp dword [0x75c4b4], 1
jne 0x411d4a
mov eax, 1
jmp 0x411d4f
mov eax, 0
test eax, eax
jne 0x411d5b
xor eax, eax
jmp 0x411d60
mov eax, 1
test eax, eax
je 0x412000
mov dword [0x75c3ec], 1
push dword [0x75c3f0]
call fcn.0040b57a
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jne 0x411d95
push dword [0x75c3f0]
call fcn.0040b780
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x542b00
call fcn.00540681
add esp, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 0x62e336
push dword [0x75c4c0]
push str.tcp:__
mov ecx, 4
call fcn.00401248
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x411de7
push ebx
call fcn.0054067b
add esp, 4
push 0xffffffffffffffff
push 8
push 0x1601d01f
push 0x52010001
call fcn.0054069f
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push str.socks5:__
mov ecx, 2
call fcn.00401248
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x411e28
push ebx
call fcn.0054067b
add esp, 4
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
push 1
push 0x418b0d
push 1
push 0x418d1c
push 1
push 0x4191ec
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
push 1
lea eax, [ebp - 0x20]
push eax
push 1
push 1
lea eax, [ebp - 0x18]
push eax
call fcn.00412036
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x411ed5
push ebx
call fcn.0054067b
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x411ee5
push ebx
call fcn.0054067b
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x411ef5
push ebx
call fcn.0054067b
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x411f05
push ebx
call fcn.0054067b
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x411f15
push ebx
call fcn.0054067b
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [0x75c3f0], eax
cmp dword [0x75c3f0], 0
jle 0x411fc2
mov eax, 0x62e264
test eax, eax
je 0x411f46
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00540675
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x75c4bc]
test ebx, ebx
je 0x411f5a
push ebx
call fcn.0054067b
add esp, 4
pop eax
mov dword [0x75c4bc], eax
mov eax, dword [ebp - 0x10]
mov dword [0x75c490], eax
mov eax, 0x62f4b1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004023f2
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x411f89
push ebx
call fcn.0054067b
add esp, 4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x411fa3
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00540675
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x75c4c8]
test ebx, ebx
je 0x411fb7
push ebx
call fcn.0054067b
add esp, 4
pop eax
mov dword [0x75c4c8], eax
jmp 0x412000
mov eax, 0x62f4bf
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004023f2
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x411fe3
push ebx
call fcn.0054067b
add esp, 4
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010007
push 0x52010001
call fcn.00540699
add esp, 0x18
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0054067b
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x412020
push ebx
call fcn.0054067b
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x412030
push ebx
call fcn.0054067b
add esp, 4
mov esp, ebp
pop ebp
ret 8