Function at 0x406660
Capabilities:
Accept command line arguments
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x268
mov eax, dword [0x46d140]
xor eax, esp
mov dword [esp + 0x264], eax
push esi
push edi
lea eax, [esp + 0x94]
mov dword [esp + 0x148], 0x73736170
xor esi, esi
mov dword [esp + 0x14c], 0x64726f77
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x154], 0x65747942
mov dword [esp + 0x158], 0x744d2073
mov dword [esp + 0x15c], 0x69764532
mov byte [esp + 0x160], 0x6c
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x1c], eax
cmp ecx, 2
jge 0x4067d2
push 0xb0
lea eax, [esp + 0x164]
push esi
push eax
call fcn.0042d650
add esp, 8
lea ecx, [esp + 0x164]
call fcn.00407020
mov edx, str.Please_drag_and_drop_.gr2_files_onto_the_executable__n
lea ecx, [esp + 0x170]
call fcn.0040dad0
mov edx, 0x464f18
lea ecx, [esp + 0x170]
call fcn.0040dad0
mov edx, str.All_rights_reserved_to_3.dn_n
lea ecx, [esp + 0x170]
call fcn.0040dad0
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x164]
call fcn.00406f30
cmp dword [eax + 0x14], 0xf
jbe 0x406758
mov eax, dword [eax]
push 0x40
push 0x464f3c
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x84]
cmp ecx, 0xf
jbe 0x4067a1
mov edx, dword [esp + 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406797
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e3f
push ecx
push edx
call fcn.0042b746
add esp, 8
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 0x160]
call fcn.00406e60
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.0042b6f7
mov esp, ebp
pop ebp
ret 0x10
mov edi, 1
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
cmp ecx, edi
jle 0x406a75
nop
push 0
push 0
push 0x104
lea ecx, [esp + 0x16c]
push ecx
push 0xffffffffffffffff
push dword [eax + edi*4]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xorps xmm0, xmm0
mov dword [esp + 0x80], 0
lea ecx, [esp + 0x160]
movaps xmmword [esp + 0x70], xmm0
mov dword [esp + 0x84], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406860
sub ecx, edx
lea eax, [esp + 0x160]
push ecx
push eax
lea ecx, [esp + 0x78]
call fcn.0040e060
mov eax, dword [esp + 0x80]
cmp eax, 4
jb 0x406902
or esi, 1
mov dword [esp + 0x30], 0
lea edx, [eax - 4]
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
cmp eax, edx
jb 0x406e44
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [esp + 0x84], 0xf
lea eax, [esp + 0x70]
cmova eax, dword [esp + 0x70]
push ecx
add eax, edx
lea ecx, [esp + 0x24]
push eax
call fcn.0040e060
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x20]
cmp edx, 0xf
cmova eax, ecx
cmp dword [esp + 0x30], 4
jne 0x40690a
cmp dword [eax], 0x3272672e
jne 0x40690a
mov byte [esp + 0x17], 0
jmp 0x40690f
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x18]
test al, 1
je 0x40694c
and eax, 0xfffffffe
mov dword [esp + 0x18], eax
cmp edx, 0xf
jbe 0x40694c
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406942
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e3f
push edx
push ecx
call fcn.0042b746
add esp, 8
cmp byte [esp + 0x17], 0
je 0x40697c
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x70]
push ecx
cmp eax, dword [esp + 0x58]
je 0x406973
mov ecx, eax
call fcn.00409cf0
add dword [esp + 0x50], 0x18
jmp 0x406a25
lea ecx, [esp + 0x50]
jmp 0x406a1f
push ecx
lea edx, [esp + 0x14c]
lea ecx, [esp + 0x74]
call fcn.00404370
add esp, 4
lea edx, [esp + 0x148]
push ecx
lea ecx, [esp + 0x74]
test al, al
je 0x4069cf
call fcn.00405790
add esp, 4
test al, al
je 0x4069fe
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x70]
push ecx
cmp eax, dword [esp + 0x64]
je 0x4069c9
mov ecx, eax
call fcn.00409cf0
add dword [esp + 0x5c], 0x18
jmp 0x406a25
lea ecx, [esp + 0x5c]
jmp 0x406a1f
call fcn.00404b10
add esp, 4
test al, al
je 0x4069fe
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x70]
push ecx
cmp eax, dword [esp + 0x70]
je 0x4069f8
mov ecx, eax
call fcn.00409cf0
add dword [esp + 0x68], 0x18
jmp 0x406a25
lea ecx, [esp + 0x68]
jmp 0x406a1f
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x70]
push ecx
cmp eax, dword [esp + 0x4c]
je 0x406a1b
mov ecx, eax
call fcn.00409cf0
add dword [esp + 0x44], 0x18
jmp 0x406a25
lea ecx, [esp + 0x44]
push eax
call fcn.00410200
mov ecx, dword [esp + 0x84]
cmp ecx, 0xf
jbe 0x406a5e
mov edx, dword [esp + 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406a54
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e3f
push ecx
push edx
call fcn.0042b746
add esp, 8
inc edi
cmp edi, dword [esp + 0x94]
jge 0x406a75
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
jmp 0x406810
push 0xb0
lea eax, [esp + 0x9c]
push 0
push eax
call fcn.0042d650
add esp, 8
lea ecx, [esp + 0x9c]
call fcn.00407020
mov edx, str.Process_completed__n_n
lea ecx, [esp + 0xa8]
call fcn.0040dad0
mov eax, dword [esp + 0x64]
cmp eax, dword [esp + 0x68]
je 0x406af3
mov edx, str.Successfully_encrypted_files:
lea ecx, [esp + 0xa8]
call fcn.0040dad0
mov ecx, dword [esp + 0x68]
mov esi, eax
sub ecx, dword [esp + 0x64]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
mov ecx, esi
call fcn.00408f00
mov edx, 0x464f58
mov ecx, eax
call fcn.0040dad0
mov eax, dword [esp + 0x58]
cmp eax, dword [esp + 0x5c]
je 0x406b3d
mov edx, str.Successfully_decrypted_files:
lea ecx, [esp + 0xa8]
call fcn.0040dad0
mov ecx, dword [esp + 0x5c]
mov esi, eax
sub ecx, dword [esp + 0x58]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
mov ecx, esi
call fcn.00408f00
mov edx, 0x464f58
mov ecx, eax
call fcn.0040dad0
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x44]
je 0x406b87
mov edx, str.Failed_to_process_files:
lea ecx, [esp + 0xa8]
call fcn.0040dad0
mov ecx, dword [esp + 0x44]
mov esi, eax
sub ecx, dword [esp + 0x40]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
mov ecx, esi
call fcn.00408f00
mov edx, 0x464f58
mov ecx, eax
call fcn.0040dad0
mov eax, dword [esp + 0x4c]
cmp eax, dword [esp + 0x50]
je 0x406bd1
mov edx, str.Invalid_files__non_.gr2_:
lea ecx, [esp + 0xa8]
call fcn.0040dad0
mov ecx, dword [esp + 0x50]
mov esi, eax
sub ecx, dword [esp + 0x4c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
mov ecx, esi
call fcn.00408f00
mov edx, 0x464f58
mov ecx, eax
call fcn.0040dad0
mov edx, 0x464f18
lea ecx, [esp + 0xa8]
call fcn.0040dad0
mov edx, str.All_rights_reserved_to_3.dn_n
lea ecx, [esp + 0xa8]
call fcn.0040dad0
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x9c]
call fcn.00406f30
cmp dword [eax + 0x14], 0xf
jbe 0x406c0c
mov eax, dword [eax]
push 0x40
push 0x464f3c
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x84]
cmp ecx, 0xf
jbe 0x406c55
mov edx, dword [esp + 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406c4b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e49
push ecx
push edx
call fcn.0042b746
add esp, 8
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 0x98]
call fcn.00406e60
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x406ce1
mov edx, dword [esp + 0x50]
push ecx
call fcn.0040e6c0
mov ecx, dword [esp + 0x58]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x50]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x406cbf
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e4e
push ecx
push esi
call fcn.0042b746
add esp, 8
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x406d57
mov edx, dword [esp + 0x44]
push ecx
call fcn.0040e6c0
mov ecx, dword [esp + 0x4c]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x44]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x406d35
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e4e
push ecx
push esi
call fcn.0042b746
add esp, 8
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x406dcd
mov edx, dword [esp + 0x5c]
push ecx
call fcn.0040e6c0
mov ecx, dword [esp + 0x64]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x5c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x406dab
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e4e
push ecx
push esi
call fcn.0042b746
add esp, 8
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x406e27
mov edx, dword [esp + 0x68]
push ecx
call fcn.0040e6c0
mov ecx, dword [esp + 0x70]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x68]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x406e1d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e4e
push ecx
push esi
call fcn.0042b746
add esp, 8
mov ecx, dword [esp + 0x26c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0042b6f7
mov esp, ebp
pop ebp
ret 0x10
call fcn.00439da4
call fcn.0040d0d0
call fcn.00439da4
call fcn.00439da4
int3