Function at 0x1400135c0
Capabilities:
Check if file exists
Get file attributes
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
xor r14d, r14d
mov qword [rsp + 0x60], rbx
lea rcx, str.user32.dll
mov qword [rsp + 0x68], rsi
mov edi, r14d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ebp, [r14 + 1]
cmp eax, 0xffffffff
je 0x140013634
bt eax, 0xa
jae 0x140013634
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140013620
test al, 0x10
je 0x140013620
lea rcx, str.user32.dll
call fcn.140025f9c
jmp 0x14001362c
lea rcx, str.user32.dll
call fcn.140024ba4
test eax, eax
jne 0x140013b1a
mov ecx, 0x18
call fcn.140023fac
mov rsi, rax
test rax, rax
je 0x140013b1a
xorps xmm0, xmm0
lea rcx, str.user32.dll
xor eax, eax
xor edx, edx
movups xmmword [rsi], xmm0
mov r8d, 0x1000
mov qword [rsi + 0x10], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [rsi], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 8], eax
mov rbx, rsi
mov qword [0x14008fc58], rbx
cmp qword [rsi], rdi
je 0x140013b27
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400136da
bt eax, 0xa
jae 0x1400136da
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400136c6
test al, 0x10
je 0x1400136c6
lea rcx, str.kernel32.dll
call fcn.140025f9c
jmp 0x1400136d2
lea rcx, str.kernel32.dll
call fcn.140024ba4
test eax, eax
jne 0x140013aff
mov ecx, 0x18
call fcn.140023fac
mov rbx, rax
test rax, rax
je 0x140013aff
xorps xmm0, xmm0
lea rcx, str.kernel32.dll
xor eax, eax
xor edx, edx
movups xmmword [rbx], xmm0
mov r8d, 0x1000
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov rcx, qword [rbx]
mov qword [0x14008fc60], rbx
test rcx, rcx
je 0x140013b09
lea rdx, [0x140077c58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x140013768
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov rbx, qword [0x14008fc58]
mov rcx, rbx
mov qword [0x14008fc68], rsi
call fcn.140013020
mov edi, eax
jmp 0x140013776
mov rbx, qword [0x14008fc58]
mov qword [0x14008fc68], rsi
test rbx, rbx
je 0x1400137b6
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400137b6
lea rdx, str.RegisterClassExW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x1400137a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov rbx, qword [0x14008fc58]
mov qword [0x14008fc70], rsi
test rsi, rsi
je 0x1400137bd
jmp 0x1400137c7
mov qword [0x14008fc70], r14
mov rcx, rbx
call fcn.140013020
mov edi, eax
test rbx, rbx
je 0x140013807
mov rcx, qword [rbx]
test rcx, rcx
je 0x140013807
lea rdx, str.UnregisterClassW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x1400137f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov rbx, qword [0x14008fc58]
mov qword [0x14008fc78], rsi
test rsi, rsi
je 0x14001380e
jmp 0x140013818
mov qword [0x14008fc78], r14
mov rcx, rbx
call fcn.140013020
mov edi, eax
test rbx, rbx
je 0x140013858
mov rcx, qword [rbx]
test rcx, rcx
je 0x140013858
lea rdx, str.GetMessageW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x140013843
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov rbx, qword [0x14008fc58]
mov qword [0x14008fc98], rsi
test rsi, rsi
je 0x14001385f
jmp 0x140013869
mov qword [0x14008fc98], r14
mov rcx, rbx
call fcn.140013020
mov edi, eax
test rbx, rbx
je 0x1400138a9
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400138a9
lea rdx, str.TranslateMessage
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x140013894
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov rbx, qword [0x14008fc58]
mov qword [0x14008fca0], rsi
test rsi, rsi
je 0x1400138b0
jmp 0x1400138ba
mov qword [0x14008fca0], r14
mov rcx, rbx
call fcn.140013020
mov edi, eax
test rbx, rbx
je 0x1400138fa
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400138fa
lea rdx, str.DispatchMessageW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x1400138e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov rbx, qword [0x14008fc58]
mov qword [0x14008fca8], rsi
test rsi, rsi
je 0x140013901
jmp 0x14001390b
mov qword [0x14008fca8], r14
mov rcx, rbx
call fcn.140013020
mov edi, eax
test rbx, rbx
je 0x14001394b
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001394b
lea rdx, str.SendMessageW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x140013936
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov rbx, qword [0x14008fc58]
mov qword [0x14008fcb0], rsi
test rsi, rsi
je 0x140013952
jmp 0x14001395c
mov qword [0x14008fcb0], r14
mov rcx, rbx
call fcn.140013020
mov edi, eax
test rbx, rbx
je 0x14001399c
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001399c
lea rdx, str.CreateWindowExW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x140013987
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov rbx, qword [0x14008fc58]
mov qword [0x14008fc80], rsi
test rsi, rsi
je 0x1400139a3
jmp 0x1400139ad
mov qword [0x14008fc80], r14
mov rcx, rbx
call fcn.140013020
mov edi, eax
test rbx, rbx
je 0x1400139ed
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400139ed
lea rdx, str.ShowWindow
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x1400139d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov rbx, qword [0x14008fc58]
mov qword [0x14008fc88], rsi
test rsi, rsi
je 0x1400139f4
jmp 0x1400139fe
mov qword [0x14008fc88], r14
mov rcx, rbx
call fcn.140013020
mov edi, eax
test rbx, rbx
je 0x140013a3e
mov rcx, qword [rbx]
test rcx, rcx
je 0x140013a3e
lea rdx, str.UpdateWindow
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x140013a29
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov rbx, qword [0x14008fc58]
mov qword [0x14008fc90], rsi
test rsi, rsi
je 0x140013a45
jmp 0x140013a4f
mov qword [0x14008fc90], r14
mov rcx, rbx
call fcn.140013020
mov edi, eax
test rbx, rbx
je 0x140013a8f
mov rcx, qword [rbx]
test rcx, rcx
je 0x140013a8f
lea rdx, str.DefWindowProcW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x140013a7a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov rbx, qword [0x14008fc58]
mov qword [0x14008fcb8], rsi
test rsi, rsi
je 0x140013a96
jmp 0x140013aa0
mov qword [0x14008fcb8], r14
mov rcx, rbx
call fcn.140013020
mov edi, eax
test rbx, rbx
je 0x140013ae6
mov rcx, qword [rbx]
test rcx, rcx
je 0x140013ae6
lea rdx, str.PostQuitMessage
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x140013acb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov rbx, qword [0x14008fc58]
mov qword [0x14008fcc0], rsi
test rsi, rsi
je 0x140013aed
mov dword [0x14008fc50], ebp
jmp 0x140013b31
mov qword [0x14008fcc0], r14
mov rcx, rbx
call fcn.140013020
mov edi, eax
mov dword [0x14008fc50], ebp
jmp 0x140013b31
mov qword [0x14008fc60], r14
mov rbx, r14
mov rcx, rbx
call fcn.140013020
mov rbx, qword [0x14008fc58]
jmp 0x140013b2f
mov rbx, r14
mov rsi, r14
mov qword [0x14008fc58], rbx
mov rcx, rsi
call fcn.140013020
mov edi, eax
mov rsi, qword [rsp + 0x68]
test edi, edi
je 0x140013c09
mov dword [0x14008fc50], r14d
mov qword [0x14008fc68], r14
mov qword [0x14008fc70], r14
mov qword [0x14008fc78], r14
mov qword [0x14008fc98], r14
mov qword [0x14008fca0], r14
mov qword [0x14008fca8], r14
mov qword [0x14008fcb0], r14
mov qword [0x14008fc80], r14
mov qword [0x14008fc88], r14
mov qword [0x14008fc90], r14
mov qword [0x14008fcb8], r14
test rbx, rbx
je 0x140013bc3
mov rcx, qword [rbx]
test rcx, rcx
je 0x140013ba5
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov rcx, rbx
mov qword [rbx + 0x10], rax
call fcn.140023f98
mov rbx, qword [0x14008fc60]
mov qword [0x14008fc58], r14
test rbx, rbx
je 0x140013c02
mov rcx, qword [rbx]
test rcx, rcx
je 0x140013be4
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov rcx, rbx
mov qword [rbx + 0x10], rax
call fcn.140023f98
mov qword [0x14008fc60], r14
cmp dword [0x14008d0b0], 3
mov rbx, qword [rsp + 0x60]
jl 0x140013c34
test dword [0x14008d114], 0x400000
je 0x140013c34
mov edx, 3
mov ecx, 0x400000
call fcn.14000b080
jmp 0x140013c4a
mov edx, 3
mov ecx, 0x400000
call fcn.14000b080
mov ebp, r14d
test eax, eax
je 0x140013c8f
mov dword [rsp + 0x40], edi
lea rcx, str.Exiting_function:_Exit_code__0x_08X...
mov qword [rsp + 0x38], rcx
mov r9d, 3
lea rcx, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourceswinwin_msg.c
mov dword [rsp + 0x30], 0x1ba
mov qword [rsp + 0x28], rcx
mov r8d, 0x400000
lea rcx, str.win_msg_get_api_pointers
mov edx, eax
mov qword [rsp + 0x20], rcx
mov ecx, ebp
call fcn.14000b530
mov rbp, qword [rsp + 0x70]
mov eax, edi
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
jmp 0x1400135c0