Function at 0x101d0130
Capabilities:
Check os version
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f852f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x290
mov eax, dword [0x1025f074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 8
push eax
mov dword [ebp - 0x38], 0x7ff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 4
call fcn.101b37dc
mov esi, eax
add esp, 4
mov dword [ebp - 0x284], esi
mov dword [ebp - 4], 0
mov dword [esi], vtable.RC::RCMiniUIRenderFactory.0
mov byte [ebp - 4], 1
mov dword [esi], vtable.RC::RCMiniUIRenderFactorySkia.0
mov dword [ebp - 4], 0xffffffff
call fcn.1000ec40
mov edx, dword [esi]
mov ecx, esi
mov edi, eax
mov edx, dword [edx + 4]
call edx
test al, al
jne 0x101d01e9
mov eax, dword [esi]
mov ecx, esi
jmp 0x101d01f7
mov eax, dword [edi]
mov ecx, dword [eax + 0x3c]
mov dword [eax + 0x3c], esi
test ecx, ecx
je 0x101d01fb
mov eax, dword [ecx]
push 1
call dword [eax]
call fcn.1000ec40
mov edi, eax
mov ecx, dword [edi]
mov dword [ecx + 0x44], 0x10000000
mov ecx, dword [edi]
push dword [ecx + 0x44]
push 0x102664f8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp byte [0x10267449], 0
jne 0x101d02aa
cmp dword [0x1026744c], 0
jne 0x101d02aa
push 0x1c
call fcn.101b37dc
mov esi, eax
add esp, 4
mov dword [ebp - 0x284], esi
mov dword [ebp - 4], 2
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x18], 0
mov dword [esi], vtable.RC::RCMiniUIResourceManagerInterface.0
mov byte [ebp - 4], 3
mov dword [esi], vtable.RC::RCMiniUIResourceManager.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.1000fd10
mov byte [0x10267449], 1
mov dword [0x1026744c], esi
call fcn.1000dd80
cmp dword [0x10267450], 0
jne 0x101d02f6
push 0x50
call fcn.101b37dc
mov esi, eax
add esp, 4
mov dword [ebp - 0x284], esi
mov dword [ebp - 4], 4
push 0x50
push 0
push esi
call fcn.101b5530
add esp, 0xc
mov ecx, esi
call fcn.1001e520
mov dword [ebp - 4], 0xffffffff
mov dword [0x10267450], eax
call fcn.1001e8b0
mov ecx, edi
call fcn.1000ee60
mov ecx, dword [0x1026744c]
test ecx, ecx
je 0x101d0312
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
jmp 0x101d0314
xor ecx, ecx
mov eax, dword [ecx]
push 0x66
call dword [eax + 4]
push 0x118
lea eax, [ebp - 0x15c]
push 0
push eax
call fcn.101b5530
add esp, 0xc
mov dword [ebp - 0x160], 0x11c
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x101d0435
cmp dword [ebp - 0x15c], 6
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
ja 0x101d0372
jne 0x101d03f3
cmp dword [ebp - 0x158], 2
jb 0x101d03f3
push 0x1021b3b0
call edi
mov esi, eax
test esi, esi
je 0x101d03f3
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x101d03f3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x101d03f3
movups xmm0, xmmword [0x1021cad4]
push eax
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [0x1021cae4]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x101d03f3
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x101d03f3
cmp word [esi + 2], ax
jbe 0x101d03f3
movzx edx, word [esi + 0x32]
movzx ecx, word [esi + 0x30]
movzx eax, word [esi + 0x36]
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x154], eax
push 0x1021651c
call edi
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x101d0435
push 0x118
lea eax, [ebp - 0x27c]
push 0
push eax
call fcn.101b5530
add esp, 0xc
mov dword [ebp - 0x280], 0x11c
lea eax, [ebp - 0x280]
push eax
call esi
xor eax, eax
cmp dword [ebp - 0x15c], 6
jb 0x101d050e
push 0xf
mov dword [ebp - 0x28c], eax
lea ecx, [ebp - 0x29c]
mov dword [ebp - 0x288], eax
push str.Microsoft_Yahei
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x288], 7
mov word [ebp - 0x29c], ax
call fcn.10008490
mov dword [ebp - 4], 5
mov ecx, dword [0x1026744c]
test ecx, ecx
je 0x101d0495
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ecx, eax
jmp 0x101d0497
xor ecx, ecx
mov eax, dword [ecx]
lea edx, [ebp - 0x29c]
push 0xfffffffffffffff4
push edx
call dword [eax + 0xc]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x288]
cmp edx, 8
jb 0x101d04ec
mov ecx, dword [ebp - 0x29c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x101d04e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101d060e
push edx
push ecx
call fcn.101b37a2
add esp, 8
xor eax, eax
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 7
mov word [ebp - 0x29c], ax
jmp 0x101d05b7
push 2
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0
push 0x102156c0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.10008490
mov dword [ebp - 4], 6
mov ecx, dword [0x1026744c]
test ecx, ecx
je 0x101d0559
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ecx, eax
jmp 0x101d055b
xor ecx, ecx
mov eax, dword [ecx]
lea edx, [ebp - 0x2c]
push 0xfffffffffffffff4
push edx
call dword [eax + 0xc]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x101d05a3
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x101d0599
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101d0613
push edx
push ecx
call fcn.101b37a2
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov ecx, dword [0x10267444]
test ecx, ecx
jne 0x101d05c5
xor eax, eax
jmp 0x101d05cb
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov edx, dword [eax]
mov ecx, eax
push 0x64
call dword [edx]
mov ecx, dword [0x10267444]
test ecx, ecx
jne 0x101d05e1
xor eax, eax
jmp 0x101d05e8
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edx, dword [eax]
mov ecx, eax
push 0x65
call dword [edx]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101b3122
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.101b7ad8
call fcn.101b7ad8
int3