Function at 0x427e30
Capabilities:
Encode data using xor
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466b14
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4902b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x4283b2
mov eax, 0x5a4d
cmp word [esi], ax
je 0x427e7f
push str.Invalid_DOS_header_signature.
jmp 0x42839f
mov ecx, dword [esi + 0x3c]
add ecx, esi
cmp dword [ecx], 0x4550
je 0x427e96
push str.Invalid_NT_header_signature.
jmp 0x42839f
movzx edx, word [ecx + 0x14]
movzx eax, word [ecx + 6]
add edx, ecx
test eax, eax
je 0x42839a
lea eax, [eax + eax*4]
mov ecx, dword [edx + eax*8 - 4]
mov edx, dword [edx + eax*8 - 8]
dec edx
mov dword [ebp - 0x48], edx
mov al, byte [ecx + esi]
inc ecx
mov byte [ebp - 0x41], al
add esi, ecx
movsx eax, al
xor ecx, ecx
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm2, xmm0, 0
test edx, edx
je 0x427f1e
cmp edx, 0x20
jb 0x427f0b
mov eax, edx
and eax, 0xffffffe0
movups xmm0, xmmword [esi + ecx]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esi + ecx], xmm1
movups xmm0, xmmword [esi + ecx + 0x10]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esi + ecx + 0x10], xmm1
add ecx, 0x20
cmp ecx, eax
jb 0x427ee4
cmp ecx, edx
jae 0x427f1e
nop
mov dl, byte [ebp - 0x41]
lea eax, [ecx + esi]
xor byte [eax], dl
inc ecx
cmp ecx, dword [ebp - 0x48]
jb 0x427f10
push 0x41df70
xorps xmm0, xmm0
push esi
push 0
movq qword [ebp - 0x58], xmm0
call fcn.0041da80
add esp, 0xc
mov dword [ebp - 0x58], fcn.004287d0
mov esi, eax
mov dword [ebp - 4], 0
test eax, eax
jne 0x427f52
mov byte [ebp - 0x41], al
jmp 0x428381
xorps xmm0, xmm0
xor esi, esi
movq qword [ebp - 0x50], xmm0
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], fcn.004287d0
mov dword [ebp - 0x4c], eax
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
push str.rsa_n
call fcn.00420e70
lea ecx, [ebp - 0x50]
call fcn.00422260
test eax, eax
je 0x427fd0
push eax
lea ecx, [ebp - 0x40]
call fcn.00420e70
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push 0x492c50
push eax
call fcn.00425d70
add esp, 8
lea ecx, [ebp - 0x28]
test al, al
je 0x4282ef
call fcn.00419cc0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00419cc0
sub esp, 0x18
mov ecx, esp
push str.rsa_e
call fcn.00420e70
lea ecx, [ebp - 0x50]
call fcn.00422260
test eax, eax
je 0x428037
push eax
lea ecx, [ebp - 0x40]
call fcn.00420e70
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push 0x492c80
push eax
call fcn.00425d70
add esp, 8
lea ecx, [ebp - 0x28]
test al, al
je 0x4282ef
call fcn.00419cc0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00419cc0
sub esp, 0x18
mov ecx, esp
push str.rsa_d
call fcn.00420e70
lea ecx, [ebp - 0x50]
call fcn.00422260
test eax, eax
je 0x42809e
push eax
lea ecx, [ebp - 0x40]
call fcn.00420e70
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push 0x492d10
push eax
call fcn.00425d70
add esp, 8
lea ecx, [ebp - 0x28]
test al, al
je 0x4282ef
call fcn.00419cc0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00419cc0
sub esp, 0x18
mov ecx, esp
push str.rsa_p
call fcn.00420e70
lea ecx, [ebp - 0x50]
call fcn.00422260
test eax, eax
je 0x428105
push eax
lea ecx, [ebp - 0x40]
call fcn.00420e70
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x10
push 0x492cb0
push eax
call fcn.00425d70
add esp, 8
lea ecx, [ebp - 0x28]
test al, al
je 0x4282ef
call fcn.00419cc0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00419cc0
sub esp, 0x18
mov ecx, esp
push str.rsa_q
call fcn.00420e70
lea ecx, [ebp - 0x50]
call fcn.00422260
test eax, eax
je 0x42816c
push eax
lea ecx, [ebp - 0x40]
call fcn.00420e70
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x14
push 0x492c68
push eax
call fcn.00425d70
add esp, 8
lea ecx, [ebp - 0x28]
test al, al
je 0x4282ef
call fcn.00419cc0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00419cc0
sub esp, 0x18
mov ecx, esp
push str.rsa_dp
call fcn.00420e70
lea ecx, [ebp - 0x50]
call fcn.00422260
test eax, eax
je 0x4281d3
push eax
lea ecx, [ebp - 0x40]
call fcn.00420e70
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x18
push 0x492cc8
push eax
call fcn.00425d70
add esp, 8
lea ecx, [ebp - 0x28]
test al, al
je 0x4282ef
call fcn.00419cc0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00419cc0
sub esp, 0x18
mov ecx, esp
push str.rsa_dq
call fcn.00420e70
lea ecx, [ebp - 0x50]
call fcn.00422260
test eax, eax
je 0x42823a
push eax
lea ecx, [ebp - 0x40]
call fcn.00420e70
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x1c
push 0x492c20
push eax
call fcn.00425d70
add esp, 8
lea ecx, [ebp - 0x28]
test al, al
je 0x4282ef
call fcn.00419cc0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00419cc0
sub esp, 0x18
mov ecx, esp
push str.rsa_qp
call fcn.00420e70
lea ecx, [ebp - 0x50]
call fcn.00422260
test eax, eax
je 0x42829d
push eax
lea ecx, [ebp - 0x40]
call fcn.00420e70
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x20
push 0x492d28
push eax
call fcn.00425d70
add esp, 8
lea ecx, [ebp - 0x28]
test al, al
je 0x4282ef
call fcn.00419cc0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00419cc0
sub esp, 0x18
mov ecx, esp
push str.content
call fcn.00420e70
lea ecx, [ebp - 0x50]
call fcn.00422260
test eax, eax
je 0x428313
push eax
lea ecx, [ebp - 0x40]
call fcn.00420e70
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x24
push 0x492c08
push eax
call fcn.00425d70
add esp, 8
lea ecx, [ebp - 0x28]
test al, al
jne 0x428302
call fcn.00419cc0
lea ecx, [ebp - 0x40]
call fcn.00419cc0
mov byte [ebp - 0x41], 0
jmp 0x42836f
call fcn.00419cc0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00419cc0
sub esp, 0x18
mov ecx, esp
push str.encrypt_file_entension
call fcn.00420e70
lea ecx, [ebp - 0x50]
call fcn.00422260
test eax, eax
je 0x42836b
cmp byte [eax], 0x20
je 0x42836b
push eax
lea ecx, [ebp - 0x40]
call fcn.00420e70
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x26
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00428c00
add esp, 8
mov ecx, 0x492c98
push eax
call fcn.00421fa0
lea ecx, [ebp - 0x28]
call fcn.004217a0
lea ecx, [ebp - 0x40]
call fcn.00419cc0
mov byte [ebp - 0x41], 1
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 0x27
test eax, eax
je 0x428381
push eax
call dword [ebp - 0x50]
add esp, 4
mov dword [ebp - 4], 0x28
test esi, esi
je 0x428395
push esi
call fcn.004287d0
add esp, 4
mov al, byte [ebp - 0x41]
jmp 0x4283b4
push str.No_sections_found.
push 0x4931c8
call fcn.0041ef70
push eax
call fcn.00420600
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444b60
mov esp, ebp
pop ebp
ret