Function at 0x435820
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x5975eb
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push ebp
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x194]
mov dword fs:[0], eax
push 0x5dc420
call fcn.0049d036
mov eax, dword [esp + 0x1ac]
xor ebp, ebp
add esp, 4
mov dword [esi + 0x218], eax
cmp dword [0x625e6c], ebp
je 0x435a89
push str.CTrayTipWnd::InitUI__
call fcn.0049d036
mov edx, dword [0x6285c4]
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, 0x6285c4
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push ecx
mov eax, esp
mov dword [esp + 0x1a0], ebp
mov dword [eax], 0x5d83e0
mov eax, 0xc351
mov dword [esp + 0x14], esp
push eax
call fcn.0040a470
mov edi, eax
mov eax, dword [esi + 0x74]
add esp, 8
cmp eax, ebp
je 0x4358dc
cmp eax, edi
je 0x4358dc
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ecx
mov eax, esp
mov dword [esi + 0x74], edi
mov dword [eax], 0x5d83e0
mov eax, 0xc353
mov dword [esp + 0x14], esp
push eax
call fcn.0040a470
mov edi, eax
mov eax, dword [esi + 0x78]
add esp, 8
cmp eax, ebp
je 0x43590e
cmp eax, edi
je 0x43590e
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ebx, [esi + 0x7c]
push ebx
mov dword [esi + 0x78], edi
call fcn.0049f263
push 4
push 4
push 1
push 2
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, 0x5d74e0
call fcn.004066b0
mov edx, dword [esi + 4]
push 0xc354
push edx
mov edx, 0x5d74e0
call fcn.0049f005
push 0x5c
lea eax, [esp + 0x1c]
push ebp
push eax
mov dword [esi + 0xe8], 0xffffff
mov dword [esi + 0xec], 0xa6fe
call fcn.004fe380
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.0040a310
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esi + 0x18c], ebp
je 0x435996
mov ecx, dword [esi + 0x18c]
push ecx
call ebx
cmp eax, ebp
je 0x435996
mov dword [esi + 0x18c], ebp
mov edi, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
lea edx, [esp + 0x18]
push edx
call edi
push 0x110
mov dword [esi + 0x18c], eax
lea eax, [esp + 0x80]
push ebp
push eax
call fcn.004fe380
add esp, 0xc
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x7c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x7c], 6
sbb edx, edx
and edx, 0xfffffffc
add edx, 0x11
mov dword [esp + 0x18], edx
cmp dword [esi + 0x194], ebp
je 0x4359fe
mov eax, dword [esi + 0x194]
push eax
call ebx
cmp eax, ebp
je 0x4359fe
mov dword [esi + 0x194], ebp
lea ecx, [esp + 0x18]
push ecx
call edi
cmp dword [esp + 0x7c], 6
mov dword [esi + 0x194], eax
sbb edx, edx
and edx, 0xfffffffc
add edx, 0x14
mov dword [esp + 0x28], 0x2bc
mov dword [esp + 0x18], edx
cmp dword [esi + 0x190], ebp
je 0x435a3f
mov eax, dword [esi + 0x190]
push eax
call ebx
cmp eax, ebp
je 0x435a3f
mov dword [esi + 0x190], ebp
lea ecx, [esp + 0x18]
push ecx
call edi
mov dword [esi + 0x190], eax
mov dword [esp + 0x19c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esi + 0x1dc], ebp
mov dword [esi + 0x1e0], ebp
mov dword [0x625e6c], ebp
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435a89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1a8]
push ecx
push 0x5dc4b8
call fcn.0049d036
mov edx, dword [esp + 0x1ac]
mov eax, dword [esp + 0x1b4]
add esp, 8
mov ebx, esi
mov dword [esi + 0x1b0], edx
mov dword [esi + 0x1b4], eax
call fcn.00435b50
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
cmp dword [esi + 0x1b4], ebp
jne 0x435ae0
mov ecx, dword [esi + 0x80]
push 5
push ecx
jmp 0x435ae8
mov edx, dword [esi + 0x80]
push ebp
push edx
call edi
mov eax, dword [esi + 0x218]
cmp eax, 2
je 0x435b1f
cmp eax, 3
je 0x435b1f
cmp eax, 4
je 0x435b1f
cmp eax, 5
je 0x435b1f
cmp eax, 6
je 0x435b1f
cmp eax, 7
je 0x435b1f
push eax
mov eax, dword [esi + 4]
push ebp
push 0x65a
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
mov ecx, dword [esp + 0x194]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.004f673f
add esp, 0x190
ret 0xc