Function at 0x5ded14
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd58
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x2a8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5defa9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea edx, [ebp - 0x2a8]
mov eax, ebx
call fcn.0040956c
cmp dword [ebp - 0x2a8], 0
jne 0x5ded78
push 0x5defbc
call sub.kernel32.dll_OutputDebugStringA
jmp 0x5def70
mov eax, ebx
call fcn.00404a44
mov esi, eax
push esi
call sub.wsock32.dll_inet_addr
inc eax
jne 0x5ded99
push 0x5defcc
call sub.kernel32.dll_OutputDebugStringA
jmp 0x5def70
push 1
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x549d04]
call fcn.00405d2c
add esp, 4
push 1
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x549d04]
call fcn.00405d2c
add esp, 4
xor eax, eax
push ebp
push 0x5def69
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2a4]
push eax
push esi
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.005de994
test al, al
je 0x5deef1
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.004045c8
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
call fcn.004045c8
cmp dword [ebp - 0xd0], 0
je 0x5dee2d
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0xd0]
mov eax, ebx
call fcn.005dec78
push 0x5defdc
call sub.kernel32.dll_OutputDebugStringA
cmp dword [ebp - 0x24], 0
je 0x5dee56
push 1
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x549d04]
call fcn.00405d2c
add esp, 4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
call fcn.004045c8
cmp dword [ebp - 4], 0
je 0x5dee6b
cmp dword [ebp - 0x100], 0
setne al
mov edx, dword [ebp - 4]
mov byte [edx], al
push 2
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x549d04]
call fcn.00405d2c
add esp, 4
cmp dword [ebp - 0x100], 0
je 0x5deebd
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x108]
call fcn.005deb48
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], 0
jne 0x5deec5
push 1
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x549d04]
call fcn.00405d2c
add esp, 4
jmp 0x5deec5
mov eax, dword [ebp - 0x18]
call fcn.00404574
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.005df55c
test eax, eax
je 0x5deeeb
push 0x5deff8
call sub.kernel32.dll_OutputDebugStringA
jmp 0x5deefb
mov byte [ebp - 5], 1
jmp 0x5deefb
push 0x5df010
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5def70
push 0
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x549d04]
call fcn.00405d2c
add esp, 4
push 0
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x549d04]
call fcn.00405d2c
add esp, 4
push 0
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x549d04]
call fcn.00405d2c
add esp, 4
push 0
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x549d04]
call fcn.00405d2c
add esp, 4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5defb0
lea eax, [ebp - 0x2a8]
call fcn.00404574
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404598
lea eax, [ebp - 0x18]
mov edx, dword [0x549d04]
mov ecx, 4
call fcn.00405230
ret