Function at 0x404ad0
Capabilities:
Check if file exists
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x49f6cb
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4c13e0]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c13e0]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov ebx, ecx
lea esi, [ebx + 0x44]
push esi
mov edi, edx
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x258], 0
movzx ebp, word [edi + 4]
mov eax, dword [0x4a7044]
mov ecx, dword [0x4a7048]
lea edx, [esp + 0x3c]
mov dword [esp + 0x3c], eax
push edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], ebp
mov word [esp + 0x40], bp
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404d5d
lea ecx, [esp + 0x3c]
push ecx
call fcn.00405a70
test eax, eax
je 0x404d5d
push 0x4c77c0
push 0x444
mov word [ebx + 0x18], bp
call fcn.004776f3
add esp, 8
mov dword [esp + 0x18], eax
mov byte [esp + 0x258], 1
test eax, eax
je 0x404bad
mov esi, eax
call fcn.00403980
mov esi, eax
jmp 0x404baf
xor esi, esi
mov byte [esp + 0x258], 0
test esi, esi
jne 0x404be8
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x404bde
mov edx, dword [ebx + 0x10]
push edx
push 8
lea ecx, [esp + 0x20]
push ecx
push 3
mov word [esp + 0x28], bp
mov dword [esp + 0x2c], 1
call eax
mov edx, dword [esp + 0x2c]
push edx
jmp 0x404d81
lea ebp, [esi + 8]
lea edi, [esp + 0x3c]
mov edx, 0x104
mov eax, ebp
sub edi, ebp
jmp 0x404c00
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x404c20
movzx ecx, word [edi + eax]
test cx, cx
je 0x404c20
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x404c00
jmp 0x404c24
test edx, edx
jne 0x404c27
sub eax, 2
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x20]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x208
lea ecx, [esp + 0x48]
push 0
push ecx
mov dword [esi], eax
mov dword [esi + 0x43c], ebx
call fcn.0047c020
lea eax, [esp + 0x50]
mov edx, ebp
mov ecx, eax
add esp, 0xc
mov edi, 0x104
sub edx, ecx
lea ecx, [edi + 0x7ffffefa]
test ecx, ecx
je 0x404c84
movzx ecx, word [edx + eax]
test cx, cx
je 0x404c84
mov word [eax], cx
add eax, 2
sub edi, 1
jne 0x404c64
jmp 0x404c88
test edi, edi
jne 0x404c8b
sub eax, 2
xor edx, edx
mov word [eax], dx
push str.autorun.inf
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x404ccb
push ebx
lea edi, [esp + 0x48]
mov eax, esi
call fcn.00405b00
test eax, eax
jne 0x404ccb
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x404ccb
mov ecx, dword [ebx + 0x10]
push ecx
push 0x208
mov edx, edi
push edx
push 7
call eax
mov ecx, esi
mov edi, ebx
call fcn.00404dc0
mov ebp, eax
mov dword [esp + 0x20], ebp
test ebp, ebp
je 0x404d3a
mov ebp, dword [esp + 0x24]
push ebp
push ebx
call fcn.00404710
lea edi, [ebx + 0xb0]
push edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x25c], 2
push ecx
add ebx, 0x90
mov word [esp + 0x2c], bp
mov dword [esp + 0x30], esi
call fcn.00406e00
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebp
jmp 0x404d89
mov edi, esi
call fcn.004041f0
mov edx, dword [esp + 0x24]
push 3
mov ecx, ebx
call fcn.00405170
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebp
jmp 0x404d89
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x404d80
mov ecx, dword [ebx + 0x10]
push ecx
push 8
lea edx, [esp + 0x20]
push edx
push 3
mov word [esp + 0x28], bp
mov dword [esp + 0x2c], 2
call eax
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.00476dfd
add esp, 0x248
ret