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

Disassembly:
push 0xffffffffffffffff
push 0x4fa661
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [esp + 0x44], eax
xor ebx, ebx
mov ecx, dword [esi + 0x10c]
mov eax, dword [esi + 0x140]
cmp eax, ecx
je 0x49e248
mov ecx, dword [esi + 0x110]
xor edx, edx
cmp eax, ecx
sete dl
mov ecx, edx
add eax, 0xffffffdc
cmp ecx, ebx
mov dword [esi + 0x140], eax
je 0x49dfe3
mov ecx, esi
call fcn.0049ccc0
mov al, byte [esp + 0x1f]
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], al
call fcn.00403b70
mov edi, 0x536ec0
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x170], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x536ec0
lea ecx, [esp + 0x2c]
call fcn.004053a0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov ecx, dword [esi + 0x140]
mov dword [esp + 0x170], 1
push ecx
lea ecx, [esp + 0x24]
call fcn.00461940
mov dl, byte [esi + 0xe8]
lea edi, [esi + 0xe8]
push ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x10], dl
call fcn.00403b70
mov eax, dword [0x4fdbfc]
lea ecx, [esp + 0xc]
push eax
push ebx
push edi
call fcn.004051a0
mov eax, dword [esp + 0x28]
mov byte [esp + 0x170], 2
cmp eax, ebx
jne 0x49e085
mov eax, 0x4fdc00
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.00460a00
mov edx, dword [0x4fdbfc]
add esp, 8
lea eax, [esp + 0xc]
lea ecx, [esp + 0x24]
push edx
push ebx
push eax
call fcn.004051a0
mov ecx, esi
call fcn.004a2550
mov edx, dword [0x4fdbfc]
mov ecx, dword [esi + 0x15c]
push edx
lea eax, [esp + 0x10]
push ebx
add ecx, 0x30
push eax
call fcn.004051a0
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x49e0d8
mov eax, 0x4fdc00
push eax
mov ecx, esi
call fcn.004a8020
mov ecx, eax
call fcn.0049ac70
test eax, eax
je 0x49e26b
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.004a8110
test eax, eax
jne 0x49e1ba
call dword [sym.imp.kernel32.dll_GetLastError]
mov edx, dword [esi + 0x15c]
mov edi, eax
mov ecx, esi
mov dword [edx + 0x2c], edi
call fcn.004a2740
mov eax, dword [esp + 0x20]
push edi
cmp eax, ebx
jne 0x49e166
lea eax, [esp + 0x4c]
push eax
call fcn.00461090
mov eax, dword [eax + 4]
add esp, 8
cmp eax, ebx
jne 0x49e13d
mov eax, 0x4fdc00
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
jne 0x49e14a
mov ecx, 0x4fdc00
push eax
push ecx
lea ecx, [esp + 0x70]
push str.File__s_cannot_be_deleted._n_s
push ecx
call fcn.004c335e
add esp, 0x10
lea ecx, [esp + 0x48]
push 1
jmp 0x49e1a6
lea edx, [esp + 0x5c]
push edx
call fcn.00461090
mov eax, dword [eax + 4]
add esp, 8
cmp eax, ebx
jne 0x49e17f
mov eax, 0x4fdc00
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
jne 0x49e18c
mov ecx, 0x4fdc00
push eax
push ecx
lea eax, [esp + 0x70]
push str.Directory__s_cannot_be_deleted._n_s
push eax
call fcn.004c335e
add esp, 0x10
lea ecx, [esp + 0x58]
push 1
call fcn.00403b70
mov ecx, esi
call fcn.0049e440
test eax, eax
jne 0x49e2b8
mov ecx, esi
call fcn.004a2740
mov edi, dword [sym.imp.kernel32.dll_GetTickCount]
call edi
sub eax, dword [esp + 0x44]
cmp eax, 0x64
ja 0x49e350
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x49e1fb
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x49e1f2
cmp al, 0xff
je 0x49e1f2
dec al
mov byte [ecx], al
jmp 0x49e1fb
push ecx
call fcn.004dae3e
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], ebx
cmp eax, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x170], 0xffffffff
je 0x49e237
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x49e22e
cmp al, 0xff
je 0x49e22e
dec al
mov byte [ecx], al
jmp 0x49e237
push ecx
call fcn.004dae3e
add esp, 4
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
jmp 0x49dfac
mov ecx, esi
call fcn.0049ccc0
mov ecx, dword [esi + 0x10]
push ebx
push ebx
push 0x50a
push esi
call fcn.004971d0
mov ecx, esi
call fcn.0049cb50
jmp 0x49e3cf
mov ecx, dword [esi + 0x15c]
mov dword [ecx + 0x2c], 5
mov ecx, esi
call fcn.004a2740
mov edx, dword [esi + 0x50]
mov ecx, esi
push edx
call fcn.0049d110
push 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 1
call fcn.00403b70
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x174], 0xffffffff
call fcn.00403b70
jmp 0x49e3cf
mov ecx, esi
call fcn.0049ccc0
mov eax, dword [esi + 0x140]
mov ecx, dword [esi + 0x10c]
cmp eax, ecx
je 0x49e2e8
lea ecx, [esp + 0x20]
lea edx, [esp + 0x68]
push ecx
push edx
push edi
push 0x50c
mov ecx, esi
call fcn.0049d4f0
jmp 0x49e2fc
lea eax, [esp + 0x68]
mov ecx, esi
push eax
push edi
call fcn.0049d450
mov ecx, esi
call fcn.0049cb50
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x49e320
mov al, byte [ecx - 1]
cmp al, bl
je 0x49e316
cmp al, 0xff
je 0x49e316
dec al
mov byte [ecx - 1], al
jmp 0x49e320
dec ecx
push ecx
call fcn.004dae3e
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], ebx
cmp eax, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
je 0x49e3cf
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x49e3c6
cmp al, 0xff
je 0x49e3c6
dec al
mov byte [ecx], al
jmp 0x49e3cf
mov ecx, esi
call fcn.0049ccc0
mov eax, fcn.0049df80
xor ecx, ecx
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x38], ebx
call edi
add eax, 0x64
cmp eax, ebx
mov dword [esi + 0x3c], eax
jne 0x49e37a
mov dword [esi + 0x3c], 1
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x49e39e
mov al, byte [ecx - 1]
cmp al, bl
je 0x49e394
cmp al, 0xff
je 0x49e394
dec al
mov byte [ecx - 1], al
jmp 0x49e39e
dec ecx
push ecx
call fcn.004dae3e
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], ebx
cmp eax, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
je 0x49e3cf
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x49e3c6
cmp al, 0xff
je 0x49e3c6
dec al
mov byte [ecx], al
jmp 0x49e3cf
push ecx
call fcn.004dae3e
add esp, 4
mov ecx, dword [esp + 0x168]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x168
ret