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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x78
mov eax, dword [0x44cd98]
mov dword [esp + 8], 0xe1ace3c7
mov dword [esp + 0xc], 0xe583e795
mov dword [esp + 0x10], 0xe984eb8b
mov dword [esp + 0x14], 0xed9cefaf
mov dword [esp + 0x18], 0xf1b4f382
mov dword [esp + 0x1c], 0xf580f797
mov dword [esp + 0x20], 0xf9ddfb9b
mov dword [esp + 0x24], 0xfffe
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x1f
ja 0x41ecc0
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
add ecx, 0x133571e0
xor ecx, edx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x58]
add cl, 0xfe
mov edx, dword [esp]
mov byte [esp + edx + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x20
jb 0x41ec90
lea edi, [esp + 0x68]
lea esi, [esp + 8]
push edi
push 0
push 0
push 0xe
push esi
push 0
call eax
mov ebx, dword [esp + 0x68]
test ebx, ebx
jns 0x41ece3
mov eax, 0xffffffff
jmp 0x41ece6
lea eax, [ebx + ebx]
push eax
call fcn.00409660
add esp, 4
mov dword [esp + 0x6c], eax
mov eax, dword [0x44cd98]
mov dword [esp + 8], 0x5b0e5965
mov dword [esp + 0xc], 0x57355523
mov dword [esp + 0x10], 0x53265131
mov dword [esp + 0x14], 0x6f1e6d2d
mov dword [esp + 0x18], 0x6b366918
mov dword [esp + 0x1c], 0x67ea6505
mov dword [esp + 0x20], 0x635f6101
mov dword [esp + 0x24], 0x7d7c
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x1f
ja 0x41ed80
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, 0x647553d4
xor ecx, edx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x58]
add cl, 0x74
mov edx, dword [esp]
mov byte [esp + edx + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x20
jb 0x41ed50
mov ebp, dword [esp + 0x8c]
push edi
push ebx
mov ebx, dword [esp + 0x74]
push ebx
push 0xe
push esi
push 0
call eax
mov eax, dword [esp + 0x68]
mov ecx, eax
add ecx, 9
jns 0x41eda7
mov eax, 0xffffffff
jmp 0x41edae
lea eax, [eax*2 + 0x12]
push eax
call fcn.00409660
add esp, 4
mov dword [esp + 8], 0x9acb98f5
mov dword [esp + 0xc], 0x9efa9cfe
mov dword [esp + 0x10], 0x92f090ec
mov dword [esp + 0x14], 0x96f094ec
mov dword [esp + 0x18], 0xaaaba8dc
mov byte [esp + 0x1c], 0
mov edi, eax
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x14
ja 0x41ee3c
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]
mov edx, 0x6f
sub edx, eax
add eax, ecx
not ecx
or edx, ecx
lea eax, [eax + edx*2]
add eax, 0x4c997992
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
add al, 0xf7
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x15
jb 0x41ee00
movzx ecx, word [ebx]
mov eax, edi
test cx, cx
je 0x41ee61
lea edx, [ebx + 2]
mov eax, edi
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41ee50
mov word [eax], 0
movzx ecx, word [esp + 8]
test cx, cx
je 0x41ee91
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 0x41ee80
mov word [eax], 0
lea eax, [esp + 0x74]
push eax
push edi
call fcn.004419f0
add esp, 8
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x4486dc]