Function at 0x4071b0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423fb6
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x431080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.user32.dll
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
call fcn.00401400
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmova eax, dword [ebp - 0x40]
push eax
call esi
mov edi, eax
mov dword [ebp - 0x168], edi
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 4], 0
cmp ecx, 7
jbe 0x40725e
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407254
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40754f
push ecx
push edx
call fcn.0040c8e4
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
test edi, edi
je 0x407412
push str.SetProcessDpiAwarenessContext
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x160], eax
test eax, eax
je 0x407412
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x425f48
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00401400
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call esi
mov esi, eax
mov dword [ebp - 0x164], esi
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp ecx, 7
jbe 0x40730c
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407302
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407554
push ecx
push edx
call fcn.0040c8e4
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test esi, esi
je 0x4073ca
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtlGetVersion
push esi
call eax
mov dword [ebp - 0x15c], eax
test eax, eax
je 0x4073ca
push 0x110
lea eax, [ebp - 0x150]
push 0
push eax
call fcn.0040e440
add esp, 0xc
mov dword [ebp - 0x154], 0x114
lea eax, [ebp - 0x154]
push eax
call dword [ebp - 0x15c]
mov byte [ebp - 4], 0
test eax, eax
jne 0x4073d2
mov eax, dword [ebp - 0x150]
push esi
cmp eax, 0xa
jne 0x4073b3
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x15c], eax
test eax, eax
jne 0x4073a5
mov eax, dword [ebp - 0x148]
add eax, 0xffffc529
mov dword [ebp - 0x15c], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x15c]
jmp 0x4073db
add eax, 0xfffffff6
mov dword [ebp - 0x15c], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x15c]
jmp 0x4073db
mov byte [ebp - 4], 0
test esi, esi
je 0x4073d9
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
sar eax, 0x1f
and eax, 1
sub eax, 4
push eax
call dword [ebp - 0x160]
test eax, eax
je 0x4073fb
mov byte [ebp - 0x155], 1
jmp 0x407527
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
sete al
mov byte [ebp - 0x155], al
jmp 0x407527
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.shcore.dll
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00401400
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call esi
mov esi, eax
mov dword [ebp - 0x164], esi
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x40748a
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407480
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407559
push ecx
push edx
call fcn.0040c8e4
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test esi, esi
je 0x4074ef
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetProcessDpiAwareness
push esi
call eax
test eax, eax
je 0x4074ef
push 2
call eax
test eax, eax
je 0x4074d9
cmp eax, 0x80070005
je 0x4074d9
xor al, al
push esi
mov byte [ebp - 0x155], al
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, byte [ebp - 0x155]
jmp 0x407523
push esi
mov byte [ebp - 0x155], 1
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, byte [ebp - 0x155]
jmp 0x407523
mov byte [ebp - 4], 0
test esi, esi
je 0x4074fe
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x40751b
push str.SetProcessDPIAware
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40751b
call eax
test eax, eax
setne al
jmp 0x40751d
mov al, 1
mov byte [ebp - 0x155], al
test edi, edi
je 0x407534
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, byte [ebp - 0x155]
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.0040cc31
mov esp, ebp
pop ebp
ret
call fcn.0041132f
call fcn.0041132f
call fcn.0041132f
int3