Function at 0x10009550
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10025ca9
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10030cb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.Local_sider_3
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100095eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
push 0x208
call fcn.1001337a
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
push 0x104
mov ecx, dword [ebp - 0x24]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
push str.R:_OpenFileMapping_FAILED__for__s_:__d_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.10013568
add esp, 4
xor al, al
jmp 0x10009730
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1000966e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], eax
push 0x208
call fcn.1001337a
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], ecx
push 0x104
mov edx, dword [ebp - 0x2c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push str.R:_MapViewOfFile_FAILED__for__s_:__d_n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
push eax
call fcn.10013568
add esp, 4
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x10009730
mov byte [ebp - 0x15], 0
push 0x5c
mov edx, dword [ebp + 8]
push edx
call fcn.100097e0
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10009719
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
movzx edx, word [ecx]
test edx, edx
je 0x10009719
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.10025a5d
add esp, 8
test eax, eax
jne 0x100096fe
push 0x1c
call fcn.1001358e
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x48], 0
je 0x100096dc
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.1000ace0
mov dword [ebp - 0x4c], eax
jmp 0x100096e3
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x44]
mov dword [ecx], edx
mov byte [ebp - 0x15], 1
jmp 0x10009719
mov eax, dword [ebp - 0x30]
push eax
call fcn.10013573
add esp, 4
mov ecx, dword [ebp - 0x30]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x30], edx
jmp 0x10009693
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret