Function at 0x423d83
Capabilities:
Check if file exists
Encode data using xor
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4310d8]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor edi, edi
mov byte [ebp - 0x18], 0xec
mov byte [ebp - 0x17], 0xc7
mov byte [ebp - 0x16], 0x54
mov byte [ebp - 0x15], 0x7d
mov byte [ebp - 0x14], 0xdc
mov byte [ebp - 0xc], 0xb0
mov byte [ebp - 0xb], 0x9b
mov byte [ebp - 0xa], 0x7a
mov byte [ebp - 9], 0x21
mov byte [ebp - 8], 0xdc
xor eax, eax
mov cl, byte [ebp + eax - 0xc]
xor byte [ebp + eax - 0x18], cl
inc eax
cmp eax, 5
jl 0x423dc3
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x23], 0xc0
mov byte [ebp - 0x22], 0x88
mov byte [ebp - 0x21], 0xf4
mov byte [ebp - 0x20], 0xc4
mov byte [ebp - 0x1f], 0x2d
mov byte [ebp - 0x1e], 0xd9
mov byte [ebp - 0x1d], 0x18
mov byte [ebp - 0x1c], 0x66
mov byte [ebp - 0x10], 0x99
mov byte [ebp - 0xf], 0xc5
mov byte [ebp - 0xe], 0x81
mov byte [ebp - 0xd], 0xe4
mov byte [ebp - 0xc], 0x92
mov byte [ebp - 0xb], 0xfb
mov byte [ebp - 0xa], 0x98
mov byte [ebp - 9], 0xfd
mov byte [ebp - 8], 0xa1
mov edx, 0x1ee2
xor esi, esi
mov cl, 0x1c
sub cl, dl
movsx eax, cl
xor edx, eax
mov al, byte [ebp + esi - 0xf]
xor al, byte [ebp + esi - 0x10]
mov bl, 0x1d
mov byte [ebp + esi - 0x24], al
mov al, dl
imul bl
xor al, cl
or al, 0x48
inc esi
cmp esi, 8
mov byte [0x43201d], al
jl 0x423e20
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
push 0x200
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 8]
mov byte [ebp + esi - 0x24], 0
mov dword [ebp - 0xc], edi
mov byte [ebp - 0x425], 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
jne 0x423ed5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x423ec7
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x224]
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x224]
push eax
call ebx
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 8]
push 1
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
test eax, eax
jne 0x423f46
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, edi
jne 0x423f85
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x424]
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x424]
push eax
mov byte [0x43201d], 0x63
call ebx
push 0xffffffffffffffff
push edi
push 3
push edi
push 1
push edi
lea eax, [ebp - 0x424]
mov bl, 0x1c
sub bl, byte [0x43201d]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x423f52
push edi
push dword [ebp + 0x18]
lea ecx, [ebp + 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 4
push ecx
push 0x170002
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x423f5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor byte [0x43201d], bl
jmp 0x423f58
mov byte [ebp - 0x425], 1
jmp 0x423eca
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp byte [ebp - 0x425], 0
je 0x423f82
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 8]
push 7
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
test eax, eax
jne 0x423f82
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x423f85
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.00424873
leave
ret