Function at 0x4e80b0
Capabilities:
Encode data using xor
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x547820
push 0x4faf40
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x551e00]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x339], 0
mov dword [ebp - 0x320], 0
mov edi, dword [0x559f9c]
mov dword [ebp - 0x350], edi
mov al, byte [0x413a18]
xor al, 0x2a
mov byte [ebp - 0x28], al
mov al, byte [0x413a19]
xor al, 0xc1
mov byte [ebp - 0x27], al
mov al, byte [0x413a1a]
xor al, 0x68
mov byte [ebp - 0x26], al
mov al, byte [0x413a1b]
xor al, 0x7e
mov byte [ebp - 0x25], al
mov al, byte [0x413a1c]
xor al, 0x2a
mov byte [ebp - 0x24], al
mov al, byte [0x413a1d]
xor al, 0xc1
mov byte [ebp - 0x23], al
mov byte [ebp - 0x22], 0
mov eax, dword [edi + 0x218]
call eax
mov dword [ebp - 0x34c], eax
mov ecx, 0x41
mov dword [ebp - 0x340], ecx
test eax, eax
je 0x4e855a
test al, 1
je 0x4e8543
mov eax, dword [ebp - 0x340]
mov byte [ebp - 0x24], al
lea eax, [ebp - 0x24]
push eax
mov eax, dword [edi + 0x21c]
call eax
sub eax, 2
je 0x4e818e
sub eax, 2
jmp 0x4e8195
cmp dword [ebp - 0x340], 0x41
je 0x4e8537
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x28]
push eax
mov eax, dword [edi + 0x208]
call eax
mov esi, eax
mov dword [ebp - 0x348], esi
cmp esi, 0xffffffff
je 0x4e8349
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x338], xmm0
movq qword [ebp - 0x328], xmm0
push 0
lea eax, [ebp - 0x320]
push eax
push 0x18
lea eax, [ebp - 0x338]
push eax
push 0
push 0
push 0x74080
push esi
mov eax, dword [edi + 0x210]
call eax
test eax, eax
je 0x4e8344
mov al, byte [ebp - 0x335]
test al, al
je 0x4e8344
and al, 0x10
neg al
sbb al, al
and al, 0xb5
add al, 0xec
mov byte [ebp - 0x341], al
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x48], xmm0
movdqu xmmword [ebp - 0x38], xmm0
push 0x210
push 0
lea eax, [ebp - 0x31c]
push eax
call fcn.004fa8e0
add esp, 0xc
mov word [ebp - 0x48], 0x200
mov word [ebp - 0x43], 0x101
mov byte [ebp - 0x3f], 0xb0
mov al, byte [ebp - 0x341]
mov byte [ebp - 0x3e], al
push 0
lea eax, [ebp - 0x320]
push eax
push 0x210
lea eax, [ebp - 0x31c]
push eax
push 0x20
lea eax, [ebp - 0x48]
push eax
push 0x7c088
push esi
mov eax, dword [edi + 0x210]
call eax
test eax, eax
je 0x4e8344
xor edi, edi
xor esi, esi
jmp 0x4e82a0
movzx eax, byte [ebp + esi - 0x2da]
push eax
call fcn.004fcda1
xor al, 0xc1
mov byte [ebp + esi - 0x73], al
movzx eax, byte [ebp + esi - 0x2d9]
push eax
call fcn.004fcda1
add esp, 8
xor al, 0xc1
mov byte [ebp + esi - 0x74], al
add esi, 2
cmp esi, 0x28
jl 0x4e82a0
test esi, esi
je 0x4e82da
lea edi, [esi - 1]
xor esi, esi
cmp dword [0x413984], esi
je 0x4e8333
xor eax, eax
mov ecx, 0x413984
jmp 0x4e82f0
push dword [eax + 0x413988]
push dword [ecx]
push edi
lea eax, [ebp - 0x74]
push eax
call fcn.004e8990
add esp, 0x10
test eax, eax
je 0x4e8320
push edi
lea eax, [ebp - 0x74]
push eax
call fcn.004e7a90
add esp, 8
mov byte [ebp - 0x339], al
test al, al
jne 0x4e8333
inc esi
lea eax, [esi*8]
lea ecx, [eax + 0x413984]
cmp dword [ecx], 0
jne 0x4e82f0
push dword [ebp - 0x348]
mov edi, dword [ebp - 0x350]
jmp 0x4e8526
cmp esi, 0xffffffff
jne 0x4e8372
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [edi + 0x208]
call eax
mov esi, eax
mov dword [ebp - 0x348], eax
cmp esi, 0xffffffff
je 0x4e8537
push 0x96
push 0
lea eax, [ebp - 0x10c]
push eax
call fcn.004fa8e0
add esp, 0xc
push 0
lea eax, [ebp - 0x320]
push eax
push 0x96
lea eax, [ebp - 0x10c]
push eax
push 0x96
push eax
push 0x2d1400
push esi
mov eax, dword [edi + 0x210]
call eax
test eax, eax
je 0x4e8525
cmp dword [ebp - 0x10c], 0x28
jne 0x4e8525
mov dword [ebp - 0x358], 0x408154
xor ecx, ecx
mov dword [ebp - 0x354], ecx
mov eax, dword [ebp - 0x100]
test eax, eax
je 0x4e8422
lea edi, [ebp - 0x10c]
add edi, eax
mov dword [ebp - 0x358], edi
xor esi, esi
cmp byte [edi], cl
je 0x4e8415
movsx eax, byte [edi + esi]
push eax
call fcn.004fcda1
add esp, 4
xor al, 0xc1
mov byte [edi + esi], al
inc esi
cmp byte [edi + esi], 0
jne 0x4e83f6
mov ecx, dword [ebp - 0x354]
test esi, esi
je 0x4e8422
lea ecx, [esi - 1]
mov dword [ebp - 0x354], ecx
mov edi, 0x408154
xor esi, esi
mov dword [ebp - 0x360], esi
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x4e8470
lea edi, [ebp - 0x10c]
add edi, eax
cmp byte [edi], 0
je 0x4e8465
movsx eax, byte [edi + esi]
push eax
call fcn.004fcda1
add esp, 4
xor al, 0xc1
mov byte [edi + esi], al
inc esi
cmp byte [edi + esi], 0
jne 0x4e8446
mov ecx, dword [ebp - 0x354]
test esi, esi
je 0x4e8470
dec esi
mov dword [ebp - 0x360], esi
mov dword [ebp - 0x35c], 0
cmp dword [0x413984], 0
je 0x4e8519
xor esi, esi
mov eax, 0x413984
mov dword [ebp - 0x364], eax
push dword [esi + 0x413988]
push dword [eax]
push ecx
push dword [ebp - 0x358]
call fcn.004e8990
add esp, 0x10
test eax, eax
jne 0x4e8512
push dword [esi + 0x413988]
mov eax, dword [ebp - 0x364]
push dword [eax]
mov esi, dword [ebp - 0x360]
push esi
push edi
call fcn.004e8990
add esp, 0x10
test eax, eax
je 0x4e84e5
push esi
push edi
call fcn.004e7a90
add esp, 8
mov byte [ebp - 0x339], al
test al, al
jne 0x4e8519
mov eax, dword [ebp - 0x35c]
inc eax
mov dword [ebp - 0x35c], eax
lea esi, [eax*8]
lea eax, [esi + 0x413984]
mov dword [ebp - 0x364], eax
cmp dword [eax], 0
mov ecx, dword [ebp - 0x354]
jne 0x4e8494
jmp 0x4e8519
mov byte [ebp - 0x339], 1
mov edi, dword [ebp - 0x350]
mov esi, dword [ebp - 0x348]
push esi
mov eax, dword [edi + 0x214]
call eax
cmp byte [ebp - 0x339], 0
jne 0x4e855a
mov eax, dword [ebp - 0x34c]
mov ecx, dword [ebp - 0x340]
shr eax, 1
mov dword [ebp - 0x34c], eax
inc ecx
mov dword [ebp - 0x340], ecx
test eax, eax
jne 0x4e8167
push 0x29
push 0
lea eax, [ebp - 0x74]
push eax
call fcn.004fa8e0
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
mov word [ebp - 0x20], 0
push 0x210
push 0
lea eax, [ebp - 0x31c]
push eax
call fcn.004fa8e0
add esp, 0x18
mov al, byte [ebp - 0x339]
test al, al
jne 0x4e85c6
cmp byte [ebp + 8], al
je 0x4e85c2
mov dword [ebp - 4], 0
int 8
mov dword [ebp - 4], 0xfffffffe
jmp 0x4e85c2
test al, al
je 0x4e85d5
call fcn.00426350
mov dword [eax], 6
mov al, 1
jmp 0x4e85d7
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004f9e32
mov esp, ebp
pop ebp
ret