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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5274e0
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x56617c]
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 dword [ebp - 0xcc], ecx
push 0
push 0x57b058
push 0x57b040
push 0
call fcn.004c8ec0
mov eax, dword [eax + 0x18]
push eax
call fcn.005183ba
add esp, 0x14
mov esi, eax
mov dword [ebp - 0xd0], esi
call fcn.004260b0
mov ecx, dword [ebp - 0xcc]
mov edi, dword [esi + 0x180]
movzx ebx, al
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ecx + 8]
call fcn.0044c5b0
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
call fcn.0041c2a0
add esi, 0xfffffffc
cmp esi, 0x10
ja case.default.0x4c1dd2
jmp dword [esi*4 + 0x4c26e0]
mov ecx, dword [ebp - 0xd0]
call fcn.004988c0
jmp case.default.0x4c1dd2
xor ecx, ecx
call fcn.00426180
mov esi, dword [ebp - 0xd0]
mov ecx, dword [0x57e8a4]
mov eax, dword [esi + 0x84]
mov dword [eax + 8], 0
test ecx, ecx
je case.default.0x4c1dd2
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [0x57e8a4]
test ecx, ecx
je case.default.0x4c1dd2
mov eax, dword [ecx + 0x130]
add ecx, 0x130
push 1
call dword [eax]
mov dword [0x57e8a4], 0
jmp case.default.0x4c1dd2
push 0x4c
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.005001b0
mov esi, dword [ebp - 0xcc]
lea eax, [ebp - 0x7c]
add esp, 0xc
mov ecx, dword [esi + 8]
push eax
call fcn.0044c5b0
push 0x4c
lea eax, [ebp - 0xc8]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005001b0
mov ecx, dword [esi + 8]
lea eax, [ebp - 0xc8]
add esp, 0xc
push eax
call fcn.0044c5b0
mov byte [ebp - 4], 1
cmp ebx, 1
je 0x4c20fa
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
mov eax, dword [ebp - 0x74]
call dword [eax + 0x78]
lea ecx, [ebp - 0x118]
mov esi, eax
call fcn.0041ad80
cmp dword [ebp - 0xe0], 0
mov dword [ebp - method.CStringBase.virtual_0], vtable.CStringUTF8.0
je 0x4c1ef7
lea ecx, [ebp - 0xe4]
call fcn.0041a760
mov dword [ebp - 0xdc], 0xffffffff
mov dword [ebp - 0xd8], 0xffffffff
push esi
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 3
call fcn.0041a9d0
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x118]
call fcn.0041a900
lea ecx, [ebp - 0x15c]
call fcn.0041c2a0
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x18]
cmp esi, dword [ebp - 0x14]
je 0x4c1f95
mov ecx, esi
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xcc], esi
call fcn.0041ad80
cmp dword [esi + 0x38], 0
mov dword [esi], vtable.CStringUTF8.0
je 0x4c1f6f
lea ecx, [esi + 0x34]
call fcn.0041a760
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 6
push eax
mov ecx, esi
call fcn.0041a900
add dword [ebp - 0x18], 0x44
jmp 0x4c1fa5
lea eax, [ebp - 0x118]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.004336b0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.0041c2a0
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0xc0]
call dword [eax + 0x78]
lea ecx, [ebp - 0x118]
mov esi, eax
call fcn.0041ad80
cmp dword [ebp - 0xe0], 0
mov dword [ebp - method.CStringBase.virtual_0], vtable.CStringUTF8.0
je 0x4c1fee
lea ecx, [ebp - 0xe4]
call fcn.0041a760
mov dword [ebp - 0xdc], 0xffffffff
mov dword [ebp - 0xd8], 0xffffffff
push esi
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 7
call fcn.0041a9d0
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x118]
call fcn.0041a900
lea ecx, [ebp - 0x15c]
call fcn.0041c2a0
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x18]
cmp esi, dword [ebp - 0x14]
je 0x4c208c
mov ecx, esi
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xcc], esi
call fcn.0041ad80
cmp dword [esi + 0x38], 0
mov dword [esi], vtable.CStringUTF8.0
je 0x4c2066
lea ecx, [esi + 0x34]
call fcn.0041a760
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 0xa
push eax
mov ecx, esi
call fcn.0041a900
add dword [ebp - 0x18], 0x44
jmp 0x4c209c
lea eax, [ebp - 0x118]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.004336b0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.0041c2a0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00457510
mov byte [ebp - 4], 0xb
call fcn.004260b0
cmp al, 1
je 0x4c20ea
call fcn.004c8ec0
push 0xfffffc5e
push 0x1f4
push 0x25
sub esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00457510
mov ecx, edi
call fcn.0045d5c0
lea ecx, [ebp - 0x28]
call fcn.0041f520
lea ecx, [ebp - 0x1c]
call fcn.0041f520
lea ecx, [ebp - 0xc0]
call fcn.0041c2a0
lea ecx, [ebp - 0x74]
call fcn.0041c2a0
jmp case.default.0x4c1dd2
mov esi, dword [ebp - 0xcc]
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [esi + 8]
call fcn.0044c5b0
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0xcc], eax
call fcn.0041c2a0
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x7c]
push eax
call fcn.0044c5b0
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
call fcn.0041c2a0
cmp ebx, 1
je case.default.0x4c1dd2
mov ecx, dword [edi]
push esi
push dword [ebp - 0xcc]
call fcn.0045bd40
jmp case.default.0x4c1dd2
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 8]
call fcn.0044c5b0
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0xcc], eax
call fcn.0041c2a0
cmp ebx, 1
je case.default.0x4c1dd2
mov edi, dword [edi]
mov esi, dword [edi + 0x278]
call fcn.00426550
mov ecx, dword [edi + 0x250]
movzx eax, al
push eax
xor eax, eax
cmp esi, 8
mov esi, dword [ebp - 0xcc]
setl al
add eax, 7
add eax, esi
push eax
call fcn.00454460
mov dword [edi + 0x27c], esi
mov dword [edi + 0x1f4], 1
jmp case.default.0x4c1dd2
push 0
mov ecx, edi
call fcn.0045da60
cmp ebx, 1
je case.default.0x4c1dd2
call fcn.004260b0
cmp al, 1
je case.default.0x4c1dd2
sub esp, 8
lea ecx, [edi + 8]
call fcn.004dc120
mov eax, dword [edi + 0x38]
mov dword [edi + 0x3c], eax
mov ecx, dword [edi + 4]
test ecx, ecx
je case.default.0x4c1dd2
mov eax, dword [ecx + 0x130]
add ecx, 0x130
push 1
call dword [eax]
mov dword [edi + 4], 0
jmp case.default.0x4c1dd2
call fcn.004260b0
cmp al, 1
je 0x4c2278
mov ecx, dword [edi]
test ecx, ecx
je 0x4c2278
mov edx, dword [edi + 4]
test edx, edx
je 0x4c225e
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x10]
cmp eax, 1
jne 0x4c2278
mov ecx, dword [edi + 4]
push 0
mov eax, dword [ecx]
call dword [eax + 0x20]
jmp 0x4c2278
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 1
jne 0x4c2278
mov ecx, dword [edi]
lea eax, [edi + 8]
push 0x10
push eax
mov edx, dword [ecx]
call dword [edx + 0x13c]
cmp ebx, 1
je case.default.0x4c1dd2
call fcn.004260b0
cmp al, 1
je 0x4c22b9
sub esp, 8
lea ecx, [edi + 8]
call fcn.004dc120
mov eax, dword [edi + 0x38]
mov dword [edi + 0x3c], eax
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4c22b9
mov eax, dword [ecx + 0x130]
add ecx, 0x130
push 1
call dword [eax]
mov dword [edi + 4], 0
mov eax, dword [edi + 0x38]
mov dword [edi + 0x3c], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x4c2209
mov eax, dword [ecx + 0x130]
add ecx, 0x130
push 1
call dword [eax]
mov dword [edi], 0
jmp 0x4c2209
mov esi, dword [ebp - 0xd0]
mov ecx, dword [esi + 0x16c]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ecx, dword [esi + 0x16c]
mov esi, dword [ecx + 0x130]
add ecx, 0x130
push 1
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 4]
push 0
push edx
push 0x500
push 0
push 0
call dword [esi + 0xe0]
jmp case.default.0x4c1dd2
cmp ebx, 1
je case.default.0x4c1dd2
jmp 0x4c22b9
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 8]
call fcn.0044c5b0
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
call fcn.0041c2a0
cmp ebx, 1
je case.default.0x4c1dd2
mov ecx, dword [edi]
push esi
call fcn.0045bc30
jmp case.default.0x4c1dd2
mov ecx, dword [0x57e89c]
push 0
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ebx, dword [ebp - 0xd0]
push 0
mov ecx, dword [ebx + 0x16c]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebx + 0x168]
push 0
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebx + 0x174]
push 0
mov eax, dword [ecx]
call dword [eax + 0x20]
sub esp, 8
push 0
call fcn.0049ae80
mov dword [ebx + 0xac], 0
call fcn.0042a8c0
push ecx
push 1
mov ecx, eax
call fcn.0042d240
jmp case.default.0x4c1dd2
cmp ebx, 1
je case.default.0x4c1dd2
mov ecx, dword [ebp - 0xd0]
call fcn.004a3730
jmp case.default.0x4c1dd2
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 8]
call fcn.0044c5b0
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
call fcn.0041c2a0
cmp ebx, 1
je case.default.0x4c1dd2
mov ecx, dword [edi]
push esi
call fcn.0045bb30
jmp case.default.0x4c1dd2
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 8]
call fcn.0044c5b0
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
call fcn.0041c2a0
cmp ebx, 1
je case.default.0x4c1dd2
mov ecx, dword [edi]
push esi
call fcn.0045bdf0
jmp case.default.0x4c1dd2
cmp ebx, 1
je case.default.0x4c1dd2
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x144]
jmp case.default.0x4c1dd2
cmp ebx, 1
je case.default.0x4c1dd2
mov ebx, dword [ebp - 0xd0]
lea eax, [ebx + 0x104]
mov ecx, eax
mov dword [ebp - 0xcc], eax
call fcn.004afd40
push 1
push 4
mov ecx, ebx
call fcn.00498a80
xor edi, edi
mov dword [ebp - 0x2c], 0x1f
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], 0x10
call fcn.004cc620
mov dword [ebp - 0x24], eax
call fcn.004296f0
mov ebx, dword [ebp - 0xcc]
mov dword [ebp - 0x20], eax
mov esi, edi
call fcn.004cc620
mov edx, dword [0x592878]
mov ecx, 0x592878
mov dword [ebp - 0xd4], eax
call dword [edx + 0x2c]
test eax, eax
je 0x4c254a
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0xd4]
mov ecx, dword [ecx + 4]
call fcn.0042e0b0
push ecx
lea ecx, [ebp - 0x30]
call fcn.0041c420
test eax, eax
jne 0x4c254a
cmp dword [0x592ad4], 1
jne 0x4c2506
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x4c250c
call dword [sym.imp.WINMM.dll_timeGetTime]
not esi
mov dword [ebp - 0x28], eax
push 0
and esi, 1
mov ecx, ebx
add esi, esi
inc edi
push esi
push 4
call fcn.004b0290
call fcn.0042a8c0
push ecx
push 1
mov ecx, eax
call fcn.0042d240
push 1
push 0x190
lea ecx, [ebp - 0x30]
call fcn.0041c300
cmp edi, 5
jl 0x4c24b3
push 0
push 0
push 4
mov ecx, ebx
call fcn.004b0290
mov ebx, dword [ebp - 0xd0]
mov ecx, ebx
push 1
push 0xffffffffffffffff
call fcn.00498a80
call fcn.0042a8c0
push ecx
push 1
mov ecx, eax
call fcn.0042d240
mov ecx, dword [ebp - 0xcc]
call fcn.004afd40
sub esp, 0x10
push 5
jmp 0x4c26b6
cmp ebx, 1
je case.default.0x4c1dd2
mov ebx, dword [ebp - 0xd0]
lea eax, [ebx + 0x104]
mov ecx, eax
mov dword [ebp - 0xcc], eax
call fcn.004afd40
push 1
push 5
mov ecx, ebx
call fcn.00498a80
xor edi, edi
mov dword [ebp - 0x2c], 0x1f
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], 0x10
call fcn.004cc620
mov dword [ebp - 0x24], eax
call fcn.004296f0
mov ebx, dword [ebp - 0xcc]
mov dword [ebp - 0x20], eax
mov esi, edi
call fcn.004cc620
mov edx, dword [0x592878]
mov ecx, 0x592878
mov dword [ebp - 0xd4], eax
call dword [edx + 0x2c]
test eax, eax
je 0x4c2679
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0xd4]
mov ecx, dword [ecx + 4]
call fcn.0042e0b0
push ecx
lea ecx, [ebp - 0x30]
call fcn.0041c420
test eax, eax
jne 0x4c2679
cmp dword [0x592ad4], 1
jne 0x4c2635
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x4c263b
call dword [sym.imp.WINMM.dll_timeGetTime]
not esi
mov dword [ebp - 0x28], eax
push 0
and esi, 1
mov ecx, ebx
add esi, esi
inc edi
push esi
push 5
call fcn.004b0290
call fcn.0042a8c0
push ecx
push 1
mov ecx, eax
call fcn.0042d240
push 1
push 0x190
lea ecx, [ebp - 0x30]
call fcn.0041c300
cmp edi, 5
jl 0x4c25e2
push 0
push 0
push 5
mov ecx, ebx
call fcn.004b0290
mov ebx, dword [ebp - 0xd0]
mov ecx, ebx
push 1
push 0xffffffffffffffff
call fcn.00498a80
call fcn.0042a8c0
push ecx
push 1
mov ecx, eax
call fcn.0042d240
mov ecx, dword [ebp - 0xcc]
call fcn.004afd40
sub esp, 0x10
push 6
mov ecx, dword [ebx + 0x88]
call fcn.004cb230
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.004fe27d
mov esp, ebp
pop ebp
ret