Function at 0x4111b0
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42af06
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x43a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x274], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4111fd
mov ecx, dword [ebp - 0x274]
cmp dword [ecx + 0xc], 0
jne 0x411204
xor eax, eax
jmp 0x411610
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0xffffffff
jne 0x411236
xor eax, eax
jmp 0x411610
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x280], 1
mov dword [ebp - 0x26c], 0
push 0
mov eax, dword [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x28c], eax
mov ecx, 0xa
mov esi, str.IIME_CODETABLE_READ
lea edi, [ebp - 0x218]
rep movsd dword es:[edi], dword [esi]
push 0x1e0
push 0
lea ecx, [ebp - 0x1f0]
push ecx
call fcn.0041ec10
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004198f0
add esp, 8
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x28c]
push edx
push 0
push 2
push 0
mov eax, dword [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0
jne 0x4112ed
mov dword [ebp - 0x280], 0
jmp 0x4115aa
push 0
push 0
push 0
push 4
mov ecx, dword [ebp - 0x278]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0
jne 0x411320
mov dword [ebp - 0x280], 0
jmp 0x4115aa
cmp dword [ebp + 0xc], 0
jne 0x4113ff
mov dword [ebp - 0x288], 0x564
mov edi, dword [ebp - 0x274]
add edi, 0x14
mov ecx, 0x159
mov esi, dword [ebp - 0x270]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0xd0]
sub eax, dword [ebp - 0x288]
mov dword [ebp - 0x284], eax
push 4
push 0x3000
mov ecx, dword [ebp - 0x284]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, dword [ebp - 0x274]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x274]
cmp dword [eax + 0x10], 0
jne 0x41139c
mov dword [ebp - 0x280], 0
jmp 0x4115aa
mov ecx, dword [ebp - 0x284]
push ecx
mov edx, dword [ebp - 0x270]
add edx, dword [ebp - 0x288]
push edx
mov eax, dword [ebp - 0x274]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.0041e690
add esp, 0xc
mov edx, dword [ebp - 0x274]
mov dword [edx + 0x90c], 0
mov ecx, dword [ebp - 0x274]
call fcn.00413160
mov ecx, dword [ebp - 0x274]
mov dword [ecx], eax
mov edx, dword [ebp - 0x274]
cmp dword [edx], 0
jne 0x4113ff
mov dword [ebp - 0x280], 0
jmp 0x4115aa
mov eax, dword [ebp - 0x270]
mov ecx, dword [eax + 0xbc]
mov dword [ebp - 0x26c], ecx
mov edx, dword [ebp - 0x26c]
cmp edx, dword [ebp - 0x28c]
jae 0x4115aa
mov eax, dword [ebp - 0x270]
add eax, dword [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x230]
call fcn.00413ae0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00402880
mov ecx, dword [ebp - 0x26c]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x26c], edx
lea ecx, [ebp - 0x268]
call fcn.00418080
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x270]
add eax, dword [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x250]
call fcn.004028c0
lea ecx, [ebp - 0x250]
call fcn.00402880
mov ecx, dword [ebp - 0x26c]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x26c], edx
mov dword [ebp - 0x238], 0xfd
mov dword [ebp - 0x234], 0
cmp dword [ebp + 0xc], 0
jne 0x4114ff
mov eax, dword [ebp - 0x270]
add eax, dword [ebp - 0x26c]
mov ecx, dword [eax]
mov dword [ebp - 0x238], ecx
mov edx, dword [ebp - 0x26c]
add edx, 4
mov dword [ebp - 0x26c], edx
mov eax, dword [ebp - 0x270]
add eax, dword [ebp - 0x26c]
mov ecx, dword [eax]
mov dword [ebp - 0x234], ecx
mov edx, dword [ebp - 0x26c]
add edx, 4
mov dword [ebp - 0x26c], edx
push 1
sub esp, 0x38
mov ecx, esp
mov dword [ebp - 0x294], esp
lea eax, [ebp - 0x268]
push eax
call fcn.00418110
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x29c], esp
lea edx, [ebp - 0x230]
push edx
call fcn.00413b60
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x274]
call fcn.00411630
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
jne 0x411584
mov dword [ebp - 0x280], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.004182c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00413ac0
jmp 0x4115aa
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.004182c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00413ac0
jmp 0x411411
cmp dword [ebp - 0x270], 0
je 0x4115ca
mov eax, dword [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x270], 0
cmp dword [ebp - 0x278], 0
je 0x4115ea
mov ecx, dword [ebp - 0x278]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x278], 0
cmp dword [ebp - 0x27c], 0xffffffff
je 0x41160a
mov edx, dword [ebp - 0x27c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x27c], 0
mov eax, dword [ebp - 0x280]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d2df
mov esp, ebp
pop ebp
ret 8