Function at 0x409300
Capabilities:
Accept command line arguments
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x288
mov eax, dword [0x473180]
xor eax, esp
mov dword [esp + 0x284], eax
push esi
push edi
lea eax, [esp + 0x50]
mov dword [esp + 0x168], 0x73736170
push eax
mov dword [esp + 0x170], 0x64726f77
mov dword [esp + 0x174], 0x65747942
mov dword [esp + 0x178], 0x744d2073
mov dword [esp + 0x17c], 0x69764532
mov byte [esp + 0x180], 0x6c
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [esp + 0x50], 2
mov edi, eax
jge 0x40945d
push 0xb0
lea eax, [esp + 0x184]
push 0
push eax
call fcn.00432db0
add esp, 8
lea ecx, [esp + 0x184]
call fcn.00409ea0
mov edx, str.Please_drag_and_drop_.gr2_files_or_folders_onto_the_executable__n
lea ecx, [esp + 0x190]
call fcn.004113b0
mov edx, 0x46adec
lea ecx, [esp + 0x190]
call fcn.004113b0
mov edx, str.All_rights_reserved_to_3.dn_n
lea ecx, [esp + 0x190]
call fcn.004113b0
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x184]
call fcn.00409db0
cmp dword [eax + 0x14], 0xf
jbe 0x4093e9
mov eax, dword [eax]
push 0x40
push 0x46ae10
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x74]
cmp ecx, 0xf
jbe 0x40942f
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409425
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409cb8
push ecx
push edx
call fcn.00431087
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 0x180]
call fcn.00409ce0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.00430de7
mov esp, ebp
pop ebp
ret 0x10
push 0x1b
xorps xmm0, xmm0
mov dword [esp + 0x74], 0
push str.M2Granny_encryption_log.txt
lea ecx, [esp + 0x68]
movaps xmmword [esp + 0x68], xmm0
mov dword [esp + 0x7c], 0
call fcn.00412120
mov edx, 0x478100
lea ecx, [esp + 0x60]
call fcn.00405e60
mov ecx, dword [esp + 0x74]
cmp ecx, 0xf
jbe 0x4094c9
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4094bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409cd4
push ecx
push edx
call fcn.00431087
add esp, 8
push 0x1b
xorps xmm0, xmm0
mov dword [esp + 0x74], 0
push str.M2Granny_decryption_log.txt
lea ecx, [esp + 0x68]
movaps xmmword [esp + 0x68], xmm0
mov dword [esp + 0x7c], 0
call fcn.00412120
mov edx, 0x478120
lea ecx, [esp + 0x60]
call fcn.00405e60
mov ecx, dword [esp + 0x74]
cmp ecx, 0xf
jbe 0x409535
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40952b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409cd4
push ecx
push edx
call fcn.00431087
add esp, 8
mov esi, 1
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
cmp dword [esp + 0x50], esi
jle 0x409856
nop dword [eax]
push 0
push 0
push 0x104
lea eax, [esp + 0x18c]
push eax
push 0xffffffffffffffff
push dword [edi + esi*4]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xorps xmm0, xmm0
test eax, eax
jne 0x409653
push 0xc
push str.Invalid_path
lea ecx, [esp + 0x68]
movaps xmmword [esp + 0x68], xmm0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
call fcn.00412120
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x28]
je 0x40962e
movups xmm0, xmmword [esp + 0x60]
movups xmmword [eax], xmm0
movq xmm0, qword [esp + 0x70]
movq qword [eax + 0x10], xmm0
add dword [esp + 0x24], 0x18
jmp 0x40984b
lea ecx, [esp + 0x60]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00414b40
mov ecx, dword [esp + 0x74]
cmp ecx, 0xf
jbe 0x40984b
mov edx, dword [esp + 0x60]
jmp 0x409822
lea ecx, [esp + 0x180]
movaps xmmword [esp + 0x80], xmm0
mov dword [esp + 0x90], 0
lea edx, [ecx + 1]
mov dword [esp + 0x94], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409680
sub ecx, edx
lea eax, [esp + 0x180]
push ecx
push eax
lea ecx, [esp + 0x88]
call fcn.00412120
cmp dword [esp + 0x94], 0xf
lea eax, [esp + 0x80]
push dword [esp + 0x90]
cmova eax, dword [esp + 0x84]
push eax
call fcn.004157e4
mov edx, eax
lea ecx, [esp + 0xa8]
call fcn.00403e10
add esp, 8
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x18]
call fcn.00405af0
cmp dword [eax], 3
jne 0x4096fd
lea edx, [esp + 0x2c]
lea ecx, [esp + 0xa0]
call fcn.00408360
jmp 0x4097ad
cmp dword [esp + 0xb4], 7
lea ecx, [esp + 0x60]
push 0xffffffffffffffff
push 3
lea eax, [esp + 0xa8]
mov dword [esp + 0x10], 0
cmova eax, dword [esp + 0xa8]
push ecx
push eax
mov dword [esp + 0x1c], 0xffff
call fcn.004159cf
lea ecx, [esp + 0x60]
mov dword [esp + 0x10], eax
push ecx
push eax
lea ecx, [esp + 0x10]
call fcn.00405130
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
je 0x409760
cmp eax, 1
je 0x409760
cmp eax, 9
jne 0x409cc2
lea ecx, [esp + 0x80]
push ecx
cmp eax, 2
jne 0x40978b
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x38]
je 0x409785
mov ecx, eax
call fcn.0040cf10
add dword [esp + 0x30], 0x18
jmp 0x4097ad
lea ecx, [esp + 0x30]
jmp 0x4097a7
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x2c]
je 0x4097a3
mov ecx, eax
call fcn.0040cf10
add dword [esp + 0x24], 0x18
jmp 0x4097ad
lea ecx, [esp + 0x24]
push eax
call fcn.00414d20
mov ecx, dword [esp + 0xb4]
cmp ecx, 7
jbe 0x4097ef
mov edx, dword [esp + 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4097e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409cb8
push ecx
push edx
call fcn.00431087
add esp, 8
mov ecx, dword [esp + 0x94]
xor eax, eax
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 7
mov word [esp + 0xa0], ax
cmp ecx, 0xf
jbe 0x40984b
mov edx, dword [esp + 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409841
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409cb8
push ecx
push edx
call fcn.00431087
add esp, 8
inc esi
cmp esi, dword [esp + 0x50]
jl 0x4095c0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x60]
push eax
push ecx
lea edx, [esp + 0x17c]
lea ecx, [esp + 0x40]
call fcn.00408940
add esp, 0x14
lea eax, [esp + 0xb8]
push 0xb0
push 0
push eax
call fcn.00432db0
add esp, 8
lea ecx, [esp + 0xbc]
call fcn.00409ea0
mov edx, str.Process_completed__n_n
lea ecx, [esp + 0xc8]
call fcn.004113b0
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x58]
je 0x4098fc
mov edx, str.Successfully_encrypted_files:
lea ecx, [esp + 0xc8]
call fcn.004113b0
mov ecx, dword [esp + 0x58]
mov esi, eax
sub ecx, dword [esp + 0x54]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
mov ecx, esi
call fcn.0040c9d0
mov edx, 0x46ae3c
mov ecx, eax
call fcn.004113b0
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x48]
je 0x409946
mov edx, str.Successfully_decrypted_files:
lea ecx, [esp + 0xc8]
call fcn.004113b0
mov ecx, dword [esp + 0x48]
mov esi, eax
sub ecx, dword [esp + 0x44]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
mov ecx, esi
call fcn.0040c9d0
mov edx, 0x46ae3c
mov ecx, eax
call fcn.004113b0
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x3c]
je 0x409990
mov edx, str.Failed_to_process_files:
lea ecx, [esp + 0xc8]
call fcn.004113b0
mov ecx, dword [esp + 0x3c]
mov esi, eax
sub ecx, dword [esp + 0x38]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
mov ecx, esi
call fcn.0040c9d0
mov edx, 0x46ae3c
mov ecx, eax
call fcn.004113b0
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x24]
je 0x4099da
mov edx, str.Invalid_files_or_directories:
lea ecx, [esp + 0xc8]
call fcn.004113b0
mov ecx, dword [esp + 0x24]
mov esi, eax
sub ecx, dword [esp + 0x20]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
mov ecx, esi
call fcn.0040c9d0
mov edx, 0x46ae3c
mov ecx, eax
call fcn.004113b0
mov edx, 0x46adec
lea ecx, [esp + 0xc8]
call fcn.004113b0
mov edx, str.All_rights_reserved_to_3.dn_n
lea ecx, [esp + 0xc8]
call fcn.004113b0
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0xbc]
call fcn.00409db0
cmp dword [eax + 0x14], 0xf
jbe 0x409a15
mov eax, dword [eax]
push 0x40
push 0x46ae10
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x74]
cmp ecx, 0xf
jbe 0x409a5b
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409a51
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409cbd
push ecx
push edx
call fcn.00431087
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 0xb8]
call fcn.00409ce0
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x409ae4
mov edx, dword [esp + 0x30]
push ecx
call fcn.004127a0
mov ecx, dword [esp + 0x38]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x30]
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 0x409ac2
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409cd4
push ecx
push esi
call fcn.00431087
add esp, 8
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x409b5a
mov edx, dword [esp + 0x24]
push ecx
call fcn.004127a0
mov ecx, dword [esp + 0x2c]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x24]
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 0x409b38
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409cd4
push ecx
push esi
call fcn.00431087
add esp, 8
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x409bd0
mov edx, dword [esp + 0x3c]
push ecx
call fcn.004127a0
mov ecx, dword [esp + 0x44]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x3c]
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 0x409bae
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409cd4
push ecx
push esi
call fcn.00431087
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x409c46
mov edx, dword [esp + 0x48]
push ecx
call fcn.004127a0
mov ecx, dword [esp + 0x50]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x48]
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 0x409c24
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409cd4
push ecx
push esi
call fcn.00431087
add esp, 8
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x409ca0
mov edx, dword [esp + 0x58]
push ecx
call fcn.004127a0
mov ecx, dword [esp + 0x60]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x58]
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 0x409c96
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409cd4
push ecx
push esi
call fcn.00431087
add esp, 8
mov ecx, dword [esp + 0x28c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00430de7
mov esp, ebp
pop ebp
ret 0x10
call fcn.0043f88e
call fcn.0043f88e
lea eax, [esp + 0xa0]
mov ecx, str.status
push eax
call fcn.00405020
call fcn.0043f88e
int3