Function at 0x10042d10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c13b3
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x84], eax
xor esi, esi
lea eax, [edi + 0x440]
mov dword [ebp - 0x78], 0
mov ecx, eax
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x88], eax
call fcn.10043ef0
test eax, eax
je 0x100430c6
lea ebx, [edi + 0x474]
nop dword [eax + eax]
mov ecx, ebx
call fcn.1003d180
test al, al
jne 0x10042eb1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
lea ecx, [edi + 0x440]
call fcn.10043ed0
push ecx
movzx ecx, word [edi + 0x464]
mov esi, eax
push ecx
call dword [sym.imp.WS2_32.dll_htons]
movzx ecx, ax
push ecx
push dword [esi]
mov ecx, ebx
call fcn.10040e00
test al, al
jne 0x10042e3e
cmp byte [edi + 0x43c], al
je 0x10042fc3
mov esi, dword [ebp - 0x7c]
lea ecx, [edi + 0x440]
push esi
call fcn.10043ed0
lea ecx, [ebp - 0x2c]
mov edx, dword [eax]
call fcn.10040c30
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
call eax
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x10042f7b
mov ecx, dword [ebp - 0x2c]
inc eax
cmp eax, 0x1000
jb 0x10042e30
test cl, 0x1f
jne 0x10042fbe
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x10042fbe
sub ecx, eax
cmp ecx, 4
jb 0x10042fbe
cmp ecx, 0x23
ja 0x10042fbe
mov ecx, eax
push ecx
call fcn.1008a9f2
add esp, 4
jmp 0x10042f7b
cmp byte [edi + 0x43c], 0
je 0x10042fc3
mov esi, dword [ebp - 0x7c]
lea ecx, [edi + 0x440]
push esi
call fcn.10043ed0
lea ecx, [ebp - 0x44]
mov edx, dword [eax]
call fcn.10040c30
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
call eax
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10042eb1
mov ecx, dword [ebp - 0x44]
inc eax
cmp eax, 0x1000
jb 0x10042ea8
test cl, 0x1f
jne 0x10042fbe
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x10042fbe
sub ecx, eax
cmp ecx, 4
jb 0x10042fbe
cmp ecx, 0x23
ja 0x10042fbe
mov ecx, eax
push ecx
call fcn.1008a9f2
add esp, 4
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x80], 1
call fcn.1003ff80
push eax
mov ecx, ebx
call fcn.100410d0
test al, al
je 0x10042f6b
push ecx
lea ecx, [ebp - 0x74]
call fcn.10040ce0
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0
call fcn.10040da0
test al, al
je 0x100430ab
lea ecx, [ebp - 0x9c]
call fcn.10040220
mov eax, ecx
mov ecx, ebx
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.10041140
test al, al
jne 0x10042ff5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2746
jne 0x10042f24
inc dword [ebp - 0x78]
mov ecx, ebx
call fcn.10040de0
cmp dword [ebp - 0x78], 3
jg 0x10042fe1
cmp byte [edi + 0x43c], 0
je 0x10042fcd
push 0x2710
push dword [edi + 0x438]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10042fcd
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.10040d50
jmp 0x10042f93
mov ecx, ebx
call fcn.10040de0
cmp byte [edi + 0x43c], 0
je 0x10042fc3
push 0x2710
push dword [edi + 0x438]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10042fc3
inc esi
lea ecx, [edi + 0x440]
mov dword [ebp - 0x7c], esi
call fcn.10043ef0
cmp esi, eax
jb 0x10042d80
cmp dword [ebp - 0x78], 3
jl 0x100430c3
mov eax, 4
jmp 0x100430d0
call fcn.10090951
mov eax, 6
jmp 0x100430d0
lea ecx, [ebp - 0x74]
mov esi, 6
call fcn.10040d50
mov eax, esi
jmp 0x100430d0
lea ecx, [ebp - 0x74]
mov esi, 4
call fcn.10040d50
mov eax, esi
jmp 0x100430d0
xorps xmm0, xmm0
movups xmmword [ebp - 0xac], xmm0
mov byte [ebp - 4], 1
movzx eax, word [ebp - 0x8a]
sub eax, 0
je 0x10043071
mov ecx, ebx
sub eax, 2
je 0x10043039
call fcn.10040de0
push 0
mov esi, 4
call fcn.1008ad72
add esp, 4
lea ecx, [ebp - 0x74]
call fcn.10040d50
mov eax, esi
jmp 0x100430d0
call fcn.10040de0
mov ecx, dword [ebp - 0x88]
push esi
call fcn.10043ed0
push dword [ebp - 0x90]
mov esi, eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi], eax
xor esi, esi
push esi
call fcn.1008ad72
add esp, 4
lea ecx, [ebp - 0x74]
call fcn.10040d50
mov eax, esi
jmp 0x100430d0
lea ebx, [edi + 0x440]
push esi
mov ecx, ebx
call fcn.10043ed0
lea edx, [edi + 0x44c]
mov ecx, edi
push edx
push dword [eax]
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.100432e0
xor esi, esi
push esi
call fcn.1008ad72
add esp, 4
lea ecx, [ebp - 0x74]
call fcn.10040d50
mov eax, esi
jmp 0x100430d0
mov ecx, ebx
call fcn.10040de0
lea ecx, [ebp - 0x74]
mov esi, 7
call fcn.10040d50
mov eax, esi
jmp 0x100430d0
mov ebx, dword [ebp - 0x80]
xor eax, eax
test ebx, ebx
setne al
add eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret 4