Function at 0x40bf60
Capabilities:
Check for time delay via gettickcount
Get disk information

Disassembly:
sub esp, 0x4ec
mov eax, dword [0x45b9b0]
xor eax, esp
mov dword [esp + 0x4e8], eax
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov esi, ecx
mov eax, dword [esi + 0x494]
push 0x7e
lea ecx, [esp + 0x6e]
push ebx
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], eax
mov word [esp + 0x74], bx
call fcn.0042ec20
push 0x206
lea edx, [esp + 0xfa]
push ebx
push edx
mov word [esp + 0x100], bx
call fcn.0042ec20
push 0x206
lea eax, [esp + 0x30e]
push ebx
push eax
mov word [esp + 0x314], bx
call fcn.0042ec20
add esp, 0x24
push 0x104
lea ecx, [esp + 0xec]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [esp + 0xe8]
push edx
lea eax, [esp + 0x2f4]
push 0x44a450
push eax
mov word [esp + 0xf8], bx
call edi
push 0x200
call fcn.004135ce
push 0x28
mov ebp, eax
mov dword [esp + 0x28], ebx
call fcn.004135ce
add esp, 0x14
push 0x14
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x24]
push eax
push 0x100
push ebp
lea ecx, [esp + 0x30c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x6c]
push 0x44a448
push eax
call edi
push 0x3f
lea ecx, [esp + 0x39]
push ebx
push ecx
mov byte [esp + 0x40], bl
call fcn.0042ec20
add esp, 0x18
cmp word [esp + 0x68], bx
jne 0x40c09c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea edx, [esp + 0x30]
push str._u_u
push edx
call fcn.0042fa06
add esp, 0x10
jmp 0x40c0b5
push ebx
push ebx
push 0x40
lea eax, [esp + 0x34]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x7c]
push ecx
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x37], bl
call fcn.00401020
add esp, 4
cmp dword [esi + 0x49c], ebx
jne 0x40c351
mov edi, 1
jmp 0x40c0e0
mov ecx, esi
mov dword [esi + 0x4ac], ebx
call fcn.0040b890
test eax, eax
je 0x40c0fc
mov dword [esi + 0x49c], edi
jmp 0x40c345
cmp dword [esi + 0xcb4], ebx
jne 0x40c227
mov eax, dword [esp + 0x10]
cmp eax, 3
ja case.0x40c115.3
jmp dword [eax*4 + 0x40c36c]
push 0x46ee08
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jl case.0x40c115.1
mov eax, dword [0x46ee04]
cmp eax, ebx
je case.0x40c115.1
mov dword [esi + 0x4b0], eax
mov eax, dword [0x46ee04]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x46ee08
call fcn.0040d390
add esp, 0xc
cmp eax, ebx
mov dword [esi + 0x490], eax
je case.0x40c115.1
mov dword [esi + 0x4ac], 0x46ee08
jmp 0x40c227
push 0x46ef08
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jl case.0x40c115.2
mov eax, dword [0x46f008]
cmp eax, ebx
je case.0x40c115.2
mov dword [esi + 0x4b0], eax
mov edx, dword [0x46f008]
push edx
lea eax, [esp + 0x1c]
push eax
push 0x46ef08
call fcn.0040d390
add esp, 0xc
cmp eax, ebx
mov dword [esi + 0x490], eax
je case.0x40c115.2
mov dword [esi + 0x4ac], 0x46ef08
jmp 0x40c227
push 0x46f010
mov dword [esp + 0x14], 2
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jl case.0x40c115.3
mov eax, dword [0x46f00c]
cmp eax, ebx
je case.0x40c115.3
mov dword [esi + 0x4b0], eax
mov ecx, dword [0x46f00c]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0x46f010
call fcn.0040d390
add esp, 0xc
cmp eax, ebx
mov dword [esi + 0x490], eax
je case.0x40c115.3
mov dword [esi + 0x4ac], 0x46f010
jmp 0x40c227
push 0x2710
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x4ac]
push eax
mov dword [esi + 0x4a8], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jl 0x40c345
mov eax, dword [esi + 0x4b0]
cmp eax, ebx
je 0x40c345
mov ecx, dword [esi + 0x4ac]
push eax
push ecx
mov ecx, esi
call fcn.0040d510
test eax, eax
je 0x40c345
lea edx, [esp + 0x68]
push edx
mov ecx, esi
call fcn.0040b8d0
test eax, eax
je 0x40c333
mov dword [esi + 0x4a0], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi + 0x4a0], ebx
mov ebp, eax
jne 0x40c323
jmp 0x40c29d
mov edi, 1
push ebx
push edi
mov ecx, esi
call fcn.0040af40
test eax, eax
jl 0x40c323
mov eax, dword [esi + 0x494]
cmp dword [esp + 0x1c], eax
je 0x40c2c6
push eax
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.0040d750
test eax, eax
je 0x40c323
mov ecx, esi
call fcn.0040b890
test eax, eax
jne 0x40c316
mov ecx, esi
call fcn.0040d640
test eax, eax
je 0x40c323
cmp dword [esi + 0x4a8], ebx
jne 0x40c2f9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebp
cmp eax, 0x2710
jbe 0x40c30c
add dword [esp + 0x10], edi
jmp 0x40c323
mov edi, dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add edi, 0x15f90
cmp edi, eax
jb 0x40c31e
cmp dword [esi + 0x4a0], ebx
je 0x40c298
jmp 0x40c323
mov dword [esi + 0x49c], edi
jmp 0x40c323
add dword [esp + 0x10], 1
lea ecx, [esi + 0x454]
call fcn.0040d190
mov edi, 1
mov ecx, esi
call fcn.0040d540
push 0x3a98
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x49c], ebx
je 0x40c0e0
mov ecx, dword [esp + 0x4f8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0042ec03
add esp, 0x4ec
ret