Function at 0x429030
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46f7ab
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x48e110]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x48e110]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edi
mov byte [esp + 0x13], 0
test edi, edi
jne 0x4290a0
mov ecx, dword [esi + 0x78]
lea eax, [esp + 0x4c]
push eax
push ecx
mov byte [esp + 0x1b], 1
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [esp + 0x18], eax
mov edi, eax
mov edx, dword [esi + 0x78]
push 0
push 0
lea ebx, [esi + 0x78]
push 0x31
push edx
mov dword [esp + 0x38], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebx]
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [esi + 0x27], 0
je 0x429100
cmp dword [esi + 0x98], 0
jne 0x429100
mov edx, dword [esi + 0xa4]
push edx
lea eax, [esp + 0x40]
push eax
jmp 0x42910c
mov ecx, dword [esi + 0xa0]
push ecx
lea edx, [esp + 0x40]
push edx
push edi
call dword [sym.imp.USER32.dll_FillRect]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x80]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x24], ecx
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea edi, [esp + 0x14]
mov dword [esp + 0x1b8], 0
call fcn.00429580
mov ecx, dword [esi + 0xb0]
mov edx, dword [ecx + 0xc0]
cmp dword [edx - 0xc], 0
mov edi, dword [esp + 0x14]
lea eax, [ecx + 0xc0]
je 0x429198
cmp dword [edi - 0xc], 0
jne 0x429198
lea edi, [esp + 0x14]
call fcn.00402ab0
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax + 0xc4]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
jmp 0x429227
cmp dword [ecx + 0xd8], 0
je 0x429227
mov edx, dword [ebx]
push 0
push 0
push 0xd2
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
movzx eax, ax
mov dword [esp + 0x1c], eax
mov eax, dword [edi - 0xc]
xor esi, esi
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x42921f
test esi, esi
js 0x429294
mov ebx, dword [edi - 0xc]
cmp esi, ebx
jge 0x429294
cmp dword [edi - 4], 1
jle 0x4291f7
push ebx
lea edx, [esp + 0x18]
push edx
call fcn.00403180
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov cx, word [esp + 0x1c]
mov word [edi + esi*2], cx
test ebx, ebx
js 0x429294
cmp ebx, dword [edi - 8]
jg 0x429294
xor edx, edx
inc esi
mov dword [edi - 0xc], ebx
mov word [edi + ebx*2], dx
cmp esi, eax
jl 0x4291cb
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea edx, [esp + 0x8c]
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x90], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x90], 6
jb 0x429271
mov eax, dword [esi + 0xb0]
cmp byte [eax + 0xa8], 0
jne 0x429271
inc dword [esp + 0x3c]
mov ecx, dword [esi + 0xb0]
cmp byte [ecx + 0xa8], 0
je 0x42929e
mov eax, dword [esp + 0x18]
push 0x810
lea edx, [esp + 0x40]
push edx
push 0xffffffffffffffff
push edi
push eax
jmp 0x4292b0
push 0x80070057
call fcn.00401950
mov edx, dword [esp + 0x18]
push 0x820
lea ecx, [esp + 0x40]
push ecx
push 0xffffffffffffffff
push edi
push edx
call dword [sym.imp.USER32.dll_DrawTextW]
cmp byte [esp + 0x13], 0
je 0x4292cb
mov ecx, dword [ebx]
lea eax, [esp + 0x4c]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebx]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x38]
push eax
push 0xb0
push ecx
call esi
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ecx, dword [ebx]
push edx
push eax
push 0xb1
push ecx
call esi
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x30]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
add edi, 0xfffffff0
mov dword [esp + 0x1b8], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42933c
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
xor eax, eax
mov ecx, dword [esp + 0x1b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.0045a10c
mov esp, ebp
pop ebp
ret 0x10