Function at 0x140050220
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov ebx, dword [0x14009b3a0]
test ebx, ebx
jne 0x1400506b2
cmp qword [0x1400c70d8], 0
mov rbx, qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
je 0x140050340
cmp qword [0x1400c70d0], 0
je 0x140050340
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov ecx, 0xa
call sym.hb_iswinver.part.0
mov r11d, dword [0x14009b3a0]
mov dword [0x1400c7100], eax
test r11d, r11d
je 0x14005034a
lea rcx, str.kernel32.dll
call rbx
mov rsi, rax
test rax, rax
je 0x1400502c2
lea rdx, str.VerifyVersionInfoW
mov rcx, rax
mov rdi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rdi
lea rdx, str.VerSetConditionMask
mov rcx, rsi
mov qword [0x1400c70d8], rax
call rdi
mov qword [0x1400c70d0], rax
cmp qword [0x1400c70d8], 0
mov dword [0x14009b3a0], 0
jne 0x140050358
mov dword [0x1400c70fc], 0
mov dword [0x1400c70f8], 0
cmp qword [0x1400c70d8], 0
jne 0x14005047c
mov dword [0x1400c70f4], 0
cmp qword [0x1400c70d8], 0
jne 0x14005050e
mov dword [0x1400c70f0], 0
cmp qword [0x1400c70d8], 0
jne 0x14005059b
mov dword [0x1400c70ec], 0
jmp 0x14005062b
mov dword [0x1400c7100], 0
cmp qword [0x1400c70d8], 0
je 0x140050719
cmp qword [0x1400c70d0], 0
je 0x140050719
mov r9d, 1
xor r8d, r8d
mov edx, 3
mov ecx, 6
call sym.hb_iswinver.part.0
mov r10d, dword [0x14009b3a0]
mov dword [0x1400c70fc], eax
test r10d, r10d
je 0x140050723
lea rcx, str.kernel32.dll
call rbx
mov rsi, rax
test rax, rax
je 0x1400503d2
lea rdx, str.VerifyVersionInfoW
mov rcx, rax
mov rdi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rdi
lea rdx, str.VerSetConditionMask
mov rcx, rsi
mov qword [0x1400c70d8], rax
call rdi
mov qword [0x1400c70d0], rax
cmp qword [0x1400c70d8], 0
mov dword [0x14009b3a0], 0
je 0x140050810
cmp qword [0x1400c70d0], 0
je 0x1400502e4
mov r9d, 1
xor r8d, r8d
mov edx, 2
mov ecx, 6
call sym.hb_iswinver.part.0
mov r9d, dword [0x14009b3a0]
mov dword [0x1400c70f8], eax
test r9d, r9d
je 0x1400502ee
lea rcx, str.kernel32.dll
call rbx
mov rsi, rax
test rax, rax
je 0x140050464
lea rdx, str.VerifyVersionInfoW
mov rcx, rax
mov rdi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rdi
lea rdx, str.VerSetConditionMask
mov rcx, rsi
mov qword [0x1400c70d8], rax
call rdi
mov qword [0x1400c70d0], rax
cmp qword [0x1400c70d8], 0
mov dword [0x14009b3a0], 0
je 0x140050800
cmp qword [0x1400c70d0], 0
je 0x1400502fc
xor r8d, r8d
mov r9d, 1
mov edx, 1
mov ecx, 6
call sym.hb_iswinver.part.0
mov r8d, dword [0x14009b3a0]
mov dword [0x1400c70f4], eax
test r8d, r8d
je 0x140050306
lea rcx, str.kernel32.dll
call rbx
mov rsi, rax
test rax, rax
je 0x1400504f6
lea rdx, str.VerifyVersionInfoW
mov rcx, rax
mov rdi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rdi
lea rdx, str.VerSetConditionMask
mov rcx, rsi
mov qword [0x1400c70d8], rax
call rdi
mov qword [0x1400c70d0], rax
cmp qword [0x1400c70d8], 0
mov dword [0x14009b3a0], 0
je 0x140050314
cmp qword [0x1400c70d0], 0
je 0x140050314
mov ecx, 6
mov r9d, 1
xor r8d, r8d
xor edx, edx
call sym.hb_iswinver.part.0
mov ecx, dword [0x14009b3a0]
mov dword [0x1400c70f0], eax
test ecx, ecx
je 0x14005031e
lea rcx, str.kernel32.dll
call rbx
mov rsi, rax
test rax, rax
je 0x140050583
lea rdx, str.VerifyVersionInfoW
mov rcx, rax
mov rdi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rdi
lea rdx, str.VerSetConditionMask
mov rcx, rsi
mov qword [0x1400c70d8], rax
call rdi
mov qword [0x1400c70d0], rax
cmp qword [0x1400c70d8], 0
mov dword [0x14009b3a0], 0
je 0x14005032c
cmp qword [0x1400c70d0], 0
je 0x14005032c
mov r9d, 1
mov r8d, 3
mov edx, 2
mov ecx, 5
call sym.hb_iswinver.part.0
mov esi, eax
test eax, eax
je 0x140050740
mov eax, dword [0x14009b3a0]
mov edx, 1
mov dword [0x1400c70ec], edx
test eax, eax
je 0x14005062b
lea rcx, str.kernel32.dll
call rbx
mov rsi, rax
test rax, rax
je 0x140050621
lea rdx, str.VerifyVersionInfoW
mov rcx, rax
mov rdi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rdi
lea rdx, str.VerSetConditionMask
mov rcx, rsi
mov qword [0x1400c70d8], rax
call rdi
mov qword [0x1400c70d0], rax
mov dword [0x14009b3a0], 0
xor esi, esi
cmp qword [0x1400c70d8], 0
je 0x140050658
cmp qword [0x1400c70d0], 0
je 0x140050658
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov ecx, 5
call sym.hb_iswinver.part.0
mov esi, eax
mov dword [0x1400c70e8], esi
lea rcx, str.ntdll.dll
call rbx
test rax, rax
je 0x14005068b
lea rdx, str.wine_get_version
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005068b
mov dword [0x1400c70e0], 1
mov eax, dword [0x1400c70e8]
test eax, eax
je 0x14005069f
mov dword [0x1400c70e4], 5
mov dword [0x1400c7104], 1
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rcx, str.kernel32.dll
mov rbx, qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call rbx
mov rsi, rax
test rax, rax
je 0x1400506f7
lea rdx, str.VerifyVersionInfoW
mov rcx, rax
mov rdi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rdi
lea rdx, str.VerSetConditionMask
mov rcx, rsi
mov qword [0x1400c70d8], rax
call rdi
mov qword [0x1400c70d0], rax
cmp qword [0x1400c70d8], 0
mov dword [0x14009b3a0], 0
jne 0x14005024b
mov dword [0x1400c7100], 0
mov dword [0x1400c70fc], 0
cmp qword [0x1400c70d8], 0
jne 0x1400503ea
mov dword [0x1400c70f8], 0
jmp 0x1400502ee
mov edx, dword [0x14009b3a0]
test edx, edx
jne 0x140050793
cmp qword [0x1400c70d8], 0
je 0x14005032c
cmp qword [0x1400c70d0], 0
je 0x14005032c
mov edx, 2
mov r9d, 1
mov r8d, 2
mov ecx, 5
call sym.hb_iswinver.part.0
xor edx, edx
test eax, eax
mov eax, dword [0x14009b3a0]
setne dl
jmp 0x1400505d9
lea rcx, str.kernel32.dll
call rbx
mov rdi, rax
test rax, rax
je 0x1400507d1
lea rdx, str.VerifyVersionInfoW
mov rcx, rax
mov rbp, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rbp
lea rdx, str.VerSetConditionMask
mov rcx, rdi
mov qword [0x1400c70d8], rax
call rbp
mov qword [0x1400c70d0], rax
cmp qword [0x1400c70d8], 0
mov dword [0x14009b3a0], 0
jne 0x140050758
mov dword [0x1400c70ec], 0
jmp 0x140050658
mov dword [0x1400c70f4], 0
jmp 0x140050314
mov dword [0x1400c70f8], 0
jmp 0x1400502fc