Function at 0x408259
Capabilities:
Encode data using xor
Get disk information

Disassembly:
mov eax, 0x44a115
call fcn.00438c74
mov eax, 0x12dc
call fcn.00439ae0
mov eax, dword [0x45e56c]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov dword [ebp - 0x10], eax
mov esi, 0x400
push esi
lea eax, [ebp - 0xea0]
push eax
lea eax, [ebp - 0x12dc]
push eax
lea eax, [ebp - 0x12e4]
push eax
lea eax, [ebp - 0x12c8]
push eax
push esi
lea eax, [ebp - 0xaa0]
push eax
push 0x44d080
call edi
xor ebx, ebx
test eax, eax
jne 0x4082bb
mov dword [ebp - 0x12c8], ebx
push dword [ebp - 0x12c8]
lea eax, [ebp - 0x44]
push str.78hjvf_luxv22
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x44]
push eax
call fcn.00438420
add esp, 0x10
cmp byte [0x45d15c], 0
mov dword [ebp - 0x12d4], eax
je 0x4082f9
mov eax, 0x45d15c
xor byte [eax], 0x2c
inc eax
cmp byte [eax], 0
jne 0x4082f0
cmp byte [0x45d168], 0
je 0x408310
mov eax, 0x45d168
xor byte [eax], 0x2c
inc eax
cmp byte [eax], 0
jne 0x408307
mov dword [ebp - 0x12b4], ebx
mov byte [ebp - 0x12a4], 0x4f
mov byte [ebp - 0x12a3], 0x16
mov byte [ebp - 0x12a2], 0x70
mov byte [ebp - 0x12a1], 0
xor eax, eax
xor byte [ebp + eax - 0x12a4], 0x2c
inc eax
cmp eax, 3
jl 0x408334
push esi
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x12e0]
push eax
lea eax, [ebp - 0x12e8]
push eax
lea eax, [ebp - 0x12b4]
push eax
push esi
lea eax, [ebp - 0x12a0]
push eax
lea eax, [ebp - 0x12a4]
push eax
call edi
test eax, eax
jne 0x40837a
mov dword [ebp - 0x12b4], ebx
push dword [ebp - 0x12b4]
lea eax, [ebp - 0x12a4]
push eax
call fcn.00424c18
pop ecx
pop ecx
xor eax, eax
xor byte [ebp + eax - 0x12a4], 0x37
inc eax
cmp eax, 4
jl 0x408390
lea eax, [ebp - 0x12a4]
push eax
call fcn.00424bf5
pop ecx
mov dword [ebp - 0x12b4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
mov dword [ebp - 0x12b8], eax
je 0x408612
push 0x104
lea eax, [ebp - 0x2a0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x19c]
call fcn.00427b93
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x19c]
mov dword [ebp - 4], ebx
call fcn.00427d52
test al, al
je 0x4085f7
push dword [ebp - 0xa0]
mov ecx, 0x463930
call fcn.00419d5f
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x12bc], ebx
call fcn.00427c77
mov esi, dword [eax + 0x24]
mov edi, dword [eax + 0x28]
add esi, dword [ebp - 0xd0]
push edi
mov dword [ebp - 0x12d8], esi
mov dword [ebp - 0x12c4], edi
call fcn.00439322
pop ecx
lea ecx, [ebp - 0x12bc]
push ecx
push edi
push eax
push esi
push dword [ebp - 0x12b8]
mov dword [ebp - 0x12a8], eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4085eb
cmp dword [ebp - 0x12bc], edi
jne 0x4085eb
cmp byte [0x45d15c], 0
mov byte [ebp - 0x12c0], 0
mov dword [ebp - 0x12ac], ebx
je 0x4084ae
inc dword [ebp - 0x12ac]
mov eax, dword [ebp - 0x12ac]
cmp byte [eax + 0x45d15c], 0
jne 0x408499
cmp byte [0x45d168], 0
mov dword [ebp - 0x12b0], ebx
je 0x4084d2
inc dword [ebp - 0x12b0]
mov eax, dword [ebp - 0x12b0]
cmp byte [eax + 0x45d168], 0
jne 0x4084bd
mov eax, dword [ebp - 0x12c4]
xor edi, edi
sub eax, dword [ebp - 0x12b0]
mov dword [ebp - 0x12cc], eax
je 0x4085c9
push 0xb
pop eax
sub eax, dword [ebp - 0x12a8]
mov dword [ebp - 0x12d0], eax
mov eax, dword [ebp - 0x12a8]
lea esi, [edi + eax]
mov al, byte [0x45d15c]
cmp byte [esi], al
jne 0x408565
push dword [ebp - 0x12ac]
push 0x45d15c
push esi
call fcn.004386f0
add esp, 0xc
test eax, eax
jne 0x408565
mov eax, dword [ebp - 0x12d0]
mov ecx, dword [ebp - 0x12a8]
lea ebx, [eax + esi]
mov eax, dword [ebp - 0x12ac]
add eax, ecx
movzx ecx, byte [eax + edi + 1]
test ecx, ecx
mov al, byte [eax + edi + 2]
mov byte [ebp - 0x12c0], al
jne 0x4085b6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x19c]
call fcn.00427bdd
xor al, al
jmp 0x408614
mov al, byte [0x45d168]
cmp byte [esi], al
jne 0x4085b6
push dword [ebp - 0x12b0]
push 0x45d168
push esi
call fcn.004386f0
add esp, 0xc
test eax, eax
jne 0x4085b6
cmp edi, ebx
jbe 0x4085b4
test ebx, ebx
jbe 0x4085b4
push dword [ebp - 0x12b4]
lea eax, [ebp - 0x44]
push dword [ebp - 0x12c0]
push dword [ebp - 0x12d4]
push eax
push edi
push ebx
push dword [ebp - 0x12a8]
call fcn.00408212
add esp, 0x1c
xor ebx, ebx
inc edi
cmp edi, dword [ebp - 0x12cc]
jb 0x4084fb
mov esi, dword [ebp - 0x12d8]
lea eax, [ebp - 0x12bc]
push eax
push dword [ebp - 0x12c4]
push dword [ebp - 0x12a8]
push esi
push dword [ebp - 0x12b8]
call fcn.00407961
add esp, 0x14
push dword [ebp - 0x12a8]
call fcn.0043931d
pop ecx
push dword [ebp - 0x12b8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x19c]
call fcn.00427bdd
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0043840c
leave
ret