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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473436
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 0x414ce8
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 0x414b15
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x420]
call fcn.00401f50
push 0x50
lea eax, [ebp - 0x400]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0044ee30
add esp, 0xc
lea ecx, [ebp - 0x400]
call fcn.00417340
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.004198a0
lea ecx, [ebp - 0x400]
call fcn.00417280
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x40c]
cmp edx, 0x10
jb 0x414bcd
mov ecx, dword [ebp - 0x420]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414bc3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414e8a
push edx
push ecx
call fcn.00437415
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.00456710
mov esi, eax
add esp, 8
test esi, esi
je 0x414c33
push 2
push 0
push esi
call fcn.00456152
push esi
call fcn.00452877
add esp, 0x10
cmp eax, 0x1c2
je 0x414c83
push esi
call fcn.00452af5
add esp, 4
push str.load_encryption_key:File_open_error_n
call fcn.004022c0
add esp, 4
mov byte [ebp - 0x401], 0
mov edx, dword [ebp - 0x39c]
cmp edx, 8
jb 0x414cdd
mov ecx, dword [ebp - 0x3b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414cd3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414e8f
jmp 0x414cd3
push 0x1c3
lea eax, [ebp - 0x1d4]
push 0
push eax
call fcn.0044ee30
push 0
push 0
push esi
call fcn.00456152
push esi
push 0x1c2
lea eax, [ebp - 0x1d4]
push 1
push eax
call fcn.00456ae5
push esi
call fcn.00452af5
add esp, 0x2c
lea ecx, [ebp - 0x1d4]
call fcn.00414ea0
mov byte [ebp - 0x401], al
jmp 0x414c47
push edx
push ecx
call fcn.00437415
add esp, 8
mov al, byte [ebp - 0x401]
jmp 0x414e6f
push 0x1c3
lea eax, [ebp - 0x398]
push 0
push eax
call fcn.0044ee30
add esp, 0xc
call fcn.00404b00
mov ecx, eax
cmp byte [ecx + 0x1c2], 0
je 0x414d6d
movaps xmm2, xmmword [0x489130]
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 0x414d22
xor byte [edx + ecx], 0x2e
inc edx
cmp edx, 0x1c3
jb 0x414d60
mov edx, 0x4992a0
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x414d74
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.00456e27
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 0x414e50
nop dword [eax]
mov al, byte [esi + 1]
cmp al, 4
jb 0x414e50
cmp byte [esi], 1
jne 0x414de0
cmp al, 0x19
jae 0x414e09
movzx eax, al
add eax, esi
cmp eax, ecx
jae 0x414e00
nop dword [eax]
cmp byte [eax], 0
jne 0x414dfb
cmp byte [eax + 1], 0
je 0x414e00
inc eax
cmp eax, ecx
jb 0x414df0
lea esi, [eax + 2]
cmp esi, ecx
jb 0x414dd0
jmp 0x414e50
mov dh, 1
xor edi, edi
mov al, dh
mov byte [ebp - 0x401], al
test dh, dh
jne 0x414e1d
test al, al
je 0x414e4a
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 0x414e15
mov edx, dword [ebp - 0x408]
push edx
call fcn.004567ea
push 0
push str.default_key:_d_n
call fcn.004022c0
add esp, 0xc
mov ecx, 0x4992a0
call fcn.00414ea0
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.004373d4
mov esp, ebp
pop ebp
ret
call fcn.0045219a
call fcn.0045219a
int3