Function at 0x429d07
Capabilities:
Read file on windows
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xffffffc0
mov eax, 0x124c0
call fcn.0042ba1c
mov edi, dword [ebp + 8]
call fcn.0042a8c5
call fcn.00429ccc
xor edx, edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0
xor eax, eax
mov dword [esp + 0x20], eax
mov esi, edx
push str.hi:k:s:
push dword [ebp + 0xc]
push edi
call fcn.0042aeac
add esp, 0xc
mov ebx, eax
cmp eax, 0x52
jle 0x429d78
cmp ebx, 0x6a
jg 0x429d8b
cmp ebx, 0x53
mov edx, esi
je 0x429df7
cmp ebx, 0x69
je 0x429dcf
cmp ebx, 0x68
jne 0x429da9
jmp 0x42a360
cmp ebx, 0x48
jle 0x429d99
cmp ebx, 0x49
mov edx, esi
je 0x429dcf
cmp ebx, 0x4b
jne 0x429da9
jmp 0x429de3
cmp ebx, 0x6b
mov edx, esi
je 0x429de3
cmp ebx, 0x73
jne 0x429da9
jmp 0x429df7
cmp ebx, 0xffffffff
je 0x429e03
mov edx, esi
cmp ebx, 0x3f
je 0x42a360
lea eax, [ebx - 1]
cmp eax, 1
ja 0x429d3f
movzx esi, dl
xor eax, eax
inc eax
mov ecx, ebx
shl eax, cl
bt esi, ebx
jb 0x42a36f
or dl, al
mov eax, dword [esp + 0x20]
jmp 0x429d3b
mov eax, dword [0x43992c]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
jmp 0x429d3b
mov eax, dword [0x43992c]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
jmp 0x429d3b
mov eax, dword [0x43992c]
mov eax, dword [eax]
jmp 0x429d3b
call fcn.00428d8c
test eax, eax
je 0x429e33
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 1
push 0x50
push str._e_38_5_226mErrore_0m___e_38_5_214mUnable_to_initialize_the_Sodium_library.e_0m_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
mov eax, 2
jmp 0x42a358
cmp dword [esp + 0x1c], 0
je 0x42a360
mov edi, dword [esp + 0x20]
test edi, edi
je 0x429e4b
cmp byte [edi], 0
jne 0x429e7f
mov ebx, dword [esp + 0x1c]
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov esi, eax
add eax, 5
push eax
call fcn.004299ae
add esp, 4
mov edi, eax
push esi
push ebx
push eax
call fcn.0042bc88
add esp, 0xc
mov dword [edi + esi], 0x6769732e
mov byte [edi + esi + 4], 0
mov ecx, dword [esp + 0x24]
test ecx, ecx
mov dword [esp + 0x20], edi
je 0x429e99
call fcn.0042a509
mov dword [esp + 0x2c], eax
jmp 0x429f20
push 0x439484
push str.sign.pub
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fopen
add esp, 8
test eax, eax
je 0x42a4c1
mov esi, eax
lea eax, [esp + 0x24ac]
push esi
push 0x400
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fgets
add esp, 0xc
test eax, eax
je 0x42a4ad
mov ebx, 0x3b
push ebx
call fcn.004299ae
add esp, 4
mov edi, eax
push esi
push ebx
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fgets
add esp, 0xc
test eax, eax
je 0x42a4ad
push edi
call fcn.00429b3a
add esp, 4
push esi
call fcn.00429b13
add esp, 4
mov ecx, edi
call fcn.0042a509
mov dword [esp + 0x2c], eax
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov edi, dword [esp + 0x20]
xor esi, esi
inc esi
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
mov ebx, eax
push eax
push esi
push 0x44
push str.e_38_5_147me_4mFXSignVerifiere_24m___e_38_5_231me_3mVerifyinge_23m_n_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
push dword [esp + 0x1c]
push str.e_38_5_226mFilee_0m:__e_38_5_231m_e_38_5_144me_3m_se_23me_38_5_231m__n_ne_0m
mov dword [esp + 0x38], ebx
push ebx
call fcn.0042a4ec
add esp, 0xc
push 0x439484
push edi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fopen
add esp, 8
test eax, eax
je 0x42a397
mov edi, eax
lea esi, [esp + 0x24ac]
push eax
push 0x400
push esi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fgets
add esp, 0xc
test eax, eax
je 0x42a365
push esi
call fcn.00429b3a
add esp, 4
test eax, eax
je 0x42a3a0
movdqu xmm0, xmmword [esp + 0x24ac]
movdqu xmm1, xmmword [esp + 0x24b5]
pcmpeqb xmm1, xmmword [str.N_SIGNATURE__________BEGIN_SIGNA_e_38_5_226mErrore_0m___e_38_5_214mDuplicate_option:_e_0me_38_5_231m____ce_0m_n_n]
pcmpeqb xmm0, xmmword [0x438db0]
pand xmm0, xmm1
pmovmskb eax, xmm0
cmp eax, 0xffff
jne 0x42a3aa
lea esi, [esp + 0x80]
push edi
push 0x400
push esi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fgets
add esp, 0xc
test eax, eax
je 0x42a365
push esi
call fcn.00429b3a
add esp, 4
test eax, eax
je 0x42a3b4
mov dword [esp + 0x24], edi
push 0xb
push str.Signature:
push esi
call fcn.0042bce4
add esp, 0xc
test eax, eax
jne 0x42a3be
mov edi, 0x67
push edi
call fcn.004299ae
add esp, 4
mov esi, eax
push dword [esp + 0x24]
push edi
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fgets
add esp, 0xc
test eax, eax
je 0x42a365
mov dword [esp + 0x28], esi
push esi
call fcn.00429b3a
add esp, 4
test eax, eax
je 0x42a3c8
lea esi, [esp + 0x4ac]
push dword [esp + 0x24]
push 0x2000
push esi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fgets
add esp, 0xc
test eax, eax
je 0x42a3d2
push 9
push str.Trusted:
push esi
call fcn.0042bce4
add esp, 0xc
test eax, eax
jne 0x42a3dc
lea edi, [esp + 0x4b5]
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
inc eax
push eax
push edi
push esi
call fcn.0042bcad
add esp, 0xc
push esi
call fcn.00429b3a
add esp, 4
test eax, eax
je 0x42a3e6
mov ebx, 0x5b
push ebx
call fcn.004299ae
add esp, 4
mov edi, eax
mov esi, dword [esp + 0x24]
push esi
push ebx
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fgets
add esp, 0xc
test eax, eax
je 0x42a365
mov dword [esp + 0x34], edi
push edi
call fcn.00429b3a
add esp, 4
push esi
call fcn.00429b13
add esp, 4
mov ebx, 0x4a
push ebx
call fcn.004299ae
add esp, 4
mov esi, eax
mov edi, dword [esp + 0x28]
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
lea ecx, [esp + 0x38]
push ecx
push eax
push ebx
push edi
push esi
call fcn.004294e4
add esp, 0x14
test eax, eax
je 0x42a3f0
cmp dword [esp + 0x38], 0x4a
jne 0x42a3f0
push dword [esp + 0x28]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
movzx eax, word [esi]
cmp eax, 0x6445
setne dl
mov ecx, esi
lea esi, [esp + 0x80]
je 0x42a16c
movzx eax, word [ecx]
cmp eax, 0x4445
jne 0x42a4b7
mov byte [esp + 0x28], dl
mov dword [esp + 0x24], ecx
mov edi, dword [esp + 0x34]
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x40]
push ecx
push eax
push 0x40
push edi
push edx
call fcn.004294e4
add esp, 0x14
test eax, eax
je 0x42a3fa
cmp dword [esp + 0x3c], 0x40
jne 0x42a3fa
xor ebx, ebx
mov al, byte [esp + 0x28]
mov bl, al
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
test ebx, ebx
je 0x42a404
push 0x43988b
push dword [esp + 0x20]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fopen
add esp, 8
test eax, eax
lea ebx, [esp + 0x24ac]
je 0x42a38e
mov edi, eax
xor eax, eax
push 0x40
push eax
push eax
push esi
call fcn.00417bf5
add esp, 0x10
push edi
push 0x10000
push 1
push ebx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
add esp, 0x10
test eax, eax
je 0x42a215
push 0
push eax
push ebx
push esi
call fcn.00417bfa
jmp 0x42a1f1
push edi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_feof
add esp, 4
test eax, eax
je 0x42a38e
push edi
call fcn.00429b13
add esp, 4
mov esi, 0x40
push esi
call fcn.004299ae
add esp, 4
mov edi, eax
push esi
push eax
lea eax, [esp + 0x88]
push eax
call fcn.00417bff
add esp, 0xc
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 2]
mov edx, dword [esp + 0x2c]
xor eax, dword [edx + 2]
mov ecx, dword [esi + 6]
xor ecx, dword [edx + 6]
or ecx, eax
mov ebx, dword [esp + 0x30]
jne 0x42a429
add esi, 0xa
lea eax, [edx + 0xa]
mov dword [esp + 0x20], eax
push eax
push 0
push 0x40
push edi
push esi
call fcn.0042572b
add esp, 0x14
test eax, eax
jne 0x42a471
push 0xb2
push str._e_38_5_83m___c_Signature:__Signature_verified_successfully__ne_0m
push ebx
call fcn.0042a4ec
add esp, 0xc
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
lea eax, [esp + 0x4ac]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ebx, eax
add eax, 0x40
mov dword [esp + 0x1c], eax
push eax
call fcn.004299ae
add esp, 4
mov edi, eax
push 0x40
push esi
push eax
call fcn.0042bc88
add esp, 0xc
lea eax, [edi + 0x40]
push ebx
lea ecx, [esp + 0x4b0]
push ecx
push eax
call fcn.0042bc88
add esp, 0xc
push dword [esp + 0x20]
push 0
push dword [esp + 0x24]
push edi
lea eax, [esp + 0x50]
push eax
call fcn.0042572b
add esp, 0x14
test eax, eax
jne 0x42a488
push 0xb2
push str._e_38_5_83m___c_Trusted:__Trusted_comment_verified_successfully__ne_0m
mov esi, dword [esp + 0x38]
push esi
call fcn.0042a4ec
add esp, 0xc
push esi
push 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
push dword [esp + 0x2c]
call fcn.0042928e
add esp, 4
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
push dword [esp + 0x24]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.0042a4cb
push str._e_38_5_226mErrore_0m___e_38_5_214mError_while_reading_the_signature_file.e_0m_n
call fcn.00429966
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push ebx
push 0x438dc0
push eax
call fcn.0042a4ec
add esp, 0xc
call fcn.0042a4cb
push dword [esp + 0x1c]
call fcn.00429948
push dword [esp + 0x20]
call fcn.00429948
push str._e_38_5_226mErrore_0m___e_38_5_214mSignature_file_first_line_too_long.e_0m_n
call fcn.00429966
push str._e_38_5_226mErrore_0m___e_38_5_214mSignature_file_should_start_withe_0m__e_38_5_216m_____BEGIN_SIGNATURE_____e_0m_._n
call fcn.00429966
push str._e_38_5_226mErrore_0m___e_38_5_214mSignature_comment_too_long.e_0m_n
call fcn.00429966
push str._e_38_5_226mErrore_0m___e_38_5_214mSignature_comment_should_start_withe_0m__e_38_5_216mSignature:_e_0m_._n
call fcn.00429966
push str._e_38_5_226mErrore_0m___e_38_5_214mSignature_too_long.e_0m_n
call fcn.00429966
push str._e_38_5_226mErrore_0m___e_38_5_214mTrusted_comment_not_present.e_0m_n
call fcn.00429966
push str._e_38_5_226mErrore_0m___e_38_5_214mTrusted_signature_comment_should_start_with__e_38_5_216mTrusted:_e_0m_._n
call fcn.00429966
push str._e_38_5_226mErrore_0m___e_38_5_214mTrusted_comment_too_long.e_0m_n
call fcn.00429966
push str._e_38_5_226mErrore_0m___e_38_5_214mbase64_conversion_failed___sigxml_.e_0m_n
call fcn.00429966
push str._e_38_5_226mErrore_0m___e_38_5_214mbase64_conversion_failed___sigb2b_.e_0m_n
call fcn.00429966
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
xor esi, esi
inc esi
push esi
push 0x50
push str._e_38_5_226mErrore_0m___e_38_5_214mLegacy__non_prehashed__signature_found.e_0m_n_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
add esi, 2
add edx, 2
push 2
mov edi, edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
mov dword [esp + 0x1c], eax
push esi
call fcn.0042992c
add esp, 4
mov esi, eax
mov ebx, edx
push edi
call fcn.0042992c
add esp, 4
push edx
push eax
push ebx
push esi
push dword [esp + 0x30]
push str._e_38_5_226mErrore_0m___e_38_5_214mSignature_key_id_in__s_is__016llX_nbut_the_key_id_in_the_public_key_is__016llXe_0m_n_n
push dword [esp + 0x34]
call fcn.0042a4ec
add esp, 0x1c
jmp 0x42a4a6
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push 0xb2
push str._e_38_5_214m___c_Signature:__Signature_verification_failed__n_ne_0m
jmp 0x42a49d
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push 0xb2
push str._e_38_5_214m___c_Trusted:__Trusted_comment_signature_verification_failed__n_ne_0m
push eax
call fcn.0042a4ec
add esp, 0xc
push 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push str._e_38_5_226mErrore_0m___e_38_5_214mError_while_loading_the_public_key_file.e_0m_n
call fcn.00429966
push str._e_38_5_226mErrore_0m___e_38_5_214mUnsupported_signature_algorithm.e_0m_n
call fcn.00429966
push str.sign.pub
call fcn.00429948