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

Disassembly:
push 0xffffffffffffffff
push 0x101359ae
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1017455c]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x10c]
mov ebp, dword [esp + 0x104]
mov esi, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
xor ebx, ebx
mov dword [esp + 0xe0], ebx
mov eax, 0xf
mov dword [esp + 0x18], ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
mov byte [esp + 0xe0], 1
mov dword [esp + 0x20], ebx
cmp ebp, ebx
je 0x1006fc74
xor eax, eax
mov byte [ebp], bl
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
cmp esi, ebx
je 0x1006fa9f
cmp esi, 0xffffffff
jne 0x1006fad5
cmp dword [esp + 0x100], 0x10
mov edi, dword [esp + 0xec]
jae 0x1006fab7
lea edi, [esp + 0xec]
push 0x8000080
push 3
push 3
push closesocket
call fcn.10033690
mov edi, eax
add esp, 0x10
mov dword [esp + 0x1c], edi
jmp 0x1006faf4
push 1
push ebx
push ebx
mov edi, esi
push esi
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push ebx
push ebx
push esi
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp edi, 0xffffffff
je 0x1006fc2d
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
push ebx
push ebx
push 2
push ebx
push edi
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esp + 0x28], eax
cmp eax, ebx
je 0x1006fc0a
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, ebx
je 0x1006fc00
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
je 0x1006fb4c
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x1006fb4c
mov dword [eax], ebx
mov byte [ecx], bl
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x108]
push edi
lea edx, [esp + 0x70]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x70], 0x67452301
mov dword [esp + 0x74], 0xefcdab89
mov dword [esp + 0x78], 0x98badcfe
mov dword [esp + 0x7c], 0x10325476
call fcn.1006eb70
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [esp + 0x18], 1
jne 0x1006fc00
lea edx, [esp + 0x6c]
lea ecx, [esp + 0xc4]
call fcn.1006ec90
lea edx, [esp + 0xc4]
push edx
lea ebx, [esp + 0x38]
call fcn.1006f730
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xec], 2
call fcn.10009000
mov ecx, ebx
mov byte [esp + 0xe0], 1
call fcn.10008e60
cmp dword [esp + 0x68], 0x10
mov eax, dword [esp + 0x54]
jae 0x1006fbf6
lea eax, [esp + 0x54]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor ebx, ebx
lea eax, [esp + 0x28]
push eax
call fcn.100673f0
cmp esi, ebx
je 0x1006fc13
cmp esi, 0xffffffff
jne 0x1006fc1f
lea ecx, [esp + 0x1c]
push ecx
call fcn.100673f0
jmp 0x1006fc2d
mov edx, dword [esp + 0x20]
push ebx
push ebx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, 0x10
cmp dword [esp + 0x68], esi
jb 0x1006fc45
mov eax, dword [esp + 0x54]
push eax
call fcn.1010e8a3
add esp, 4
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
cmp dword [esp + 0x100], esi
jb 0x1006fc6e
mov ecx, dword [esp + 0xec]
push ecx
call fcn.1010e8a3
add esp, 4
mov eax, dword [esp + 0x18]
jmp 0x1006fc9c
cmp dword [esp + 0x100], 0x10
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jb 0x1006fc9a
mov edx, dword [esp + 0xec]
push edx
call fcn.1010e8a3
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.1010d699
add esp, 0xd0
ret 0x28