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

Disassembly:
sub esp, 0xd8
mov eax, dword [0x57f7c4]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
mov ebp, dword [esp + 0xe4]
push esi
push edi
mov edi, ecx
movzx eax, word [edi]
add eax, 0xffffdbff
cmp eax, 0xb
ja case.0x48be12.9219
jmp dword [eax*4 + 0x48c920]
cmp dword [ebp + 0x558c], 0
jne 0x48c902
cmp dword [ebp + 0x55a4], 0
jne 0x48c902
cmp dword [ebp + 0x147c], 0
jne 0x48c902
mov eax, dword [edi + 2]
mov ecx, dword [ebp + 0xe0]
push eax
call fcn.0041c6e0
mov ebx, eax
test ebx, ebx
je 0x48bfaa
cmp dword [ebx + 0x558c], 0
jne 0x48bfaa
cmp dword [ebx + 0x55a4], 0
jne 0x48bfaa
cmp dword [ebx + 0x147c], 0
jne 0x48bfaa
mov cl, byte [ebx + 0x12d]
cmp cl, byte [ebp + 0x12d]
je 0x48bea5
movzx eax, word [ebp + 0x160]
cmp ax, 0x28
je 0x48bea5
cmp ax, 0x27
jne 0x48bfaa
cmp dword [ebx + 0x15c0], 0
jne 0x48bfaa
cmp dword [ebp + 0x15c0], 0
jne 0x48bfaa
cmp dword [ebx + 0x1638], 0
jne 0x48bfaa
cmp dword [ebp + 0x1638], 0
jne 0x48bfaa
cmp ebx, ebp
je case.0x48be12.9219
mov esi, ebp
call fcn.0048b3c0
test al, al
jne 0x48bf81
mov esi, ebx
call fcn.0048b3c0
test al, al
jne 0x48bf81
mov dword [ebp + 0x558c], 1
mov edx, dword [ebx + 0xdc]
mov dword [ebp + 0x5594], edx
mov dword [ebx + 0x558c], 2
mov eax, dword [ebp + 0xdc]
mov dword [ebx + 0x5594], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x2710
mov ecx, 0x2401
mov word [esp + 0x14], cx
mov dword [ebp + 0x5590], eax
mov dword [ebx + 0x5590], eax
mov edx, dword [ebp + 0xdc]
mov eax, dword [ebx + 0xdc]
push 0xa
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
mov dword [esp + 0x1e], edx
mov dword [esp + 0x22], eax
call fcn.004ed0e0
push 0xa
lea edx, [esp + 0x18]
push edx
mov ecx, ebx
call fcn.004ed0e0
jmp 0x48c902
mov ecx, dword [edi + 2]
push 7
lea edx, [esp + 0x18]
mov eax, 0x2402
mov dword [esp + 0x1b], ecx
push edx
mov ecx, ebp
mov word [esp + 0x1c], ax
mov byte [esp + 0x1e], 4
call fcn.004ed0e0
jmp 0x48c902
mov ecx, dword [edi + 2]
push 7
lea edx, [esp + 0x24]
mov eax, 0x2402
mov dword [esp + 0x27], ecx
push edx
mov ecx, ebp
mov word [esp + 0x28], ax
mov byte [esp + 0x2a], 2
call fcn.004ed0e0
jmp 0x48c902
cmp dword [ebp + 0x558c], 2
jne 0x48c902
mov eax, dword [ebp + 0x5594]
mov ecx, dword [ebp + 0xe0]
push eax
call fcn.0041c6e0
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x48c902
cmp dword [esi + 0x15c0], eax
jne 0x48c902
cmp dword [ebp + 0x15c0], eax
jne 0x48c902
cmp dword [esi + 0x1638], eax
jne 0x48c902
cmp dword [ebp + 0x1638], eax
jne 0x48c902
cmp esi, ebp
jne 0x48c038
push eax
jmp 0x48c8f9
mov ecx, 0x2402
mov word [esp + 0x20], cx
push 7
mov ecx, esi
cmp byte [edi + 2], al
jne 0x48c08c
mov dword [esi + 0x558c], eax
mov dword [esi + 0x5590], eax
mov dword [esi + 0x5594], eax
mov edx, dword [ebp + 0xdc]
mov dword [ebp + 0x558c], eax
mov dword [ebp + 0x5590], eax
mov dword [ebp + 0x5594], eax
mov byte [esp + 0x26], al
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x2b], edx
call fcn.004ed0e0
jmp 0x48c902
mov eax, 5
mov dword [ebp + 0x558c], eax
mov dword [esi + 0x558c], eax
or eax, 0xffffffff
mov dword [ebp + 0x5590], eax
mov dword [esi + 0x5590], eax
mov edx, dword [ebp + 0xdc]
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x2a], 1
mov dword [esp + 0x2b], edx
call fcn.004ed0e0
lea edi, [ebp + 0x15e8]
mov eax, edi
call fcn.00454800
lea ebx, [esi + 0x15e8]
mov eax, ebx
call fcn.00454800
mov eax, edi
call fcn.0048b7b0
mov eax, ebx
call fcn.0048b7b0
mov dword [edi], 3
mov edx, dword [esi + 0xdc]
mov ecx, 0x2407
push 7
lea eax, [esp + 0x18]
mov word [esp + 0x18], cx
push eax
mov ecx, ebp
mov dword [ebx], 3
mov byte [esp + 0x22], 0
mov dword [esp + 0x1e], edx
call fcn.004ed0e0
mov ecx, dword [ebp + 0xdc]
push 7
lea edx, [esp + 0x18]
mov dword [esp + 0x1a], ecx
push edx
mov ecx, esi
call fcn.004ed0e0
jmp 0x48c902
cmp dword [ebp + 0x558c], 4
jne 0x48c902
mov ecx, dword [ebp + 0xdc]
mov edx, dword [ebp + 0x5594]
mov eax, 0x2406
mov dword [esp + 0x17], ecx
mov ecx, dword [ebp + 0xe0]
push edx
mov word [esp + 0x18], ax
mov byte [esp + 0x1a], 2
call fcn.0041c6e0
mov ebx, eax
test ebx, ebx
je 0x48c1c2
cmp dword [ebx + 0x15c0], 0
jne 0x48c1c2
cmp dword [ebp + 0x15c0], 0
jne 0x48c1c2
cmp dword [ebx + 0x1638], 0
jne 0x48c1c2
cmp dword [ebp + 0x1638], 0
jne 0x48c1c2
cmp ebx, ebp
je case.0x48be12.9219
push ebx
call fcn.0048b7d0
mov edi, ebx
call fcn.00489e70
push 7
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
call fcn.004ed0e0
push ebp
mov eax, ebp
call fcn.0048b7d0
mov edi, ebp
call fcn.00489e70
push 7
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.004ed0e0
mov edx, 0xe03
lea esi, [esp + 0x68]
mov word [esp + 0x68], dx
mov byte [esp + 0xd8], 2
call fcn.00467f60
test ebx, ebx
je 0x48c22c
mov eax, dword [ebx + 0x128]
mov dword [esp + 0xbf], eax
lea eax, [ebx + 0x184]
lea edx, [esp + 0xc3]
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x48c220
jmp 0x48c23f
mov dword [esp + 0xbf], 0
mov byte [esp + 0xc3], 0
push 0x71
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [0x587974]
call fcn.004ed210
test ebx, ebx
je 0x48c902
lea esi, [esp + 0x68]
mov edi, ebx
call fcn.00467f60
mov edx, dword [ebp + 0x128]
mov dword [esp + 0xbf], edx
lea eax, [ebp + 0x184]
lea edx, [esp + 0xc3]
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x48c280
mov ecx, dword [0x587974]
push 0x71
lea eax, [esp + 0x6c]
push eax
call fcn.004ed210
jmp 0x48c902
cmp dword [ebp + 0x558c], 5
jne 0x48c902
cmp dword [ebp + 0x15e8], 3
lea ebx, [ebp + 0x15e8]
jne 0x48c902
mov ecx, dword [ebp + 0x5594]
push ecx
mov ecx, dword [ebp + 0xe0]
call fcn.0041c6e0
mov esi, eax
test esi, esi
je 0x48c902
cmp dword [esi + 0x15c0], 0
jne 0x48c902
cmp dword [ebp + 0x15c0], 0
jne 0x48c902
cmp dword [esi + 0x1638], 0
jne 0x48c902
cmp dword [ebp + 0x1638], 0
jne 0x48c902
cmp esi, ebp
je case.0x48be12.9219
movzx eax, byte [edi + 2]
sub eax, 0
je 0x48c391
sub eax, 1
je 0x48c385
sub eax, 1
jne 0x48c902
mov eax, ebx
call fcn.00454800
lea eax, [esi + 0x15e8]
call fcn.00454800
push 3
lea eax, [esp + 0x18]
mov edx, 0x2408
push eax
mov ecx, ebp
mov word [esp + 0x1c], dx
mov byte [esp + 0x1e], 2
call fcn.004ed0e0
push 3
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov byte [esp + 0x1e], 3
call fcn.004ed0e0
mov edi, esi
call fcn.00489e70
mov edi, ebp
call fcn.00489e70
jmp 0x48c902
mov ecx, ebp
call fcn.0048bd90
jmp 0x48c902
push 4
lea eax, [esp + 0x18]
mov edx, 0x2409
push eax
mov ecx, ebp
mov byte [ebp + 0x160c], 1
mov word [esp + 0x1c], dx
mov byte [esp + 0x1f], 0
mov byte [esp + 0x1e], 1
call fcn.004ed0e0
push 4
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov byte [esp + 0x1e], 2
call fcn.004ed0e0
cmp byte [esi + 0x160c], 0
je 0x48c902
mov dword [ebx], 4
lea edi, [esi + 0x15e8]
mov edx, esi
mov ecx, ebp
mov dword [edi], 4
call fcn.0048b950
mov edx, ebp
mov ecx, esi
call fcn.0048b950
mov eax, ebx
call fcn.00454800
mov eax, edi
call fcn.00454800
mov eax, 3
mov dword [ebp + 0x558c], eax
mov dword [esi + 0x558c], eax
fld dword [ebp + 0xd0]
fadd dword [esi + 0xd0]
fstp dword [esp + 0x2c]
fld dword [ebp + 0xd4]
fadd dword [esi + 0xd4]
fstp dword [esp + 0x30]
fld dword [ebp + 0xd8]
fadd dword [esi + 0xd8]
fstp dword [esp + 0x34]
fld dword [esp + 0x2c]
fld qword [0x573f80]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x30]
fmul st(1)
fstp dword [esp + 0x3c]
fmul dword [esp + 0x34]
fstp dword [esp + 0x40]
fld dword [esp + 0x38]
fst dword [ebp + 0x5598]
fld dword [esp + 0x3c]
fstp dword [ebp + 0x559c]
fld dword [esp + 0x40]
fstp dword [ebp + 0x55a0]
fstp dword [esi + 0x5598]
fld dword [ebp + 0x559c]
fstp dword [esi + 0x559c]
fld dword [ebp + 0x55a0]
fstp dword [esi + 0x55a0]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x1388
mov dword [ebp + 0x5590], eax
mov dword [esi + 0x5590], eax
fld dword [ebp + 0x5598]
fstp dword [esp + 0x22]
push 0xa
fld dword [ebp + 0x55a0]
lea eax, [esp + 0x24]
mov edx, 0x2403
fstp dword [esp + 0x2a]
push eax
mov ecx, ebp
mov word [esp + 0x28], dx
call fcn.004ed0e0
push 0xa
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004ed0e0
jmp 0x48c902
cmp dword [ebp + 0x558c], 5
jne 0x48c902
cmp dword [ebp + 0x15e8], 3
jne 0x48c902
mov cl, byte [edi + 4]
test cl, cl
je 0x48c902
mov al, byte [edi + 5]
cmp al, 8
jae 0x48c902
movzx eax, al
lea edx, [ebp + eax*2]
cmp byte [eax + edx + 0x15f4], 0
jne 0x48c902
mov bl, byte [edi + 2]
test bl, bl
jbe 0x48c902
movzx eax, bl
cmp eax, dword [ebp + 0x130c]
jg 0x48c902
mov dl, byte [edi + 3]
cmp dl, 0x18
jae 0x48c902
movzx esi, dl
lea eax, [eax + eax*2]
lea eax, [esi + eax*8]
cmp dword [ebp + eax*4 + 0x1c0], 0
lea eax, [ebp + eax*4 + 0x1c0]
je 0x48c902
mov eax, dword [eax]
mov esi, dword [eax + 0x30]
cmp dword [esi + 0xa0], 0x1b
je 0x48c902
cmp byte [eax + 0x42], cl
jb 0x48c902
xor ecx, ecx
lea eax, [ebp + 0x15f5]
nop
cmp byte [eax - 1], bl
jne 0x48c5bd
cmp byte [eax], dl
je 0x48c902
inc ecx
add eax, 3
cmp ecx, 8
jl 0x48c5b0
mov ecx, dword [ebp + 0x5594]
push ecx
mov ecx, dword [ebp + 0xe0]
call fcn.0041c6e0
mov esi, eax
test esi, esi
je 0x48c902
cmp dword [esi + 0x15c0], 0
jne 0x48c902
cmp dword [ebp + 0x15c0], 0
jne 0x48c902
cmp dword [esi + 0x1638], 0
jne 0x48c902
cmp dword [ebp + 0x1638], 0
jne 0x48c902
mov ecx, ebp
cmp esi, ebp
jne 0x48c623
push 0
jmp 0x48c8fb
call fcn.0048bd90
movzx eax, byte [edi + 5]
movzx ecx, byte [edi + 2]
lea edx, [ebp + eax*2]
mov byte [eax + edx + 0x15f4], cl
movzx eax, byte [edi + 5]
movzx ecx, byte [edi + 3]
lea edx, [ebp + eax*2]
mov byte [eax + edx + 0x15f5], cl
movzx eax, byte [edi + 5]
movzx ecx, byte [edi + 4]
add eax, 0x752
lea edx, [ebp + eax*2]
mov byte [eax + edx], cl
movzx eax, byte [edi + 2]
movzx ecx, byte [edi + 3]
mov edx, 0x240a
mov byte [esp + 0x17], cl
mov word [esp + 0x14], dx
movzx edx, byte [edi + 4]
mov byte [esp + 0x16], al
movzx eax, byte [edi + 5]
push 6
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
mov byte [esp + 0x20], dl
mov byte [esp + 0x21], al
call fcn.004ed0e0
movzx eax, byte [edi + 5]
mov byte [esp + 0x46], al
movzx eax, byte [edi + 2]
lea ecx, [eax + eax*2]
mov edx, 0x240d
mov word [esp + 0x44], dx
movzx edx, byte [edi + 3]
lea eax, [edx + ecx*8]
mov ecx, dword [ebp + eax*4 + 0x1c0]
movzx edx, byte [ecx + 0x40]
lea eax, [ebp + eax*4 + 0x1c0]
mov byte [esp + 0x47], dl
mov ecx, dword [eax]
movzx edx, byte [ecx + 0x41]
movzx ecx, byte [edi + 4]
mov byte [esp + 0x49], cl
mov byte [esp + 0x48], dl
mov edx, dword [eax]
mov cx, word [edx + 0x44]
mov word [esp + 0x4a], cx
mov eax, dword [eax]
mov edx, dword [eax + 0x46]
add eax, 0x46
mov dword [esp + 0x4c], edx
mov ax, word [eax + 4]
movzx edx, byte [edi + 3]
mov word [esp + 0x50], ax
movzx eax, byte [edi + 2]
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*8]
mov ebp, dword [ebp + eax*4 + 0x1c0]
mov ecx, dword [ebp + 0x4c]
add ebp, 0x4c
mov dword [esp + 0x52], ecx
mov edx, dword [ebp + 4]
mov dword [esp + 0x56], edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x5a], eax
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x5e], ecx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x62], edx
movzx eax, byte [ebp + 0x14]
push 0x23
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
mov byte [esp + 0x6e], al
call fcn.004ed0e0
jmp 0x48c902
cmp dword [ebp + 0x558c], 5
jne 0x48c902
cmp dword [ebp + 0x15e8], 3
jne 0x48c902
mov al, byte [edi + 2]
cmp al, 8
jae 0x48c902
movzx eax, al
lea edx, [ebp + eax*2]
cmp byte [eax + edx + 0x15f4], 0
je 0x48c902
mov eax, dword [ebp + 0x5594]
mov ecx, dword [ebp + 0xe0]
push eax
call fcn.0041c6e0
mov esi, eax
test esi, esi
je 0x48c902
cmp dword [esi + 0x15c0], 0
jne 0x48c902
cmp dword [ebp + 0x15c0], 0
jne 0x48c902
cmp dword [esi + 0x1638], 0
jne 0x48c902
cmp dword [ebp + 0x1638], 0
jne 0x48c902
mov ecx, ebp
cmp esi, ebp
je 0x48c61c
call fcn.0048bd90
movzx eax, byte [edi + 2]
lea ecx, [ebp + eax*2]
mov byte [eax + ecx + 0x15f4], 0
mov al, byte [edi + 2]
push 4
lea ecx, [esp + 0x18]
mov edx, 0x240b
push ecx
mov ecx, ebp
mov word [esp + 0x1c], dx
mov byte [esp + 0x1f], al
mov byte [esp + 0x1e], 1
call fcn.004ed0e0
push 4
lea edx, [esp + 0x18]
push edx
mov ecx, esi
mov byte [esp + 0x1e], 2
call fcn.004ed0e0
jmp 0x48c902
cmp dword [ebp + 0x558c], 5
jne 0x48c902
cmp dword [ebp + 0x15e8], 3
jne 0x48c902
mov eax, dword [edi + 2]
cmp eax, dword [ebp + 0x140]
ja 0x48c902
mov ecx, dword [ebp + 0x5594]
push ecx
mov ecx, dword [ebp + 0xe0]
call fcn.0041c6e0
mov esi, eax
test esi, esi
je 0x48c902
cmp dword [esi + 0x15c0], 0
jne 0x48c902
cmp dword [ebp + 0x15c0], 0
jne 0x48c902
cmp dword [esi + 0x1638], 0
jne 0x48c902
cmp dword [ebp + 0x1638], 0
jne 0x48c902
mov ecx, ebp
cmp esi, ebp
je 0x48c61c
call fcn.0048bd90
mov edx, dword [edi + 2]
mov dword [ebp + 0x15f0], edx
mov ecx, dword [edi + 2]
push 7
lea edx, [esp + 0x18]
mov eax, 0x240c
mov dword [esp + 0x1b], ecx
push edx
mov ecx, ebp
mov word [esp + 0x1c], ax
mov byte [esp + 0x1e], 1
call fcn.004ed0e0
push 7
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov byte [esp + 0x1e], 2
call fcn.004ed0e0
jmp 0x48c902
push 0
mov ecx, ebp
push 9
call fcn.004ec760
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0051a8be
add esp, 0xd8
ret 4