Function at 0x222140
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x300b73
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x32f584]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x32f584]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov byte [esp + 0x13], bl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], str.:7799
mov dword [esp + 0x2c], str.:6217
mov dword [esp + 0x30], str.:25871
nop
mov dword [esp + 0x14], ebx
mov dword [esp + 0xbc], 0xf
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
mov edx, dword [esp + 0x18]
mov dword [esp + 0xf0], ebx
mov eax, dword [edx + 0xbc]
lea ecx, [esp + 0xa8]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x24]
mov edi, 7
xor edx, edx
mov eax, ecx
mov byte [esp + 0x12], bl
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], dx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x222212
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x94]
call fcn.00215a50
mov byte [esp + 0xf0], 1
test byte [0x337450], 1
jne 0x2222a6
or dword [0x337450], 1
mov eax, dword [esp + 0x18]
mov byte [esp + 0xf0], 2
mov ecx, dword [eax + 0xbc]
mov ecx, dword [ecx + 0x24]
xor edx, edx
mov eax, ecx
mov dword [0x3373e4], edi
mov dword [0x3373e0], ebx
mov word [0x3373d0], dx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x222276
sub eax, esi
sar eax, 1
push eax
push ecx
mov ecx, 0x3373d0
call fcn.00215a50
push 0x309810
call fcn.00292da7
add esp, 4
mov byte [esp + 0xf0], 1
mov dword [esp + 0x1c], ebx
lea ebx, [ebx]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + eax*4 + 0x28]
mov ecx, eax
lea esi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x2222c0
sub ecx, esi
sar ecx, 1
mov ebx, ecx
call fcn.00230d60
cmp dword [0x3373e4], 8
mov eax, dword [0x3373d0]
jae 0x2222e9
mov eax, 0x3373d0
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0xbc]
mov dword [edx + 0x24], eax
mov ecx, dword [ecx + 0xbc]
lea esi, [esp + 0xc4]
call fcn.00221000
xor ebx, ebx
push 0xffffffffffffffff
mov byte [esp + 0xf4], 3
push ebx
mov esi, 0xf
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x40], vtable.tpsp::CCurl.0
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00212c50
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
mov edi, 0x10
mov byte [esp + 0xf0], 7
cmp dword [esp + 0xd8], edi
jb 0x22237c
mov eax, dword [esp + 0xc4]
push eax
call fcn.002925e4
add esp, 4
lea edx, [esp + 0x38]
lea ecx, [esp + 0x34]
mov dword [esp + 0xd8], esi
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
call fcn.00213470
push 0xffffffffffffffff
push ebx
test eax, eax
je 0x222460
lea ecx, [esp + 0x94]
push ecx
mov ecx, 0x3373d0
call fcn.00215950
mov dword [esp + 0x34], vtable.tpsp::CCurl.0
mov byte [esp + 0xf0], 0xb
cmp dword [esp + 0x84], edi
jb 0x2223e1
mov edx, dword [esp + 0x70]
push edx
call fcn.002925e4
add esp, 4
mov byte [esp + 0xf0], 0xa
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
cmp dword [esp + 0x68], edi
jb 0x22240e
mov eax, dword [esp + 0x54]
push eax
call fcn.002925e4
add esp, 4
mov byte [esp + 0xf0], 1
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
cmp dword [esp + 0x4c], edi
jb 0x222435
mov ecx, dword [esp + 0x38]
push ecx
call fcn.002925e4
add esp, 4
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
xor ebx, ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x1c], eax
cmp eax, 3
jb 0x2222b0
lea esi, [ebx + 0xf]
lea edi, [ebx + 0x10]
jmp 0x2224fc
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1e], 1
call fcn.00212c50
mov dword [esp + 0x34], vtable.tpsp::CCurl.0
mov byte [esp + 0xf0], 9
cmp dword [esp + 0x84], edi
jb 0x22249c
mov eax, dword [esp + 0x70]
push eax
call fcn.002925e4
add esp, 4
mov byte [esp + 0xf0], 8
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
cmp dword [esp + 0x68], edi
jb 0x2224c9
mov ecx, dword [esp + 0x54]
push ecx
call fcn.002925e4
add esp, 4
mov byte [esp + 0xf0], 1
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
cmp dword [esp + 0x4c], edi
jb 0x2224f0
mov edx, dword [esp + 0x38]
push edx
call fcn.002925e4
add esp, 4
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0xf0], bl
cmp dword [esp + 0xa0], 8
jb 0x22251d
mov eax, dword [esp + 0x8c]
push eax
call fcn.002925e4
add esp, 4
xor ecx, ecx
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], cx
cmp byte [esp + 0x12], bl
je 0x222574
cmp dword [esp + 0xb8], ebx
je 0x22257c
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 7
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push str.Status:
mov byte [ecx], bl
call fcn.00212a60
lea ecx, [esp + 0x3c]
call fcn.0022f590
mov dword [esp + 0x14], eax
jmp 0x22257c
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0xf0], 0xffffffff
cmp dword [esp + 0xbc], edi
jb 0x2225a0
mov edx, dword [esp + 0xa8]
push edx
call fcn.002925e4
add esp, 4
cmp dword [esp + 0x14], ebx
je 0x2225c9
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x24]
cmp eax, 0x493e0
ja 0x2225cd
xor ebx, ebx
jmp 0x2221b0
mov al, 1
jmp 0x2225d1
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00292239
mov esp, ebp
pop ebp
ret 4