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

Disassembly:
push 0xffffffffffffffff
push 0x1018900b
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x101cf1f4], 0
je 0x100b285c
cmp byte [0x101cf1f5], 0
jne 0x100b285c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x101cf1f8]
cmp eax, ecx
jbe 0x100b285c
sub eax, ecx
cmp eax, dword [0x101cce28]
jb 0x100b285c
mov byte [0x101cf1f4], 0
mov ebx, dword [sym.imp.WS2_32.dll_gethostbyname]
lea eax, [esi + 0xe16]
push eax
call ebx
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2afc
jne 0x100b288e
mov byte [0x101cf1f4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101cf1f8], eax
jmp 0x100b289e
cmp dword [0x101cf1f8], 0
je 0x100b289e
mov byte [0x101cf1f5], 1
test edi, edi
jne 0x100b28aa
mov dword [esi + 0x4f31], edi
jmp 0x100b28b7
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
lea ecx, [esi + 0xf18]
push ecx
mov word [esi + 0x4f35], ax
call ebx
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2afc
jne 0x100b28fd
mov byte [0x101cf1f4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101cf1f8], eax
jmp 0x100b290d
cmp dword [0x101cf1f8], 0
je 0x100b290d
mov byte [0x101cf1f5], 1
test edi, edi
jne 0x100b2919
mov dword [esi + 0x4f37], edi
jmp 0x100b2926
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 dword [esi + 0x4e7c], 0x10
jb 0x100b294b
mov eax, dword [esi + 0x4e68]
jmp 0x100b2951
lea eax, [esi + 0x4e68]
push eax
call ebx
mov ebp, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
call ebp
cmp eax, 0x2afc
jne 0x100b2979
mov byte [0x101cf1f4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101cf1f8], eax
jmp 0x100b2989
cmp dword [0x101cf1f8], 0
je 0x100b2989
mov byte [0x101cf1f5], 1
test edi, edi
jne 0x100b2995
mov dword [esi + 0x4e80], edi
jmp 0x100b29a2
mov edx, dword [edi + 0xc]
mov eax, dword [edx]
mov eax, dword [eax]
mov dword [esi + 0x4e80], eax
cmp dword [esi + 0x4ed8], 0x10
jb 0x100b29b3
mov eax, dword [esi + 0x4ec4]
jmp 0x100b29b9
lea eax, [esi + 0x4ec4]
push eax
call ebx
mov edi, eax
call ebp
cmp eax, 0x2afc
jne 0x100b29db
mov byte [0x101cf1f4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101cf1f8], eax
jmp 0x100b29eb
cmp dword [0x101cf1f8], 0
je 0x100b29eb
mov byte [0x101cf1f5], 1
test edi, edi
jne 0x100b29f7
mov dword [esi + 0x4edc], edi
jmp 0x100b2a04
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.100a4460
mov eax, dword [esi + 0x4f37]
movzx ebp, word [esi + 0x4f3b]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.100ecbed
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.100ecbed
add esp, 0x10
cmp dword [esp + 0x34], 0x10
jb 0x100b2a61
mov eax, dword [esp + 0x20]
push eax
call fcn.10159534
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 0x100b2a9c
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.10159534
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 0x100b2af5
push 0x3c
call fcn.1015989d
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x5c], 1
je 0x100b2ae5
movzx edx, byte [esi + 0x1747]
push edx
push esi
mov ecx, eax
call fcn.10072540
jmp 0x100b2ae7
xor eax, eax
mov dword [esp + 0x5c], 0xffffffff
mov dword [esi + 0x4f2c], eax
call fcn.10021db0
lea ebp, [eax + 4]
push ebp
mov dword [esp + 0x18], 0x10199614
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.100aa640
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.100b1f60
test al, al
push ebp
je 0x100b2b7d
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