Function at 0x41daf0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x214
mov al, byte [0x4aadf8]
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 8
mov esi, 0x4a734c
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 + 0xf58], ebp
mov dword [ebx + 0x2bb4c], ebp
mov dword [esp + 0x14], 1
mov dword [ebx + 0xf5c], ebp
lea ecx, [ebx + 0xf18]
lea eax, [ebx + 0xed8]
mov edx, 6
mov esi, dword [ebx + 0xeda]
mov edi, dword [eax]
xor esi, edi
add eax, 2
mov dword [ecx], esi
add ecx, 4
dec edx
jne 0x41db5b
lea ecx, [esp + 0x15c]
push ecx
push 8
call fcn.004166f0
add esp, 8
mov dword [esp + 0x10], ebp
mov eax, dword [ebx + 0x2bb4c]
test eax, eax
jl 0x41df41
cmp ebp, 2
jne 0x41dbd6
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.00449ffa
add esp, 0x14
push ebp
lea ecx, [esp + 0x120]
push str..PhysicalDrive_d
push ecx
call fcn.00449ffa
mov esi, dword [ebx + 0x2bb4c]
add esp, 0xc
xor eax, eax
mov ecx, 0x372
lea edx, [esi + esi*2]
push eax
shl edx, 4
add edx, esi
push 0x8000000
push 3
push eax
lea edx, [edx + edx*8]
push 3
push 0xc0000000
lea edi, [ebx + edx*8 + 0x2bb50]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edx, dword [ebx + 0x2bb4c]
lea ecx, [edx + edx*2]
shl ecx, 4
add ecx, edx
cmp ebp, 6
lea ecx, [ecx + ecx*8]
mov dword [ebx + ecx*8 + 0x2bb50], eax
jne 0x41dd15
lea edx, [esp + 0x28]
push 0x10
lea eax, [esp + 0x6c]
push edx
push eax
lea ecx, [ebx + 0xed0]
call fcn.004082e0
xor ebp, ebp
lea ecx, [esp + 0x15c]
push str._02X
push ecx
call fcn.00449ffa
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 0x41dce1
mov edi, 0x4a5ac4
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 0x41dc65
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
lea eax, [ebx + 0x47500]
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 0x41ddb1
cmp ebp, 7
jne 0x41dd8f
lea eax, [esp + 0x7c]
lea esi, [ebx + 0x47514]
push 0x10
push eax
push esi
lea ecx, [ebx + 0xed0]
call fcn.00408420
lea ecx, [esp + 0x7c]
push ecx
call fcn.0044a3ed
lea edx, [esp + 0x83]
mov edi, eax
push edx
call fcn.0044a3ed
mov dword [esp + 0x18], eax
lea eax, [esp + 0x8a]
push eax
call fcn.0044a3ed
add esp, 0xc
cmp eax, 0x7d2
jne 0x41ddb1
mov ecx, dword [esp + 0x10]
add ecx, edi
cmp ecx, 0x25
jne 0x41ddb1
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 0x41ddb1
cmp ebp, 0xa
jne 0x41ddb1
mov eax, dword [ebx + 0xf5c]
test eax, eax
jl 0x41ddb1
jg 0x41dda9
cmp dword [ebx + 0xf58], 0xf
jbe 0x41ddb1
mov dword [esp + 0x14], 0xffffff9c
mov ecx, dword [ebx + 0x2bb4c]
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, ecx
mov ecx, dword [ebx + 0x47540]
lea eax, [eax + eax*8]
mov dword [ebx + eax*8 + 0x2bb60], ecx
mov ecx, dword [ebx + 0x2bb4c]
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, ecx
lea edx, [eax + eax*8]
lea eax, [ebx + edx*8 + 0x2bb50]
push eax
call fcn.004160d0
add esp, 4
test al, al
je 0x41def6
mov ecx, dword [ebx + 0x2bb4c]
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, ecx
lea ecx, [eax + eax*8]
mov dword [ebx + ecx*8 + 0x2bb54], ebp
mov ecx, dword [ebx + 0x2bb4c]
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, ecx
lea edx, [eax + eax*8]
mov eax, dword [ebx + edx*8 + 0x2bbac]
push eax
mov eax, dword [ebx + edx*8 + 0x2bbd0]
mov ecx, dword [ebx + edx*8 + 0x2bba8]
lea esi, [ebx + edx*8]
push ecx
mov edx, dword [esi + 0x2bbd4]
push edx
push eax
call fcn.0044a100
test edx, edx
jl 0x41de7b
jg 0x41de55
cmp eax, 0x3b9aca00
jbe 0x41de7b
push 0
push 0x3b9aca00
push edx
push eax
call fcn.0044a050
push edx
add esi, 0x2bb64
push eax
push esi
lea ecx, [esp + 0x1cc]
push str._s___I64d_gB_
push ecx
jmp 0x41de9f
push 0
push 0xf4240
push edx
push eax
call fcn.0044a050
push edx
add esi, 0x2bb64
push eax
push esi
lea edx, [esp + 0x1cc]
push str._s___d_mB_
push edx
call fcn.00449ffa
mov ecx, dword [ebx + 0xd1c]
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 + 0x2bb4c]
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, ecx
lea edx, [eax + eax*8]
lea eax, [ebx + edx*8 + 0x2bb50]
push eax
call fcn.00419320
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 0x2bb4c]
add esp, 4
add eax, ecx
mov dword [ebx + 0x2bb4c], eax
cmp ebp, 5
jne 0x41df12
lea edx, [esp + 0xfc]
push 0x1f
push edx
lea ecx, [ebx + 0xed0]
call fcn.00408190
jmp 0x41df41
cmp ebp, 0xc
jne 0x41df41
mov eax, dword [ebx + 0xdb0]
lea ecx, [ebx + 0xdb0]
mov edx, 0xf
mov ecx, 0
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [ebx + 0xf58], ecx
mov dword [ebx + 0xf5c], edx
inc ebp
cmp ebp, 0x20
mov dword [esp + 0x10], ebp
jl 0x41db86
mov eax, dword [ebx + 0x2bb4c]
test eax, eax
jl 0x41df6e
mov eax, dword [ebx + 0xf5c]
test eax, eax
jg 0x41df82
jl 0x41df6e
cmp dword [ebx + 0xf58], 1
jae 0x41df82
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
mov dword [ebx + 0x2bb4c], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x214
ret