Function at 0x10014130
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x10085580]
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.1004b220
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 0x100141b2
mov dword [ebp - 0x14], 0xa1020020
jmp 0x1001430e
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.10006d10
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100141d0
jmp 0x1001430e
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 0x100141f2
mov dword [ebp - 0x14], 0xa1020022
jmp 0x1001430e
push 0x1006a1dc
mov eax, dword [ebp + 8]
push eax
call fcn.1004a4f8
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10014218
mov dword [ebp - 0x14], 0xa1020004
jmp 0x1001430e
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.10049234
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1001423c
mov dword [ebp - 0x14], 0xa1020001
jmp 0x1001430e
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1004b220
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 0x10014270
jmp 0x1001430e
mov eax, dword [ebp - 0x1c]
push eax
push 0x400
push 1
lea ecx, [ebp - 0x41c]
push ecx
call fcn.1004eadc
add esp, 0x10
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jle 0x100142d7
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 0x100142bf
jmp 0x1001430e
push 0x400
push 0
lea eax, [ebp - 0x41c]
push eax
call fcn.1004b220
add esp, 0xc
jmp 0x10014270
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 0x100142f7
jmp 0x1001430e
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 0x10014328
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 0x10014341
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1004a02c
add esp, 4
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x14], 0
je 0x10014360
cmp dword [ebp - 0x10], 0
je 0x10014360
mov eax, dword [ebp - 0x10]
push eax
call fcn.100490dd
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.10049fa6
mov esp, ebp
pop ebp
ret