Function at 0x45eea0
Capabilities:
Extract resource via kernel32 functions
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x538a60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [0x53ebf0]
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
call dword [sym.imp.PGPsdk.dll_PGPOLastOption]
add esp, 4
push eax
push 1
push dword [0x53ebf0]
call dword [sym.imp.PGPsdk.dll_PGPOInputFormat]
add esp, 8
push eax
push 0xc62
push str._____BEGIN_PGP_PUBLIC_KEY_BLOCK______r_n_r_nmQINBGLEP5wBEAC4jNwueN9TrKpA4bMte__hIwTbbAztuwINe2mcSakQDX4Qko7n_r_n4rMQtJIdRwAUOq06XNDKF3UUFqti3KGr9cGuRBF1n6_gh_uEllo7R8ZSDBjeH3cu_r_npgb4uu77HED53s5Ik8YJYefdZFuiYtneTqB_xvu5Da1Bz7OpjIAb2lPJvcvKb_Q_r_n13kCh82IeM5KKnv5N3LDLfvRcmMwuJn91Stb2E5dDdIqjZFlAYVoHFTJpTM3VD_r_nKotM39ZxhOthzpIQ21Dil3X28evQKUz2vuyMD0F7uHTAW2sGoMLd7k4a_VBJDk0_r_nIcWxoySBFK2x6kRBoX0tyCALS6t9DCxwyvySyrK1gwiVqL8PjM9RqBHrXJ2o__r_nGBZn7Ew9XeCzxxgvWpwoxkDusT6wb7DIRxEccZk7vgFpOntJz5ZZLUUsee2wT5ym_r_n4HqTsWvNU847oTISK8JVc8WziyD_ar5WYbp5G6d675YYZWktQe6g4oGLUsAprQr__r_nBkii0j4uhOZKCi7idqOfcgI7LzYLeejcCbbQ0INOi_2enI5SvK3Ogmw5vn8voX_r_nxwIGyl6GXThxmRiHmFEOpmodizn2QivfvlDQAdYrXyur8CyR5EcBWFlbI6Yph9O_r_nmLbVlmnqJRv7Ixb7k384RCboynTHZszMHBHJ8r66IFQUXE0GZXzuvEfwARAQAB_r_ntAdJUl9ST09UiQJXBBMBCABB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ASGEkj3PPbXTH18_r_nko3_HsAha8dUTGzfYnLAqIypKfMzKW3PuNtFnAMIG0Ib1dt68gVn09b2JO2Cafe6_r_n0Nhi_aQxxd8WC3FZ0ArWIWUXGeX7fnVvBeJoRiOHlgXplPJczIVPp2dNFsdlwRP_r_nvDFCvKkgMsIC01_Lz5HSuWXvSmzxjJPYkTadByTE13UTHg_r_nxALR_r_n_____END_PGP_PUBLIC_KEY_BLOCK______r_n
push dword [0x53ebf0]
call dword [sym.imp.PGPsdk.dll_PGPOInputBuffer]
add esp, 0xc
push eax
push 0x53eba4
push dword [0x53ebf0]
call dword [sym.imp.PGPsdk.dll_PGPImport]
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x45f40d
lea eax, [ebp - 0x144]
push eax
push 1
push str.0xC856784F
call dword [sym.imp.PGPsdk.dll_PGPNewKeyIDFromString]
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x45f447
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x144]
push eax
push dword [0x53eba4]
call dword [sym.imp.PGPsdk.dll_PGPFindKeyByKeyID]
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x45f481
lea eax, [ebp - 0x150]
push eax
push 4
push dword [ebp - 0x154]
call dword [sym.imp.PGPsdk.dll_PGPGetKeyForUsage]
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x45f4bb
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x150]
call dword [sym.imp.PGPsdk.dll_PGPGetKeyID]
mov esi, eax
add esp, 8
test esi, esi
jne 0x45f4f5
push 0x53eba8
push dword [ebp - 0x150]
call dword [sym.imp.PGPsdk.dll_PGPNewOneKeySet]
mov esi, eax
add esp, 8
test esi, esi
jne 0x45f52f
push eax
push eax
push 1
push dword [0x53eba4]
push dword [0x53eba8]
call dword [sym.imp.PGPsdk.dll_PGPCheckKeyRingSigs]
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x45f569
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push str.pubkey
push 0x88
push eax
call edi
mov ebx, eax
test ebx, ebx
je 0x45f5a3
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x45f5b7
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x110], eax
test eax, eax
je 0x45f5cb
push str.pubsig
push 0x89
push 0
call edi
mov dword [ebp - 0x158], eax
test eax, eax
je 0x45f5df
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x45f5f3
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x114], eax
test eax, eax
je 0x45f607
push dword [ebp - 0x158]
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
call fcn.00455630
push ebx
push 0
mov dword [ebp - 0x11c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
call fcn.00455630
push dword [ebp - 0x158]
mov dword [ebp - 0x15c], eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [ebp - 0x114]
push dword [ebp - 0x158]
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [ebp - 0x11c]
call fcn.004bb667
add esp, 0x10
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [ebp - 0x110]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [ebp - 0x15c]
call fcn.004bb667
push dword [0x53ebf0]
mov byte [ebp - 0x109], 0
call dword [sym.imp.PGPsdk.dll_PGPOLastOption]
add esp, 0x14
push eax
push dword [0x53ebf0]
call dword [sym.imp.PGPsdk.dll_PGPOLastOption]
add esp, 4
push eax
push 1
push dword [0x53ebf0]
call dword [sym.imp.PGPsdk.dll_PGPOInputFormat]
add esp, 8
push eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [ebp - 0x15c]
push dword [0x53ebf0]
call dword [sym.imp.PGPsdk.dll_PGPOInputBuffer]
add esp, 0xc
push eax
push dword [0x53ebf0]
call dword [sym.imp.PGPsdk.dll_PGPODetachedSig]
add esp, 0x10
push eax
push 1
push dword [0x53ebf0]
call dword [sym.imp.PGPsdk.dll_PGPOInputFormat]
add esp, 8
push eax
push dword [ebp - 0x158]
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [ebp - 0x11c]
push dword [0x53ebf0]
call dword [sym.imp.PGPsdk.dll_PGPOInputBuffer]
add esp, 0xc
push eax
lea eax, [ebp - 0x109]
push eax
push 0x45db40
push dword [0x53ebf0]
call dword [sym.imp.PGPsdk.dll_PGPOEventHandler]
add esp, 0xc
push eax
push dword [0x53eba4]
push dword [0x53ebf0]
call dword [sym.imp.PGPsdk.dll_PGPOKeyDBRef]
add esp, 8
push eax
push dword [0x53ebf0]
call dword [sym.imp.PGPsdk.dll_PGPDecode]
add esp, 0x1c
cmp byte [ebp - 0x109], 0
jne 0x45f61b
push dword [0x53ebf0]
call dword [sym.imp.PGPsdk.dll_PGPOLastOption]
add esp, 4
push eax
push 1
push dword [0x53ebf0]
call dword [sym.imp.PGPsdk.dll_PGPOInputFormat]
add esp, 8
push eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, dword [ebp - 0x15c]
push eax
push ebx
push dword [0x53ebf0]
call dword [sym.imp.PGPsdk.dll_PGPOInputBuffer]
add esp, 0xc
push eax
push 0x53eba4
push dword [0x53ebf0]
call dword [sym.imp.PGPsdk.dll_PGPImport]
add esp, 0x14
mov ecx, eax
call fcn.00455680
mov ecx, ebx
call fcn.0045c9f0
mov ecx, dword [ebp - 0x11c]
call fcn.0045c9f0
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push edi
call esi
push 0x53eba8
push dword [0x53eba4]
call dword [sym.imp.PGPsdk.dll_PGPNewKeySet]
mov ecx, eax
call fcn.00455680
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x148], 0
push eax
push dword [0x53eba8]
mov dword [ebp - 0x14c], 0
call dword [sym.imp.PGPsdk.dll_PGPNewKeyIterFromKeySet]
mov ecx, eax
call fcn.00455680
mov ebx, dword [sym.imp.PGPsdk.dll_PGPKeyIterNextKeyDBObj]
lea eax, [ebp - 0x148]
push eax
push 1
push dword [ebp - 0x14c]
call ebx
add esp, 0x1c
test eax, eax
jne 0x45f3b8
mov edi, dword [sym.imp.PGPsdk.dll_PGPGetKeyDBObjTimeProperty]
jmp 0x45f2e0
mov esi, dword [ebp - 0x148]
test esi, esi
jne 0x45f2fd
push str.invalid_key_obj_n
call fcn.004bc829
mov esi, dword [ebp - 0x148]
add esp, 4
push 0x100
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.004c13c0
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0
push eax
push 0xff
lea eax, [ebp - 0x108]
xorps xmm0, xmm0
push eax
push esi
movlpd qword [ebp - 0x118], xmm0
call dword [sym.imp.PGPsdk.dll_PGPGetPrimaryUserIDName]
lea eax, [ebp - 0x120]
push eax
push 0x12c
push dword [ebp - 0x148]
call edi
mov ecx, eax
call fcn.00455680
lea eax, [ebp - 0x118]
push eax
push 0x12d
push dword [ebp - 0x148]
call edi
mov ecx, eax
call fcn.00455680
call dword [sym.imp.PGPsdk.dll_PGPGetTime]
push dword [ebp - 0x114]
mov esi, eax
mov dword [ebp - 0x15c], edx
push dword [ebp - 0x118]
call dword [sym.imp.PGPsdk.dll_PGPGetStdTimeFromPGPTime]
add esp, 0x3c
cmp eax, esi
jl 0x45f3df
lea eax, [ebp - 0x148]
push eax
push 1
push dword [ebp - 0x14c]
call ebx
add esp, 0xc
test eax, eax
je 0x45f2e0
mov eax, dword [ebp - 0x14c]
test eax, eax
je 0x45f3cc
push eax
call dword [sym.imp.PGPsdk.dll_PGPFreeKeyIter]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bae74
mov esp, ebp
pop ebp
ret
push str.Encryption_key_has_expired_n
call fcn.004bc829
add esp, 4
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bae74
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x108]
push eax
push 0x100
push esi
call dword [sym.imp.PGPsdk.dll_PGPGetErrorString]
lea eax, [ebp - 0x108]
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 - 0x108]
push eax
push 0x100
push esi
call dword [sym.imp.PGPsdk.dll_PGPGetErrorString]
lea eax, [ebp - 0x108]
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 - 0x108]
push eax
push 0x100
push esi
call dword [sym.imp.PGPsdk.dll_PGPGetErrorString]
lea eax, [ebp - 0x108]
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 - 0x108]
push eax
push 0x100
push esi
call dword [sym.imp.PGPsdk.dll_PGPGetErrorString]
lea eax, [ebp - 0x108]
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 - 0x108]
push eax
push 0x100
push esi
call dword [sym.imp.PGPsdk.dll_PGPGetErrorString]
lea eax, [ebp - 0x108]
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 - 0x108]
push eax
push 0x100
push esi
call dword [sym.imp.PGPsdk.dll_PGPGetErrorString]
lea eax, [ebp - 0x108]
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 - 0x108]
push eax
push 0x100
push esi
call dword [sym.imp.PGPsdk.dll_PGPGetErrorString]
lea eax, [ebp - 0x108]
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.Critical_error__failed_to_find_resource_pubkey_n
call fcn.004bc829
add esp, 4
push 1
call fcn.004bcc8d
push str.Critical_error__failed_to_load_resource_pubkey_n
call fcn.004bc829
add esp, 4
push 1
call fcn.004bcc8d
push str.Critical_error__failed_to_lock_resource_pubkey_n
call fcn.004bc829
add esp, 4
push 1
call fcn.004bcc8d
push str.Critical_error__failed_to_find_resource_pubsig_n
call fcn.004bc829
add esp, 4
push 1
call fcn.004bcc8d
push str.Critical_error__failed_to_load_resource_pubsig_n
call fcn.004bc829
add esp, 4
push 1
call fcn.004bcc8d
push str.Critical_error__failed_to_lock_resource_pubkey_n
call fcn.004bc829
add esp, 4
push 1
call fcn.004bcc8d
push str.Sig_verification_failed_n
call fcn.004bc829
mov ecx, dword [ebp - 0x15c]
add esp, 4
call fcn.0045c9f0
mov ecx, dword [ebp - 0x11c]
call fcn.0045c9f0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FreeResource]
call esi
push edi
call esi
push 1
call fcn.004bcc8d
int3