Function at 0x414a90
Capabilities:
Encode data using xor
Get system firmware table
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4733c6
mov eax, dword fs:[0]
push eax
sub esp, 0x414
mov eax, dword [0x493018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
test edx, edx
je 0x414cb8
mov dword [ebp - 0x410], 0
lea esi, [ecx + 1]
mov dword [ebp - 0x40c], 0xf
mov byte [ebp - 0x420], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414ae5
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x420]
call fcn.00401f40
push 0x50
lea eax, [ebp - 0x400]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0044ede0
add esp, 0xc
lea ecx, [ebp - 0x400]
call fcn.00417320
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x420]
cmp dword [ebp - 0x40c], 0x10
mov eax, dword [ebp - 0x410]
cmovae ecx, dword [ebp - 0x420]
add eax, ecx
push eax
push ecx
lea eax, [ebp - 0x3b0]
push eax
lea ecx, [ebp - 0x400]
call fcn.00419880
lea ecx, [ebp - 0x400]
call fcn.00417260
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x40c]
cmp edx, 0x10
jb 0x414b9d
mov ecx, dword [ebp - 0x420]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414b93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414e5a
push edx
push ecx
call fcn.004373c7
add esp, 8
cmp dword [ebp - 0x39c], 8
lea eax, [ebp - 0x3b0]
push 0x487ac0
cmovae eax, dword [ebp - 0x3b0]
push eax
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x40c], 0xf
mov byte [ebp - 0x420], 0
call fcn.004566c0
mov esi, eax
add esp, 8
test esi, esi
je 0x414c03
push 2
push 0
push esi
call fcn.00456102
push esi
call fcn.00452827
add esp, 0x10
cmp eax, 0x1c2
je 0x414c53
push esi
call fcn.00452aa5
add esp, 4
push str.load_encryption_key:File_open_error_n
call fcn.004022b0
add esp, 4
mov byte [ebp - 0x401], 0
mov edx, dword [ebp - 0x39c]
cmp edx, 8
jb 0x414cad
mov ecx, dword [ebp - 0x3b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414ca3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414e5f
jmp 0x414ca3
push 0x1c3
lea eax, [ebp - 0x1d4]
push 0
push eax
call fcn.0044ede0
push 0
push 0
push esi
call fcn.00456102
push esi
push 0x1c2
lea eax, [ebp - 0x1d4]
push 1
push eax
call fcn.00456a95
push esi
call fcn.00452aa5
add esp, 0x2c
lea ecx, [ebp - 0x1d4]
call fcn.00414e80
mov byte [ebp - 0x401], al
jmp 0x414c17
push edx
push ecx
call fcn.004373c7
add esp, 8
mov al, byte [ebp - 0x401]
jmp 0x414e3f
push 0x1c3
lea eax, [ebp - 0x398]
push 0
push eax
call fcn.0044ede0
add esp, 0xc
call fcn.00404af0
mov ecx, eax
cmp byte [ecx + 0x1c2], 0
je 0x414d3d
movaps xmm2, xmmword [0x4890c0]
lea eax, [ecx + 0x20]
mov esi, 7
mov edx, 0x1c0
lea eax, [eax + 0x40]
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x60]
pxor xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x50]
pxor xmm0, xmm2
movups xmmword [eax - 0x50], xmm0
movups xmm0, xmmword [eax - 0x40]
pxor xmm0, xmm2
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [eax - 0x30]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
sub esi, 1
jne 0x414cf2
xor byte [edx + ecx], 0x2e
inc edx
cmp edx, 0x1c3
jb 0x414d30
mov edx, 0x4992a0
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x414d44
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
push 0
push 0
push 0
push 0x52534d42
call edi
mov esi, eax
push esi
call fcn.00456dd7
add esp, 4
mov dword [ebp - 0x408], eax
push esi
push eax
push 0
push 0x52534d42
call edi
mov edx, dword [ebp - 0x408]
mov ecx, dword [edx + 4]
lea esi, [edx + 8]
add ecx, 8
add ecx, edx
cmp esi, ecx
jae 0x414e20
nop dword [eax]
mov al, byte [esi + 1]
cmp al, 4
jb 0x414e20
cmp byte [esi], 1
jne 0x414db0
cmp al, 0x19
jae 0x414dd9
movzx eax, al
add eax, esi
cmp eax, ecx
jae 0x414dd0
nop dword [eax]
cmp byte [eax], 0
jne 0x414dcb
cmp byte [eax + 1], 0
je 0x414dd0
inc eax
cmp eax, ecx
jb 0x414dc0
lea esi, [eax + 2]
cmp esi, ecx
jb 0x414da0
jmp 0x414e20
mov dh, 1
xor edi, edi
mov al, dh
mov byte [ebp - 0x401], al
test dh, dh
jne 0x414ded
test al, al
je 0x414e1a
mov dl, byte [esi + edi + 8]
xor ecx, ecx
inc edi
movzx eax, dh
test dl, dl
cmove ecx, eax
movzx eax, byte [ebp - 0x401]
mov dh, cl
xor ecx, ecx
cmp dl, 0xff
cmove ecx, eax
mov al, cl
mov byte [ebp - 0x401], al
cmp edi, 0x10
jl 0x414de5
mov edx, dword [ebp - 0x408]
push edx
call fcn.0045679a
push 0
push str.default_key:_d_n
call fcn.004022b0
add esp, 0xc
mov ecx, 0x4992a0
call fcn.00414e80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00437386
mov esp, ebp
pop ebp
ret
call fcn.0045214a
call fcn.0045214a
int3