Function at 0x10014010
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x1007e570]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x41c], 0
push 0x3ff
push 0
lea eax, [ebp - 0x41b]
push eax
call fcn.10043dc0
add esp, 0xc
mov dword [ebp - 0x420], 0
call dword [sym.imp.inicrypto_v5.4.1.dll_ISC_New_DIGEST_Unit]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10014092
mov dword [ebp - 0x14], 0xa1020020
jmp 0x100141ee
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.10006ca0
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100140b0
jmp 0x100141ee
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.inicrypto_v5.4.1.dll_ISC_Get_DIGEST_Length]
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jg 0x100140d2
mov dword [ebp - 0x14], 0xa1020022
jmp 0x100141ee
push 0x10063154
mov eax, dword [ebp + 8]
push eax
call fcn.10043098
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x100140f8
mov dword [ebp - 0x14], 0xa1020004
jmp 0x100141ee
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.10041dd4
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1001411c
mov dword [ebp - 0x14], 0xa1020001
jmp 0x100141ee
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.10043dc0
add esp, 0xc
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.inicrypto_v5.4.1.dll_ISC_Init_DIGEST]
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10014150
jmp 0x100141ee
mov eax, dword [ebp - 0x1c]
push eax
push 0x400
push 1
lea ecx, [ebp - 0x41c]
push ecx
call fcn.1004767c
add esp, 0x10
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jle 0x100141b7
mov eax, dword [ebp - 0x420]
push eax
lea ecx, [ebp - 0x41c]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.inicrypto_v5.4.1.dll_ISC_Update_DIGEST]
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1001419f
jmp 0x100141ee
push 0x400
push 0
lea eax, [ebp - 0x41c]
push eax
call fcn.10043dc0
add esp, 0xc
jmp 0x10014150
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.inicrypto_v5.4.1.dll_ISC_Final_DIGEST]
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100141d7
jmp 0x100141ee
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov dword [ebp - 0x14], 0
cmp dword [ebp - 8], 0
je 0x10014208
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.inicrypto_v5.4.1.dll_ISC_Free_DIGEST_Unit]
add esp, 4
mov dword [ebp - 8], 0
cmp dword [ebp - 0x1c], 0
je 0x10014221
mov eax, dword [ebp - 0x1c]
push eax
call fcn.10042bcc
add esp, 4
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x14], 0
je 0x10014240
cmp dword [ebp - 0x10], 0
je 0x10014240
mov eax, dword [ebp - 0x10]
push eax
call fcn.10041c7d
add esp, 4
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10042b46
mov esp, ebp
pop ebp
ret