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

Disassembly:
push 0xffffffffffffffff
push 0x134c6db1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x278
push ebx
push ebp
mov ebp, ecx
push esi
push edi
push 1
lea eax, [ebp + 0x88]
lea ecx, [esp + 0x48]
push eax
call fcn.13451330
mov edi, dword [ebp + 0xac]
mov ebx, dword [esp + 0x298]
dec edi
mov dword [esp + 0x290], 0
test edi, edi
mov dword [esp + 0x18], 0xffffffff
jl 0x13408cb8
lea esi, [edi + edi*8]
shl esi, 3
sub esi, edi
shl esi, 3
mov ecx, dword [ebp + 0xa8]
lea eax, [ebx + 4]
push 0x80
push eax
lea edx, [esi + ecx + 4]
push edx
call fcn.13436800
add esp, 0xc
test eax, eax
je 0x13408cb4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0xa8]
add ecx, esi
sub eax, dword [ecx + 0x220]
cmp eax, 0x1b7740
jbe 0x13408ca3
mov ecx, dword [ecx + 0x208]
cmp ecx, 0xffffffff
je 0x13408c6d
push ecx
call fcn.1342b7f5
mov edx, dword [ebp + 0xa8]
lea eax, [esi + edx + 0x104]
push eax
call fcn.1342cb3f
add esp, 8
mov eax, dword [ebp + 0xac]
sub eax, edi
dec eax
je 0x13408c9d
mov ecx, dword [ebp + 0xa8]
lea edx, [eax + eax*8]
shl edx, 3
sub edx, eax
lea eax, [esi + ecx + 0x238]
shl edx, 3
push edx
add ecx, esi
push eax
push ecx
call fcn.1342b4c0
add esp, 0xc
dec dword [ebp + 0xac]
dec edi
sub esi, 0x238
test edi, edi
jge 0x13408c07
jmp 0x13408cb8
mov dword [esp + 0x18], edi
xor eax, eax
lea edx, [esp + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push edx
push eax
push ebx
mov dword [esp + 0x30], 1
call fcn.13408ab0
add esp, 0xc
test eax, eax
jne 0x13408d26
mov eax, dword [ebx + 0x128]
test eax, eax
je 0x13408d26
mov ecx, dword [ebx + 0x12c]
mov dword [esp + 0x24], 0
push ecx
call fcn.1342a3e7
mov ecx, dword [ebx + 0x12c]
mov esi, dword [ebx + 0x128]
mov dword [esp + 0x18], ecx
mov edx, ecx
mov edi, eax
mov dword [esp + 0x14], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x128]
test eax, eax
je 0x13408d43
push eax
call fcn.1342a2fe
add esp, 4
mov dword [ebx + 0x128], 0
mov edi, dword [esp + 0x18]
cmp edi, 0xffffffff
jne 0x13408e90
mov ecx, 0x8d
xor eax, eax
lea edi, [esp + 0x54]
lea esi, [ebx + 4]
rep stosd dword es:[edi], eax
mov ecx, 0x20
lea edi, [esp + 0x54]
mov dword [esp + 0x258], 0xffffffff
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x94]
mov edx, dword [ebx]
mov dword [esp + 0x270], eax
mov eax, dword [ebx + 0x90]
mov dword [esp + 0x260], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x268], ecx
mov dword [esp + 0x54], edx
call fcn.13403700
add esp, 4
mov ecx, dword [esp + 0x20]
push 0x180
push 0x8101
push ecx
mov byte [esp + 0x29c], 1
call fcn.1342bac5
add esp, 0xc
cmp eax, 0xffffffff
je 0x13408e79
mov esi, dword [esp + 0x20]
mov ecx, dword [esi - 8]
cmp ecx, 0x104
jl 0x13408dec
mov ecx, 0x103
mov edx, ecx
lea edi, [esp + 0x154]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x258], eax
push ecx
push edx
push eax
call fcn.1342b8d5
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x274]
mov ecx, dword [esp + 0x278]
add esp, 0xc
cdq
add esi, eax
lea edi, [ebp + 0xa8]
mov dword [esp + 0x268], esi
push 0xffffffffffffffff
mov esi, dword [edi + 4]
adc ecx, edx
lea eax, [esi + 1]
mov dword [esp + 0x270], ecx
push eax
mov ecx, edi
call fcn.1340a650
mov edx, dword [edi]
lea ecx, [esi + esi*8]
shl ecx, 3
sub ecx, esi
lea esi, [esp + 0x50]
lea edi, [edx + ecx*8]
mov ecx, 0x8e
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0xac]
dec eax
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x290], 0
call fcn.1343f110
mov edi, dword [esp + 0x18]
jmp 0x13408ef7
mov eax, dword [ebp + 0xa8]
lea esi, [edi + edi*8]
shl esi, 3
sub esi, edi
shl esi, 3
lea ebx, [esi + eax]
mov eax, dword [esi + eax + 0x208]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x13408ef7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x220], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call fcn.1342b8d5
mov ecx, dword [ebp + 0xa8]
mov eax, dword [esp + 0x20]
cdq
lea ecx, [esi + ecx + 0x218]
add esp, 0xc
mov esi, dword [ecx]
add esi, eax
mov dword [ecx], esi
mov eax, dword [ecx + 4]
adc eax, edx
mov dword [ecx + 4], eax
cmp edi, 0xffffffff
je 0x134091ad
mov edx, dword [ebp + 0xa8]
lea esi, [edi + edi*8]
shl esi, 3
sub esi, edi
shl esi, 3
mov dword [esp + 0x2c], esi
mov ecx, dword [esi + edx + 0x208]
lea eax, [esi + edx]
cmp ecx, 0xffffffff
je 0x134091ad
mov ebx, dword [eax + 0x21c]
lea edx, [eax + 0x218]
add eax, 0x210
cmp ebx, dword [eax + 4]
jl 0x134091ad
jg 0x13408f50
mov edx, dword [edx]
mov ebx, dword [eax]
cmp edx, ebx
jb 0x134091ad
push ecx
call fcn.1342b7f5
mov eax, dword [ebp + 0xa8]
add esp, 4
mov dword [esi + eax + 0x208], 0xffffffff
mov ecx, dword [ebp + 0xa8]
lea eax, [esi + ecx]
mov ecx, dword [esi + ecx]
test cl, 1
jne 0x13408f8f
add eax, 0x104
push 2
push eax
mov ecx, ebp
call fcn.13408b20
jmp 0x1340916f
test cl, 2
je 0x13409162
lea edx, [ebp + 0xb8]
push 0
push edx
lea ecx, [esp + 0x40]
call fcn.13451330
mov edi, dword [ebp + 0xdc]
mov ecx, dword [ebp + 0xa8]
mov eax, dword [ebp + 0xd8]
add esi, ecx
lea ebx, [edi + 1]
mov byte [esp + 0x290], 2
test ebx, ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
jne 0x13408fff
test eax, eax
je 0x13408fec
push eax
call fcn.13429bc8
add esp, 4
mov dword [ebp + 0xd8], 0
xor eax, eax
mov dword [ebp + 0xe0], eax
mov dword [ebp + 0xdc], eax
jmp 0x1340912f
test eax, eax
jne 0x13409035
lea eax, [ebx + ebx*8]
shl eax, 3
sub eax, ebx
shl eax, 3
push eax
call fcn.1342ad5a
push ebx
push eax
mov dword [ebp + 0xd8], eax
call fcn.1340b140
add esp, 0xc
mov dword [ebp + 0xe0], ebx
mov dword [ebp + 0xdc], ebx
jmp 0x1340912f
mov ecx, dword [ebp + 0xe0]
cmp ebx, ecx
jg 0x13409067
cmp ebx, edi
jle 0x1340905c
lea edx, [edi + edi*8]
mov ecx, ebx
shl edx, 3
sub edx, edi
sub ecx, edi
push ecx
lea eax, [eax + edx*8]
push eax
call fcn.1340b140
add esp, 8
mov dword [ebp + 0xdc], ebx
jmp 0x1340912f
mov eax, dword [ebp + 0xe4]
test eax, eax
jne 0x13409094
mov eax, edi
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x13409088
mov eax, 4
jmp 0x13409094
cmp eax, 0x400
jle 0x13409094
mov eax, 0x400
add eax, ecx
cmp ebx, eax
jge 0x134090a0
mov dword [esp + 0x1c], eax
jmp 0x134090a6
mov dword [esp + 0x1c], ebx
mov eax, ebx
lea ecx, [eax + eax*8]
shl ecx, 3
sub ecx, eax
shl ecx, 3
push ecx
call fcn.1342ad5a
mov edx, dword [ebp + 0xdc]
mov esi, dword [ebp + 0xd8]
mov edi, eax
mov dword [esp + 0x2c], eax
lea ecx, [edx + edx*8]
shl ecx, 3
sub ecx, edx
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0xdc]
sub edx, ecx
push edx
lea edx, [ecx + ecx*8]
shl edx, 3
sub edx, ecx
lea eax, [eax + edx*8]
push eax
call fcn.1340b140
mov eax, dword [ebp + 0xd8]
push eax
call fcn.13429bc8
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
add esp, 0x10
mov dword [ebp + 0xd8], ecx
mov dword [ebp + 0xdc], ebx
mov dword [ebp + 0xe0], edx
mov ecx, dword [ebp + 0xd8]
lea eax, [edi + edi*8]
shl eax, 3
sub eax, edi
lea edi, [ecx + eax*8]
mov ecx, 0x8e
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x38]
mov byte [esp + 0x290], 0
call fcn.13451390
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
jmp 0x1340916f
add eax, 0x104
mov ecx, ebp
push eax
call fcn.13408580
mov eax, dword [ebp + 0xac]
mov ecx, dword [ebp + 0xa8]
sub eax, edi
dec eax
lea esi, [ecx + esi]
je 0x134091a7
lea edx, [eax + eax*8]
shl edx, 3
sub edx, eax
lea eax, [edi + 1]
shl edx, 3
push edx
lea edx, [eax + eax*8]
shl edx, 3
sub edx, eax
lea eax, [ecx + edx*8]
push eax
push esi
call fcn.1342b4c0
add esp, 0xc
dec dword [ebp + 0xac]
mov eax, dword [esp + 0x10]
xor esi, esi
cmp eax, esi
je 0x134091d1
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push ecx
push edx
call fcn.13408af0
add esp, 8
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x44]
mov dword [esp + 0x290], 0xffffffff
call fcn.13451390
mov ecx, dword [esp + 0x288]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x284
ret 4