Function at 0x1002d2a0
Capabilities:
Get file size
Hash data with md5
Read file via mapping

Disassembly:
push ebp
lea ebp, [esp - 0x2f8]
sub esp, 0x2f8
push 0xffffffffffffffff
push 0x10057491
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1006c3ac]
xor eax, ebp
mov dword [ebp + 0x2f4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], esi
mov eax, dword [0x1006e504]
mov ebx, ecx
mov edi, edx
mov edx, dword [eax + 0xc]
mov ecx, 0x1006e504
mov dword [ebp - 0x14], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
push 0x40
lea eax, [ebp + 0x5c]
push esi
mov ebx, 1
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp], vtable.MD5_CTX.0
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], esi
mov dword [ebp + 4], 0x67452301
mov dword [ebp + 8], 0xefcdab89
mov dword [ebp + 0xc], 0x98badcfe
mov dword [ebp + 0x10], 0x10325476
call fcn.10042250
add esp, 0xc
mov byte [ebp + 0x5c], 0x80
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x14]
push 0x1005f75c
xor ebx, ebx
call fcn.10002f40
push esi
push esi
push 3
push esi
push 1
push 0x80000000
push edi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x20], ebx
cmp ebx, 0xffffffff
je 0x1002d4be
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jbe 0x1002d4b7
cmp edi, 0x6400000
jbe 0x1002d399
mov edi, 0x6400000
push esi
push edi
push esi
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x1002d4b7
push edi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x1002d4ad
xor eax, eax
push 0x40
lea ecx, [ebp + 0x2a4]
push esi
push ecx
mov dword [ebp + 0x2e4], eax
mov dword [ebp + 0x2e8], eax
mov dword [ebp + 0x2ec], eax
mov dword [ebp + 0x2f0], eax
call fcn.10042250
push 0x208
lea edx, [ebp + 0x9c]
push esi
push edx
call fcn.10042250
mov eax, dword [ebp - 0x18]
add esp, 0x18
push eax
mov eax, edi
lea edi, [ebp]
call fcn.1002c9f0
lea edx, [ebp + 0x2e4]
mov ecx, edi
call fcn.1002ca90
xor edi, edi
cmp edi, 0x10
jae 0x1002d473
push 0x40
lea ecx, [ebp + 0x2a4]
push esi
push ecx
call fcn.10042250
movzx edx, byte [ebp + edi + 0x2e4]
push edx
push str._02X
push 0xffffffffffffffff
lea eax, [ebp + 0x2a4]
push 0x1f
push eax
call fcn.1003fb0e
lea ecx, [ebp + 0x2a4]
push ecx
lea edx, [ebp + 0x9c]
push 0x104
push edx
call fcn.1004037d
add esp, 0x2c
inc edi
jmp 0x1002d423
lea eax, [ebp + 0x9c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x1002d480
sub eax, edx
sar eax, 1
lea ecx, [ebp + 0x9c]
mov ebx, eax
mov eax, dword [ebp - 0x14]
push ecx
call fcn.10002f40
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2f4]
xor ecx, ebp
call fcn.1003f2d1
add ebp, 0x2f8
mov esp, ebp
pop ebp
ret