Function at 0x439585
Capabilities:
Capture screenshot
Open clipboard
Read .ini file
Write clipboard data

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x308
push ebx
push esi
push edi
push dword [ebp + 0x7c]
push dword [ebp + 0x78]
call fcn.00434833
push eax
push str.CopyTreeToClipboardAsBitmap__s_...
push 1
call fcn.0044c79b
add esp, 0xc
push 0x508398
push 4
push str.TreeClipBorderSize
push 0x45548c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
push ebx
push 5
mov edi, 0x110a
push edi
push dword [0x508d2c]
mov dword [ebp + 8], eax
call esi
push ebx
push 0xa
push edi
push dword [0x508d2c]
mov dword [ebp - 0x18], eax
call esi
push dword [ebp + 0x7c]
mov dword [ebp - 4], eax
push ebx
push 0x1114
push dword [0x508d2c]
call esi
push dword [0x508d2c]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push ebx
lea edi, [ebp + 0x1c]
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
push 0x110a
push dword [ebp + 0x78]
stosd dword es:[edi], eax
call esi
mov dword [ebp + 0x50], eax
lea eax, [ebp + 0x50]
push eax
push 1
mov edi, 0x1104
push edi
push dword [ebp + 0x78]
call esi
push 0x5c
push dword [0x4a0ab4]
push 3
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x50], eax
lea eax, [ebp + 0x50]
push eax
push 1
push edi
push dword [ebp + 0x78]
call esi
mov eax, dword [ebp + 0x50]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x6c]
cmp eax, ebx
je 0x4396a6
mov dword [ebp + 0x50], eax
lea eax, [ebp + 0x50]
push eax
push 1
push edi
push dword [ebp + 0x78]
call esi
mov eax, dword [ebp + 0x6c]
cmp eax, dword [ebp + 0x7c]
je 0x439698
mov ecx, dword [ebp + 0x18]
cmp dword [ebp + 0x50], ecx
jle 0x4396bc
mov ecx, dword [ebp + 0x58]
cmp ecx, dword [ebp + 0x20]
jle 0x4396a3
mov dword [ebp + 0x20], ecx
mov dword [ebp + 0x48], eax
push dword [ebp + 0x6c]
push 6
push 0x110a
push dword [ebp + 0x78]
call esi
mov dword [ebp + 0x6c], eax
cmp eax, ebx
jne 0x439672
push 0x10
call fcn.0042bcb9
add eax, dword [ebp + 0x40]
sub dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp + 0x50], eax
lea eax, [ebp + 0x50]
push eax
push ebx
push edi
mov edi, dword [ebp + 0x78]
push edi
call esi
mov eax, dword [ebp + 0x5c]
mov dword [ebp + 0x24], eax
lea eax, [ebp + 0x50]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
push ebx
push ebx
push 0x111c
push edi
call esi
mov dword [ebp + 0x34], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push edi
mov dword [ebp + 0x28], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x58]
sub eax, dword [ebp + 0x50]
mov dword [ebp + 4], eax
mov eax, dword [ebp + 0x5c]
sub eax, dword [ebp + 0x54]
mov dword [ebp], eax
call fcn.004286ca
push dword [ebp + 0x78]
mov edi, eax
add edi, 8
mov dword [ebp + 0x7c], edi
call fcn.0042869f
imul eax, dword [ebp + 0x34]
add eax, 4
push eax
push edi
push str.size_ix_i
push 1
mov dword [ebp + 0x4c], eax
call fcn.0044c79b
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, eax
mov ecx, eax
sub ecx, dword [ebp + 0x18]
sub eax, dword [ebp + 0x1c]
add ecx, dword [ebp + 0x20]
add eax, dword [ebp + 0x24]
add esp, 0x10
push 0x15
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0x38], eax
call edi
push 2
call edi
push 0x1c
pop ecx
push 5
mov dword [ebp + 0x40], eax
pop edx
xor eax, eax
lea edi, [ebp - 0x90]
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], edx
lea edi, [ebp - 0x74]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_GetScrollInfo]
lea eax, [ebp - 0x98]
push eax
push ebx
push dword [ebp + 0x78]
call edi
lea eax, [ebp - 0x7c]
push eax
push 1
push dword [ebp + 0x78]
call edi
cmp dword [ebp - 0x70], ebx
jne 0x4397d9
xor edi, edi
jmp 0x4397dc
mov edi, dword [ebp + 0x40]
push ebx
push ebx
push 0xb
push dword [0x508d24]
call esi
mov eax, dword [ebp + 0x28]
sub eax, edi
cmp dword [ebp + 0x20], eax
jle 0x439821
mov eax, dword [ebp + 0x7c]
push 6
push dword [ebp]
lea eax, [edi + eax + 8]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 0x78]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x78]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp + 0x64], eax
push dword [ebp + 0x78]
call dword [sym.imp.USER32.dll_GetDC]
push 0xc
push eax
mov dword [ebp + 0x68], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push dword [ebp + 0x68]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp + 0x14], eax
call edi
push dword [ebp + 0x4c]
mov dword [ebp + 0x60], eax
push dword [ebp + 0x7c]
push dword [ebp + 0x68]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp + 0x60]
mov dword [ebp + 0x28], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0x68]
call edi
push dword [ebp + 0x64]
mov dword [ebp + 0x3c], eax
push dword [ebp + 0x7c]
push dword [ebp + 0x68]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp + 0x3c]
mov dword [ebp + 0x40], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0x68]
call edi
push dword [ebp + 0x38]
mov dword [ebp + 0x44], eax
push dword [ebp + 0x10]
push dword [ebp + 0x68]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp + 0x44]
mov dword [ebp + 0x48], eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp + 0x60], ebx
je 0x439da4
cmp dword [ebp + 0x28], ebx
je 0x439da4
cmp dword [ebp + 0x3c], ebx
je 0x439da4
cmp dword [ebp + 0x40], ebx
je 0x439da4
cmp dword [ebp + 0x44], ebx
je 0x439da4
cmp dword [ebp + 0x48], ebx
je 0x439da4
mov eax, dword [ebp + 0x7c]
mov edi, dword [ebp + 0x4c]
inc eax
mov dword [ebp - 0x48], eax
lea eax, [edi + 1]
mov dword [ebp - 0x44], eax
push 6
lea eax, [ebp - 0x50]
push eax
push dword [ebp + 0x60]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [ebp + 0x64]
cdq
idiv dword [ebp + 0x34]
cmp edi, dword [ebp + 0x64]
lea ecx, [eax - 1]
mov dword [ebp + 0xc], ecx
jg 0x43991b
mov dword [ebp + 0xc], eax
mov edi, dword [ebp + 0x78]
push ebx
push 5
push 0x110a
push edi
call esi
push ebx
push 0xa
push 0x110a
push edi
mov dword [ebp + 0x2c], eax
call esi
mov dword [ebp + 0x78], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp + 0x50], eax
lea eax, [ebp + 0x50]
push eax
push ebx
push 0x1104
push edi
call esi
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x50], eax
lea eax, [ebp + 0x50]
push eax
push ebx
push 0x1104
push edi
call esi
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x4c], ebx
jmp 0x43996b
mov eax, dword [ebp + 0x6c]
push eax
push 5
push 0x110b
push edi
call esi
push ebx
push ebx
push 0x110b
push edi
call esi
push 1
push edi
call fcn.004285c4
push eax
push edi
mov dword [ebp + 0x6c], eax
call fcn.00434833
push dword [ebp + 0x6c]
mov dword [ebp + 0x30], eax
push edi
call fcn.0042871e
mov dword [ebp + 0x78], eax
mov eax, dword [ebp + 0x6c]
mov dword [ebp + 0x50], eax
lea eax, [ebp + 0x50]
push eax
push ebx
push 0x1104
push edi
call esi
cmp dword [0x515894], 4
jl 0x4399d5
push dword [ebp + 0x78]
push dword [ebp + 0x54]
push dword [ebp + 0x30]
push str.FirstOnScreen_s_top_i_n_i
push 4
call fcn.0044c79b
add esp, 0x14
cmp dword [ebp + 0x54], ebx
jge 0x4399ed
push dword [ebp + 0x6c]
push 6
push 0x110a
push edi
call esi
dec dword [ebp + 0x78]
mov dword [ebp + 0x6c], eax
lea eax, [ebp + 0x2c]
push eax
push 0x3e8
push 2
push 0xc
push dword [ebp + 0x3c]
mov dword [ebp + 0x2c], ebx
push 0x317
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x439d96
cmp dword [ebp + 0x2c], ebx
je 0x439d96
mov eax, dword [ebp + 0x78]
imul eax, dword [ebp + 0x34]
push 0xcc0020
push ebx
push ebx
push dword [ebp + 0x3c]
mov dword [ebp + 0x78], eax
cmp dword [ebp + 0x4c], ebx
jne 0x439a55
push dword [ebp + 0x64]
push dword [ebp + 0x7c]
push eax
push ebx
push dword [ebp + 0x60]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [0x515894], 4
jl 0x439a8e
push dword [ebp + 0x64]
jmp 0x439a79
mov ecx, dword [ebp + 0x64]
sub ecx, dword [ebp + 0x34]
push ecx
push dword [ebp + 0x7c]
mov dword [ebp + 0x30], ecx
push eax
push ebx
push dword [ebp + 0x60]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [0x515894], 4
jl 0x439a8e
push dword [ebp + 0x30]
push dword [ebp + 0x7c]
push dword [ebp + 0x78]
push str.BitBlt_0___i___i___i_
push 4
call fcn.0044c79b
add esp, 0x14
push ebx
push ebx
push 0x110a
push edi
call esi
mov ecx, dword [ebp + 0x6c]
cmp eax, ecx
je 0x439ae0
cmp dword [ebp + 0xc], ebx
mov dword [ebp + 0x6c], ecx
mov dword [ebp + 0x78], ebx
jle 0x439ad4
push dword [ebp + 0x6c]
push 7
push 0x110a
push edi
call esi
push ebx
push ebx
push 0x110a
push edi
mov dword [ebp + 0x6c], eax
call esi
cmp eax, dword [ebp + 0x6c]
je 0x439ad4
inc dword [ebp + 0x78]
mov eax, dword [ebp + 0x78]
cmp eax, dword [ebp + 0xc]
jl 0x439aaa
inc dword [ebp + 0x4c]
cmp dword [ebp + 0x6c], ebx
jne 0x439968
lea eax, [ebp + 0x50]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x439b01
mov eax, dword [ebp + 0x58]
sub eax, dword [ebp + 0x50]
cmp eax, dword [ebp + 4]
je 0x439b1c
push 6
push dword [ebp]
push dword [ebp + 4]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 8
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push 1
push 0xb
push dword [0x508d24]
call esi
push 1
push ebx
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [ebp + 0x68]
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x38]
inc edi
inc eax
mov dword [ebp - 0x54], eax
push 6
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 0x44]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], edi
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [ebp + 0x24]
sub eax, dword [ebp + 0x1c]
push 0xcc0020
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x60]
push eax
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x18]
push eax
push dword [ebp + 8]
push dword [ebp + 8]
push dword [ebp + 0x44]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x38], eax
xor eax, eax
inc eax
mov word [ebp - 0x34], ax
mov eax, edi
imul eax, ecx
dec eax
cdq
idiv ecx
mov dword [ebp - 0x40], 0x28
mov word [ebp - 0x32], cx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov edi, eax
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
imul edi, eax
imul edi, dword [ebp + 0x38]
push edi
call fcn.00446ca6
pop ecx
push ebx
lea ecx, [ebp - 0x40]
push ecx
push eax
push dword [ebp + 0x38]
mov dword [ebp + 0x7c], eax
push ebx
push dword [ebp + 0x48]
push dword [ebp + 0x44]
call dword [sym.imp.GDI32.dll_GetDIBits]
lea eax, [edi + 0x28]
push eax
push 2
mov dword [ebp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp + 0x78], eax
cmp eax, ebx
je 0x439dbc
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0x28
lea ecx, [ebp - 0x40]
push ecx
push eax
mov dword [ebp + 0x30], eax
call fcn.00446bdc
mov eax, dword [ebp + 0x30]
push edi
push dword [ebp + 0x7c]
add eax, 0x28
push eax
call fcn.00446bdc
add esp, 0x18
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [0x508d24]
mov edi, dword [sym.imp.USER32.dll_OpenClipboard]
call edi
test eax, eax
jne 0x439cb9
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x508d24]
call edi
test eax, eax
jne 0x439cb9
call fcn.00449d52
push eax
lea eax, [ebp - 0x298]
push str.Error__s_opening_the_clipboard
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x10
push dword [0x4a0aac]
lea eax, [ebp - 0x298]
push eax
push dword [0x508d24]
call fcn.0044de3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._OpenClipboard_err_u
push 3
jmp 0x439d2e
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp + 0x78]
push 8
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x439d24
call fcn.00449d52
push eax
lea eax, [ebp - 0x298]
push str.SetClipboardData_error__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x10
push dword [0x4a0aac]
lea eax, [ebp - 0x298]
push eax
push dword [0x508d24]
call fcn.0044de3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._SetClipboardData_err_u
push 3
call fcn.0044c79b
add esp, 0xc
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x439d36
push dword [ebp + 0x14]
push str._u_bytes_copied_to_clipboard
push 1
call fcn.0044c79b
add esp, 0xc
call dword [sym.imp.USER32.dll_CloseClipboard]
push dword [ebp + 0x7c]
call fcn.00446ce1
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
pop ecx
push dword [ebp + 0x60]
call edi
push dword [ebp + 0x28]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0x3c]
call edi
push dword [ebp + 0x40]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0x44]
call edi
push dword [ebp + 0x48]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 4]
mov edi, 0x1114
push ebx
push edi
push dword [0x508d2c]
call esi
push dword [ebp - 0x18]
push ebx
push edi
push dword [0x508d2c]
call esi
jmp 0x439dbc
push 0x10
push 0x46766c
push str.Error_copying_treeview_content
jmp 0x439db0
push 0x10
push 0x46766c
push str.Error_allocating_GDI_object
push dword [0x508d24]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8