Function at 0x1010b5d0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x1034780c
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x374], eax
push ebx
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x388]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
push 0x10
call ebx
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x390], 0
test eax, eax
je 0x1010b637
mov ecx, eax
call fcn.1017f240
mov esi, eax
jmp 0x1010b639
xor esi, esi
mov dword [esp + 0x390], 0xffffffff
cmp dword [edi], esi
je 0x1010b65f
test esi, esi
je 0x1010b652
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov ecx, dword [edi]
test ecx, ecx
je 0x1010b65d
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi], esi
mov esi, dword [edi]
test esi, esi
je 0x1010b694
call fcn.100f0180
mov edx, dword [esi]
mov ecx, esi
push 0x1055aea4
push 0xff
push dword [eax]
mov eax, dword [edx + 0x10]
call eax
test al, al
jne 0x1010b694
mov ecx, dword [edi]
test ecx, ecx
je 0x1010b694
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi], 0
push 0x10
call ebx
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x390], 1
test eax, eax
je 0x1010b6b9
mov ecx, eax
call fcn.1017f240
mov esi, eax
jmp 0x1010b6bb
xor esi, esi
mov dword [esp + 0x390], 0xffffffff
cmp dword [edi + 4], esi
je 0x1010b6e4
test esi, esi
je 0x1010b6d5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1010b6e1
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi + 4], esi
mov esi, dword [edi + 4]
test esi, esi
je 0x1010b71c
call fcn.100f0180
mov edx, dword [esi]
mov ecx, esi
push 0x1055aea4
push 0x10d
push dword [eax]
mov eax, dword [edx + 0x10]
call eax
test al, al
jne 0x1010b71c
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1010b71c
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi + 4], 0
push 0x10
call ebx
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x390], 2
test eax, eax
je 0x1010b741
mov ecx, eax
call fcn.1017f240
mov esi, eax
jmp 0x1010b743
xor esi, esi
mov dword [esp + 0x390], 0xffffffff
cmp dword [edi + 8], esi
je 0x1010b76c
test esi, esi
je 0x1010b75d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1010b769
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi + 8], esi
mov esi, dword [edi + 8]
test esi, esi
je 0x1010b7a4
call fcn.100f0180
mov edx, dword [esi]
mov ecx, esi
push 0x1055aea4
push 0xfe
push dword [eax]
mov eax, dword [edx + 0x10]
call eax
test al, al
jne 0x1010b7a4
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1010b7a4
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi + 8], 0
push 0x10
call ebx
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x390], 3
test eax, eax
je 0x1010b7cb
push 0
mov ecx, eax
call fcn.10180040
mov esi, eax
jmp 0x1010b7cd
xor esi, esi
mov dword [esp + 0x390], 0xffffffff
cmp dword [edi + 0xc], esi
je 0x1010b7f6
test esi, esi
je 0x1010b7e7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x1010b7f3
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi + 0xc], esi
mov esi, dword [edi + 0xc]
test esi, esi
je 0x1010b824
call fcn.1017f5a0
call fcn.10180520
mov ebx, eax
cmp dword [ebx], esi
je 0x1010b824
test esi, esi
je 0x1010b817
mov edx, dword [esi]
mov ecx, esi
call dword [edx]
mov ecx, dword [ebx]
test ecx, ecx
je 0x1010b822
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebx], esi
push 0x1f0
lea eax, [esp + 0x7c]
mov dword [esp + 0x78], 0x1f4
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x74]
push 0
push eax
push 0x1f4
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x58
mov esi, eax
mov dword [esp + 0x18], 0
lea eax, [esp + 0x1c]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov byte [esp + 0x2b], 1
lea eax, [esp + 0x270]
mov dword [esp + 0x26c], 0x114
push 0x110
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1010b974
cmp dword [esp + 0x270], 6
setae al
test al, al
je 0x1010b974
xor ecx, ecx
lea esp, [esp]
movzx eax, word [ecx + str.Microsoft_YaHei]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x2e], ax
test ax, ax
jne 0x1010b8d0
mov ebx, dword [sym.imp.GDI32.dll_EnumFontFamiliesExW]
lea eax, [esp + 0x10]
push 0
push eax
push 0x1010b5b0
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 0
push eax
push esi
call ebx
cmp dword [esp + 0x10], 0
jne 0x1010b967
xor ecx, ecx
nop
movzx eax, word [ecx + str.Tahoma]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x2e], ax
test ax, ax
jne 0x1010b910
push 0
lea eax, [esp + 0x14]
push eax
push 0x1010b5b0
lea eax, [esp + 0x20]
push eax
push esi
call ebx
cmp dword [esp + 0x10], 0
jne 0x1010b9d7
xor ecx, ecx
jmp 0x1010b950
movzx eax, word [esp + ecx + 0x170]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x2e], ax
test ax, ax
jne 0x1010b950
jmp 0x1010b9e2
mov dword [esp + 0x154], 0xfffffff4
jmp 0x1010b9e2
xor ecx, ecx
jmp 0x1010b980
movzx eax, word [ecx + str.Tahoma]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x2e], ax
test ax, ax
jne 0x1010b980
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0x1010b5b0
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.GDI32.dll_EnumFontFamiliesExW]
cmp dword [esp + 0x10], 0
jne 0x1010b9d7
xor ecx, ecx
lea ecx, [ecx]
movzx eax, word [esp + ecx + 0x170]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x2e], ax
test ax, ax
jne 0x1010b9c0
jmp 0x1010b9e2
mov dword [esp + 0x154], 0xfffffff5
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
xor ecx, ecx
jmp 0x1010b9f0
movzx eax, word [esp + ecx + 0x30]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x16e], ax
test ax, ax
jne 0x1010b9f0
mov esi, dword [esp + 0x154]
call fcn.100e9040
push 0x60
push dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x154], eax
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [edi + 0x40], eax
call fcn.1017f5a0
mov ecx, eax
call fcn.1017f6f0
mov esi, eax
test esi, esi
je 0x1010ba6d
mov edx, dword [esi]
mov ecx, esi
push dword [edi + 0x40]
call dword [edx + 0x90]
mov eax, dword [esi]
mov ecx, esi
push dword [edi + 0x40]
call dword [eax + 0x98]
mov eax, dword [esi]
mov ecx, esi
push dword [edi + 0x40]
call dword [eax + 0xa0]
push 0
mov ecx, edi
call fcn.1010bab0
mov eax, 1
mov ecx, dword [esp + 0x388]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x374]
xor ecx, esp
call fcn.1033d458
add esp, 0x384
ret 0x10