Function at 0x10004a30
Capabilities:
Delete file
Get file size
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
push 0xf0000000
push 1
push edi
push edi
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], edi
xor ebx, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x10004a78
mov dword [ebp - 4], 0xffffffff
jmp 0x10004c20
mov ecx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
push edi
push 3
push edi
push 1
push connect
push ecx
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10004aa3
mov dword [ebp - 4], 0xfffffffe
jmp 0x10004c20
push edi
push edi
push edi
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x10004ac3
mov dword [ebp - 4], 0xfffffffd
jmp 0x10004c20
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 8], eax
cmp eax, edi
jne 0x10004ae2
mov dword [ebp - 4], 0xfffffffc
jmp 0x10004c20
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x80
ja 0x10004afd
mov dword [ebp - 4], 0xfffffffb
jmp 0x10004c20
mov edx, dword [ebp + 0xc]
push 0
push 0
push 2
push 0
push 3
push 0xc0000000
push edx
lea edi, [eax - 0x80]
call esi
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
jne 0x10004b29
mov dword [ebp - 4], 0xfffffffa
jmp 0x10004c20
push 0
push edi
push 0
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x10004b4c
mov dword [ebp - 4], 0xfffffff9
jmp 0x10004c20
push 0
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x10004b73
mov dword [ebp - 4], 0xfffffff8
jmp 0x10004c20
mov ecx, dword [ebp - 8]
push esi
sub ecx, 0xffffff80
call fcn.10004330
add esp, 4
test eax, eax
je 0x10004b92
mov dword [ebp - 4], 0xfffffff7
jmp 0x10004c20
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0x94
push 0x100197d0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x10004bbb
mov dword [ebp - 4], 0xfffffff6
jmp 0x10004c20
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
push edx
push 0
push 0
push 0x8003
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x10004bdf
mov dword [ebp - 4], 0xfffffff5
jmp 0x10004c20
mov ecx, dword [ebp - 0xc]
push 0
push edi
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x10004bfa
mov dword [ebp - 4], 0xfffffff4
jmp 0x10004c20
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
push 0
push 0
push edx
push 0x80
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureA]
test eax, eax
jne 0x10004c20
mov dword [ebp - 4], 0xfffffff3
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10004c2e
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10004c3e
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp dword [ebp - 8], 0
mov edi, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
je 0x10004c50
mov edx, dword [ebp - 8]
push edx
call edi
mov eax, dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10004c60
push eax
call esi
cmp ebx, 0xffffffff
je 0x10004c68
push ebx
call esi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10004c72
push eax
call edi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10004c7c
push eax
call esi
mov eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10004c87
push eax
call esi
mov esi, dword [ebp - 4]
test esi, esi
je 0x10004c98
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret