Function at 0x41cbb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x214
mov al, byte [0x4a7a28]
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 8
mov esi, str.Error_getting_disk_information_
lea edi, [esp + 0xfc]
mov byte [esp + 0xbc], al
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xbd]
xor ebp, ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebx + 0xf10], ebp
mov dword [ebx + 0x2b7ac], ebp
mov dword [esp + 0x14], 1
mov dword [ebx + 0xf14], ebp
lea ecx, [ebx + 0xed0]
lea eax, [ebx + 0xe90]
mov edx, 6
mov esi, dword [ebx + 0xe92]
mov edi, dword [eax]
xor esi, edi
add eax, 2
mov dword [ecx], esi
add ecx, 4
dec edx
jne 0x41cc1b
lea ecx, [esp + 0x15c]
push ecx
push 8
call fcn.00415b20
add esp, 8
mov dword [esp + 0x10], ebp
mov eax, dword [ebx + 0x2b7ac]
test eax, eax
jl 0x41d00e
cmp ebp, 2
jne 0x41cc96
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1a]
mov edx, dword [esp + 0x1e]
and eax, 0xffff
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
lea eax, [esp + 0x74]
push str._02d__02d__04d______
push eax
call fcn.004478fa
add esp, 0x14
push ebp
lea ecx, [esp + 0x120]
push str..PhysicalDrive_d
push ecx
call fcn.004478fa
mov esi, dword [ebx + 0x2b7ac]
add esp, 0xc
mov edx, esi
xor eax, eax
shl edx, 4
add edx, esi
push eax
mov ecx, 0x330
push 0x8000000
lea edx, [edx + edx*2]
push 3
shl edx, 6
push eax
push 3
lea edi, [edx + ebx + 0x2b7b0]
push 0xc0000000
rep stosd dword es:[edi], eax
lea eax, [esp + 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edx, dword [ebx + 0x2b7ac]
mov ecx, edx
shl ecx, 4
add ecx, edx
lea ecx, [ecx + ecx*2]
shl ecx, 6
cmp ebp, 6
mov dword [ecx + ebx + 0x2b7b0], eax
jne 0x41cdd9
lea edx, [esp + 0x28]
push 0x10
lea eax, [esp + 0x6c]
push edx
push eax
lea ecx, [ebx + 0xe88]
call fcn.00407d60
xor ebp, ebp
lea ecx, [esp + 0x15c]
push str._02X
push ecx
call fcn.004478fa
lea edi, [esp + 0x164]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xbc]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
cmp ebp, 0xf
rep movsb byte es:[edi], byte [esi]
je 0x41cda5
mov edi, 0x4a2a84
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xbc]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
inc ebp
cmp ebp, 0x10
jl 0x41cd29
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
lea eax, [ebx + 0x45060]
mov ebp, dword [esp + 0x10]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
jmp 0x41ce75
cmp ebp, 7
jne 0x41ce53
lea eax, [esp + 0x7c]
lea esi, [ebx + 0x45074]
push 0x10
push eax
push esi
lea ecx, [ebx + 0xe88]
call fcn.00407ea0
lea ecx, [esp + 0x7c]
push ecx
call fcn.00447ced
lea edx, [esp + 0x83]
mov edi, eax
push edx
call fcn.00447ced
mov dword [esp + 0x18], eax
lea eax, [esp + 0x8a]
push eax
call fcn.00447ced
add esp, 0xc
cmp eax, 0x7d2
jne 0x41ce75
mov ecx, dword [esp + 0x10]
add ecx, edi
cmp ecx, 0x25
jne 0x41ce75
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esi], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
jmp 0x41ce75
cmp ebp, 0xa
jne 0x41ce75
mov eax, dword [ebx + 0xf14]
test eax, eax
jl 0x41ce75
jg 0x41ce6d
cmp dword [ebx + 0xf10], 0xf
jbe 0x41ce75
mov dword [esp + 0x14], 0xffffff9c
mov ecx, dword [ebx + 0x2b7ac]
mov eax, ecx
shl eax, 4
add eax, ecx
mov ecx, dword [ebx + 0x450a0]
lea eax, [eax + eax*2]
shl eax, 6
mov dword [eax + ebx + 0x2b7c0], ecx
mov ecx, dword [ebx + 0x2b7ac]
mov eax, ecx
shl eax, 4
add eax, ecx
lea edx, [eax + eax*2]
shl edx, 6
lea eax, [edx + ebx + 0x2b7b0]
push eax
call fcn.00415570
add esp, 4
test al, al
je 0x41cfc3
mov ecx, dword [ebx + 0x2b7ac]
mov eax, ecx
shl eax, 4
add eax, ecx
lea ecx, [eax + eax*2]
shl ecx, 6
mov dword [ecx + ebx + 0x2b7b4], ebp
mov ecx, dword [ebx + 0x2b7ac]
mov eax, ecx
shl eax, 4
add eax, ecx
lea edx, [eax + eax*2]
shl edx, 6
mov eax, dword [edx + ebx + 0x2b80c]
mov ecx, dword [edx + ebx + 0x2b808]
lea esi, [edx + ebx]
push eax
push ecx
mov edx, dword [esi + 0x2b834]
mov eax, dword [esi + 0x2b830]
push edx
push eax
call fcn.00447a00
test edx, edx
jl 0x41cf46
jg 0x41cf20
cmp eax, 0x3b9aca00
jbe 0x41cf46
push 0
push 0x3b9aca00
push edx
push eax
call fcn.00447950
push edx
add esi, 0x2b7c4
push eax
push esi
lea ecx, [esp + 0x1cc]
push str._s___I64d_GB_
push ecx
jmp 0x41cf6a
push 0
push 0xf4240
push edx
push eax
call fcn.00447950
push edx
add esi, 0x2b7c4
push eax
push esi
lea edx, [esp + 0x1cc]
push str._s___d_mB_
push edx
call fcn.004478fa
mov ecx, dword [ebx + 0xcdc]
add esp, 0x14
lea eax, [esp + 0x1c0]
push eax
push 0
push 0x143
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebx + 0x2b7ac]
mov eax, ecx
shl eax, 4
add eax, ecx
lea edx, [eax + eax*2]
shl edx, 6
lea eax, [edx + ebx + 0x2b7b0]
push eax
call fcn.00418670
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 0x2b7ac]
add esp, 4
add eax, ecx
mov dword [ebx + 0x2b7ac], eax
cmp ebp, 5
jne 0x41cfdf
lea edx, [esp + 0xfc]
push 0x1f
push edx
lea ecx, [ebx + 0xe88]
call fcn.00407c10
jmp 0x41d00e
cmp ebp, 0xc
jne 0x41d00e
mov eax, dword [ebx + 0xd68]
lea ecx, [ebx + 0xd68]
mov ecx, 0xf
mov edx, 0
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [ebx + 0xf10], ecx
mov dword [ebx + 0xf14], edx
inc ebp
cmp ebp, 0x20
mov dword [esp + 0x10], ebp
jl 0x41cc46
mov eax, dword [ebx + 0x2b7ac]
test eax, eax
jl 0x41d03b
mov eax, dword [ebx + 0xf14]
test eax, eax
jg 0x41d04f
jl 0x41d03b
cmp dword [ebx + 0xf10], 1
jae 0x41d04f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
mov dword [ebx + 0x2b7ac], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x214
ret