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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1f
push 0
push 0
dec ecx
jne 0x6015e8
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6022f8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xbbe], 0
je 0x601632
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4828], 0
jne 0x601632
mov eax, dword [ebp - 4]
cmp dword [eax + 0xb9c], 0xffffffff
jne 0x60163f
mov eax, dword [ebp - 4]
call fcn.0060b290
jmp 0x6022b0
xor eax, eax
push ebp
push 0x601721
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x2c], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e4]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x60168e
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e4]
mov edx, dword [ebp - 8]
call fcn.0041fbfc
xor edx, edx
mov dword [eax + 0x10], edx
inc dword [ebp - 8]
dec dword [ebp - 0x30]
jne 0x601670
mov dword [ebp - 0x2c], 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e8]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x6016cf
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e8]
mov edx, dword [ebp - 8]
call fcn.0041fbfc
xor edx, edx
mov dword [eax + 4], edx
inc dword [ebp - 8]
dec dword [ebp - 0x30]
jne 0x6016b1
mov dword [ebp - 0x2c], 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x414]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x601710
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x414]
mov edx, dword [ebp - 8]
call fcn.0041fbfc
xor edx, edx
mov dword [eax + 4], edx
inc dword [ebp - 8]
dec dword [ebp - 0x30]
jne 0x6016f2
mov dword [ebp - 0x2c], 5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x601763
mov dword [ebp - 0x2c], 6
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x24]
mov edx, ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1b0]
sub edx, eax
add ecx, eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x28]
mov esi, ebx
sub esi, eax
mov dword [ebp - 0xc], esi
add ebx, eax
mov dword [ebp - 0x10], ebx
xor eax, eax
push ebp
push 0x601c01
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x2c], 7
sub ecx, edx
jl 0x601bf4
inc ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x2c], 8
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub edx, eax
jl 0x601be8
inc edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], 9
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.0066dba0
test al, al
je 0x601bdc
mov eax, dword [ebp - 0x20]
cmp dword [eax + 4], 0
je 0x601bdc
mov dword [ebp - 0x2c], 0xa
mov dword [ebp - 0x1c], 1
xor esi, esi
mov dword [ebp - 0x2c], 0xb
mov eax, dword [ebp - 0x20]
cmp dword [eax + 4], 0
je 0x601841
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
cmp dword [eax + 8], 0
jg 0x601841
mov eax, dword [ebp - 0x20]
add eax, 4
call fcn.00411504
jmp 0x601bdc
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
cmp esi, dword [eax + 8]
jge 0x601bdc
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov edx, esi
call fcn.0041fbfc
mov ebx, eax
mov dword [ebp - 0x2c], 0xc
test ebx, ebx
je 0x601bd6
mov dword [ebp - 0x2c], 0xd
cmp byte [ebx], 1
jne 0x601a16
mov dword [ebp - 0x2c], 0xe
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 5]
cmp eax, 0x2bf20
jb 0x6018cd
mov edx, 0xa
mov eax, ebx
call fcn.00402fb0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov edx, esi
call fcn.0041faa0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
cmp dword [eax + 8], 0
jg 0x601815
mov eax, dword [ebp - 0x20]
add eax, 4
call fcn.00411504
jmp 0x601bdc
mov dword [ebp - 0x2c], 0xf
mov edi, dword [ebx + 1]
test edi, edi
je 0x601bd6
cmp edi, dword [ebp - 4]
jne 0x60194b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
cmp eax, dword [ebp - 0x14]
jne 0x601912
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
cmp eax, dword [ebp - 0x18]
jne 0x601912
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 5], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x3cc], eax
jmp 0x60194b
mov edx, 0xa
mov eax, ebx
call fcn.00402fb0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov edx, esi
call fcn.0041faa0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
cmp dword [eax + 8], 0
jg 0x601815
mov eax, dword [ebp - 0x20]
add eax, 4
call fcn.00411504
jmp 0x601bdc
mov dword [ebp - 0x2c], 0x10
cmp byte [edi + 0x2e4], 0
jne 0x601bd6
cmp byte [edi + 0x2a5], 0
jne 0x601bd6
cmp byte [edi + 0x31f], 0
jne 0x601bd6
cmp byte [edi + 0xbbe], 0
je 0x601bd6
mov dword [ebp - 0x2c], 0x11
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22a], 0x32
jb 0x6019f9
mov eax, dword [ebp - 4]
cmp dword [eax + 0x278], 0
jne 0x6019f9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2c0], 0
jne 0x6019f9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2f8], 0
jne 0x6019f9
cmp dword [edi + 0x278], 0
je 0x6019ec
mov eax, dword [edi + 0x24]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x24]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x6019ec
mov eax, dword [edi + 0x28]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x28]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jle 0x6019f9
cmp byte [edi + 0x22a], 0
jne 0x601bd6
mov dword [ebp - 0x2c], 0x12
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0060b084
mov dword [ebp - 0x2c], 0x13
jmp 0x601bd6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22a], 0
jne 0x601bd6
mov dword [ebp - 0x2c], 0x14
test ebx, ebx
je 0x601b90
cmp byte [ebx], 2
jne 0x601b90
mov dword [ebp - 0x2c], 0x15
mov eax, dword [ebx + 1]
mov eax, dword [eax + 0x8c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2e0]
movzx edx, byte [edx + 0x118]
cmp eax, edx
jne 0x601a78
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 5]
mov edx, dword [setsockopt]
cmp eax, dword [edx + 0x1ab4]
jbe 0x601abf
mov eax, dword [ebx + 1]
mov edx, dword [0x4e416c]
call fcn.00406490
mov edx, 0xa
mov eax, ebx
call fcn.00402fb0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov edx, esi
call fcn.0041faa0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
cmp dword [eax + 8], 0
jg 0x601815
mov eax, dword [ebp - 0x20]
add eax, 4
call fcn.00411504
jmp 0x601bdc
mov eax, dword [ebx + 1]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], 0x1c
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0060b120
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0xc], 0
jne 0x601af4
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x10], 0
je 0x601b90
mov dword [ebp - 0x2c], 0x1d
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x24]
sub eax, dword [edx + 0x14]
mov edx, dword [setsockopt]
cmp eax, dword [edx + 0x1ab8]
jbe 0x601b2d
mov dword [ebp - 0x2c], 0x1e
mov eax, dword [ebp - 0x24]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x24]
xor edx, edx
mov dword [eax + 0x10], edx
jmp 0x601b90
mov dword [ebp - 0x2c], 0x1f
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0xc], 0
je 0x601b5b
mov dword [ebp - 0x2c], 0x20
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x2e4], 0
je 0x601b5b
mov eax, dword [ebp - 0x24]
xor edx, edx
mov dword [eax + 0xc], edx
mov dword [ebp - 0x2c], 0x21
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x10], 0
je 0x601b89
mov dword [ebp - 0x2c], 0x22
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x2e4], 0
je 0x601b89
mov eax, dword [ebp - 0x24]
xor edx, edx
mov dword [eax + 0x10], edx
mov dword [ebp - 0x2c], 0x23
mov dword [ebp - 0x2c], 0x24
test ebx, ebx
je 0x601bd6
cmp byte [ebx], 3
jne 0x601bd6
mov dword [ebp - 0x2c], 0x25
mov eax, dword [ebx + 1]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp byte [eax + 0x3c], 0
je 0x601bcf
mov dword [ebp - 0x2c], 0x26
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0060b1e0
mov dword [ebp - 0x2c], 0x27
inc esi
jmp 0x601815
inc dword [ebp - 0x18]
dec dword [ebp - 0x34]
jne 0x6017d1
inc dword [ebp - 0x14]
dec dword [ebp - 0x30]
jne 0x6017b5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x601c9c
mov dword [ebp - 0x2c], 0x28
mov dword [ebp - 0x1c], 2
xor edx, edx
push ebp
push 0x601f3e
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x414]
mov eax, dword [esi + 8]
cmp eax, dword [ebp - 0x14]
jle 0x601f31
mov dword [ebp - 0x2c], 0x29
mov eax, esi
mov edx, dword [ebp - 0x14]
call fcn.0041fbfc
mov ebx, eax
mov dword [ebp - 0x2c], 0x2a
mov dword [ebp - 0x2c], 0x2b
cmp dword [ebx + 4], 0
jne 0x601d74
mov edi, dword [ebx]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22a], 0
jne 0x601d34
mov dword [ebp - 0x2c], 0x2c
mov dword [ebp - 0x2c], 0x2d
push 0
push 0
push 0
push 0
push 0
mov cx, 0xa0
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0060a2cc
mov dword [ebp - 0x2c], 0x2f
test edi, edi
je 0x601d44
cmp byte [ebx + 8], 0
je 0x601d44
dec dword [edi + 0x40c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x414]
mov edx, dword [ebp - 0x14]
call fcn.0041faa0
mov dword [ebp - 0x2c], 0x30
mov edx, 9
mov eax, ebx
call fcn.00402fb0
mov dword [ebp - 0x2c], 0x31
jmp 0x601cbd
mov dword [ebp - 0x2c], 0x32
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22a], 0
jne 0x601f29
cmp dword [ebx + 4], 2
jne 0x601f29
mov dword [ebp - 0x2c], 0x33
mov edi, dword [ebx]
mov dword [ebp - 0x2c], 0x34
test edi, edi
je 0x601f29
cmp edi, dword [ebp - 4]
je 0x601f29
mov dword [ebp - 0x2c], 0x35
cmp byte [edi + 0x2ec], 0
je 0x601e3a
mov dword [ebp - 0x2c], 0x36
cmp byte [edi + 0x2a9], 0
je 0x601e08
mov dword [ebp - 0x2c], 0x37
movzx eax, byte [edi + 0x2c]
push eax
mov eax, dword [edi + 0x24]
push eax
mov eax, dword [edi + 0x28]
push eax
push 0
push 0
mov cx, 0xbb
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0060a2cc
mov dword [ebp - 0x2c], 0x38
jmp 0x601f29
mov dword [ebp - 0x2c], 0x39
movzx eax, byte [edi + 0x2c]
push eax
mov eax, dword [edi + 0x24]
push eax
mov eax, dword [edi + 0x28]
push eax
push 0
push 0
mov cx, 0x9f
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0060a2cc
mov dword [ebp - 0x2c], 0x3a
jmp 0x601f29
mov dword [ebp - 0x2c], 0x3b
movzx eax, byte [edi + 0x2c]
push eax
mov eax, dword [edi + 0x24]
push eax
mov eax, dword [edi + 0x28]
push eax
push 0
lea edx, [ebp - 0x80]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x80]
push eax
mov cx, 0x97
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0060a2cc
cmp byte [edi + 0x22a], 0
jne 0x601ee4
mov dword [ebp - 0x2c], 0x3d
cmp byte [edi + 0x369c], 0
je 0x601f22
push edi
movzx eax, byte [edi + 0x369d]
inc eax
movzx eax, al
movzx edx, byte [edi + 0x369e]
movzx edx, dl
shl edx, 8
or ax, dx
push eax
push 0
push 1
lea eax, [ebp - 0x88]
lea edx, [edi + 0x38a0]
call fcn.004055f8
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.004e6550
mov eax, dword [ebp - 0x84]
push eax
mov cx, 0x14a4
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.0060a154
jmp 0x601f22
cmp byte [edi + 0x22a], 0xa
jne 0x601f22
cmp dword [edi + 0xc3c], 0xffffffff
je 0x601f22
push edi
movzx eax, word [edi + 0xc3c]
push eax
mov eax, dword [edi + 0xc3c]
shr eax, 0x10
push eax
movzx eax, word [edi + 0xc40]
push eax
push 0
mov cx, 0x14d1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.00609fdc
mov dword [ebp - 0x2c], 0x3c
inc dword [ebp - 0x14]
jmp 0x601cbd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x601fdb
xor eax, eax
push ebp
push 0x6021b1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x3e4]
mov eax, dword [esi + 8]
cmp eax, dword [ebp - 8]
jle 0x6020c3
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.0041fbfc
mov ebx, eax
mov dword [ebp - 0x2c], 0x64
mov dword [ebp - 0x2c], 0x65
cmp dword [ebx + 0x10], 0
jne 0x60208a
push 0
mov eax, dword [ebx + 0xc]
push eax
mov eax, dword [ebx + 0x14]
push eax
mov eax, dword [ebx + 0x18]
push eax
push 0
mov cx, 0xb4
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.0060a2cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e4]
mov edx, dword [ebp - 8]
call fcn.0041faa0
xor eax, eax
push ebp
push 0x60207b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x4e418c]
mov eax, ebx
call fcn.00406490
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x601fee
mov dword [ebp - 0x2c], 0x66
cmp dword [ebx + 0x10], 2
jne 0x6020bb
movzx eax, word [ebx + 0x20]
push eax
mov eax, dword [ebx + 0xc]
push eax
mov eax, dword [ebx + 0x14]
push eax
mov eax, dword [ebx + 0x18]
push eax
mov eax, dword [ebx + 0x1c]
push eax
mov cx, 0xb3
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.0060a2cc
inc dword [ebp - 8]
jmp 0x601fee
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3e8]
mov eax, dword [ebx + 8]
cmp eax, dword [ebp - 8]
jle 0x6021a4
mov dword [ebp - 0x2c], 0x67
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0041fbfc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0x68
mov dword [ebp - 0x2c], 0x69
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 0
jne 0x602142
mov eax, dword [ebp - 0x28]
push eax
push 0
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + 0xc]
push eax
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + 0x10]
push eax
push 0
mov cx, 0x1447
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.00609fdc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e8]
mov edx, dword [ebp - 8]
call fcn.0041faa0
jmp 0x6020c8
mov dword [ebp - 0x2c], 0x6a
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 2
jne 0x602195
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + 0x14]
push eax
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + 0xc]
push eax
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + 0x10]
push eax
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
call fcn.0040a790
mov eax, dword [ebp - 0x94]
push eax
mov cx, 0x1446
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.00609fdc
mov dword [ebp - 0x2c], 0x6b
inc dword [ebp - 8]
jmp 0x6020c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6022b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6022ff
lea eax, [ebp - 0xfc]
mov edx, 3
call fcn.004053b8
lea eax, [ebp - 0x9c]
mov edx, 8
call fcn.004053b8
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004053b8
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004053b8
ret