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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x78
mov eax, dword [0x441cec]
mov dword [esp + 8], 0x69a66b8f
mov dword [esp + 0xc], 0x6dcb6ff9
mov dword [esp + 0x10], 0x51fe53cb
mov dword [esp + 0x14], 0x55c65797
mov dword [esp + 0x18], 0x599e5bc4
mov dword [esp + 0x1c], 0x5dca5fff
mov dword [esp + 0x20], 0x41a943fb
mov word [esp + 0x24], 0x4740
mov dword [esp + 0x26], 0
mov byte [esp + 0x2a], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x22
ja 0x41ade2
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 + 0x17]
add ecx, edx
and esi, edx
add esi, esi
sub ecx, esi
add ecx, 0xf63aa117
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x58]
mov edx, ecx
xor edx, 0x73
and ecx, 0xc
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 0x41ada0
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 0x41ae05
mov eax, 0xffffffff
jmp 0x41ae08
lea eax, [ebx + ebx]
push eax
call fcn.00409540
add esp, 4
mov esi, eax
mov eax, dword [0x441cec]
mov dword [esp + 8], 0x6132675b
mov dword [esp + 0xc], 0x7d1f6311
mov dword [esp + 0x10], 0x790a7f1f
mov dword [esp + 0x14], 0x750a7b3b
mov dword [esp + 0x18], 0x712a7704
mov dword [esp + 0x1c], 0x8dfe7313
mov dword [esp + 0x20], 0x89b18fef
mov word [esp + 0x24], 0x8b88
mov dword [esp + 0x26], 0
mov word [esp + 0x2a], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x23
ja 0x41aeb0
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, 0x2b2b0769
xor ecx, edx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x58]
add cl, 0xf3
mov edx, dword [esp]
mov byte [esp + edx + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x24
jb 0x41ae80
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 0x41aed0
mov eax, 0xffffffff
jmp 0x41aed7
lea eax, [eax*2 + 0x12]
push eax
call fcn.00409540
add esp, 4
mov ebx, eax
mov dword [esp + 8], 0x578649ac
mov dword [esp + 0xc], 0x53bd55b5
mov dword [esp + 0x10], 0x5fbf51a7
mov dword [esp + 0x14], 0x5bb75db7
mov dword [esp + 0x18], 0x676659a7
mov word [esp + 0x1c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x15
ja 0x41af4e
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
add eax, 0xe06318e
xor eax, ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
add al, 0x3a
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x16
jb 0x41af20
movzx ecx, word [esi]
mov eax, ebx
test cx, cx
je 0x41af71
lea edx, [esi + 2]
mov eax, ebx
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41af60
mov word [eax], 0
movzx ecx, word [esp + 8]
test cx, cx
je 0x41afa1
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 0x41af90
mov edi, dword [esp + 0x8c]
mov word [eax], 0
lea eax, [esp + 0x74]
push eax
push ebx
call fcn.00436bf0
add esp, 8
not eax
shr eax, 0x1f
mov dword [esp + 0x6c], ebx
jmp dword [eax*4 + 0x43d77c]