Function at 0x4fc5c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
push 0x742c64
push ebp
call fcn.00537f76
mov edi, eax
add esp, 8
test edi, edi
jne 0x4fc610
call fcn.004f4dc0
mov esi, eax
test esi, esi
je 0x4fc60a
call fcn.0052b2e8
push dword [eax]
push ebp
push str.Cannot_read_file__s__errno_d
push 1
push 0x21d
push str._read_ca_certificate_from_file
push str.C:Userslaurence_liuDesktop_vcpkg_2023.02.24_buildtrees_azure_iot_sdk_c_src_a0598d786b_09eb97f1e9.cleaniothub_client_srciothub_client_authorization.c
push edi
call esi
add esp, 0x20
pop edi
pop esi
xor eax, eax
pop ebp
ret
push 2
push 0
push edi
call fcn.00531586
add esp, 0xc
test eax, eax
je 0x4fc662
call fcn.004f4dc0
mov esi, eax
test esi, esi
je 0x4fc651
call fcn.0052b2e8
push dword [eax]
push ebp
push str.fseek_on_file__s_fails__errno_d
push 1
push 0x222
push str._read_ca_certificate_from_file
push str.C:Userslaurence_liuDesktop_vcpkg_2023.02.24_buildtrees_azure_iot_sdk_c_src_a0598d786b_09eb97f1e9.cleaniothub_client_srciothub_client_authorization.c
push 0
call esi
add esp, 0x20
push edi
xor esi, esi
call fcn.00531ee5
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
ret
push ebx
push edi
call fcn.00537d65
mov ebx, eax
add esp, 4
test ebx, ebx
jns 0x4fc6b8
call fcn.004f4dc0
mov esi, eax
test esi, esi
je 0x4fc7a2
call fcn.0052b2e8
push dword [eax]
push ebp
push str.ftell_fails_reading__s__errno_d
push 1
push 0x22a
push str._read_ca_certificate_from_file
push str.C:Userslaurence_liuDesktop_vcpkg_2023.02.24_buildtrees_azure_iot_sdk_c_src_a0598d786b_09eb97f1e9.cleaniothub_client_srciothub_client_authorization.c
push 0
call esi
add esp, 0x20
xor esi, esi
pop ebx
push edi
call fcn.00531ee5
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
ret
jne 0x4fc6f7
call fcn.004f4dc0
test eax, eax
je 0x4fc7a2
push ebp
push str.file__s_is_0_bytes__which_is_not_valid_certificate
push 1
push 0x22f
push str._read_ca_certificate_from_file
push str.C:Userslaurence_liuDesktop_vcpkg_2023.02.24_buildtrees_azure_iot_sdk_c_src_a0598d786b_09eb97f1e9.cleaniothub_client_srciothub_client_authorization.c
push 0
call eax
add esp, 0x1c
xor esi, esi
pop ebx
push edi
call fcn.00531ee5
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
ret
push edi
call fcn.0053e2ab
lea eax, [ebx + 1]
push eax
push 1
call fcn.005a3fb0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4fc74b
call fcn.004f4dc0
test eax, eax
je 0x4fc7a4
push ebx
push str.Cannot_allocate__lu_bytes
push 1
push 0x238
push str._read_ca_certificate_from_file
push str.C:Userslaurence_liuDesktop_vcpkg_2023.02.24_buildtrees_azure_iot_sdk_c_src_a0598d786b_09eb97f1e9.cleaniothub_client_srciothub_client_authorization.c
push esi
call eax
add esp, 0x1c
pop ebx
push edi
call fcn.00531ee5
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
ret
push edi
push ebx
push 1
push esi
call fcn.00531af3
add esp, 0x10
test eax, eax
je 0x4fc769
push edi
call fcn.0053e199
add esp, 4
test eax, eax
je 0x4fc7a4
call fcn.004f4dc0
mov ebx, eax
test ebx, ebx
je 0x4fc799
call fcn.0052b2e8
push dword [eax]
push ebp
push str.fread_failed_on_file__s__errno_d
push 1
push 0x23c
push str._read_ca_certificate_from_file
push str.C:Userslaurence_liuDesktop_vcpkg_2023.02.24_buildtrees_azure_iot_sdk_c_src_a0598d786b_09eb97f1e9.cleaniothub_client_srciothub_client_authorization.c
push 0
call ebx
add esp, 0x20
push esi
call fcn.005a40b0
add esp, 4
xor esi, esi
pop ebx
push edi
call fcn.00531ee5
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
ret