Function at 0x426775
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x10], 0
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jne 0x426894
push 0x80000101
push 0
push 0x22
push 1
mov ebx, 0x428fd0
call fcn.0042853b
add esp, 0x10
mov dword [ebp - 0x1c], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4267f7
mov eax, 0x535c88
push eax
push 1
mov ebx, 0x4298f0
call fcn.0042853b
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x80000101
push 0
push 0x22
push 1
mov ebx, 0x428fd0
call fcn.0042853b
add esp, 0x10
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x426857
push ebx
call fcn.00428529
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x426867
push ebx
call fcn.00428529
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x426877
push ebx
call fcn.00428529
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42688b
push ebx
call fcn.00428529
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x4269a5
push 0x80000101
push 0
push 0x22
push 1
mov ebx, 0x428fd0
call fcn.0042853b
add esp, 0x10
mov dword [ebp - 0x1c], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4268ca
mov eax, 0x535c88
push eax
push 1
mov ebx, 0x4298f0
call fcn.0042853b
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x80000101
push 0
push 0x22
push 1
mov ebx, 0x428fd0
call fcn.0042853b
add esp, 0x10
mov dword [ebp - 0x24], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x426916
mov eax, 0x535c88
push eax
push 1
mov ebx, 0x4298f0
call fcn.0042853b
add esp, 0x10
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 0x53a40a
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
mov ecx, 5
call fcn.0040106f
add esp, 0x14
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x42695d
push ebx
call fcn.00428529
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x42696d
push ebx
call fcn.00428529
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x42697d
push ebx
call fcn.00428529
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x42698d
push ebx
call fcn.00428529
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4269a1
push ebx
call fcn.00428529
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0xc]
push eax
push 0x539aed
push reloc.WS2_32.dll_bind
mov eax, 0xc
call fcn.00428553
cmp dword [ebp - 0x1c], esp
je 0x4269d2
push 6
call fcn.00428541
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x426ddb
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x429e10
call fcn.0042853b
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x426a14
push ebx
call fcn.00428529
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x100
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
push 0
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push dword [ebp - 0xc]
mov eax, 0x26
call fcn.00428553
cmp dword [ebp - 0x1c], esp
je 0x426a56
push 6
call fcn.00428541
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x426d0c
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x428fd0
call fcn.0042853b
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
call fcn.00402af2
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x426ab1
push ebx
call fcn.00428529
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x426c3d
fild dword [ebp - 0x14]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x53919e]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.0040139b
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x426af0
mov eax, 0x535c88
push eax
push 2
mov ebx, 0x428ee0
call fcn.0042853b
add esp, 0x1c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
push eax
push dword [ebp - 0x2c]
call fcn.00402af2
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x426b33
push ebx
call fcn.00428529
add esp, 4
cmp dword [ebp - 0x30], 0
je 0x426c0c
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x426b50
mov eax, 0x535c88
push eax
push 1
mov ebx, 0x428b20
call fcn.0042853b
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0x1c]
push dword [ebp - 4]
push 1
push 0
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push dword [ebp - 0xc]
mov eax, 0x27
call fcn.00428553
cmp dword [ebp - 0x20], esp
je 0x426b9d
push 6
call fcn.00428541
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x426bdb
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov eax, 0xe
call fcn.00428553
cmp dword [ebp - 0x1c], esp
je 0x426bcc
push 6
call fcn.00428541
add esp, 4
mov eax, 2
jmp 0x426de5
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov eax, 0xe
call fcn.00428553
cmp dword [ebp - 0x1c], esp
je 0x426bfd
push 6
call fcn.00428541
add esp, 4
mov eax, 0xffffffff
jmp 0x426de5
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov eax, 0xe
call fcn.00428553
cmp dword [ebp - 0x1c], esp
je 0x426c2e
push 6
call fcn.00428541
add esp, 4
mov eax, 0
jmp 0x426de5
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x426c50
mov eax, 0x535c88
push eax
push 1
mov ebx, 0x428b20
call fcn.0042853b
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0x1c]
push dword [ebp - 4]
push 1
push 0
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push dword [ebp - 0xc]
mov eax, 0x27
call fcn.00428553
cmp dword [ebp - 0x20], esp
je 0x426c9d
push 6
call fcn.00428541
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x426cdb
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov eax, 0xe
call fcn.00428553
cmp dword [ebp - 0x1c], esp
je 0x426ccc
push 6
call fcn.00428541
add esp, 4
mov eax, 3
jmp 0x426de5
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov eax, 0xe
call fcn.00428553
cmp dword [ebp - 0x1c], esp
je 0x426cfd
push 6
call fcn.00428541
add esp, 4
mov eax, 0xfffffffe
jmp 0x426de5
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x426d1f
mov eax, 0x535c88
push eax
push 1
mov ebx, 0x428b20
call fcn.0042853b
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0x1c]
push dword [ebp - 4]
push 1
push 0
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push dword [ebp - 0xc]
mov eax, 0x27
call fcn.00428553
cmp dword [ebp - 0x20], esp
je 0x426d6c
push 6
call fcn.00428541
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x426daa
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov eax, 0xe
call fcn.00428553
cmp dword [ebp - 0x1c], esp
je 0x426d9b
push 6
call fcn.00428541
add esp, 4
mov eax, 1
jmp 0x426de5
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov eax, 0xe
call fcn.00428553
cmp dword [ebp - 0x1c], esp
je 0x426dcc
push 6
call fcn.00428541
add esp, 4
mov eax, 0xffffffff
jmp 0x426de5
mov eax, 0xfffffffd
jmp 0x426de5
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x426df6
push ebx
call fcn.00428529
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x426e06
push ebx
call fcn.00428529
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10