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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x74
mov eax, dword [0x44a918]
mov dword [esp + 8], 0x87d285a9
mov dword [esp + 0xc], 0x83e181f7
mov dword [esp + 0x10], 0x8ffa8ded
mov dword [esp + 0x14], 0x8bfa89c9
mov dword [esp + 0x18], 0x97da95e4
mov dword [esp + 0x1c], 0x93ee91f1
mov dword [esp + 0x20], 0x9fb39dfd
mov word [esp + 0x24], 0x9998
mov dword [esp + 0x26], 0
mov word [esp + 0x2a], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x23
ja 0x41c600
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
add ecx, 0x237c6780
xor ecx, edx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x58]
add cl, 0xfc
mov edx, dword [esp]
mov byte [esp + edx + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x24
jb 0x41c5d0
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 0x41c623
mov eax, 0xffffffff
jmp 0x41c626
lea eax, [ebx + ebx]
push eax
call fcn.00409620
add esp, 4
mov esi, eax
mov eax, dword [0x44a918]
mov dword [esp + 8], 0xdb2eddf1
mov dword [esp + 0xc], 0xc729d94b
mov dword [esp + 0x10], 0xc356c525
mov dword [esp + 0x14], 0xcf5ec101
mov dword [esp + 0x18], 0xcb06cd5c
mov dword [esp + 0x1c], 0xf76ac929
mov dword [esp + 0x20], 0xf3dff515
mov word [esp + 0x24], 0xf1f0
mov dword [esp + 0x26], 0
mov byte [esp + 0x2a], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x22
ja 0x41c6d0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
add ecx, 0xb557238a
xor ecx, edx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x58]
add cl, 0xaa
mov edx, dword [esp]
mov byte [esp + edx + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x23
jb 0x41c6a0
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 0x41c6ec
mov eax, 0xffffffff
jmp 0x41c6f3
lea eax, [eax*2 + 0x12]
push eax
call fcn.00409620
add esp, 4
mov edi, eax
mov dword [esp + 8], 0x71c273d0
mov dword [esp + 0xc], 0x75d377d7
mov dword [esp + 0x10], 0x69cd6be9
mov dword [esp + 0x14], 0x6df56ff1
mov dword [esp + 0x18], 0x616263f9
mov word [esp + 0x1c], 0
mov byte [esp + 0x1e], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x16
ja 0x41c77e
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, 0xdc57fd87
xor eax, ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
add al, 5
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x17
jb 0x41c750
movzx ecx, word [esi]
mov eax, edi
test cx, cx
je 0x41c7a1
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 0x41c790
mov word [eax], 0
movzx ecx, word [esp + 8]
test cx, cx
je 0x41c7d1
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 0x41c7c0
mov ebx, dword [esp + 0x88]
mov word [eax], 0
lea eax, [esp + 0x70]
push eax
push edi
call fcn.0043f4d0
add esp, 8
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x4462e0]