Function at 0x58bae7
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov ebx, dword [0x7e5bfc]
call fcn.0040aab4
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
push 0x13
push 0x1601542c
push 0x520100a2
call fcn.005ad3a9
add esp, 0x10
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fadd qword [0x6d9788]
fstp qword [ebp - 0x28]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fsub qword [ebp - 0x28]
fcomp qword [0x6d997e]
fnstsw ax
test ah, 1
je 0x58bba3
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x6d98da
push 0x80000301
push 0
push 0x30
push reloc.WS2_32.dll_connect
push 0
push 0x730204
push 4
mov ebx, 0x5b1740
call fcn.005ad37f
add esp, 0x34
jmp 0x58c941
mov ebx, dword [0x7e5bfc]
call fcn.00402b22
push ebx
push ecx
push 0xffffffffffffffff
push 0x13
push 0x1601542c
push 0x520100a2
call fcn.005ad3a9
add esp, 0x10
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x6d9788]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.00402afb
dec eax
jns 0x58bbf3
push 4
call fcn.005ad391
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x58bc06
push 1
call fcn.005ad391
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
test eax, eax
je 0x58bc2c
push eax
mov ebx, eax
call fcn.004020e2
inc eax
push eax
call fcn.005ad385
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x58bc3d
push ebx
call fcn.005ad38b
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x6d971b
push dword [ebp - 4]
call fcn.0040101a
add esp, 8
cmp eax, 0
jne 0x58bc9b
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x6d98da
push 0x80000301
push 0
push 0x30
push reloc.WS2_32.dll_connect
push 0
push 0x730213
push 4
mov ebx, 0x5b1740
call fcn.005ad37f
add esp, 0x34
jmp 0x58c941
mov ebx, dword [0x7e5bf8]
call fcn.0040aab4
mov dword [ebp - 8], eax
push 0
push 0x730228
push 0xffffffffffffffff
push 8
push 0x160100aa
push 0x520100a2
call fcn.005ad3af
add esp, 0x18
mov eax, dword [ebp - 8]
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x58c6f2
fild dword [ebp - 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fsub qword [0x6d9788]
fstp qword [ebp - 0x20]
push reloc.WS2_32.dll_connect
push 0
push 0x730239
push 0x80000301
push 0
push 3
fld qword [ebp - 0x20]
call fcn.00402afb
push 0x80000301
push 0
push eax
push 0x90004
push 0x16016037
push 0x520100a2
push 4
mov eax, 8
mov ebx, 0x652040
call fcn.005ad39d
add esp, 0x34
mov ebx, dword [0x7e5bf8]
call fcn.00402b22
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x58bd60
push 4
call fcn.005ad391
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x58bd73
push 1
call fcn.005ad391
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x14], ebx
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x5af410
call fcn.005ad37f
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x5af410
call fcn.005ad37f
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x6da5d8
push dword [ebp - 0x1c]
push 0x6d9fc6
push dword [ebp - 0x18]
push 0x730240
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 0x730245
mov ecx, 7
call fcn.0040214d
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x58bdfa
push ebx
call fcn.005ad38b
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x58be0a
push ebx
call fcn.005ad38b
add esp, 4
push 0
push dword [ebp - 0x20]
push 0xffffffffffffffff
push 8
push 0x160100aa
push 0x520100a2
call fcn.005ad3af
add esp, 0x18
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x58be35
push ebx
call fcn.005ad38b
add esp, 4
mov dword [0x7e5c10], 0
mov ebx, dword [0x7e5bf8]
call fcn.00402b22
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x58be5f
push 4
call fcn.005ad391
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x58be72
push 1
call fcn.005ad391
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
mov dword [0x7e5c04], eax
push 0
push 0
push 0xffffffffffffffff
push 0xd
push 0x160100ad
push 0x520100a2
call fcn.005ad3af
add esp, 0x18
mov dword [0x7e5c0c], 0
mov ebx, dword [0x7e5bf8]
call fcn.00402b22
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x58bed0
push 4
call fcn.005ad391
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x58bee3
push 1
call fcn.005ad391
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x14], ebx
push 0
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 0xffffffffffffffff
push 0xc
push 0x160100ad
push 0x520100a2
call fcn.005ad3af
add esp, 0x18
mov eax, 0x6d971b
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x58bf23
push ebx
call fcn.005ad38b
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [0x7e5bf8]
call fcn.00402b22
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x58bf47
push 4
call fcn.005ad391
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x58bf5a
push 1
call fcn.005ad391
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x14], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x58bf79
mov eax, 0x6d971b
push eax
push 1
mov ebx, 0x5ae1a0
call fcn.005ad37f
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x58bfae
mov eax, 0x6d971b
push eax
push 2
mov ebx, 0x5add50
call fcn.005ad37f
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x58bfd4
push ebx
call fcn.005ad38b
add esp, 4
push 0x73012b
push dword [ebp - 0x1c]
call fcn.0040101a
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x58c002
push ebx
call fcn.005ad38b
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x58c264
mov ebx, dword [0x7e5bf8]
call fcn.00402b22
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x58c02c
push 4
call fcn.005ad391
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x58c03f
push 1
call fcn.005ad391
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x14], ebx
mov ebx, dword [0x7e5bf8]
call fcn.00402b22
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x58c069
push 4
call fcn.005ad391
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x58c07c
push 1
call fcn.005ad391
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x18], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x58c09b
mov eax, 0x6d971b
push eax
push 1
mov ebx, 0x5ad970
call fcn.005ad37f
add esp, 0x10
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fsub qword [0x6da5f6]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00402afb
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x58c0e8
mov eax, 0x6d971b
push eax
push 2
mov ebx, 0x5add10
call fcn.005ad37f
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov ebx, dword [0x7e5bf8]
call fcn.00402b22
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x58c11e
push 4
call fcn.005ad391
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x58c131
push 1
call fcn.005ad391
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x34], ebx
push str..exe
mov ebx, dword [ebp - 0x34]
push dword [ebx]
push 0x6da356
push dword [ebp - 0x30]
mov ecx, 4
call fcn.0040214d
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x58c170
push ebx
call fcn.005ad38b
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [0x7e5c14]
test ebx, ebx
je 0x58c187
push ebx
call fcn.005ad38b
add esp, 4
pop eax
mov dword [0x7e5c14], eax
mov ebx, dword [0x7e5bf8]
call fcn.00402b22
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x58c1ad
push 4
call fcn.005ad391
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x58c1c0
push 1
call fcn.005ad391
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push dword [ebp - 4]
mov ecx, 2
call fcn.0040214d
add esp, 8
mov dword [ebp - 0x18], eax
push 0
mov ebx, 0x5ad9b0
call fcn.005ad37f
add esp, 4
mov dword [ebp - 0x1c], eax
push dword [0x7e5c14]
push 0x72d6fe
push dword [ebp - 0x1c]
mov ecx, 3
call fcn.0040214d
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x58c228
push ebx
call fcn.005ad38b
add esp, 4
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x7e5c08
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x58c24f
push ebx
call fcn.005ad38b
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x58c25f
push ebx
call fcn.005ad38b
add esp, 4
jmp 0x58c3d3
push 0
mov ebx, 0x5ad9b0
call fcn.005ad37f
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, dword [0x7e5bf8]
call fcn.00402b22
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x58c299
push 4
call fcn.005ad391
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x58c2ac
push 1
call fcn.005ad391
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x18], ebx
push str..TMP
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push 0x72d6fe
push dword [ebp - 0x14]
mov ecx, 4
call fcn.0040214d
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x58c2e8
push ebx
call fcn.005ad38b
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x58c2fc
push ebx
call fcn.005ad38b
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x58c313
mov eax, 0x6d971b
push eax
push 1
mov ebx, 0x5aff80
call fcn.005ad37f
add esp, 0x10
test eax, eax
je 0x58c354
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x58c341
mov eax, 0x6d971b
push eax
push 1
mov ebx, 0x5aff40
call fcn.005ad37f
add esp, 0x10
mov ebx, dword [0x7e5bf8]
call fcn.00402b22
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x58c374
push 4
call fcn.005ad391
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x58c387
push 1
call fcn.005ad391
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push dword [ebp - 4]
mov ecx, 2
call fcn.0040214d
add esp, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x7e5c08
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x58c3d3
push ebx
call fcn.005ad38b
add esp, 4
push 0
push 0x3e8
push 0xffffffffffffffff
push 8
push 0x160100a7
push 0x520100a2
call fcn.005ad3af
add esp, 0x18
cmp dword [0x7e5c10], 0
jne 0x58c434
push 0
mov ebx, 0x5b1f40
call fcn.005ad37f
add esp, 4
push 0x80000301
push 0
push 0xa
push 1
mov eax, 3
mov ebx, 0x649f60
call fcn.005ad39d
add esp, 0x10
jmp 0x58c3f0
fild dword [ebp - 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fsub qword [0x6d9788]
fstp qword [ebp - 0x20]
push reloc.WS2_32.dll_connect
push 0
push 0x730261
push 0x80000301
push 0
push 3
fld qword [ebp - 0x20]
call fcn.00402afb
push 0x80000301
push 0
push eax
push 0x90004
push 0x16016037
push 0x520100a2
push 4
mov eax, 8
mov ebx, 0x652040
call fcn.005ad39d
add esp, 0x34
cmp dword [0x7e5c10], 0
je 0x58c4c1
push 0x6d971b
push dword [ebp - 0x10]
call fcn.0040101a
add esp, 8
cmp eax, 0
je 0x58c4c1
mov eax, 1
jmp 0x58c4c6
mov eax, 0
test eax, eax
je 0x58c6ea
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x58c4e1
mov eax, 0x6d971b
push eax
push 1
mov ebx, 0x5aff80
call fcn.005ad37f
add esp, 0x10
test eax, eax
je 0x58c539
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x58c50f
mov eax, 0x6d971b
push eax
push 1
mov ebx, 0x5affa0
call fcn.005ad37f
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xc8
jle 0x58c539
mov eax, 1
jmp 0x58c53e
mov eax, 0
test eax, eax
je 0x58c6ea
push 0
mov ebx, 0x5ad9b0
call fcn.005ad37f
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, dword [0x7e5bf8]
call fcn.00402b22
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x58c57b
push 4
call fcn.005ad391
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x58c58e
push 1
call fcn.005ad391
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push 0x72d6fe
push dword [ebp - 0x14]
mov ecx, 3
call fcn.0040214d
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x58c5c5
push ebx
call fcn.005ad38b
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x58c5d8
mov eax, 0x6d971b
push eax
push 1
mov ebx, 0x5aff40
call fcn.005ad37f
add esp, 0x10
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x58c5fb
push ebx
call fcn.005ad38b
add esp, 4
push 0
mov ebx, 0x5ad9b0
call fcn.005ad37f
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, dword [0x7e5bf8]
call fcn.00402b22
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x58c630
push 4
call fcn.005ad391
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x58c643
push 1
call fcn.005ad391
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push 0x72d6fe
push dword [ebp - 0x14]
mov ecx, 3
call fcn.0040214d
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x58c67a
push ebx
call fcn.005ad38b
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x58c68d
mov eax, 0x6d971b
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x58c6a1
mov eax, 0x6d971b
push eax
push 2
mov ebx, 0x5aff60
call fcn.005ad37f
add esp, 0x1c
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x58c6c4
push ebx
call fcn.005ad38b
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x58c6d7
mov eax, 0x6d971b
push eax
push 1
mov ebx, 0x5aff40
call fcn.005ad37f
add esp, 0x10
pop eax
pop ebx
pop ecx
jmp 0x58bcd2
add esp, 0xc
push 0
push 0x730268
push 0xffffffffffffffff
push 8
push 0x160100aa
push 0x520100a2
call fcn.005ad3af
add esp, 0x18
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x6d98da
push 0x80000301
push 0
push 0x40
push reloc.WS2_32.dll_connect
push 0
push 0x730268
push 4
mov ebx, 0x5b1740
call fcn.005ad37f
add esp, 0x34
push 0
push 0
push 0xffffffffffffffff
push 8
push 0x160100a7
push 0x520100a2
call fcn.005ad3af
add esp, 0x18
push 0
push 0x730272
push 0xffffffffffffffff
push 8
push 0x160100aa
push 0x520100a2
call fcn.005ad3af
add esp, 0x18
push 0
push 0x73027b
push 0xffffffffffffffff
push 0xa
push 0x160100a9
push 0x520100a2
call fcn.005ad3af
add esp, 0x18
push 0x6d971b
push dword [0x7e5c14]
call fcn.0040101a
add esp, 8
cmp eax, 0
je 0x58c8f1
push 0
mov ebx, 0x5ad9b0
call fcn.005ad37f
add esp, 4
mov dword [ebp - 0x14], eax
push dword [0x7e5c14]
push 0x72d6fe
push dword [ebp - 0x14]
mov ecx, 3
call fcn.0040214d
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x58c804
push ebx
call fcn.005ad38b
add esp, 4
push 0
mov ebx, 0x5ad9b0
call fcn.005ad37f
add esp, 4
mov dword [ebp - 0x1c], eax
push 0
mov ebx, 0x5ad9d0
call fcn.005ad37f
add esp, 4
mov dword [ebp - 0x20], eax
push 0x6da27a
push dword [ebp - 0x20]
push 0x72d6fe
push dword [ebp - 0x1c]
push str.copy__
mov ecx, 5
call fcn.0040214d
add esp, 0x14
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x58c863
push ebx
call fcn.005ad38b
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x58c873
push ebx
call fcn.005ad38b
add esp, 4
mov ebx, 6
call fcn.00402b42
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x58c890
mov eax, 0x6d971b
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x58c8a4
mov eax, 0x6d971b
push eax
push 0
push 0
push 0
push 5
mov eax, 7
mov ebx, 0x651290
call fcn.005ad39d
add esp, 0x40
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x58c8d2
push ebx
call fcn.005ad38b
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x58c8e2
push ebx
call fcn.005ad38b
add esp, 4
push 0
call fcn.005ad3b5
add esp, 4
jmp 0x58c941
push 0x10001
push 0x60100a3
push 0x520100a2
push 1
mov ebx, 0x5b18b0
call fcn.005ad37f
add esp, 0x10
test eax, eax
je 0x58c941
push 0
push 0
push 0
push 0x10001
push 0x60100a3
push 0x520100a2
push 2
mov ebx, 0x5b1f50
call fcn.005ad37f
add esp, 0x1c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x58c951
push ebx
call fcn.005ad38b
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x58c961
push ebx
call fcn.005ad38b
add esp, 4
mov esp, ebp
pop ebp
ret