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

Disassembly:
push 0xffffffffffffffff
push 0x10052938
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100638a4]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100638a4]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov edi, dword [esp + 0x5c]
mov eax, dword [edi + 4]
mov ebx, dword [esp + 0x54]
mov esi, ecx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.10019b50
add esp, 8
movzx eax, word [ebx + 2]
add eax, 0xfffffffd
mov dword [esp + 0x4c], 0
cmp eax, 0x14
ja case.0x100361bc.4
movzx edx, byte [eax + 0x100364d0]
jmp dword [edx*4 + 0x100364b4]
inc dword [esi + 0x94]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0xdc]
cmp dword [esp + 0x2c], 8
mov ebp, dword [esp + 0x18]
jae 0x100361e4
lea ebp, [esp + 0x18]
push eax
movzx eax, word [edi + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov edx, dword [esi + 0x8c]
movzx ecx, ax
mov eax, dword [esi + 0x5c]
push ecx
push ebp
push edx
push eax
push 0x10058d08
push 1
push 0x10069158
call fcn.10017d90
mov ecx, dword [esi + 0x8c]
add esp, 0x20
cmp ecx, 2
jne 0x1003623f
movzx edx, word [ebx + 0x2c]
mov eax, dword [ebx + 0x28]
push edx
push eax
mov ecx, esi
call fcn.10034460
lea ecx, [esp + 0x14]
call fcn.10010e30
mov al, 1
jmp 0x10036492
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x34], edx
mov dx, word [ebx + 0x2c]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x30]
mov word [esp + 0x32], dx
mov dword [esp + 0x34], eax
push ecx
lea ecx, [esi + 0x2b4]
call fcn.10034930
lea ecx, [esp + 0x14]
call fcn.10010e30
mov al, 1
jmp 0x10036492
cmp dword [esp + 0x2c], 8
mov ebx, dword [esp + 0x18]
jae 0x10036299
lea ebx, [esp + 0x18]
movzx edx, word [edi + 2]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [esi + 0x8c]
mov edx, dword [esi + 0x5c]
movzx eax, ax
push eax
push ebx
push ecx
push edx
push 0x10058cb0
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x1c
lea ecx, [esp + 0x14]
call fcn.10010e30
mov al, 1
jmp 0x10036492
inc dword [esi + 0x94]
cmp dword [esp + 0x2c], 8
mov ebx, dword [esp + 0x18]
jae 0x100362ed
lea ebx, [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0xdc]
push eax
movzx eax, word [edi + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov edx, dword [esi + 0x8c]
movzx ecx, ax
mov eax, dword [esi + 0x5c]
push ecx
push ebx
push edx
push eax
push 0x10058c40
push 1
push 0x10069158
call fcn.10017d90
mov ecx, dword [esi + 0x90]
add esp, 0x20
cmp ecx, 6
je 0x10036343
mov edx, dword [esi + 0x90]
cmp edx, 5
jne 0x1003627a
push edi
jmp 0x1003626f
mov eax, dword [esi + 0x90]
cmp eax, 6
je 0x10036362
lea ecx, [esp + 0x14]
call fcn.10010e30
jmp 0x10036490
cmp dword [esp + 0x2c], 8
mov ebp, dword [esp + 0x18]
jae 0x10036371
lea ebp, [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0xdc]
movzx ecx, word [edi + 2]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x5c]
push edx
push ebp
push eax
push ecx
push 0x10058bc8
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x20
cmp dword [ebx + 0x28], 0xffffffff
je 0x1003627a
mov edx, dword [esi + 0x8c]
cmp edx, 2
je 0x1003621f
mov eax, dword [esi + 0x8c]
cmp eax, 3
je 0x1003621f
mov ecx, dword [esi + 0x5c]
push ecx
push 0x10058b90
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.10010e30
mov al, 1
jmp 0x10036492
cmp dword [esp + 0x2c], 8
mov ebp, dword [esp + 0x18]
jae 0x1003640c
lea ebp, [esp + 0x18]
movzx ecx, word [edi + 2]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x5c]
push edx
push ebp
push eax
push ecx
push 0x10058b38
push 1
push 0x10069158
call fcn.10017d90
mov edx, dword [esp + 0x74]
add esp, 0x1c
push edi
push edx
push ebx
mov ecx, esi
call fcn.10034b60
lea ecx, [esp + 0x14]
call fcn.10010e30
mov al, 1
jmp 0x10036492
lea ecx, [esi + 0xfc]
call fcn.10036c80
mov eax, dword [esp + 0x58]
push edi
push eax
push ebx
mov ecx, esi
call fcn.10035fc0
lea ecx, [esp + 0x14]
call fcn.10010e30
mov al, 1
jmp 0x10036492
cmp dword [esp + 0x2c], 8
jb 0x10036490
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100386ec
add esp, 4
xor al, al
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10038723
add esp, 0x3c
ret 0xc