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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473486
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 0x414ca8
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 0x414ad5
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x420]
call fcn.00401f60
push 0x50
lea eax, [ebp - 0x400]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0044edc0
add esp, 0xc
lea ecx, [ebp - 0x400]
call fcn.00417300
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.00419860
lea ecx, [ebp - 0x400]
call fcn.00417240
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x40c]
cmp edx, 0x10
jb 0x414b8d
mov ecx, dword [ebp - 0x420]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414b83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414e4a
push edx
push ecx
call fcn.004373a7
add esp, 8
cmp dword [ebp - 0x39c], 8
lea eax, [ebp - 0x3b0]
push 0x487ef4
cmovae eax, dword [ebp - 0x3b0]
push eax
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x40c], 0xf
mov byte [ebp - 0x420], 0
call fcn.00452ac4
mov esi, eax
add esp, 8
test esi, esi
je 0x414bf3
push 2
push 0
push esi
call fcn.004561f6
push esi
call fcn.00452807
add esp, 0x10
cmp eax, 0x1c2
je 0x414c43
push esi
call fcn.00452b99
add esp, 4
push str.load_encryption_key:File_open_error_n
call fcn.004022d0
add esp, 4
mov byte [ebp - 0x401], 0
mov edx, dword [ebp - 0x39c]
cmp edx, 8
jb 0x414c9d
mov ecx, dword [ebp - 0x3b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414c93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414e4f
jmp 0x414c93
push 0x1c3
lea eax, [ebp - 0x1d4]
push 0
push eax
call fcn.0044edc0
push 0
push 0
push esi
call fcn.004561f6
push esi
push 0x1c2
lea eax, [ebp - 0x1d4]
push 1
push eax
call fcn.00456b44
push esi
call fcn.00452b99
add esp, 0x2c
lea ecx, [ebp - 0x1d4]
call fcn.00414e60
mov byte [ebp - 0x401], al
jmp 0x414c07
push edx
push ecx
call fcn.004373a7
add esp, 8
mov al, byte [ebp - 0x401]
jmp 0x414e2f
push 0x1c3
lea eax, [ebp - 0x398]
push 0
push eax
call fcn.0044edc0
add esp, 0xc
call fcn.00404b10
mov ecx, eax
cmp byte [ecx + 0x1c2], 0
je 0x414d2d
movaps xmm2, xmmword [0x4896d0]
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 0x414ce2
xor byte [edx + ecx], 0x2e
inc edx
cmp edx, 0x1c3
jb 0x414d20
mov edx, 0x4992a0
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x414d34
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.00456f2a
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 0x414e10
nop dword [eax]
mov al, byte [esi + 1]
cmp al, 4
jb 0x414e10
cmp byte [esi], 1
jne 0x414da0
cmp al, 0x19
jae 0x414dc9
movzx eax, al
add eax, esi
cmp eax, ecx
jae 0x414dc0
nop dword [eax]
cmp byte [eax], 0
jne 0x414dbb
cmp byte [eax + 1], 0
je 0x414dc0
inc eax
cmp eax, ecx
jb 0x414db0
lea esi, [eax + 2]
cmp esi, ecx
jb 0x414d90
jmp 0x414e10
mov dh, 1
xor edi, edi
mov al, dh
mov byte [ebp - 0x401], al
test dh, dh
jne 0x414ddd
test al, al
je 0x414e0a
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 0x414dd5
mov edx, dword [ebp - 0x408]
push edx
call fcn.00456849
push 0
push str.default_key:_d_n
call fcn.004022d0
add esp, 0xc
mov ecx, 0x4992a0
call fcn.00414e60
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.00437366
mov esp, ebp
pop ebp
ret
call fcn.0045212a
call fcn.0045212a
int3