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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100222e7
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x1002d018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10032d40]
cmp eax, 1
jne 0x100152c1
mov edi, 0x100272d4
sub edi, 0x6fad512a
lea esi, [ebp - 0xa8]
call fcn.1001a470
mov edi, eax
mov dword [ebp - 4], 0
call fcn.10008020
push eax
call fcn.10007f90
mov ecx, dword [0x10032c4c]
mov esi, eax
shl esi, 6
add esi, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
push edi
call edx
mov eax, dword [eax]
mov dword [esi + eax + 0x23c41], 0x30
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov word [ebp - 0x94], ax
mov byte [ebp - 0x92], al
jmp 0x10015559
cmp eax, 2
jne 0x10015333
mov edi, 0x100272d4
sub edi, 0x6fad512a
lea esi, [ebp - 0x78]
call fcn.1001a470
mov edi, eax
mov dword [ebp - 4], 1
call fcn.10008020
push eax
call fcn.10007f90
mov ecx, dword [0x10032c4c]
mov edx, dword [ecx]
mov esi, eax
shl esi, 6
add esi, eax
mov eax, dword [edx + 0x40]
push edi
call eax
mov ecx, dword [eax]
xor eax, eax
mov dword [ecx + esi + 0x23c41], 0x31
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov word [ebp - 0x64], ax
mov byte [ebp - 0x62], al
jmp 0x10015559
cmp eax, 3
jne 0x100153c1
mov edi, 0x100272d4
sub edi, 0x6fad512a
lea esi, [ebp - 0xd8]
call fcn.1001a470
mov edi, eax
mov dword [ebp - 4], 2
call fcn.10008020
push eax
call fcn.10007f90
mov ecx, dword [0x10032c4c]
mov edx, dword [ecx]
mov esi, eax
shl esi, 6
add esi, eax
mov eax, dword [edx + 0x40]
push edi
call eax
mov ecx, dword [eax]
xor eax, eax
mov dword [esi + ecx + 0x23c41], 0x32
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov word [ebp - 0xc4], ax
mov byte [ebp - 0xc2], al
jmp 0x10015559
cmp eax, 4
jne 0x10015442
mov edi, 0x100272d4
sub edi, 0x6fad512a
lea esi, [ebp - 0x90]
call fcn.1001a470
mov edi, eax
mov dword [ebp - 4], 3
call fcn.10008020
push eax
call fcn.10007f90
mov ecx, dword [0x10032c4c]
mov edx, dword [ecx]
mov esi, eax
shl esi, 6
add esi, eax
mov eax, dword [edx + 0x40]
push edi
call eax
mov ecx, dword [eax]
xor eax, eax
mov dword [ecx + esi + 0x23c41], 0x33
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov word [ebp - 0x7c], ax
mov byte [ebp - 0x7a], al
jmp 0x10015559
cmp eax, 5
jne 0x100154d0
mov edi, 0x100272d4
sub edi, 0x6fad512a
lea esi, [ebp - 0xc0]
call fcn.1001a470
mov edi, eax
mov dword [ebp - 4], 4
call fcn.10008020
push eax
call fcn.10007f90
mov ecx, dword [0x10032c4c]
mov edx, dword [ecx]
mov esi, eax
shl esi, 6
add esi, eax
mov eax, dword [edx + 0x40]
push edi
call eax
mov ecx, dword [eax]
xor eax, eax
mov dword [esi + ecx + 0x23c41], 0x35
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov word [ebp - 0xac], ax
mov byte [ebp - 0xaa], al
jmp 0x10015559
cmp eax, 6
jne 0x10015559
mov edi, 0x100272d4
sub edi, 0x6fad512a
lea esi, [ebp - 0xf0]
call fcn.1001a470
mov edi, eax
mov dword [ebp - 4], 5
call fcn.10008020
push eax
call fcn.10007f90
mov ecx, dword [0x10032c4c]
mov edx, dword [ecx]
mov esi, eax
shl esi, 6
add esi, eax
mov eax, dword [edx + 0x40]
push edi
call eax
mov ecx, dword [eax]
xor eax, eax
mov dword [ecx + esi + 0x23c41], 0x36
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov word [ebp - 0xdc], ax
mov byte [ebp - 0xda], al
cmp dword [0x10032d0c], 0
je 0x1001558f
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
cmp dword [0x1003335c], eax
ja 0x1001558f
push 0x505
call fcn.10009570
xor edi, edi
mov esi, eax
call fcn.100094b0
call ebx
add eax, 0x64
mov dword [0x1003335c], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor eax, eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], eax
mov ecx, 0x6c
xor eax, eax
lea ebx, [ebx]
mov dl, byte [eax + 0x100272d4]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x28], dl
jns 0x100155cd
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x16
jl 0x100155b0
mov byte [ebp - 0x12], 0
mov dword [ebp - 4], 6
mov ecx, dword [0x10032c4c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
lea edx, [ebp - 0x28]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [ebp - 0xf4]
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
mov byte [ebp - 0x12], al
cmp byte [edx + ecx + 0x23c41], 0x35
jne 0x10015851
push 0x20
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_]
add esp, 4
mov esi, eax
mov ecx, 0x6c
xor eax, eax
jmp 0x10015640
mov dl, byte [eax + 0x100272d4]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x40], dl
jns 0x1001565d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x16
jl 0x10015640
mov byte [ebp - 0x2a], 0
mov dword [ebp - 4], 7
mov ecx, 0x49
xor eax, eax
mov dl, byte [eax + 0x10025a70]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x60], dl
jns 0x10015692
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1c
jl 0x10015675
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 8
mov ecx, dword [0x10032c4c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
lea edx, [ebp - 0x40]
push edx
call eax
mov ecx, dword [0x10032c4c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x40]
mov edi, eax
lea eax, [ebp - 0x60]
push eax
call edx
add eax, dword [ebp - 0xf8]
mov ecx, dword [edi]
mov edx, dword [eax + ecx]
add edx, 8
push edx
push 0x10027420
push esi
call dword [sym.imp.MSVCR100.dll_sprintf]
xor eax, eax
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], al
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], ax
mov byte [ebp - 0x2a], al
call fcn.10009cb0
test al, al
je 0x100157a1
push esi
push str._Ada_GM_Dalam_Room___Nickname_GM_:__s
call fcn.100010f0
mov ecx, dword [0x10032c4c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
add esp, 8
push 0
push 2
push 0x9c
push 0xd
push str.AddressFF
call edx
push eax
push 4
push str.keybd_event
push 0x100266e4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call ebx
push eax
call fcn.10019d10
add esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x10032f50], eax
ja 0x10015851
push 0x70a
call fcn.10009570
mov edi, str.Exit_Game
mov esi, eax
call fcn.100094b0
push 0
push 0
push 0x9c
push 0xd
jmp 0x10015812
call fcn.10009d40
cmp eax, 3
jne 0x10015851
push esi
push str._Ada_GM_Dalam_LOBBY___Nickname_GM_:__s
call fcn.100010f0
mov ecx, dword [0x10032c4c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
add esp, 8
push 0
push 2
push 0x9c
push 0x1b
push str.AddressFF
call edx
push eax
push 4
push str.keybd_event
push 0x100266e4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call ebx
push eax
call fcn.10019d10
add esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x10032f50], eax
ja 0x10015851
push 0
push 0
push 0x9c
push 0x1b
mov ecx, dword [0x10032c4c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
push str.AddressFF
call edx
push eax
push 4
push str.keybd_event
push 0x100266e4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call ebx
push eax
call fcn.10019d10
add esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x64
mov dword [0x10032f50], eax
mov eax, dword [ebp - 0xf4]
add dword [ebp - 0xf8], 4
add eax, 0x41
mov dword [ebp - 0xf4], eax
cmp eax, 0x410
jl 0x100155a3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001fd05
mov esp, ebp
pop ebp
ret