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

Disassembly:
mov eax, 0x449f05
call fcn.00438a64
mov eax, 0x12dc
call fcn.004398d0
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 0x408292
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.00438210
add esp, 0x10
cmp byte [0x45d15c], 0
mov dword [ebp - 0x12d4], eax
je 0x4082d0
mov eax, 0x45d15c
xor byte [eax], 0x2c
inc eax
cmp byte [eax], 0
jne 0x4082c7
cmp byte [0x45d168], 0
je 0x4082e7
mov eax, 0x45d168
xor byte [eax], 0x2c
inc eax
cmp byte [eax], 0
jne 0x4082de
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 0x40830b
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 0x408351
mov dword [ebp - 0x12b4], ebx
push dword [ebp - 0x12b4]
lea eax, [ebp - 0x12a4]
push eax
call fcn.00424a15
pop ecx
pop ecx
xor eax, eax
xor byte [ebp + eax - 0x12a4], 0x37
inc eax
cmp eax, 4
jl 0x408367
lea eax, [ebp - 0x12a4]
push eax
call fcn.004249f2
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 0x4085e9
push 0x104
lea eax, [ebp - 0x2a0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x19c]
call fcn.00427990
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x19c]
mov dword [ebp - 4], ebx
call fcn.00427b4f
test al, al
je 0x4085ce
push dword [ebp - 0xa0]
mov ecx, 0x463930
call fcn.00419b68
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x12bc], ebx
call fcn.00427a74
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.00439112
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 0x4085c2
cmp dword [ebp - 0x12bc], edi
jne 0x4085c2
cmp byte [0x45d15c], 0
mov byte [ebp - 0x12c0], 0
mov dword [ebp - 0x12ac], ebx
je 0x408485
inc dword [ebp - 0x12ac]
mov eax, dword [ebp - 0x12ac]
cmp byte [eax + 0x45d15c], 0
jne 0x408470
cmp byte [0x45d168], 0
mov dword [ebp - 0x12b0], ebx
je 0x4084a9
inc dword [ebp - 0x12b0]
mov eax, dword [ebp - 0x12b0]
cmp byte [eax + 0x45d168], 0
jne 0x408494
mov eax, dword [ebp - 0x12c4]
xor edi, edi
sub eax, dword [ebp - 0x12b0]
mov dword [ebp - 0x12cc], eax
je 0x4085a0
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 0x40853c
push dword [ebp - 0x12ac]
push 0x45d15c
push esi
call fcn.004384e0
add esp, 0xc
test eax, eax
jne 0x40853c
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 0x40858d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x19c]
call fcn.004279da
xor al, al
jmp 0x4085eb
mov al, byte [0x45d168]
cmp byte [esi], al
jne 0x40858d
push dword [ebp - 0x12b0]
push 0x45d168
push esi
call fcn.004384e0
add esp, 0xc
test eax, eax
jne 0x40858d
cmp edi, ebx
jbe 0x40858b
test ebx, ebx
jbe 0x40858b
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.004081e9
add esp, 0x1c
xor ebx, ebx
inc edi
cmp edi, dword [ebp - 0x12cc]
jb 0x4084d2
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.0043910d
pop ecx
push dword [ebp - 0x12b8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x19c]
call fcn.004279da
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.004381fc
leave
ret