Function at 0x68919f50
Capabilities:
Access pe header
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 2
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov ecx, dword [ebp + 0xc]
and ecx, 0x20
je 0x68919f8d
mov edx, dword [ebp - 0x10]
or edx, 0x1000000
mov dword [ebp - 0x10], edx
push 0
lea eax, [ebp - 0x220]
push eax
push 0x104
push str..dll
mov ecx, dword [ebp + 0x10]
push ecx
push 0
call sym.kernelbase.dll_SearchPathW
test eax, eax
je 0x68919fcd
push 0
push 0
push 3
push 0
push 5
push 0x80000000
lea edx, [ebp - 0x220]
push edx
call sym.kernelbase.dll_CreateFileW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x68919fda
xor eax, eax
jmp 0x6891a153
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call sym.kernelbase.dll_CreateFileMappingW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x68919ffd
jmp 0x6891a139
push 0
push 0
push 0
push 4
mov edx, dword [ebp - 0x14]
push edx
call sym.kernelbase.dll_MapViewOfFile
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
push eax
call sym.kernelbase.dll_CloseHandle
cmp dword [ebp - 4], 0
jne 0x6891a025
jmp 0x6891a139
mov ecx, dword [ebp + 0xc]
and ecx, 0x20
jne 0x6891a11e
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ntext.dll_RtlImageNtHeader]
test eax, eax
jne 0x6891a044
jmp 0x6891a139
mov eax, dword [ebp - 4]
add eax, 1
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
and edx, 0x40
je 0x6891a11c
push 0x10
push 0
call sym.kernelbase.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x6891a078
jmp 0x6891a139
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 8]
push edx
push 0x6896a580
call fcn.68919de0
add esp, 8
mov eax, dword [0x6893ab78]
movzx ecx, byte [eax]
and ecx, 8
je 0x6891a115
mov edx, 1
imul edx, edx, 0
movsx eax, byte [edx + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrappermodule.c]
cmp eax, 0x2e
jne 0x6891a0c7
mov dword [ebp - 0x18], 0x12
jmp 0x6891a0ce
mov dword [ebp - 0x18], 0x21
push 0x68938310
push 0x7d
push str.load_library_as_datafile
mov ecx, dword [ebp - 0x18]
add ecx, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrappermodule.c
push ecx
mov edx, dword [0x6893ab78]
push edx
push 3
call fcn.68933a40
add esp, 0x18
cmp eax, 0xffffffff
je 0x6891a115
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
push eax
push str.delaying_close__p_for_module__p_n
call fcn.68933ab0
add esp, 0xc
mov eax, 1
jmp 0x6891a153
jmp 0x6891a129
mov ecx, dword [ebp - 4]
add ecx, 2
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
mov eax, dword [ebp - 0xc]
push eax
call sym.kernelbase.dll_CloseHandle
mov eax, 1
jmp 0x6891a153
cmp dword [ebp - 4], 0
je 0x6891a148
mov ecx, dword [ebp - 4]
push ecx
call sym.kernelbase.dll_UnmapViewOfFile
mov edx, dword [ebp - 0xc]
push edx
call sym.kernelbase.dll_CloseHandle
xor eax, eax
mov esp, ebp
pop ebp
ret