Function at 0x457d50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x538a60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x424], edx
mov dword [ebp - 0x428], edi
mov dword [ebp - 0x420], eax
test edi, edi
jne 0x457d89
mov dword [ebp - 0x408], ecx
jmp 0x457d9d
push 0x1000
push edi
call fcn.004bbd22
add esp, 8
mov dword [ebp - 0x408], eax
mov ebx, dword [sym.imp.PGPsdk.dll_PGPCFBEncrypt]
lea eax, [ebp - 0x40c]
push eax
push 2
lea eax, [ebp - 0x408]
mov dword [ebp - 0x40c], 0
push eax
push dword [0x53ebb8]
call ebx
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4580f9
push 1
lea edx, [eax + 2]
lea ecx, [ebp - 0x40c]
call fcn.00457880
push 0x548d60
push dword [ebp - 0x408]
push edi
push dword [0x53ebb8]
call ebx
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x458133
push dword [ebp - 0x408]
lea edx, [eax + 1]
mov ecx, 0x548d60
call fcn.00457880
add esp, 4
push 0x4000
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x45816d
mov ecx, 0x4000
lea esp, [esp]
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x457e40
push 0x38
push str.1.2.11
push dword [0x53ebf4]
mov dword [0x53ec18], ecx
push 0x53ebf8
mov dword [0x53ec1c], ecx
mov dword [0x53ec20], ecx
call fcn.004971d0
test eax, eax
jne 0x4580ae
mov eax, dword [ebp - 0x420]
mov edi, 0x4000
lea ecx, [eax - 0x4000]
test ecx, ecx
mov dword [ebp - 0x42c], ecx
cmovg eax, edi
mov dword [ebp - 0x420], eax
mov dword [0x53ebfc], eax
mov eax, dword [ebp - 0x424]
mov dword [0x53ebf8], eax
lea esp, [esp]
push 0
push 0x53ebf8
mov dword [0x53ec08], edi
mov dword [0x53ec04], esi
call fcn.00496620
mov ecx, dword [0x53ec08]
mov eax, edi
sub eax, ecx
movzx eax, ax
mov dword [ebp - 0x414], eax
test ax, ax
jle 0x457f4a
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 0
push eax
push 2
lea eax, [ebp - 0x414]
push eax
push dword [0x53ebb8]
call ebx
push 1
mov edx, 2
lea ecx, [ebp - 0x41c]
call fcn.00457880
movsx eax, word [ebp - 0x414]
push 0x548d60
push eax
push esi
push dword [0x53ebb8]
call ebx
movsx eax, word [ebp - 0x414]
mov edx, 1
push eax
mov ecx, 0x548d60
call fcn.00457880
mov ecx, dword [0x53ec08]
add esp, 0x28
test ecx, ecx
je 0x457eb0
push 0x4000
push 0
push esi
call fcn.004c13c0
add esp, 0xc
push 4
push 0x53ebf8
mov dword [0x53ec08], 0x4000
mov dword [0x53ec04], esi
call fcn.00496620
mov eax, edi
sub eax, dword [0x53ec08]
movzx eax, ax
mov dword [ebp - 0x410], eax
test ax, ax
jle 0x45801f
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], 0
push eax
push 2
lea eax, [ebp - 0x410]
push eax
push dword [0x53ebb8]
call ebx
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4580dc
push 1
lea edx, [eax + 2]
lea ecx, [ebp - 0x418]
call fcn.00457880
mov eax, dword [ebp - 0x410]
add esp, 4
test ax, ax
jle 0x45801a
push 0x548d60
cwde
push eax
push esi
push dword [0x53ebb8]
call ebx
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4580bf
movsx eax, word [ebp - 0x410]
lea edx, [edi + 1]
push eax
mov ecx, 0x548d60
call fcn.00457880
add esp, 4
mov edi, 0x4000
cmp dword [0x53ec08], 0
je 0x457f62
push 0x53ebf8
call fcn.00496ee0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x408], 0xffffffff
push eax
push 2
lea eax, [ebp - 0x408]
push eax
push dword [0x53ebb8]
call ebx
mov ecx, eax
call fcn.00455680
push 1
mov edx, 2
lea ecx, [ebp - 0x40c]
call fcn.00457880
mov eax, dword [ebp - 0x42c]
add esp, 0x14
test eax, eax
jle 0x4580ac
mov ecx, dword [ebp - 0x424]
mov edx, dword [ebp - 0x420]
push eax
lea edx, [edx + ecx]
mov ecx, dword [ebp - 0x428]
call fcn.00457d50
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bae74
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x204]
push eax
push 0x100
push edi
call dword [sym.imp.PGPsdk.dll_PGPGetErrorString]
lea eax, [ebp - 0x204]
push eax
push edi
jmp 0x458114
lea eax, [ebp - 0x104]
push eax
push 0x100
push edi
call dword [sym.imp.PGPsdk.dll_PGPGetErrorString]
lea eax, [ebp - 0x104]
push eax
push edi
jmp 0x458114
lea eax, [ebp - 0x404]
push eax
push 0x100
push esi
call dword [sym.imp.PGPsdk.dll_PGPGetErrorString]
lea eax, [ebp - 0x404]
push eax
push esi
push str.PGP_Error:_Failed_with__d___s_n
call fcn.004bc829
add esp, 0x18
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call fcn.004bcc8d
lea eax, [ebp - 0x304]
push eax
push 0x100
push esi
call dword [sym.imp.PGPsdk.dll_PGPGetErrorString]
lea eax, [ebp - 0x304]
push eax
push esi
push str.PGP_Error:_Failed_with__d___s_n
call fcn.004bc829
add esp, 0x18
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call fcn.004bcc8d
push str.Failed_to_allocate_memory_on_process_heap_n
call fcn.004bc829
add esp, 4
push 1
call fcn.004bcc8d
int3