Function at 0x42e63b
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x484
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x447]
push esi
push edi
push 0x3e7
push 0
push eax
mov byte [ebp - 0x448], 0
call fcn.00626f50
push 0xe
pop ecx
mov esi, str.cfgorg.jdownloader.settings.AccountSettings.accounts.ejs
lea edi, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
push ebx
movsw word es:[edi], word [esi]
call fcn.00631510
add esp, 0x10
cmp eax, 1
jae 0x42e6b8
lea eax, [ebp - 0x448]
push 0x3e8
push eax
call fcn.004114cb
pop ecx
pop ecx
test eax, eax
jne 0x42e6fc
push str.RecoverJDownloaderPasswords
push str._s_JDownloader_account_file_not_found
call fcn.00449974
pop ecx
pop ecx
jmp 0x42e96f
lea eax, [ebp - 0x60]
push eax
push ebx
push 0x66c218
lea eax, [ebp - 0x448]
push 0x3e8
push eax
call fcn.00445d6d
lea eax, [ebp - 0x448]
push eax
call fcn.00449791
add esp, 0x18
test eax, eax
jne 0x42e6fc
lea eax, [ebp - 0x448]
push eax
push str.RecoverJDownloaderPasswords
push str._s_JDownloader_account_file_is_not_found_at_custom_path__s
jmp 0x42e967
lea eax, [ebp - 0x448]
push eax
push str._n_Final_JDownloader_account_file_is__s
call fcn.00449974
push 0x670244
lea eax, [ebp - 0x448]
xor ebx, ebx
push eax
lea eax, [ebp - 0x478]
mov dword [ebp - 0x478], ebx
push eax
call fcn.00632119
add esp, 0x14
test eax, eax
jne 0x42e956
cmp dword [ebp - 0x478], ebx
je 0x42e956
lea eax, [ebp - 0x448]
push eax
push str._nSuccessfully_opened_jdownloader_file__s
call fcn.00449974
push 2
push ebx
push dword [ebp - 0x478]
call fcn.00637e4f
push dword [ebp - 0x478]
call fcn.006384ae
mov edi, eax
push edi
push str._nFile_size_is__u
call fcn.00449974
push edi
call fcn.0063d3c4
mov esi, eax
add esp, 0x24
test esi, esi
jne 0x42e7ad
push edi
push str.RecoverJDownloaderPasswords
push str._s:_Critical_error_Memory_allocation_failed_of_size__u
call fcn.00449974
push dword [ebp - 0x478]
call fcn.00637603
add esp, 0x10
jmp 0x42e96f
push dword [ebp - 0x478]
call fcn.006388c3
push dword [ebp - 0x478]
push 1
push edi
push esi
call fcn.00637a2b
push dword [ebp - 0x478]
call fcn.00637603
push edi
push str._nSuccessfully_read_file_data_of_size__d
call fcn.00449974
push 0x10
pop eax
push eax
mov dword [ebp - 0x46c], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x468]
mov dword [ebp - 0x24], 0x5040601
push eax
mov dword [ebp - 0x20], 0x3040702
mov dword [ebp - 0x1c], 0x4b0e3d0c
mov dword [ebp - 0x18], 0x21d4f9fe
mov dword [ebp - 0x14], 0x5040601
mov dword [ebp - 0x10], 0x3040702
mov dword [ebp - 0xc], 0x4b0e3d0c
mov dword [ebp - 8], 0x21d4f9fe
mov dword [ebp - 0x474], 0x208
mov dword [ebp - 0x470], 0x660e
call fcn.006269d0
add esp, 0x2c
lea eax, [ebp - 0x484]
push 0xf0000000
push 0x18
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x42e87e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RecoverJDownloaderPasswords
push str._s:_CryptAcquireContext_failed__Error0x_.8x
call fcn.00449974
add esp, 0xc
jmp 0x42e94a
lea eax, [ebp - 0x480]
push eax
push ebx
push ebx
push 0x2c
lea eax, [ebp - 0x474]
push eax
push dword [ebp - 0x484]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x42e8b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RecoverJDownloaderPasswords
push str._s:_CryptImportKey_failed__Error0x_.8x
jmp 0x42e871
push ebx
lea eax, [ebp - 0x24]
push eax
push 1
push dword [ebp - 0x480]
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
jne 0x42e8dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RecoverJDownloaderPasswords
push str._s:_CryptSetKeyParam_failed__Error0x_.8x
jmp 0x42e871
push edi
push str._n_n_Decrypting_jdownloader_data_of_size__d
call fcn.00449974
pop ecx
pop ecx
lea eax, [ebp - 0x47c]
mov dword [ebp - 0x47c], edi
push eax
push esi
push ebx
push 1
push ebx
push dword [ebp - 0x480]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x42e922
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RecoverJDownloaderPasswords
push str._s:_CryptDecrypt_failed__Error0x_.8x
jmp 0x42e871
push dword [ebp - 0x47c]
push str._n_Decryption_completed_successfully_...output_size_is__d__n_n
call fcn.00449974
mov eax, dword [ebp - 0x47c]
mov byte [eax + esi], bl
push dword [ebp - 0x47c]
push esi
call fcn.0041805f
add esp, 0x10
push esi
call fcn.0063d3a9
xor eax, eax
pop ecx
inc eax
jmp 0x42e971
lea eax, [ebp - 0x448]
push eax
push str.RecoverJDownloaderPasswords
push str._s_Unable_to_open_file:___s
call fcn.00449974
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret