Function at 0x414250
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, eax
push esi
push ebx
mov ebx, edx
sub esp, 0x30
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
test ecx, ecx
je 0x4143b3
lea eax, [esp + 0x2c]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
lea eax, [esp + 0x24]
mov dword [esp], eax
call fcn.00441850
mov esi, eax
test eax, eax
je 0x4142a0
cmp ax, 0x8051
jne 0x4143f0
lea esi, [esi]
mov dword [esp], ebx
call sub.libgpg_error_0.dll_gpgrt_clearerr
mov eax, dword [esp + 0x44]
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
lea eax, [esp + 0x28]
mov dword [esp], eax
call sub.libgcrypt_20.dll_gcry_sexp_sscan
mov esi, eax
test eax, eax
je 0x414303
mov dword [esp], ebx
call sub.libgpg_error_0.dll_gpgrt_fclose
mov dword [esp], ebp
call sub.libgcrypt_20.dll_gcry_free
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sub.libgcrypt_20.dll_gcry_sexp_release
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00440de0
add esp, 0x30
mov eax, esi
pop ebx
pop esi
pop ebp
ret
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00441610
mov esi, eax
test eax, eax
jne 0x4142d2
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call sub.libgpg_error_0.dll_gpgrt_fseek
mov esi, eax
test eax, eax
jne 0x4142d2
mov eax, dword [esp + 0x24]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00441870
mov esi, eax
test eax, eax
jne 0x414470
mov dword [esp], ebx
call sub.libgpg_error_0.dll_gpgrt_ftello
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
call sub.libgpg_error_0.dll_gpgrt_fileno
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00447ba0
test eax, eax
jne 0x414421
mov dword [esp], ebx
call sub.libgpg_error_0.dll_gpgrt_fclose
test eax, eax
jne 0x4144a0
call fcn.0040a8d0
mov dword [esp], 0
call sub.libgpg_error_0.dll_gpgrt_fclose
jmp 0x4142da
call fcn.00440db0
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4142a0
call sub.libgpg_error_0.dll_gpg_err_code_from_syserror
mov esi, eax
test eax, eax
je 0x4142d2
mov dword [esp], ebx
movzx ecx, ax
or ecx, 0x4000000
mov esi, ecx
call sub.libgpg_error_0.dll_gpgrt_fclose
jmp 0x4142da
mov dword [esp], eax
call sub.libgpg_error_0.dll_gpg_strerror
mov dword [esp + 4], ebp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], str.error_parsing__s_line__d:__s_n
mov dword [esp + 8], eax
call fcn.0042d9c0
mov dword [esp], ebx
call sub.libgpg_error_0.dll_gpgrt_fclose
jmp 0x4142da
call sub.libgpg_error_0.dll_gpg_err_code_from_syserror
mov esi, eax
movzx eax, ax
or eax, 0x4000000
test esi, esi
cmovne esi, eax
mov dword [esp], esi
call sub.libgpg_error_0.dll_gpg_strerror
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp], str.error_truncating__s:__s_n
call fcn.0042d9c0
mov dword [esp], ebx
call sub.libgpg_error_0.dll_gpgrt_fclose
mov dword [esp], ebp
call fcn.0042ff20
jmp 0x4142da
mov dword [esp], eax
call sub.libgpg_error_0.dll_gpg_strerror
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp], str.error_writing__s:__s_n
call fcn.0042d9c0
mov dword [esp], ebx
call sub.libgpg_error_0.dll_gpgrt_fclose
jmp 0x414459
call sub.libgpg_error_0.dll_gpg_err_code_from_syserror
mov esi, eax
movzx eax, ax
or eax, 0x4000000
test esi, esi
cmovne esi, eax
mov dword [esp], esi
call sub.libgpg_error_0.dll_gpg_strerror
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp], str.error_closing__s:__s_n
call fcn.0042d9c0
mov dword [esp], ebx
call sub.libgpg_error_0.dll_gpgrt_fclose
jmp 0x414459