Function at 0x425d70
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x21c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x234]
xor ebp, ebp
push edi
cmp esi, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
je 0x425ffc
cmp dword [esp + 0x240], ebp
je 0x425ffc
mov edi, dword [esp + 0x234]
lea eax, [esp + 0x24]
push 0x104
push eax
push esi
push edi
call fcn.00421220
push str.ShareMemoryMutext_
lea ecx, [esp + 0x12c]
push 0x104
push ecx
call fcn.0041a480
push esi
lea edx, [esp + 0x138]
push 0x104
push edx
call fcn.0041a280
mov ebx, dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
add esp, 0x18
lea eax, [esp + 0x24]
push eax
push ebp
push 6
call ebx
cmp eax, ebp
mov dword [esp + 0x10], eax
jne 0x425ebc
mov ebp, dword [esp + 0x23c]
test ebp, ebp
jne 0x425e27
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret 0x14
add ebp, 4
test edi, edi
je 0x425e68
call fcn.00426060
test eax, eax
jne 0x425e68
mov edx, dword [esp + 0x230]
lea ecx, [esp + 0x18]
push ecx
push esi
push ebp
push edx
call fcn.0043bec0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x425f3a
lea eax, [esp + 0x24]
push eax
push edi
push 6
call ebx
mov dword [esp + 0x10], eax
jmp 0x425e80
lea ecx, [esp + 0x10]
lea edx, [esp + 0x24]
push ecx
push ebp
push edx
call fcn.00426010
test eax, eax
jne 0x426001
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x425fe7
mov ecx, ebp
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x234]
mov dword [ebx], ebp
jmp 0x425ed4
push ebp
push ebp
push ebp
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x425fe7
mov ebp, dword [ebx]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x128]
push eax
push ecx
push edi
call fcn.0041ac00
mov edi, eax
test edi, edi
je 0x425f1a
lea edx, [esp + 0x14]
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x238]
lea ecx, [esp + 0x12c]
push eax
push ecx
push edx
mov dword [esp + 0x30], 0
call fcn.0041aac0
mov edi, eax
test edi, edi
jne 0x425f33
push 0x120
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x425f66
mov edi, 0xe0600002
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x425f49
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x425f57
push eax
call fcn.0041ad10
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret 0x14
mov dword [esi + 8], ebx
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov ecx, dword [esp + 0x14]
add ebp, 0xfffffffc
mov dword [esi + 4], ecx
mov dword [esi + 0xc], ebp
mov edx, dword [esp + 0x18]
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x230]
test eax, eax
je 0x425fbf
push eax
lea ecx, [esi + 0x18]
push 0x104
push ecx
call fcn.0041a480
mov eax, dword [esp + 0x24c]
add esp, 0xc
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret 0x14
push 0x104
lea edx, [esi + 0x18]
push 0
push edx
call fcn.00419d10
mov eax, dword [esp + 0x240]
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
je 0x425f57
jmp 0x425f3a
mov eax, 0xe0600007
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret 0x14