Function at 0x41efa0
Capabilities:
Get disk information
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4895b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
push 0
call edi
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.00446d76
add esp, 4
mov ebx, eax
push ebx
push esi
mov dword [esp + 0x30], ebx
call edi
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41eff5
sub eax, edx
mov edi, eax
mov dword [esp + 0x14], edi
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41f020
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
test edi, edi
mov dword [esp + 0x38], 0
ja 0x41f086
mov edx, dword [esp + 0x28]
push edx
call fcn.00446d7b
add esi, 0xfffffff0
add esp, 4
mov dword [esp + 0x38], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f06d
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [esp + 0x14]
test ebx, ebx
jne 0x41f08e
xor eax, eax
jmp 0x41f09e
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41f093
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.004068a0
mov esi, dword [esp + 0x10]
cmp dword [esi - 0xc], 0
jl 0x41f26c
mov cl, byte [esi]
mov byte [esp + 0x1c], cl
mov edx, dword [esp + 0x1c]
push edx
call fcn.00414c30
add esp, 4
test eax, eax
je 0x41f0e5
lea ebx, [ebx + edi + 1]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41f0d7
jmp 0x41f259
cmp dword [esi - 0xc], 0
jl 0x41f26c
movsx eax, byte [esi]
push eax
lea ecx, [esp + 0x14]
push str._c:computer.._
push ecx
call fcn.004067e0
mov esi, dword [esp + 0x1c]
add esp, 0xc
push 0
push esi
call fcn.0046b81d
add esp, 8
cmp eax, 0xffffffff
jne 0x41f130
lea ebx, [ebx + edi + 1]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41f122
jmp 0x41f259
cmp dword [esi - 0xc], 0
jl 0x41f26c
mov dl, byte [esi]
mov byte [esp + 0x20], dl
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0041e9b0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 1
call fcn.00406820
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f183
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41f016
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x38], 2
mov esi, dword [esp + 0x10]
cmp dword [esi - 0xc], 0
jl 0x41f26c
movsx ecx, byte [esi]
push ecx
lea edx, [esp + 0x1c]
push str._c:1212121212a
push edx
call fcn.004067e0
mov edi, dword [esp + 0x24]
add esp, 0xc
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea eax, [edi - 0x10]
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f1fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi - 0xc], 0
jl 0x41f26c
movsx ecx, byte [esi]
push ecx
lea edx, [esp + 0x14]
push str._c:computer.._
push edx
call fcn.004067e0
mov esi, dword [esp + 0x1c]
add esp, 0xc
push 0
push esi
call fcn.0046b81d
add esp, 8
cmp eax, 0xffffffff
je 0x41f23e
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
call fcn.0041ea50
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea ebx, [ebx + ecx + 1]
mov eax, ebx
lea edx, [eax + 1]
jmp 0x41f250
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41f250
sub eax, edx
test eax, eax
mov dword [esp + 0x14], eax
ja 0x41f082
jmp 0x41f03c
push 0x80070057
call fcn.00401db0
int3