Function at 0x101dc850
Capabilities:
Get file size
Read file via mapping
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x102511f0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1037c990]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x38]
push eax
call fcn.101dc200
mov dword [esp + 0x70], 0
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x8000000
push 3
push 0
push 5
push SysReAllocString
push eax
call ebx
mov edi, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x18], edi
mov byte [esp + 0x70], 2
lea ecx, [esp + 0x38]
call fcn.10004720
cmp edi, 0xffffffff
jne 0x101dc8ce
push 0
push 0
call fcn.100563c0
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
lea ecx, [esp + 0x58]
push ecx
push edi
call ebp
test eax, eax
jne 0x101dc8e7
push eax
push eax
call fcn.100563c0
mov edx, dword [esp + 0x78]
push edx
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
call fcn.101dc330
mov byte [esp + 0x70], 3
mov eax, dword [eax]
push 0
push 0x8000000
push 3
push 0
push 5
push SysReAllocString
push eax
call ebx
mov ebx, eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], ebx
mov byte [esp + 0x70], 5
lea ecx, [esp + 0x78]
call fcn.10004720
or esi, 0xffffffff
cmp ebx, esi
jne 0x101dc93c
push 0
push 0
call fcn.100563c0
lea ecx, [esp + 0x60]
push ecx
push ebx
call ebp
test eax, eax
jne 0x101dc94f
push eax
push eax
call fcn.100563c0
mov eax, dword [esp + 0x58]
cmp eax, dword [esp + 0x60]
jne 0x101dc963
mov ecx, dword [esp + 0x5c]
cmp ecx, dword [esp + 0x64]
je 0x101dc985
mov byte [esp + 0x70], 2
lea ecx, [esp + 0x14]
call fcn.101a5820
mov dword [esp + 0x70], esi
lea ecx, [esp + 0x18]
call fcn.101a5820
xor al, al
jmp 0x101dcd91
or eax, ecx
jne 0x101dc9a9
mov byte [esp + 0x70], 2
lea ecx, [esp + 0x14]
call fcn.101a5820
mov dword [esp + 0x70], esi
lea ecx, [esp + 0x18]
call fcn.101a5820
jmp 0x101dcd8f
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0
push 0
push 0
push 2
push 0
push edi
call esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov byte [esp + 0x70], 6
cmp eax, 0xffffffff
je 0x101dc9d2
test eax, eax
jne 0x101dc9db
push 0
push 0
call fcn.100563c0
push 0
push 0
push 0
push 2
push 0
push ebx
call esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
mov byte [esp + 0x70], 7
cmp eax, 0xffffffff
je 0x101dc9fe
test eax, eax
jne 0x101dca07
push 0
push 0
call fcn.100563c0
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [esp + 0x50], edx
xor edx, edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
lea ecx, [ecx]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
sub ecx, edx
sbb eax, dword [esp + 0x44]
test eax, eax
ja 0x101dca58
jb 0x101dca4c
cmp ecx, 0x100000
jae 0x101dca58
mov ebp, ecx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], eax
jmp 0x101dca6c
mov dword [esp + 0x48], 0x100000
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x54]
ja 0x101dcd1d
jb 0x101dca86
cmp edx, dword [esp + 0x50]
jae 0x101dcd1d
cmp dword [esp + 0x4c], 0
ja 0x101dcbeb
jb 0x101dca9c
cmp ebp, 0xffffffff
ja 0x101dcbeb
mov ecx, dword [esp + 0x2c]
push ebp
push edx
push eax
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
mov dword [esp + 0x24], ebx
mov byte [esp + 0x70], 8
test ebx, ebx
je 0x101dc8c5
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
push ebp
push edx
push eax
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
mov dword [esp + 0x20], ebp
mov byte [esp + 0x70], 9
test ebp, ebp
je 0x101dc8c5
mov eax, dword [esp + 0x48]
mov dword [esp + 0x78], ebp
mov ecx, ebx
mov dword [esp + 0x1c], ebx
mov edx, ebp
cmp eax, 4
jb 0x101dcb24
nop
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x101dcc01
mov ecx, dword [esp + 0x1c]
sub eax, 4
add edx, 4
add ecx, 4
mov dword [esp + 0x78], edx
mov dword [esp + 0x1c], ecx
cmp eax, 4
jae 0x101dcb00
test eax, eax
je 0x101dcb5c
mov dl, byte [edx]
cmp dl, byte [ecx]
jne 0x101dcc01
cmp eax, 1
jbe 0x101dcb5c
mov edx, dword [esp + 0x78]
mov dl, byte [edx + 1]
cmp dl, byte [ecx + 1]
jne 0x101dcc01
cmp eax, 2
jbe 0x101dcb5c
mov eax, dword [esp + 0x78]
mov dl, byte [eax + 2]
cmp dl, byte [ecx + 2]
jne 0x101dcc01
mov byte [esp + 0x70], 8
call esi
push 0xd3
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincHandles.h
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esp + 0x84], eax
call ebp
push eax
call fcn.100556a0
mov eax, dword [esp + 0x84]
add esp, 0xc
push eax
mov dword [esp + 0x24], 0
call edi
mov byte [esp + 0x70], 7
call esi
push 0xd3
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincHandles.h
push ebx
mov dword [esp + 0x84], eax
call ebp
push eax
call fcn.100556a0
mov ecx, dword [esp + 0x84]
add esp, 0xc
push ecx
mov dword [esp + 0x28], 0
call edi
mov edx, dword [esp + 0x48]
add dword [esp + 0x40], edx
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x30]
adc dword [esp + 0x44], eax
mov edx, dword [esp + 0x40]
jmp 0x101dca30
push 0
push 0x2b8
push str..FilePath.cpp
push 0xe0e00000
call fcn.100048f0
mov byte [esp + 0x70], 8
call esi
push 0xd3
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincHandles.h
push ebp
mov dword [esp + 0x84], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push eax
call fcn.100556a0
mov ecx, dword [esp + 0x84]
add esp, 0xc
push ecx
mov dword [esp + 0x24], 0
call edi
mov byte [esp + 0x70], 7
call esi
push 0xd3
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincHandles.h
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push eax
call fcn.100556a0
add esp, 0xc
push ebp
mov dword [esp + 0x28], 0
call edi
mov byte [esp + 0x70], 6
call esi
mov edx, dword [esp + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x47
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincHandles.h
push edx
mov ebx, eax
call ebp
push eax
call fcn.100556a0
add esp, 0xc
push ebx
mov dword [esp + 0x38], 0
call edi
mov byte [esp + 0x70], 5
call esi
push 0x47
mov ebx, eax
mov eax, dword [esp + 0x30]
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincHandles.h
push eax
call ebp
push eax
call fcn.100556a0
add esp, 0xc
push ebx
mov dword [esp + 0x3c], 0
call edi
mov byte [esp + 0x70], 2
call esi
mov ecx, dword [esp + 0x30]
push 0x29
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincHandles.h
push ecx
mov ebx, eax
call ebp
push eax
call fcn.100556a0
add esp, 0xc
push ebx
mov dword [esp + 0x18], 0xffffffff
call edi
or ebx, 0xffffffff
mov dword [esp + 0x70], ebx
call esi
mov edx, dword [esp + 0x3c]
push 0x29
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincHandles.h
push edx
mov esi, eax
call ebp
push eax
call fcn.100556a0
add esp, 0xc
push esi
mov dword [esp + 0x1c], ebx
call edi
xor al, al
jmp 0x101dcd91
mov byte [esp + 0x70], 6
lea ecx, [esp + 0x34]
call fcn.1004c300
mov byte [esp + 0x70], 5
lea ecx, [esp + 0x38]
call fcn.1004c300
mov byte [esp + 0x70], 2
call esi
push 0x29
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincHandles.h
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, eax
call ebx
push eax
call fcn.100556a0
add esp, 0xc
push ebp
mov dword [esp + 0x18], 0xffffffff
call edi
or ebp, 0xffffffff
mov dword [esp + 0x70], ebp
call esi
push 0x29
mov esi, eax
mov eax, dword [esp + 0x40]
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincHandles.h
push eax
call ebx
push eax
call fcn.100556a0
add esp, 0xc
push esi
mov dword [esp + 0x1c], ebp
call edi
mov al, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 4