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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x74
mov eax, dword [0x44ad3c]
mov dword [esp + 8], 0xe91cef33
mov dword [esp + 0xc], 0xe507eb7d
mov dword [esp + 0x10], 0xe174e707
mov dword [esp + 0x14], 0x9d0ce323
mov dword [esp + 0x18], 0x99649f0e
mov dword [esp + 0x1c], 0x95189b7b
mov dword [esp + 0x20], 0x914d9777
mov word [esp + 0x24], 0x9392
mov dword [esp + 0x26], 0
mov byte [esp + 0x2a], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x22
ja 0x41d106
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
lea esi, [ecx + edx]
add ecx, 0xb2
and ecx, edx
add ecx, ecx
sub esi, ecx
add esi, 0xe3c29cb2
mov dword [esp + 0x58], esi
mov ecx, dword [esp + 0x58]
mov edx, ecx
xor edx, 0x5c
and ecx, 0x23
add ecx, ecx
sub ecx, edx
mov edx, dword [esp]
mov byte [esp + edx + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x23
jb 0x41d0c0
lea edi, [esp + 0x68]
lea ebp, [esp + 8]
push edi
push 0
push 0
push 0xe
push ebp
push 0
call eax
mov ebx, dword [esp + 0x68]
test ebx, ebx
jns 0x41d129
mov eax, 0xffffffff
jmp 0x41d12c
lea eax, [ebx + ebx]
push eax
call fcn.00409d90
add esp, 4
mov esi, eax
mov eax, dword [0x44ad3c]
mov dword [esp + 8], 0x24f92204
mov dword [esp + 0xc], 0x38dc26d6
mov dword [esp + 0x10], 0x3cc13ad8
mov dword [esp + 0x14], 0x30c13efc
mov dword [esp + 0x18], 0x34f132c3
mov dword [esp + 0x1c], 0xc83d36d4
mov dword [esp + 0x20], 0xcceaca28
mov word [esp + 0x24], 0xcecf
mov dword [esp + 0x26], 0
mov word [esp + 0x2a], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x23
ja 0x41d1d0
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
add ecx, 0x4e03496a
xor ecx, edx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x58]
add cl, 0xb7
mov edx, dword [esp]
mov byte [esp + edx + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x24
jb 0x41d1a0
push edi
push ebx
push esi
push 0xe
push ebp
push 0
call eax
mov eax, dword [esp + 0x68]
mov ecx, eax
add ecx, 9
jns 0x41d1ec
mov eax, 0xffffffff
jmp 0x41d1f3
lea eax, [eax*2 + 0x12]
push eax
call fcn.00409d90
add esp, 4
mov edi, eax
mov dword [esp + 8], 0x7cad7aa7
mov dword [esp + 0xc], 0xe47e9c
mov dword [esp + 0x10], 0x4e602ee
mov dword [esp + 0x14], 0x8ee06ee
mov dword [esp + 0x18], 0xc0d0afe
mov word [esp + 0x1c], 0
mov byte [esp + 0x1e], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x16
ja 0x41d27e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
add eax, 0xdd78a3a
xor eax, ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
add al, 0xbf
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x17
jb 0x41d250
movzx ecx, word [esi]
mov eax, edi
test cx, cx
je 0x41d2a1
lea edx, [esi + 2]
mov eax, edi
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41d290
mov word [eax], 0
movzx ecx, word [esp + 8]
test cx, cx
je 0x41d2d1
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 0x41d2c0
mov ebx, dword [esp + 0x88]
mov word [eax], 0
lea eax, [esp + 0x70]
push eax
push edi
call fcn.0043ee70
add esp, 8
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x446760]