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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd90
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
mov edi, eax
mov eax, edi
call fcn.00484480
test al, al
jne 0x48325f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x20]
mov byte [eax], 1
jmp 0x4839f1
xor edx, edx
push ebp
push 0x4839ea
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x14], eax
push esi
push edi
mov esi, 0x524260
lea edi, [ebp - 0x250]
mov ecx, 0x22
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x1dc], eax
lea eax, [ebp - 0x250]
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 0x1c8]
mov ecx, 0x1a0
mov edx, 0x3e
call fcn.0047c0bc
lea eax, [ebp - 0x1c8]
mov edx, edi
call fcn.004830e4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x20]
cmp byte [eax], 0
je 0x4832d7
call fcn.004037b8
jmp 0x4839f1
lea eax, [ebp - 0x1c8]
mov dl, 1
call fcn.0047c2d0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x20]
cmp byte [eax], 0
je 0x4832f9
call fcn.004037b8
jmp 0x4839f1
mov eax, dword [ebx]
mov dword [eax + 0x18], 0x48
mov eax, dword [ebx]
mov dword [eax + 0x1c], 0x48
mov eax, dword [ebx]
mov byte [eax + 0x44], 0
xor eax, eax
mov al, byte [ebp - 0x1a0]
cmp eax, 5
ja case.0x48331e.0
jmp dword [eax*4 + 0x483325]
mov eax, dword [ebx]
mov byte [eax + 0x44], 0
mov byte [ebp - 0x19f], 2
jmp case.0x48331e.0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x20]
mov byte [eax], 1
mov eax, dword [ebx]
mov byte [eax + 0x44], 1
jmp case.0x48331e.0
mov eax, dword [ebx]
mov byte [eax + 0x44], 2
mov byte [ebp - 0x19f], 2
jmp case.0x48331e.0
mov eax, dword [ebx]
mov byte [eax + 0x44], 3
mov byte [ebp - 0x19f], 4
jmp case.0x48331e.0
mov eax, dword [ebx]
mov byte [eax + 0x44], 4
mov byte [ebp - 0x19f], 4
mov eax, dword [ebx]
mov al, byte [eax + 0x4c]
sub al, 1
jb 0x483399
je 0x4833a2
dec al
je 0x4833ab
jmp 0x4833b2
mov byte [ebp - 0x186], 0
jmp 0x4833b2
mov byte [ebp - 0x186], 1
jmp 0x4833b2
mov byte [ebp - 0x186], 2
mov al, byte [ebp - 0xd1]
sub al, 2
jb 0x4833c0
je 0x4833da
jmp 0x483424
movzx eax, word [ebp - 0xd0]
mov edx, dword [ebx]
mov dword [edx + 0x18], eax
movzx eax, word [ebp - 0xce]
mov edx, dword [ebx]
mov dword [edx + 0x1c], eax
jmp 0x483424
movzx eax, word [ebp - 0xd0]
mov dword [ebp - 0x254], eax
fild dword [ebp - 0x254]
fld xword [0x4839fc]
fdivp st(1)
call fcn.00402a74
mov edx, dword [ebx]
mov dword [edx + 0x18], eax
movzx eax, word [ebp - 0xce]
mov dword [ebp - 0x254], eax
fild dword [ebp - 0x254]
fld xword [0x4839fc]
fdivp st(1)
call fcn.00402a74
mov edx, dword [ebx]
mov dword [edx + 0x1c], eax
mov eax, dword [ebx]
mov dword [eax + 8], 8
mov eax, dword [ebx]
mov dword [eax + 0xc], 3
mov eax, dword [ebx]
mov eax, dword [eax + 0xa8]
test eax, eax
je 0x48345b
call fcn.0040272c
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0xa8], edx
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0xac], edx
mov eax, dword [ebx]
mov dl, byte [ebp - 0x10c]
mov byte [eax + 0x54], dl
mov dword [ebp - 0x19c], 1
mov eax, dword [ebx]
movzx eax, byte [eax + 0x55]
cmp eax, 4
ja case.default.0x48347f
jmp dword [eax*4 + 0x483486]
mov dword [ebp - 0x198], 1
jmp case.default.0x48347f
mov dword [ebp - 0x198], 2
jmp case.default.0x48347f
mov dword [ebp - 0x198], 4
jmp case.default.0x48347f
mov dword [ebp - 0x198], 8
jmp case.default.0x48347f
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
mov edx, dword [ebx]
imul dword [edx + 0x14]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4834f5
mov dword [ebp - 0x198], 1
jmp case.default.0x48347f
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
xor edi, edi
mov ecx, edi
mov eax, 1
shl eax, cl
mov ecx, eax
mov eax, dword [ebp - 0x1ac]
cdq
idiv ecx
push eax
mov eax, dword [ebp - 0x1a8]
cdq
idiv ecx
pop edx
imul edx, eax
mov ecx, edx
mov eax, dword [ebp - 0x18]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp dword [ebp - 0x20], 0xffffffff
je 0x48353e
cmp eax, dword [ebp - 0x1c]
jge 0x483544
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edi
inc edi
cmp edi, 4
jne 0x483505
mov ecx, dword [ebp - 0x20]
mov eax, 1
shl eax, cl
mov dword [ebp - 0x198], eax
lea eax, [ebp - 0x1c8]
call fcn.0047c48c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x20]
cmp byte [eax], 0
je 0x48357a
call fcn.004037b8
jmp 0x4839f1
mov eax, dword [ebx]
mov edx, dword [ebp - 0x178]
mov dword [eax + 0x10], edx
mov eax, dword [ebx]
mov edx, dword [ebp - 0x174]
mov dword [eax + 0x14], edx
cmp byte [ebp + 8], 0
je 0x4835a0
call fcn.004037b8
jmp 0x4839f1
cmp byte [ebp - 0x19f], 4
jne 0x4835c0
mov eax, dword [ebp - 0x178]
imul dword [ebp - 0x174]
shl eax, 2
call fcn.00402714
mov dword [ebp - 0x14], eax
cmp byte [ebp - 0x1a0], 2
jne 0x4835e0
mov eax, dword [ebp - 0x178]
imul dword [ebp - 0x174]
lea eax, [eax + eax*2]
call fcn.00402714
mov dword [ebp - 0x14], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
cdq
push edx
push eax
mov eax, dword [ebp - 0x178]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4835fb
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4836fc
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
cdq
push edx
push eax
mov eax, dword [ebp - 0x174]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x48361e
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4836fc
mov eax, esi
call fcn.0041f350
cmp al, 6
jne 0x4836fc
xor edx, edx
mov eax, esi
call fcn.0041f3d4
mov dword [ebp - 4], eax
mov edx, 1
mov eax, esi
call fcn.0041f3d4
mov ebx, dword [ebp - 4]
sub eax, ebx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x4836b5
push 0
push 4
push 0xffffffffffffffff
push 0xffffffffffffffff
mov edi, dword [ebp - 0x174]
mov eax, edi
sub eax, 2
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 8]
cdq
call fcn.00406700
call fcn.00406700
call fcn.00406746
push eax
mov eax, edi
dec eax
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 8]
cdq
call fcn.00406700
push edx
push eax
mov eax, ebx
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov ecx, 0x33333333
pop edx
call fcn.00483044
jmp 0x483737
mov eax, esi
call fcn.0041f26c
mov eax, dword [eax + 0x14]
mov edx, 0x333333
call fcn.0041adb8
mov eax, dword [ebp - 0x174]
push eax
lea eax, [ebp - 0x264]
push eax
mov ecx, dword [ebp - 0x178]
xor edx, edx
xor eax, eax
call fcn.004102a0
lea eax, [ebp - 0x264]
push eax
mov eax, esi
call fcn.0041f26c
pop edx
call fcn.0041b1a4
jmp 0x483737
mov edx, 1
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, 1
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov dl, 6
mov eax, esi
call fcn.00420190
mov edx, dword [ebp - 0x178]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x174]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor edx, edx
mov eax, esi
call fcn.0041f3d4
mov dword [ebp - 4], eax
mov edx, 1
mov eax, esi
call fcn.0041f3d4
sub eax, dword [ebp - 4]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x48376c
test byte [ebp - 8], 3
jne 0x48376c
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0xc], eax
jmp 0x483773
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x26c], eax
xor eax, eax
mov dword [ebp - 0x268], eax
fild qword [ebp - 0x26c]
fdivr dword [0x483a08]
mov eax, dword [ebp + 0xc]
fstp qword [eax + 0x18]
wait
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [eax + 0xc], ebx
mov eax, dword [ebp + 0xc]
cmp word [eax + 2], 0
je 0x4837d6
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x254], ebx
fild dword [ebp - 0x254]
mov eax, dword [ebp + 0xc]
fmul qword [eax + 0x18]
call fcn.00402a74
mov ecx, eax
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 8]
mov eax, dword [ebx + 4]
call dword [ebx]
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x24], eax
jmp 0x483970
cmp byte [ebp - 0x19f], 4
jne 0x483850
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1c8]
mov ecx, dword [ebp - 0xc]
call fcn.0047c5ec
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x20]
cmp byte [eax], 0
jne 0x483982
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0x178]
dec esi
test esi, esi
jl 0x4838bd
inc esi
lea edx, [ebp - 0x270]
mov eax, dword [edi]
call fcn.00482f64
mov ax, word [ebp - 0x270]
mov word [ebx], ax
mov al, byte [ebp - 0x26e]
mov byte [ebx + 2], al
add ebx, 3
add edi, 4
dec esi
jne 0x483825
jmp 0x4838bd
cmp byte [ebp - 0x1a0], 2
jne 0x4838a9
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1c8]
mov ecx, dword [ebp - 0xc]
call fcn.0047c5ec
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x20]
cmp byte [eax], 0
jne 0x483982
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0x178]
dec esi
test esi, esi
jl 0x4838bd
inc esi
mov dl, byte [eax + 2]
mov byte [ebx], dl
mov dl, byte [eax + 1]
mov byte [ebx + 1], dl
mov dl, byte [eax]
mov byte [ebx + 2], dl
add ebx, 3
add eax, 3
dec esi
jne 0x48388e
jmp 0x4838bd
lea edx, [ebp - 4]
lea eax, [ebp - 0x1c8]
mov ecx, dword [ebp - 0xc]
call fcn.0047c5ec
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
imul dword [ebp - 0x10]
add dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
add dword [eax + 0xc], edx
call sub.kernel32.dll_GetTickCount
mov ebx, eax
mov eax, dword [ebp + 0xc]
fild dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
fmul qword [eax + 0x18]
fdiv dword [0x483a0c]
mov eax, dword [ebp + 0xc]
fild dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
fmul qword [eax + 0x18]
fdiv dword [0x483a0c]
fmulp st(1)
call fcn.00402a74
mov ecx, eax
add ecx, 0x3c
cmp ecx, 0x12c
jle 0x483913
mov ecx, 0x12c
mov eax, ebx
sub eax, dword [ebp - 0x24]
xor edx, edx
push edx
push eax
mov eax, ecx
cdq
cmp edx, dword [esp + 4]
jne 0x48392e
cmp eax, dword [esp]
pop edx
pop eax
jae 0x483970
jmp 0x483932
pop edx
pop eax
jge 0x483970
mov eax, dword [ebp + 0xc]
cmp word [eax + 2], 0
je 0x48395d
mov eax, dword [ebp + 0xc]
fild dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
fmul qword [eax + 0x18]
call fcn.00402a74
mov ecx, eax
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 8]
mov eax, dword [ebx + 4]
call dword [ebx]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x20]
cmp byte [eax], 0
jne 0x483982
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x15c]
cmp eax, dword [ebp - 0x174]
jb 0x4837e3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4839f1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x20]
cmp byte [eax], 0
jne 0x4839d0
cmp byte [ebp + 8], 0
jne 0x4839d0
xor eax, eax
mov dword [ebp - 0x1dc], eax
lea eax, [ebp - 0x1c8]
call fcn.0047c3bc
mov eax, dword [ebp + 0xc]
cmp word [eax + 2], 0
je 0x4839d0
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 8]
mov ecx, 0x64
mov eax, dword [ebx + 4]
call dword [ebx]
lea eax, [ebp - 0x1c8]
call fcn.0047c170
cmp dword [ebp - 0x14], 0
je 0x4839e9
mov eax, dword [ebp - 0x14]
call fcn.0040272c
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8