Function at 0x46abd0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
push edi
push eax
xor edi, edi
call fcn.004a20b0
push 0x511590
push eax
call dword [sym.imp.MSVCR90.dll_fopen]
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x46ac0c
mov eax, dword [esp + 0x14]
push str.Unable_to_open_public_key_file
push 0xfffffffffffffff0
push eax
call fcn.0049eaa0
add esp, 0xc
pop edi
pop esi
add esp, 8
ret
push ebx
mov ebx, dword [sym.imp.MSVCR90.dll_feof]
push ebp
push esi
call ebx
add esp, 4
test eax, eax
jne 0x46ac3d
mov ebp, dword [sym.imp.MSVCR90.dll_fgetc]
push esi
call ebp
add esp, 4
cmp al, 0xd
je 0x46ac3d
cmp al, 0xa
je 0x46ac3d
push esi
inc edi
call ebx
add esp, 4
test eax, eax
je 0x46ac24
push esi
call ebx
add esp, 4
test eax, eax
je 0x46ac48
dec edi
push esi
call dword [sym.imp.MSVCR90.dll_rewind]
add esp, 4
cmp edi, 1
ja 0x46ac7a
push esi
call dword [sym.imp.MSVCR90.dll_fclose]
mov ecx, dword [esp + 0x20]
push str.Invalid_data_in_public_key_file
push 0xfffffffffffffff0
push ecx
call fcn.0049eaa0
add esp, 0x10
pop ebp
pop ebx
pop edi
pop esi
add esp, 8
ret
mov ebp, dword [esp + 0x1c]
mov edx, dword [ebp + 4]
push ebp
push edi
call edx
add esp, 8
mov ebx, eax
push esi
test ebx, ebx
jne 0x46acad
call dword [sym.imp.MSVCR90.dll_fclose]
push str.Unable_to_allocate_memory_for_public_key_data
push 0xfffffffffffffffa
push ebp
call fcn.0049eaa0
add esp, 0x10
pop ebp
pop ebx
pop edi
pop esi
add esp, 8
ret
push edi
push 1
push ebx
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
cmp eax, edi
je 0x46ace4
mov eax, dword [ebp + 0xc]
push ebp
push ebx
call eax
push esi
call dword [sym.imp.MSVCR90.dll_fclose]
push str.Unable_to_read_public_key_from_file
push 0xfffffffffffffff0
push ebp
call fcn.0049eaa0
add esp, 0x18
pop ebp
pop ebx
pop edi
pop esi
add esp, 8
ret
push esi
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
test edi, edi
je 0x46ad12
mov esi, dword [sym.imp.MSVCR90.dll_isspace]
movzx ecx, byte [ebx + edi - 1]
push ecx
call esi
add esp, 4
test eax, eax
je 0x46ad0e
sub edi, 1
jne 0x46acf8
jmp 0x46ad12
test edi, edi
jne 0x46ad31
mov edx, dword [ebp + 0xc]
push ebp
push ebx
call edx
push str.Missing_public_key_data
push 0xfffffffffffffff0
push ebp
call fcn.0049eaa0
add esp, 0x14
pop ebp
pop ebx
pop edi
pop esi
add esp, 8
ret
mov ebp, dword [sym.imp.MSVCR90.dll_memchr]
push edi
push 0x20
push ebx
call ebp
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x46ad69
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0xc]
push esi
push ebx
call eax
push str.Invalid_public_key_data
push 0xfffffffffffffff0
push esi
call fcn.0049eaa0
add esp, 0x14
pop ebp
pop ebx
pop edi
pop esi
add esp, 8
ret
inc esi
mov ecx, edi
sub ecx, esi
lea edx, [ecx + ebx + 1]
push edx
push 0x20
push esi
call ebp
add esp, 0xc
test eax, eax
jne 0x46ad82
lea eax, [edi + ebx]
mov edi, dword [esp + 0x1c]
sub eax, esi
push eax
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edi
call fcn.0049ec50
add esp, 0x14
test eax, eax
je 0x46adc0
mov edx, dword [edi + 0xc]
push edi
push ebx
call edx
push str.Invalid_key_data__not_base64_encoded
push 0xfffffffffffffff0
push edi
call fcn.0049eaa0
add esp, 0x14
pop ebp
pop ebx
pop edi
pop esi
add esp, 8
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov dword [eax], ebx
mov eax, dword [esp + 0x28]
sub esi, ebx
dec esi
pop ebp
mov dword [ecx], esi
mov ecx, dword [esp + 0x10]
mov dword [eax], edx
mov edx, dword [esp + 0x28]
pop ebx
pop edi
mov dword [edx], ecx
xor eax, eax
pop esi
add esp, 8
ret