Function at 0x42a9c0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4726fc
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x188], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x1a0]
mov dword fs:[0], eax
mov eax, dword [0x4918b0]
sub eax, dword [0x4918ac]
test eax, 0xfffffff8
jne 0x42ab69
push 0x114
lea ecx, [esp + 0x88]
push 0
push ecx
call fcn.00462160
add esp, 0xc
lea edx, [esp + 0x84]
push edx
mov dword [esp + 0x88], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x88], 6
jb 0x42aacf
lea eax, [esp + 0x14]
push eax
mov ecx, 0x47b614
call fcn.00454940
mov dword [esp + 0x1a8], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00452ce0
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0xfffffff4
lea ebx, [esp + 0x1c]
mov edi, 0x4918a0
mov byte [esp + 0x1a8], 1
call fcn.0042a950
lea eax, [esi - 0x10]
mov byte [esp + 0x1a8], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42aabe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1a8], 0xffffffff
mov eax, dword [esp + 0x14]
jmp 0x42ab4d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, str.Tahoma
call fcn.00454940
mov dword [esp + 0x1a8], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.00452ce0
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0xfffffff4
lea ebx, [esp + 0x14]
mov edi, 0x4918a0
mov byte [esp + 0x1a8], 3
call fcn.0042a950
lea eax, [esi - 0x10]
mov byte [esp + 0x1a8], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ab3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1a8], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ab69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [esp + 0x24]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [0x4918b0]
sub eax, dword [0x4918ac]
xor ebp, ebp
sar eax, 3
test eax, eax
jbe 0x42ad2e
cmp ebp, eax
jb 0x42aba0
call fcn.004605e2
mov edx, dword [0x4918ac]
mov eax, dword [edx + ebp*8]
lea esi, [edx + ebp*8]
sub eax, 0x10
call fcn.00452ce0
mov edi, eax
mov eax, dword [esi + 4]
add edi, 0x10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x40]
mov edx, edi
mov ecx, eax
mov ebx, 0x20
sub edx, ecx
nop
lea ecx, [ebx + 0x7fffffde]
test ecx, ecx
je 0x42abf0
movzx ecx, word [edx + eax]
test cx, cx
je 0x42abf0
mov word [eax], cx
add eax, 2
sub ebx, 1
jne 0x42abd0
jmp 0x42abf4
test ebx, ebx
jne 0x42abf7
sub eax, 2
mov esi, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
xor edx, edx
mov word [eax], dx
lea eax, [esp + 0x24]
push eax
call esi
mov ebx, eax
test ebx, ebx
jne 0x42ac47
add edi, 0xfffffff0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ac2b
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [0x4918b0]
sub eax, dword [0x4918ac]
inc ebp
sar eax, 3
cmp ebp, eax
jb 0x42aba0
jmp 0x42ad2e
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x42ac54
xor ebx, ebx
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], eax
call esi
mov ebp, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
lea edx, [esp + 0x24]
mov esi, 0x2bc
push edx
mov dword [0x491880], eax
mov dword [esp + 0x38], esi
call ebp
mov dword [0x491884], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x38], 0x190
mov dword [esp + 0x28], 0xfffffff2
call ebp
lea ecx, [esp + 0x24]
push ecx
mov dword [0x491888], eax
mov dword [esp + 0x38], esi
call ebp
lea edx, [esp + 0x24]
push edx
mov dword [0x49188c], eax
mov dword [esp + 0x38], 0x190
mov dword [esp + 0x28], 0xfffffff1
call ebp
mov dword [0x491890], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x38], esi
call ebp
lea ecx, [esp + 0x24]
push ecx
mov dword [0x491894], eax
mov dword [esp + 0x38], 0x190
mov dword [esp + 0x28], 0xfffffff0
call ebp
lea edx, [esp + 0x24]
push edx
mov dword [0x491898], eax
mov dword [esp + 0x38], esi
call ebp
mov dword [0x49189c], eax
test ebx, ebx
je 0x42ad12
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ad2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x188]
xor ecx, esp
call fcn.00460259
add esp, 0x198
ret