Function at 0x409700
Capabilities:
Change the wallpaper
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43f636
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x453544]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0040c906
lea eax, [esp + 0x14]
push eax
mov ecx, 0x27c7
call fcn.0040b4c0
add esp, 4
mov dword [esp + 0x288], 0
mov eax, dword [eax]
push eax
push 0x8005
mov ecx, ebx
call fcn.004129cf
or esi, 0xffffffff
mov dword [esp + 0x288], esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40978f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x27ce
call fcn.0040b4c0
add esp, 4
mov dword [esp + 0x288], 1
mov eax, dword [eax]
push eax
push 0x8008
mov ecx, ebx
call fcn.004129cf
mov dword [esp + 0x288], esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4097e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x27d5
call fcn.0040b4c0
add esp, 4
mov ebp, 2
mov dword [esp + 0x288], ebp
mov eax, dword [eax]
push eax
push 0x8007
mov ecx, ebx
call fcn.004129cf
mov dword [esp + 0x288], esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], esi
dec esi
test esi, esi
jg 0x409832
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.KTP_WINDOW
mov ecx, ebx
call fcn.00412a84
mov eax, dword [ebx + 0xe4]
mov ecx, dword [ebx + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push ecx
call esi
mov eax, dword [ebx + 0xe4]
mov edx, dword [ebx + 0x20]
push eax
push 0
push 0x80
push edx
call esi
push 8
call fcn.0040c001
add esp, 4
push 8
mov edi, eax
call fcn.0040bfd1
add esp, 4
test eax, eax
je 0x409897
mov dword [eax + 4], 0x204
mov dword [eax], vtable.CRightMouseClickMsgHandler.0
mov esi, eax
jmp 0x409899
xor esi, esi
push 8
call fcn.0040bfd1
add esp, 4
test eax, eax
je 0x4098b6
mov dword [eax + 4], 0x203
mov dword [eax], vtable.CLeftMouseDblClickMsgHandler.0
jmp 0x4098b8
xor eax, eax
mov dword [edi], eax
lea eax, [esp + 0x20]
push eax
mov ecx, 0x287d
mov dword [edi + 4], esi
call fcn.0040b4c0
add esp, 4
push 0x1c
mov dword [esp + 0x28c], 3
call fcn.0040bfd1
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x288], 4
je 0x40993f
mov eax, dword [esp + 0x20]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
or edx, ecx
jge 0x409918
push 0
lea ecx, [esp + 0x24]
call fcn.004017c0
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 0xe4]
mov edx, dword [ebx + 0x20]
mov dword [esi], vtable.CTrayIcon.0
mov dword [esi + 4], edx
mov dword [esi + 8], 0x80
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], ebp
jmp 0x409941
xor esi, esi
mov byte [esp + 0x288], 3
mov ecx, esi
mov dword [ebx + 0xe8], esi
call fcn.0040b5f0
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x409962
xor eax, eax
jmp 0x40997b
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, ebp
test cx, cx
jne 0x409967
sub eax, esi
sar eax, 1
js 0x409ea7
cmp eax, dword [edx - 8]
jg 0x409ea7
mov dword [edx - 0xc], eax
mov ecx, dword [esp + 0x20]
mov word [ecx + eax*2], 0
push ebx
lea ecx, [esp + 0x23]
mov byte [esp + 0x23], 0
call fcn.0040a810
test al, al
je 0x409e54
cmp byte [esp + 0x1f], 0
jne 0x409e60
lea edx, [esp + 0x44]
push edx
call fcn.00404cd0
lea ecx, [esp + 0x44]
mov byte [esp + 0x288], 5
call fcn.0040cc32
cmp eax, 1
jne 0x409e34
mov eax, dword [esp + 0x120]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push 0x448200
push 0x4481e4
call edi
push 0
lea ecx, [esp + 0x34]
push ecx
push 0x14
push 0x30
mov dword [esp + 0x40], 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push 0
push ecx
push eax
push 0
push 0
mov dword [esp + 0x28], ecx
push 0
mov ecx, ebx
mov esi, eax
call fcn.00412d2d
mov edx, dword [esp + 0x14]
push 0
push edx
push esi
push 0
push 0
lea ebp, [ebx + 0x74]
push 0
mov ecx, ebp
call fcn.00412d2d
mov eax, dword [esp + 0x118]
push eax
push 0x454bac
push 0
push 0
push 4
push 1
push ebp
call fcn.00412b9c
add esp, 0x1c
lea esi, [esp + 0x14]
mov ecx, ebp
call fcn.00409310
mov byte [esp + 0x288], 6
mov ecx, dword [ebx + 0xcc]
push ecx
push 0x454bbc
push 0
push 0
push 4
push 0x6c
push eax
call fcn.00414405
add esp, 0x1c
mov ecx, esi
mov byte [esp + 0x288], 5
call fcn.004139ca
mov ecx, dword [esp + 0x110]
push ecx
push 0x454bb0
push 0
push 0
push 4
push 3
push ebp
call fcn.00412b9c
add esp, 0x1c
lea esi, [esp + 0x14]
mov ecx, ebp
call fcn.00409310
mov byte [esp + 0x288], 7
mov edx, dword [esp + 0x114]
push edx
push str._b_v_v_v_v_b
push 0
push 0
push 4
push 0xba
push eax
call fcn.00414405
add esp, 0x1c
mov ecx, esi
mov byte [esp + 0x288], 5
call fcn.004139ca
lea esi, [esp + 0x14]
mov ecx, ebp
call fcn.00409310
mov byte [esp + 0x288], 8
mov ecx, dword [ebx + 0xd8]
push ecx
push 0x454bb8
push 0
push 0
push 4
push 0xaa
push eax
call fcn.00414405
add esp, 0x1c
mov ecx, esi
mov byte [esp + 0x288], 5
call fcn.004139ca
lea esi, [esp + 0x14]
mov ecx, ebp
call fcn.00409310
mov esi, eax
mov byte [esp + 0x288], 9
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
push eax
push 1
push str.DiskMap
push ecx
call edi
push eax
push 0x454bc4
push 0
push 0
push 4
push 0xbf
push esi
call fcn.00414405
add esp, 0x1c
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], 5
call fcn.004139ca
lea esi, [esp + 0x14]
mov ecx, ebp
call fcn.00409310
mov esi, eax
mov byte [esp + 0x288], 0xa
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x124]
push edx
push 1
push str.SerialPort
push eax
call edi
push eax
push 0x454bcc
push 0
push 0
push 4
push 0xc1
push esi
call fcn.00414405
add esp, 0x1c
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], 5
call fcn.004139ca
lea esi, [esp + 0x14]
mov ecx, ebp
call fcn.00409310
mov esi, eax
mov byte [esp + 0x288], 0xb
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x124]
push ecx
push 1
push str.Printer
push edx
call edi
push eax
push 0x454bc8
push 0
push 0
push 4
push 0xc0
push esi
call fcn.00414405
add esp, 0x1c
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], 5
call fcn.004139ca
lea esi, [esp + 0x14]
mov ecx, ebp
call fcn.00409310
push 1
push 0x454bd0
push 0
push 0
push 4
push 0xc2
push eax
mov byte [esp + 0x2a4], 0xc
call fcn.00414405
add esp, 0x1c
mov ecx, esi
mov byte [esp + 0x288], 5
call fcn.004139ca
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
push eax
push 0x10
push str.ColorDept
push ecx
call edi
push eax
push 0x454bb4
push 0
push 0
push 4
push 0x64
push ebp
call fcn.00412b9c
mov edx, dword [esp + 0x13c]
mov eax, dword [esp + 0x140]
add esp, 0x1c
push edx
push 1
push str.StartThimless
push eax
call edi
test eax, eax
mov dword [ebx + 0xe0], eax
je 0x409cf1
push 0
push 0x80
push 0x40000
mov ecx, ebx
call fcn.00412a5a
push 0
lea ecx, [esp + 0x18]
push ecx
push 3
push 2
push 0x16
push ebp
call fcn.00412b9c
add esp, 0x18
cmp dword [esp + 0x14], 0
je 0x409d96
lea edx, [esp + 0x24]
push edx
lea edi, [esp + 0x48]
call fcn.004065c0
lea edi, [esp + 0x24]
mov byte [esp + 0x288], 0xd
call fcn.0040b360
lea esi, [esp + 0x28]
mov ecx, ebp
call fcn.004092b0
mov byte [esp + 0x288], 0xe
mov ecx, dword [esp + 0x24]
push ecx
push 0x454bd4
push 0
push 0
push 4
push 1
push eax
call fcn.00414405
add esp, 0x1c
mov ecx, esi
mov byte [esp + 0x288], 0xd
call fcn.004139ca
mov byte [esp + 0x288], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409d96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xd0
call fcn.0040bfd1
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x288], 0xf
je 0x409dbb
push eax
call fcn.00401fb0
jmp 0x409dbd
xor eax, eax
mov byte [esp + 0x288], 5
mov dword [ebx + 0xec], eax
mov edx, dword [eax]
push ebx
mov ecx, eax
mov eax, dword [edx + 0x134]
push 0x87
call eax
mov ecx, dword [ebx + 0xec]
push 5
call fcn.00412b1e
mov ecx, dword [ebx + 0xec]
mov edx, dword [ecx + 0x20]
push 0
push 1
push 0x466
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0
push 1
push 0x1e
push ebp
mov dword [ebx + 0xf0], 1
call fcn.00412b9c
add esp, 0x18
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x28c], 3
call fcn.00404f00
jmp 0x409e60
mov eax, dword [ebx]
mov edx, dword [eax + 0x154]
mov ecx, ebx
call edx
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x28c], 3
call fcn.00404f00
jmp 0x409e60
mov edx, dword [ebx]
mov eax, dword [edx + 0x154]
mov ecx, ebx
call eax
mov dword [esp + 0x288], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401770
int3