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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c19c3
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x1010c070]
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.10044400
test eax, eax
je 0x100435d6
lea ebx, [edi + 0x474]
nop dword [eax + eax]
mov ecx, ebx
call fcn.1003d6a0
test al, al
jne 0x100433c1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
lea ecx, [edi + 0x440]
call fcn.100443e0
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.10041320
test al, al
jne 0x1004334e
cmp byte [edi + 0x43c], al
je 0x100434d3
mov esi, dword [ebp - 0x7c]
lea ecx, [edi + 0x440]
push esi
call fcn.100443e0
lea ecx, [ebp - 0x2c]
mov edx, dword [eax]
call fcn.10041150
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
call eax
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x1004348b
mov ecx, dword [ebp - 0x2c]
inc eax
cmp eax, 0x1000
jb 0x10043340
test cl, 0x1f
jne 0x100434ce
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x100434ce
sub ecx, eax
cmp ecx, 4
jb 0x100434ce
cmp ecx, 0x23
ja 0x100434ce
mov ecx, eax
push ecx
call fcn.1008aee5
add esp, 4
jmp 0x1004348b
cmp byte [edi + 0x43c], 0
je 0x100434d3
mov esi, dword [ebp - 0x7c]
lea ecx, [edi + 0x440]
push esi
call fcn.100443e0
lea ecx, [ebp - 0x44]
mov edx, dword [eax]
call fcn.10041150
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
call eax
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x100433c1
mov ecx, dword [ebp - 0x44]
inc eax
cmp eax, 0x1000
jb 0x100433b8
test cl, 0x1f
jne 0x100434ce
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x100434ce
sub ecx, eax
cmp ecx, 4
jb 0x100434ce
cmp ecx, 0x23
ja 0x100434ce
mov ecx, eax
push ecx
call fcn.1008aee5
add esp, 4
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x80], 1
call fcn.100404a0
push eax
mov ecx, ebx
call fcn.100415f0
test al, al
je 0x1004347b
push ecx
lea ecx, [ebp - 0x74]
call fcn.10041200
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0
call fcn.100412c0
test al, al
je 0x100435bb
lea ecx, [ebp - 0x9c]
call fcn.10040740
mov eax, ecx
mov ecx, ebx
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.10041660
test al, al
jne 0x10043505
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2746
jne 0x10043434
inc dword [ebp - 0x78]
mov ecx, ebx
call fcn.10041300
cmp dword [ebp - 0x78], 3
jg 0x100434f1
cmp byte [edi + 0x43c], 0
je 0x100434dd
push 0x2710
push dword [edi + 0x438]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100434dd
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.10041270
jmp 0x100434a3
mov ecx, ebx
call fcn.10041300
cmp byte [edi + 0x43c], 0
je 0x100434d3
push 0x2710
push dword [edi + 0x438]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100434d3
inc esi
lea ecx, [edi + 0x440]
mov dword [ebp - 0x7c], esi
call fcn.10044400
cmp esi, eax
jb 0x10043290
cmp dword [ebp - 0x78], 3
jl 0x100435d3
mov eax, 4
jmp 0x100435e0
call fcn.10090e61
mov eax, 6
jmp 0x100435e0
lea ecx, [ebp - 0x74]
mov esi, 6
call fcn.10041270
mov eax, esi
jmp 0x100435e0
lea ecx, [ebp - 0x74]
mov esi, 4
call fcn.10041270
mov eax, esi
jmp 0x100435e0
xorps xmm0, xmm0
movups xmmword [ebp - 0xac], xmm0
mov byte [ebp - 4], 1
movzx eax, word [ebp - 0x8a]
sub eax, 0
je 0x10043581
mov ecx, ebx
sub eax, 2
je 0x10043549
call fcn.10041300
push 0
mov esi, 4
call fcn.1008b265
add esp, 4
lea ecx, [ebp - 0x74]
call fcn.10041270
mov eax, esi
jmp 0x100435e0
call fcn.10041300
mov ecx, dword [ebp - 0x88]
push esi
call fcn.100443e0
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.1008b265
add esp, 4
lea ecx, [ebp - 0x74]
call fcn.10041270
mov eax, esi
jmp 0x100435e0
lea ebx, [edi + 0x440]
push esi
mov ecx, ebx
call fcn.100443e0
lea edx, [edi + 0x44c]
mov ecx, edi
push edx
push dword [eax]
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.100437f0
xor esi, esi
push esi
call fcn.1008b265
add esp, 4
lea ecx, [ebp - 0x74]
call fcn.10041270
mov eax, esi
jmp 0x100435e0
mov ecx, ebx
call fcn.10041300
lea ecx, [ebp - 0x74]
mov esi, 7
call fcn.10041270
mov eax, esi
jmp 0x100435e0
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.1008aeea
mov esp, ebp
pop ebp
ret 4