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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x74
mov eax, dword [0x44e370]
mov dword [esp + 8], 0x59065b3f
mov dword [esp + 0xc], 0x5dfb5fe9
mov dword [esp + 0x10], 0x51ee53fb
mov dword [esp + 0x14], 0x55e65717
mov dword [esp + 0x18], 0xa9eeabe4
mov dword [esp + 0x1c], 0xad1aaf0f
mov dword [esp + 0x20], 0xa1d9a30b
mov dword [esp + 0x24], 0xa7a0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x1f
ja 0x422b8b
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
mov esi, ecx
xor esi, 0xe04fe46f
and ecx, 0xe04fe46f
lea ecx, [esi + ecx*2]
xor ecx, edx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x58]
add cl, 0xd5
mov edx, dword [esp]
mov byte [esp + edx + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x20
jb 0x422b50
lea edi, [esp + 0x68]
lea ecx, [esp + 8]
push edi
push 0
push 0
push 0xe
push ecx
push 0
call eax
mov ebx, dword [esp + 0x68]
test ebx, ebx
jns 0x422bae
mov eax, 0xffffffff
jmp 0x422bb1
lea eax, [ebx + ebx]
push eax
call fcn.0040c470
add esp, 4
mov esi, eax
mov eax, dword [0x44e370]
mov dword [esp + 8], 0xb9c6bbdf
mov dword [esp + 0xc], 0xbddbbf29
mov dword [esp + 0x10], 0xb12eb3db
mov dword [esp + 0x14], 0xb526b7f7
mov dword [esp + 0x18], 0xa9eeab24
mov dword [esp + 0x1c], 0xad3aafcf
mov dword [esp + 0x20], 0xa1f9a3cb
mov word [esp + 0x24], 0xa7a0
mov dword [esp + 0x26], 0
mov byte [esp + 0x2a], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x22
ja 0x422c62
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
mov ebp, ecx
not ebp
or ebp, 0x48f19c1f
add ebp, ecx
xor ecx, 0x48f19c1f
lea ecx, [ecx + ebp*2]
add ecx, 2
xor ecx, edx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x58]
add cl, 0x65
mov edx, dword [esp]
mov byte [esp + edx + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x23
jb 0x422c20
push edi
push ebx
push esi
push 0xe
lea ecx, [esp + 0x18]
push ecx
push 0
call eax
mov eax, dword [esp + 0x68]
mov ecx, eax
add ecx, 9
jns 0x422c82
mov eax, 0xffffffff
jmp 0x422c89
lea eax, [eax*2 + 0x12]
push eax
call fcn.0040c470
add esp, 4
mov edi, eax
mov dword [esp + 8], 0x71be0fb0
mov dword [esp + 0xc], 0x75d773d3
mov dword [esp + 0x10], 0x79d577d9
mov dword [esp + 0x14], 0x7ddd7bd1
mov dword [esp + 0x18], 0x617e7fe9
mov word [esp + 0x1c], 0
mov byte [esp + 0x1e], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x16
ja 0x422d25
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
mov edx, eax
xor edx, 0x6c002f3d
and eax, 0xec002f3d
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
mov ecx, eax
not ecx
and ecx, 0x31
and eax, 0xce
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x17
jb 0x422ce0
movzx ecx, word [esi]
mov eax, edi
test cx, cx
je 0x422d51
lea edx, [esi + 2]
mov eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x422d40
mov word [eax], 0
movzx ecx, word [esp + 8]
test cx, cx
je 0x422d81
lea edx, [esp + 0xa]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x422d70
mov ebx, dword [esp + 0x88]
mov word [eax], 0
lea eax, [esp + 0x70]
push eax
push edi
call fcn.00441e70
add esp, 8
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x449b10]