Function at 0x41ad30
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push edi
push esi
push ebx
mov dword [ebp - 0x13c], 0
mov byte [0x447d4c], 0
mov byte [0x44771c], 0
add esp, 0xfffffff4
lea esi, [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
call sub.cygwin1.dll_sigemptyset
mov dword [ebp - 0x10], 0x41ace4
add esp, 0xfffffff4
lea ebx, [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
call sub.cygwin1.dll_sigemptyset
mov dword [ebp - 0x20], 0x41ad14
add esp, 0x20
add esp, 0xfffffffc
push 0
push esi
push 0xf
call sub.cygwin1.dll_sigaction
add esp, 0xfffffffc
push 0
push ebx
push 2
call sub.cygwin1.dll_sigaction
add esp, 0x20
add esp, 0xfffffffc
push 0
push esi
push 9
call sub.cygwin1.dll_sigaction
add esp, 0xfffffffc
push 0
push ebx
push 1
call sub.cygwin1.dll_sigaction
add esp, 0x20
add esp, 0xfffffffc
push 0
push ebx
push 0x1e
call sub.cygwin1.dll_sigaction
add esp, 0xfffffffc
push 0
push ebx
push 0xd
call sub.cygwin1.dll_sigaction
add esp, 0x20
add esp, 0xfffffff4
push 0xfffffe7f
call sub.cygwin1.dll_umask
add esp, 0xfffffff4
add esp, 0xfffffff4
push 0
call sub.cygwin1.dll_time
push eax
call sub.cygwin1.dll_srand
add esp, 0x30
add esp, 0xfffffff4
call sub.cygwin1.dll_rand
push eax
call sub.cygwin1.dll_srandom
add esp, 0xfffffffc
add esp, 0xfffffff4
push 0x2c1
call fcn.00421af4
push eax
add esp, 0xfffffff4
push 0x2c0
call fcn.00421af4
add esp, 0x10
push eax
add esp, 0xfffffff4
push 0x2bf
call fcn.00421af4
add esp, 0x10
push eax
call fcn.00411624
add esp, 0x30
test eax, eax
jne 0x41aec6
add esp, 0xfffffff4
push 0x44365c
call sub.cygwin1.dll_inet_addr
add esp, 0x10
test eax, eax
jne 0x41ae80
add esp, 0xfffffffc
add esp, 0xfffffff4
push 0x2c2
call fcn.00421af4
push eax
push 0
push 2
call fcn.00414328
add esp, 0x20
jmp 0x41aec6
add esp, 0xfffffff8
push 0x41ad25
push 0x44365c
call sub.cygwin1.dll_strstr
add esp, 0x10
cmp eax, 0x44365c
jne 0x41aeac
add esp, 0xfffffffc
push 0xc8
push 0x44365e
jmp 0x41aeb9
add esp, 0xfffffffc
push 0xc8
push 0x44365c
push 0x447d4c
call fcn.00421b44
add esp, 0x10
mov dword [ebp - 0x138], 0
lea eax, [ebp - 0x50]
mov dword [ebp - 0x140], eax
lea edi, [ebp - 0x120]
nop
mov eax, dword [ebp - 0x138]
push eax
add esp, 0xfffffff4
push 0x2c3
call fcn.00421af4
add esp, 0x10
push eax
push 0x28
mov eax, dword [ebp - 0x140]
push eax
call fcn.004322e8
add esp, 0xfffffffc
add esp, 0xfffffff4
push 0x2c5
call fcn.00421af4
push eax
mov eax, dword [ebp - 0x140]
push eax
add esp, 0xfffffff4
push 0x2c4
call fcn.00421af4
add esp, 0x10
push eax
call fcn.00411624
add esp, 0x30
test eax, eax
jne 0x41b0e7
add esp, 0xfffffff4
push 0x44365c
call sub.cygwin1.dll_atoi
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x138]
push eax
add esp, 0xfffffff4
push 0x2c6
call fcn.00421af4
add esp, 0x10
push eax
push 0x28
mov eax, dword [ebp - 0x140]
push eax
call fcn.004322e8
add esp, 0x20
add esp, 0xfffffffc
add esp, 0xfffffff4
push 0x2c8
call fcn.00421af4
push eax
mov eax, dword [ebp - 0x140]
push eax
add esp, 0xfffffff4
push 0x2c7
call fcn.00421af4
add esp, 0x10
push eax
call fcn.00411624
add esp, 0x20
test eax, eax
jne 0x41afc8
add esp, 0xfffffffc
push 0xc8
push 0x44365c
push edi
call fcn.00421b44
add esp, 0x10
jmp 0x41afd6
movzx eax, word [0x41ad28]
mov word [ebp - 0x120], ax
add esp, 0xfffffff8
push 0x41ad28
push edi
call fcn.00421bf0
add esp, 0x10
test eax, eax
jne 0x41b0ac
xor esi, esi
add esp, 0xfffffff8
push 0x41ad25
push edi
call sub.cygwin1.dll_strstr
add esp, 0x10
cmp eax, edi
jne 0x41b010
lea ebx, [ebp - 0x11e]
jmp 0x41b016
lea ebx, [ebp - 0x120]
test esi, esi
jne 0x41b02c
add esp, 0xfffffff4
push ebx
call sub.cygwin1.dll_gethostbyname
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41b08c
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x12c], eax
lea esi, [ebp - 0x120]
cmp ebx, esi
je 0x41b064
add esp, 0xfffffff4
push eax
call sub.cygwin1.dll_inet_ntoa
push eax
push 0x41ad2a
push 0xc8
push esi
call fcn.004322e8
add esp, 0x20
jmp 0x41b0ac
add esp, 0xfffffffc
push 0xc8
add esp, 0xfffffff4
mov eax, dword [ebp - 0x12c]
push eax
call sub.cygwin1.dll_inet_ntoa
add esp, 0x10
push eax
push edi
call fcn.00421b44
add esp, 0x10
jmp 0x41b0ac
cmp ebx, edi
je 0x41b0a5
add esp, 0xfffffff8
push 0x41ad28
push ebx
call fcn.00421bf0
add esp, 0x10
test eax, eax
jne 0x41b0ac
mov byte [ebp - 0x120], 0
cmp byte [ebp - 0x120], 0
je 0x41b0e7
push 0x41a1f4
push 0x41a368
push 0x41a2a0
push 0x41ab34
push 0
push 2
mov eax, dword [ebp - 0x134]
push eax
push edi
call fcn.0041fc14
add esp, 0x20
test eax, eax
jle 0x41b0e7
inc dword [ebp - 0x13c]
inc dword [ebp - 0x138]
cmp dword [ebp - 0x138], 0x63
jle 0x41aee0
cmp dword [ebp - 0x13c], 0
je 0x41b126
cmp byte [0x447d4c], 0
jne 0x41b126
add esp, 0xfffffffc
add esp, 0xfffffff4
push 0x2c9
call fcn.00421af4
push eax
push 0xffffffffffffffff
push 2
call fcn.00414328
mov eax, dword [ebp - 0x13c]
lea esp, [ebp - 0x158]
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret