Function at 0x44ed80
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
xor edi, edi
push esi
push ebx
sub esp, 0x4c
mov ebp, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x34], 0
test ebp, ebp
je 0x44ee05
test ebx, ebx
je 0x44ee10
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x44ee10
mov edi, str.sha256__
mov ecx, 8
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x44ee20
mov eax, dword [0x5363a0]
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x44ee10
mov dword [esp], 0x20
call dword [0x536390]
test eax, eax
mov esi, eax
je 0x44efe4
mov dword [esp + 8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], 0x20
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [0x5363a0]
call dword [eax + 0x5c]
test eax, eax
mov edi, eax
je 0x44ee90
add esp, 0x4c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x4c
mov edi, 0x5a
pop ebx
mov eax, edi
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x5e563d
mov dword [esp], ebp
call sub.msvcrt.dll_fopen
test eax, eax
mov esi, eax
je 0x44ee10
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_fseek
test eax, eax
je 0x44ef20
mov edi, 0x5a
xor edx, edx
mov dword [esp], edx
call dword [0x53638c]
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dword [0x53638c]
mov dword [esp], esi
mov dword [esp + 0x34], 0
call sub.msvcrt.dll_fclose
add esp, 0x4c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x38]
mov dword [esp + 8], 0x20
mov dword [esp + 4], esi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.00453e10
mov edi, eax
mov dword [esp], esi
call dword [0x53638c]
test edi, edi
jne 0x44ee05
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], str._t_public_key_hash:_sha256___s_n
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.0045fe80
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
lea ebx, [eax + 1]
mov dword [esp], ebx
call dword [0x536390]
test eax, eax
mov esi, eax
jne 0x44efee
mov eax, dword [esp + 0x3c]
mov edi, 0x1b
mov dword [esp], eax
call dword [0x53638c]
jmp 0x44ee05
mov dword [esp], esi
call sub.msvcrt.dll_ftell
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov edi, eax
mov dword [esp], esi
call sub.msvcrt.dll_fseek
test eax, eax
jne 0x44ee56
cmp edi, 0x100000
ja 0x44ee56
mov dword [esp], edi
sar edi, 0x1f
mov dword [esp + 4], edi
call fcn.00442190
cmp dword [esp + 0x6c], eax
mov ebp, eax
ja 0x44ee56
lea eax, [eax + 1]
mov dword [esp], eax
call dword [0x536390]
test eax, eax
je 0x44ee56
mov dword [esp + 0xc], esi
mov dword [esp + 8], 1
mov edi, 0x5a
mov dword [esp + 4], ebp
mov dword [esp], eax
mov dword [esp + 0x24], eax
call sub.msvcrt.dll_fread
cmp eax, 1
mov edx, dword [esp + 0x24]
jne 0x44ee5d
cmp dword [esp + 0x6c], ebp
jne 0x44f0c9
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], edx
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.msvcrt.dll_memcmp
cmp eax, 1
mov edx, dword [esp + 0x24]
sbb edi, edi
not edi
and edi, 0x5a
jmp 0x44ee5d
mov edi, 0x1b
jmp 0x44ee05
mov dword [esp + 8], ebx
mov dword [esp + 4], ebp
mov ebx, esi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov dword [esp], ebx
mov dword [esp + 4], str._sha256__
add ebx, 8
call sub.msvcrt.dll_strstr
test eax, eax
mov ebp, eax
je 0x44f050
mov byte [eax], 0
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
cmp eax, dword [esp + 0x38]
je 0x44f0a3
mov byte [ebp], 0x3b
mov dword [esp + 4], str.sha256__
mov dword [esp], ebp
call sub.msvcrt.dll_strstr
test eax, eax
mov ebx, eax
jne 0x44f000
mov edx, dword [esp + 0x3c]
mov edi, 0x5a
jmp 0x44f084
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
cmp eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
jne 0x44f048
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp + 0x24], edx
call sub.msvcrt.dll_memcmp
mov edx, dword [esp + 0x24]
test eax, eax
mov eax, 0x5a
cmovne edi, eax
mov dword [esp], edx
call dword [0x53638c]
mov dword [esp + 0x3c], 0
mov dword [esp], esi
call dword [0x53638c]
jmp 0x44ee05
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edx
mov dword [esp + 0x24], edx
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x44f02a
mov edx, dword [esp + 0x24]
jmp 0x44f084
mov byte [edx + ebp], 0
mov dword [esp], edx
mov dword [esp + 4], str._____BEGIN_PUBLIC_KEY_____
mov dword [esp + 0x24], edx
call sub.msvcrt.dll_strstr
test eax, eax
mov edx, dword [esp + 0x24]
je 0x44ee5d
mov ebp, eax
sub ebp, edx
je 0x44f0fd
cmp byte [eax - 1], 0xa
jne 0x44ee5d
add ebp, 0x1a
mov dword [esp + 4], str._n_____END_PUBLIC_KEY_____
mov dword [esp + 0x24], edx
lea edi, [edx + ebp]
mov dword [esp], edi
call sub.msvcrt.dll_strstr
test eax, eax
mov edx, dword [esp + 0x24]
je 0x44f1bb
sub eax, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], eax
sub eax, ebp
add eax, 1
mov dword [esp], eax
call dword [0x536390]
test eax, eax
mov ebp, eax
mov edx, dword [esp + 0x2c]
je 0x44f1bb
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x24], ecx
jae 0x44f1ec
lea eax, [edx + ecx]
mov dword [esp + 0x24], eax
xor eax, eax
movzx ecx, byte [edi]
cmp cl, 0xa
je 0x44f174
cmp cl, 0xd
je 0x44f174
mov byte [ebp + eax], cl
add eax, 1
add edi, 1
cmp dword [esp + 0x24], edi
jne 0x44f160
mov byte [ebp + eax], 0
lea eax, [esp + 0x3c]
mov dword [esp], ebp
mov dword [esp + 0x24], edx
mov dword [esp + 8], eax
lea eax, [esp + 0x34]
mov dword [esp + 4], eax
call fcn.00453be0
mov edi, eax
mov dword [esp], ebp
call dword [0x53638c]
test edi, edi
mov edx, dword [esp + 0x24]
jne 0x44f1bb
mov eax, dword [esp + 0x6c]
cmp dword [esp + 0x3c], eax
je 0x44f1c5
mov edi, 0x5a
jmp 0x44ee5d
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcmp
test eax, eax
mov eax, 0x5a
mov edx, dword [esp + 0x24]
cmovne edi, eax
jmp 0x44ee5d
xor eax, eax
jmp 0x44f17d