Function at 0x100b60c0
Capabilities:
Check for time delay via gettickcount
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x10186beb
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x101c7fbc], 0
mov ebx, dword [sym.imp.WS2_32.dll_gethostbyname]
je 0x100b6136
cmp byte [0x101c7fbd], 0
jne 0x100b6124
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x101c7fc0]
cmp eax, ecx
jbe 0x100b6124
sub eax, ecx
cmp eax, dword [0x101c5bd0]
jb 0x100b6124
mov byte [0x101c7fbc], 0
jmp 0x100b6136
cmp byte [0x101c7fbc], 0
je 0x100b6136
cmp byte [0x101c7fbd], 0
je 0x100b6176
lea eax, [esi + 0xe16]
push eax
call ebx
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2afc
jne 0x100b6162
mov byte [0x101c7fbc], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101c7fc0], eax
jmp 0x100b6172
cmp dword [0x101c7fc0], 0
je 0x100b6172
mov byte [0x101c7fbd], 1
test edi, edi
jne 0x100b6182
mov dword [esi + 0x4f31], 0
jmp 0x100b618f
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esi + 0x4f31], eax
movzx eax, word [esi + 0xf16]
mov ebp, dword [sym.imp.WS2_32.dll_htons]
push eax
call ebp
movzx eax, ax
mov word [esi + 0x4f35], ax
cmp byte [0x101c7fbc], 0
je 0x100b61bb
cmp byte [0x101c7fbd], 0
je 0x100b61fb
lea ecx, [esi + 0xf18]
push ecx
call ebx
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2afc
jne 0x100b61e7
mov byte [0x101c7fbc], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101c7fc0], eax
jmp 0x100b61f7
cmp dword [0x101c7fc0], 0
je 0x100b61f7
mov byte [0x101c7fbd], 1
test edi, edi
jne 0x100b6207
mov dword [esi + 0x4f37], 0
jmp 0x100b6214
mov edx, dword [edi + 0xc]
mov eax, dword [edx]
mov eax, dword [eax]
mov dword [esi + 0x4f37], eax
movzx ecx, word [esi + 0x1018]
push ecx
call ebp
movzx eax, ax
mov word [esi + 0x4f3b], ax
cmp byte [0x101c7fbc], 0
je 0x100b623a
cmp byte [0x101c7fbd], 0
je 0x100b628b
cmp dword [esi + 0x4e7c], 0x10
jb 0x100b624b
mov eax, dword [esi + 0x4e68]
jmp 0x100b6251
lea eax, [esi + 0x4e68]
push eax
call ebx
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2afc
jne 0x100b6277
mov byte [0x101c7fbc], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101c7fc0], eax
jmp 0x100b6287
cmp dword [0x101c7fc0], 0
je 0x100b6287
mov byte [0x101c7fbd], 1
test edi, edi
jne 0x100b6297
mov dword [esi + 0x4e80], 0
jmp 0x100b62a4
mov edx, dword [edi + 0xc]
mov eax, dword [edx]
mov eax, dword [eax]
mov dword [esi + 0x4e80], eax
cmp byte [0x101c7fbc], 0
je 0x100b62b6
cmp byte [0x101c7fbd], 0
je 0x100b6307
cmp dword [esi + 0x4ed8], 0x10
jb 0x100b62c7
mov eax, dword [esi + 0x4ec4]
jmp 0x100b62cd
lea eax, [esi + 0x4ec4]
push eax
call ebx
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2afc
jne 0x100b62f3
mov byte [0x101c7fbc], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101c7fc0], eax
jmp 0x100b6303
cmp dword [0x101c7fc0], 0
je 0x100b6303
mov byte [0x101c7fbd], 1
test edi, edi
jne 0x100b6313
mov dword [esi + 0x4edc], 0
jmp 0x100b6320
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esi + 0x4edc], eax
lea eax, [esi + 0xbe0]
push eax
mov ecx, esi
call fcn.100a8400
mov eax, dword [esi + 0x4f37]
movzx ebp, word [esi + 0x4f3b]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.100f29de
mov eax, dword [esi + 0x4f31]
movzx edi, word [esi + 0x4f35]
push eax
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x6c], 0
call fcn.100f29de
add esp, 0x10
cmp dword [esp + 0x34], 0x10
jb 0x100b637d
mov eax, dword [esp + 0x20]
push eax
call fcn.10157f3b
add esp, 4
push edi
mov edi, dword [sym.imp.WS2_32.dll_ntohs]
mov ebx, 0xf
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call edi
cmp dword [esp + 0x50], 0x10
mov dword [esp + 0x5c], 0xffffffff
jb 0x100b63b8
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.10157f3b
add esp, 4
push ebp
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
call edi
cmp dword [esi + 0x4f2c], 0
jne 0x100b6411
push 0x3c
call fcn.101582b6
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x5c], 1
je 0x100b6401
movzx edx, byte [esi + 0x1747]
push edx
push esi
mov ecx, eax
call fcn.100768a0
jmp 0x100b6403
xor eax, eax
mov dword [esp + 0x5c], 0xffffffff
mov dword [esi + 0x4f2c], eax
call fcn.10023df0
lea ebp, [eax + 4]
push ebp
mov dword [esp + 0x18], 0x101975f4
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 0x4cca]
push eax
lea edi, [esi + 0x4cbe]
push edi
mov ecx, esi
mov dword [esp + 0x64], 2
call fcn.100af620
movzx eax, word [esi + 0x4f3b]
mov ecx, dword [esi + 0x4f37]
movzx edx, word [esi + 0x4f35]
mov ebx, dword [esi + 0x4f31]
push 0
push eax
push ecx
mov ecx, dword [esi + 0x4cba]
push edx
push ebx
push edi
push ecx
mov ecx, esi
call fcn.100b5820
test al, al
push ebp
je 0x100b6499
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret