Function at 0x402ad0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428aa0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x340
mov eax, dword [0x436080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x16c]
xor esi, esi
push eax
mov dword [ebp - 0x2f8], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x16c], 2
mov edi, eax
mov dword [ebp - 0x304], edi
jge 0x402c02
push 0xb0
lea eax, [ebp - 0x2e8]
push esi
push eax
call fcn.0040d350
add esp, 8
lea ecx, [ebp - 0x2e8]
call fcn.004037e0
mov edx, str.Please_drag_and_drop_files_onto_the_executable__n_n
lea ecx, [ebp - 0x2d8]
call fcn.004085b0
mov edx, str.All_rights_reserved_to_YourName_n
lea ecx, [ebp - 0x2d8]
call fcn.004085b0
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x2e8]
call fcn.004036f0
cmp dword [eax + 0x14], 0xf
jbe 0x402b9c
mov eax, dword [eax]
push 0x40
push str.Info
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x154]
cmp ecx, 0xf
jbe 0x402be6
mov edx, dword [ebp - 0x168]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402bdc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4035fc
push ecx
push edx
call fcn.0040b7f4
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x2e8]
call fcn.00403620
mov eax, 1
jmp 0x4035dc
xorps xmm0, xmm0
mov dword [ebp - 0x174], esi
movups xmmword [ebp - 0x184], xmm0
mov edx, str.Enter_password:
mov dword [ebp - 0x170], 0xf
mov ecx, 0x437218
mov byte [ebp - 0x184], 0
call fcn.004085b0
lea edx, [ebp - 0x184]
call fcn.004088f0
cmp dword [ebp - 0x170], 0xf
lea eax, [ebp - 0x184]
mov dword [ebp - 0x150], esi
cmova eax, dword [ebp - 0x184]
mov dword [ebp - 0x300], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x2fc], eax
mov eax, 1
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x308], eax
cmp dword [ebp - 0x16c], eax
jle 0x403189
push 0
push 0
push 0x104
lea ecx, [ebp - 0x120]
push ecx
push 0xffffffffffffffff
push dword [edi + eax*4]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xorps xmm0, xmm0
mov dword [ebp - 0x158], 0
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x154], 0
movups xmmword [ebp - 0x168], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402d10
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x168]
call fcn.00408cf0
mov eax, dword [ebp - 0x158]
cmp eax, 4
jb 0x402dcd
or esi, 1
mov dword [ebp - 0x310], 0
lea edx, [eax - 4]
mov dword [ebp - 0x2f8], esi
mov dword [ebp - 0x30c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x320], xmm0
cmp eax, edx
jb 0x403601
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x154], 0xf
lea eax, [ebp - 0x168]
cmova eax, dword [ebp - 0x168]
push ecx
add eax, edx
lea ecx, [ebp - 0x320]
push eax
call fcn.00408cf0
mov edx, dword [ebp - 0x30c]
lea eax, [ebp - 0x320]
mov ecx, dword [ebp - 0x320]
cmp edx, 0xf
cmova eax, ecx
cmp dword [ebp - 0x310], 4
jne 0x402dd9
cmp dword [eax], 0x7478742e
jne 0x402dd9
mov byte [ebp - 0x2f1], 0
jmp 0x402de0
mov edx, dword [ebp - 0x30c]
mov ecx, dword [ebp - 0x320]
mov byte [ebp - 0x2f1], 1
mov eax, dword [ebp - 0x2f8]
test al, 1
je 0x402e21
and eax, 0xfffffffe
mov dword [ebp - 0x2f8], eax
cmp edx, 0xf
jbe 0x402e21
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402e17
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4035fc
push edx
push ecx
call fcn.0040b7f4
add esp, 8
cmp byte [ebp - 0x2f1], 0
je 0x402e9e
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x168]
push ecx
cmp eax, dword [ebp - 0x130]
je 0x402e4f
mov ecx, eax
call fcn.00405a40
add dword [ebp - 0x134], 0x18
jmp 0x402e5b
push eax
lea ecx, [ebp - 0x138]
call fcn.0040a4e0
mov ecx, dword [ebp - 0x154]
cmp ecx, 0xf
jbe 0x403169
mov edx, dword [ebp - 0x168]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402e8f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4035fc
push ecx
push edx
call fcn.0040b7f4
add esp, 8
jmp 0x403169
push 0xb8
lea eax, [ebp - 0x2f0]
push 0
push eax
call fcn.0040d350
add esp, 4
lea eax, [ebp - 0x168]
lea ecx, [ebp - 0x2f0]
push 0x24
push eax
call fcn.00404820
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x2e4], 6
je 0x402fa6
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x2f0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x2f4], eax
lea ecx, [ebp - 0x2e0]
call fcn.00404770
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x2f0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x2f4], eax
lea eax, [ebp - 0x280]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0040b077
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x300]
lea ecx, [ebp - 0x168]
push 1
push dword [ebp - 0x2fc]
call fcn.00402000
add esp, 8
test al, al
je 0x4030f8
mov eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x168]
push ecx
cmp eax, dword [ebp - 0x148]
je 0x4030f0
mov ecx, eax
call fcn.00405a40
add dword [ebp - 0x14c], 0x18
jmp 0x403129
lea eax, [ebp - 0x350]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.004049d0
lea ecx, [ebp - 0x2e0]
mov edi, dword [eax + 8]
add edi, dword [eax]
mov esi, dword [eax + 0xc]
adc esi, dword [eax + 4]
call fcn.00406fa0
test eax, eax
jne 0x402ffb
mov eax, dword [ebp - 0x2f0]
lea ecx, [ebp - 0x2f0]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00401ec0
test esi, esi
jl 0x40300f
jg 0x403006
cmp edi, 0x10
jbe 0x40300f
mov byte [ebp - 0x2f1], 1
jmp 0x403016
mov byte [ebp - 0x2f1], 0
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x2f0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x2f4], eax
lea ecx, [ebp - 0x2e0]
call fcn.00404770
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x2f0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x2f4], eax
lea eax, [ebp - 0x280]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0040b077
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x2f1], 0
je 0x402f56
mov edx, dword [ebp - 0x300]
lea ecx, [ebp - 0x168]
push 0
push dword [ebp - 0x2fc]
call fcn.00402000
add esp, 8
test al, al
je 0x4030f8
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x168]
push ecx
cmp eax, dword [ebp - 0x13c]
je 0x4030e8
mov ecx, eax
call fcn.00405a40
add dword [ebp - 0x140], 0x18
jmp 0x403129
lea ecx, [ebp - 0x144]
jmp 0x403123
lea ecx, [ebp - 0x150]
jmp 0x403123
mov eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x168]
push ecx
cmp eax, dword [ebp - 0x124]
je 0x40311d
mov ecx, eax
call fcn.00405a40
add dword [ebp - 0x128], 0x18
jmp 0x403129
lea ecx, [ebp - 0x12c]
push eax
call fcn.0040a4e0
mov ecx, dword [ebp - 0x154]
cmp ecx, 0xf
jbe 0x403163
mov edx, dword [ebp - 0x168]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403159
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4035fc
push ecx
push edx
call fcn.0040b7f4
add esp, 8
mov edi, dword [ebp - 0x304]
mov eax, dword [ebp - 0x308]
inc eax
mov dword [ebp - 0x308], eax
cmp eax, dword [ebp - 0x16c]
jge 0x403189
mov esi, dword [ebp - 0x2f8]
jmp 0x402cc2
push 0xb0
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.0040d350
add esp, 8
lea ecx, [ebp - 0x238]
call fcn.004037e0
mov edx, str.Process_completed__n_n
lea ecx, [ebp - 0x228]
call fcn.004085b0
mov eax, dword [ebp - 0x150]
cmp eax, dword [ebp - 0x14c]
je 0x40320b
mov edx, str.Successfully_encrypted_files:
lea ecx, [ebp - 0x228]
call fcn.004085b0
mov ecx, dword [ebp - 0x14c]
mov esi, eax
sub ecx, dword [ebp - 0x150]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
mov ecx, esi
call fcn.004055b0
mov edx, 0x431f44
mov ecx, eax
call fcn.004085b0
mov eax, dword [ebp - 0x144]
cmp eax, dword [ebp - 0x140]
je 0x40325c
mov edx, str.Successfully_decrypted_files:
lea ecx, [ebp - 0x228]
call fcn.004085b0
mov ecx, dword [ebp - 0x140]
mov esi, eax
sub ecx, dword [ebp - 0x144]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
mov ecx, esi
call fcn.004055b0
mov edx, 0x431f44
mov ecx, eax
call fcn.004085b0
mov eax, dword [ebp - 0x12c]
cmp eax, dword [ebp - 0x128]
je 0x4032ad
mov edx, str.Failed_to_process_files:
lea ecx, [ebp - 0x228]
call fcn.004085b0
mov ecx, dword [ebp - 0x128]
mov esi, eax
sub ecx, dword [ebp - 0x12c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
mov ecx, esi
call fcn.004055b0
mov edx, 0x431f44
mov ecx, eax
call fcn.004085b0
mov eax, dword [ebp - 0x138]
cmp eax, dword [ebp - 0x134]
je 0x4032fe
mov edx, str.Invalid_files:
lea ecx, [ebp - 0x228]
call fcn.004085b0
mov ecx, dword [ebp - 0x134]
mov esi, eax
sub ecx, dword [ebp - 0x138]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
mov ecx, esi
call fcn.004055b0
mov edx, 0x431f44
mov ecx, eax
call fcn.004085b0
mov edx, 0x431fb4
lea ecx, [ebp - 0x228]
call fcn.004085b0
mov edx, str.All_rights_reserved_to_YourName_n
lea ecx, [ebp - 0x228]
call fcn.004085b0
lea eax, [ebp - 0x338]
push eax
lea ecx, [ebp - 0x238]
call fcn.004036f0
cmp dword [eax + 0x14], 0xf
jbe 0x403338
mov eax, dword [eax]
push 0x40
push str.Result
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x324]
cmp ecx, 0xf
jbe 0x403382
mov edx, dword [ebp - 0x338]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403378
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403606
push ecx
push edx
call fcn.0040b7f4
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x238]
call fcn.00403620
mov ecx, dword [ebp - 0x138]
test ecx, ecx
je 0x403418
mov edx, dword [ebp - 0x134]
push ecx
call fcn.00409350
mov ecx, dword [ebp - 0x130]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x138]
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 0x4033f0
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40360b
push ecx
push esi
call fcn.0040b7f4
add esp, 8
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
mov ecx, dword [ebp - 0x12c]
test ecx, ecx
je 0x40349c
mov edx, dword [ebp - 0x128]
push ecx
call fcn.00409350
mov ecx, dword [ebp - 0x124]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x12c]
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 0x403474
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40360b
push ecx
push esi
call fcn.0040b7f4
add esp, 8
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov ecx, dword [ebp - 0x144]
test ecx, ecx
je 0x403520
mov edx, dword [ebp - 0x140]
push ecx
call fcn.00409350
mov ecx, dword [ebp - 0x13c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x144]
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 0x4034f8
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40360b
push ecx
push esi
call fcn.0040b7f4
add esp, 8
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov ecx, dword [ebp - 0x150]
test ecx, ecx
je 0x4035a4
mov edx, dword [ebp - 0x14c]
push ecx
call fcn.00409350
mov ecx, dword [ebp - 0x148]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x150]
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 0x40357c
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40360b
push ecx
push esi
call fcn.0040b7f4
add esp, 8
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov ecx, dword [ebp - 0x170]
cmp ecx, 0xf
jbe 0x4035da
mov edx, dword [ebp - 0x184]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4035d0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40360b
push ecx
push edx
call fcn.0040b7f4
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040b7ac
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.00413bd5
call fcn.00408470
call fcn.00413bd5
call fcn.00413bd5
int3