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

Disassembly:
sub esp, 0x3e0
mov eax, dword [0x432070]
xor eax, esp
mov dword [esp + 0x3dc], eax
mov eax, dword [0x4333f0]
push ebx
push ebp
xor ebp, ebp
cmp eax, ebp
push esi
push edi
jl 0x4027ab
cmp eax, dword [0x454618]
jg 0x4027ab
mov ebx, 1
cmp dword [0x45521e], ebx
jne 0x402056
mov dword [0x454168], ebp
mov ecx, 0x455208
cmp eax, 9
jne 0x402009
push 0x53
push str.218.54.30.235
jmp 0x402016
movzx eax, word [0x454198]
push eax
push 0x454170
call fcn.004053a0
mov esi, eax
cmp esi, ebp
je 0x402044
mov dword [0x454168], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x3e8
mov dword [0x454264], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
jmp 0x4027c8
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
jmp 0x4027c8
push 0x4544f8
mov ecx, 0x454618
call fcn.00403220
test eax, eax
je 0x402791
mov eax, dword [0x455138]
mov ecx, dword [0x455130]
mov edx, dword [0x455134]
push 0x3c6
mov dword [0x454608], eax
mov dword [0x454600], ecx
mov ecx, dword [0x45513c]
mov dword [0x454604], edx
mov edx, dword [0x4550ac]
lea eax, [esp + 0x24]
push ebp
push eax
mov dword [0x45460c], ecx
mov dword [0x454578], edx
call fcn.00418590
mov eax, dword [0x454168]
add esp, 0xc
cmp eax, ebx
jne 0x40218a
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x45416c]
mov word [esp + eax + 0xd2], cx
add eax, 2
cmp cx, bp
jne 0x4020d0
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x4541ba]
mov word [esp + eax + 0x112], cx
add eax, 2
cmp cx, bp
jne 0x4020f0
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x45419c]
mov word [esp + eax + 0xd6], cx
add eax, 2
cmp cx, bp
jne 0x402110
mov ecx, dword [str.9000]
mov dl, byte [0x4302cc]
mov dword [0x444168], ecx
mov byte [0x44416c], dl
mov ecx, 0xf1
lea esi, [esp + 0x20]
mov edi, 0x44416c
rep movsd dword es:[edi], dword [esi]
push ebx
push 0x3ca
push 0x444168
mov ecx, 0x455208
movsw word es:[edi], word [esi]
mov dword [0x4333f8], 0x3ca
call fcn.00405590
mov dword [0x454168], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x454264], eax
jmp 0x4027c6
cmp eax, 2
jne 0x4021b5
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x454264]
cmp eax, 0x1388
jbe 0x4027c6
mov dword [0x454168], ebp
call esi
jmp 0x4027b7
cmp eax, 3
jne 0x4023ea
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x454264]
cmp eax, 0x3e8
jbe 0x4027c6
cmp dword [0x4333f0], 6
mov eax, 0xb4
lea ecx, [eax - 0x32]
jne 0x4021f2
mov eax, 0x320
mov ecx, 0x32
mov edx, dword [0x454604]
push ecx
mov ecx, dword [0x454600]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x454608]
mov dword [eax + 4], edx
mov edx, dword [0x45460c]
mov dword [eax + 8], ecx
mov ecx, 0x454618
mov dword [eax + 0xc], edx
call fcn.00403290
test eax, eax
je 0x402338
mov eax, dword [0x4333f0]
cmp eax, 5
ja 0x40228e
push 0x4302d0
push 0x455140
call fcn.00416f1f
add esp, 8
test eax, eax
je 0x40226b
xor eax, eax
movzx ecx, word [eax + 0x455140]
mov word [eax + 0x454580], cx
add eax, 2
cmp cx, bp
jne 0x402250
jmp 0x402356
push str.game
push 0x455140
call fcn.00416f1f
add esp, 8
test eax, eax
je 0x402356
mov dword [esp + 0x38], ebx
jmp 0x402356
cmp eax, 6
jne 0x4022bb
xor eax, eax
jmp 0x4022a0
movzx ecx, word [eax + 0x455140]
mov word [eax + 0x454580], cx
add eax, 2
cmp cx, bp
jne 0x4022a0
jmp 0x402356
cmp eax, 9
jne 0x402356
mov edx, str.LobbyView
mov ecx, 0x455140
mov edi, edi
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x4022f6
cmp ax, bp
je 0x4022f2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x4022f6
add ecx, 4
add edx, 4
cmp ax, bp
jne 0x4022d0
xor eax, eax
jmp 0x4022fb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
jne 0x402319
xor eax, eax
movzx ecx, word [eax + 0x455140]
mov word [eax + 0x454580], cx
add eax, 2
cmp cx, bp
jne 0x402301
jmp 0x402356
xor eax, eax
jmp 0x402320
movzx ecx, word [eax + 0x4302f8]
mov word [eax + 0x454580], cx
add eax, 2
cmp cx, bp
jne 0x402320
jmp 0x402356
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [eax + 0x430314]
mov word [eax + 0x454580], cx
add eax, 2
cmp cx, bp
jne 0x402340
call esi
mov cl, byte [0x43031c]
mov dword [0x454264], eax
mov eax, dword [str.6004]
mov dword [0x444168], eax
mov byte [0x44416c], cl
xor eax, eax
jmp 0x402380
movzx ecx, word [eax + 0x4544f8]
mov word [esp + eax + 0x3c], cx
add eax, 2
cmp cx, bp
jne 0x402380
xor eax, eax
jmp 0x4023a0
movzx ecx, word [eax + 0x454580]
mov word [esp + eax + 0x78], cx
add eax, 2
cmp cx, bp
jne 0x4023a0
mov ecx, 0xf1
lea esi, [esp + 0x20]
mov edi, 0x44416c
rep movsd dword es:[edi], dword [esi]
push ebx
push 0x3ca
push 0x444168
mov ecx, 0x455208
movsw word es:[edi], word [esi]
mov dword [0x4333f8], 0x3ca
call fcn.00405590
jmp 0x4027c6
cmp eax, 4
jne 0x4027c6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x3e8
cdq
idiv dword [0x454254]
sub ecx, dword [0x454264]
cmp ecx, eax
jbe 0x4027c6
mov edx, dword [0x454608]
mov edi, dword [0x45460c]
mov esi, dword [0x454600]
mov ebx, dword [0x454604]
mov eax, edx
mov ecx, edi
sub eax, esi
sub ecx, ebx
cmp dword [0x4333f0], 6
mov dword [esp + 0x14], ebp
jne 0x40245b
push 0
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
jmp 0x4024e1
cmp dword [0x4333f0], 5
ja 0x4024c4
cmp dword [0x454474], 3
jne 0x4024c4
mov al, byte [0x430390]
mov edx, dword [0x43038c]
mov byte [0x44416c], al
mov eax, dword [0x4551fc]
mov dword [0x444168], edx
test eax, eax
je 0x4027c6
push 0x4333f8
call eax
mov eax, dword [0x455200]
add esp, 4
test eax, eax
je 0x4027c6
push 0x44416c
call eax
mov eax, dword [0x4333f8]
lea ecx, [eax - 1]
add esp, 4
cmp ecx, 0xfffa
jmp 0x402764
mov edx, dword [0x454578]
mov esi, dword [esp + 0x14]
push 0
push edx
sub esp, 0x10
mov edx, esp
mov dword [edx], ebp
mov dword [edx + 4], esi
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, 0x4551dc
call fcn.00404410
test eax, eax
je 0x4027c6
mov esi, dword [0x4551dc]
test esi, esi
je 0x4027c6
mov eax, dword [0x4333f0]
test eax, eax
jne 0x402542
push 0xd0
push 0x140
push eax
push 0x10e
push esi
mov ecx, 0x4551c4
call fcn.00403720
push 0x14
push 0
push 0xbc
push 0x140
push 0x21c
push 0x104
jmp 0x40270b
cmp eax, 1
jne 0x40257d
push 0xd0
push 0x140
push 0
push 0x64
push esi
mov ecx, 0x4551c4
call fcn.00403720
push 0x14
push 0
push 0xbc
push 0x140
push 0x203
push 0xe6
jmp 0x40270b
cmp eax, 2
je 0x4026da
cmp eax, 3
je 0x4026da
mov ecx, 0x4551c4
cmp eax, 4
jne 0x4025ea
push 0xad
push 0x140
push 6
push 0x10e
push esi
call fcn.00403720
push 0
push 0xf0
push 0x14
push 0x50
push 6
push 0x2a8
push esi
mov ecx, 0x4551c4
call fcn.00403950
push 0x14
push 0
push 0x9b
push 0x140
push 0x24e
push 0x14a
jmp 0x40270b
cmp eax, 5
jne 0x402640
push 0xd0
push 0x140
push 0
push 0x69
push esi
call fcn.00403720
push 0
push 0x8c
push 0x14
push 0xb4
push 0
push 0x1b3
push esi
mov ecx, 0x4551c4
call fcn.00403950
push 0x14
push 0
push 0xbc
push 0x140
push 0x1ea
push 0xe6
jmp 0x40270b
cmp eax, 6
jne 0x402676
push 0xdc
push 0x190
push 0
push 0x5a
push esi
call fcn.00403720
push 0x17
push 0
push 0xc5
push 0x190
push 0x226
push 0xfa
jmp 0x40270b
cmp eax, 9
jne 0x4026ac
push 0xdc
push 0x172
push 0x1e
push 0x12c
push esi
call fcn.00403720
push 0x19
push 0
push 0xc3
push 0x172
push 0x203
push 0x14a
jmp 0x40270b
push 0xc8
push 0x154
push 0
push 0x78
push esi
call fcn.00403720
push 0x1e
push 0
push 0xaa
push 0x154
push 0x226
push 0x14a
jmp 0x40270b
push 0xbc
push 0x140
push 0
push 0x6e
push esi
mov ecx, 0x4551c4
call fcn.00403720
push 0x14
push 0
push 0xa8
push 0x140
push 0x186
push 0x82
push esi
mov ecx, 0x4551c4
call fcn.00403950
mov eax, dword [str.6003]
mov cl, byte [0x430498]
mov edx, dword [0x45425c]
push 0x4333f8
push 0x44416c
mov dword [0x444168], eax
mov eax, dword [0x4551c8]
push edx
mov byte [0x44416c], cl
mov ecx, dword [0x4551c4]
push eax
push ecx
call fcn.0040d880
add esp, 0x14
test eax, eax
jne 0x4027c6
mov eax, dword [0x4333f8]
lea edx, [eax - 1]
cmp edx, 0xfffa
ja 0x4027c6
add eax, 4
push 0
push eax
push 0x444168
mov ecx, 0x455208
mov dword [0x4333f8], eax
call fcn.00405590
test eax, eax
je 0x4027c6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x454264], eax
jmp 0x4027c6
mov dword [0x454600], ebp
mov dword [0x454604], ebp
mov dword [0x454608], ebp
mov dword [0x45460c], ebp
jmp 0x4027c6
mov dword [0x454168], ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x455208
mov dword [0x454264], eax
call fcn.00405550
xor eax, eax
mov ecx, dword [esp + 0x3ec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004167a0
add esp, 0x3e0
ret