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

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x300
push ebx
push esi
push edi
push dword [ebp + 0x7c]
push dword [ebp + 0x78]
call fcn.0042fc7a
push eax
push str.CopyTreeToClipboardAsBitmap__s_...
push 1
call fcn.004452a3
add esp, 0xc
push 0x4f9c98
push 4
push str.TreeClipBorderSize
push 0x44d6b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push dword [ebp + 0x7c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
push ebx
push 0x1114
push dword [0x4fa550]
mov dword [ebp + 0x14], eax
call esi
push dword [0x4fa550]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push ebx
lea edi, [ebp + 0x24]
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 [0x492a30]
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 + 0x20], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x6c]
cmp eax, ebx
je 0x433864
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 0x433856
mov ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x50], ecx
jle 0x43387a
mov ecx, dword [ebp + 0x58]
cmp ecx, dword [ebp + 0x28]
jle 0x433861
mov dword [ebp + 0x28], 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 0x433830
push 0x10
call fcn.004287bb
add eax, dword [ebp + 0x40]
sub dword [ebp + 0x20], 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 + 0x2c], eax
lea eax, [ebp + 0x50]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
push ebx
push ebx
push 0x111c
push edi
call esi
mov dword [ebp + 0x38], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push edi
mov dword [ebp + 0x30], eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x58]
sub eax, dword [ebp + 0x50]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x5c]
sub eax, dword [ebp + 0x54]
mov dword [ebp + 8], eax
call fcn.004259a5
push dword [ebp + 0x78]
mov edi, eax
add edi, 8
mov dword [ebp + 0x7c], edi
call fcn.0042597a
imul eax, dword [ebp + 0x38]
add eax, 4
push eax
push edi
push str.size_ix_i
push 1
mov dword [ebp + 0x4c], eax
call fcn.004452a3
mov eax, dword [ebp + 0x14]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, eax
mov ecx, eax
sub ecx, dword [ebp + 0x20]
sub eax, dword [ebp + 0x24]
add ecx, dword [ebp + 0x28]
add eax, dword [ebp + 0x2c]
add esp, 0x10
push 0x15
mov dword [ebp + 0x1c], ecx
mov dword [ebp + 4], 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 - 0x88]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], 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 - 0x74], ecx
mov dword [ebp - 0x70], edx
lea edi, [ebp - 0x6c]
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 - 0x90]
push eax
push ebx
push dword [ebp + 0x78]
call edi
lea eax, [ebp - 0x74]
push eax
push 1
push dword [ebp + 0x78]
call edi
cmp dword [ebp - 0x68], ebx
jne 0x433997
xor edi, edi
jmp 0x43399a
mov edi, dword [ebp + 0x40]
push ebx
push ebx
push 0xb
push dword [0x4fa548]
call esi
mov eax, dword [ebp + 0x30]
sub eax, edi
cmp dword [ebp + 0x28], eax
jle 0x4339df
mov eax, dword [ebp + 0x7c]
push 6
push dword [ebp + 8]
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 - 0x10]
push eax
push dword [ebp + 0x78]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
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], 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 + 0x30], 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 + 4]
mov dword [ebp + 0x44], eax
push dword [ebp + 0x1c]
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 0x433f3a
cmp dword [ebp + 0x30], ebx
je 0x433f3a
cmp dword [ebp + 0x3c], ebx
je 0x433f3a
cmp dword [ebp + 0x40], ebx
je 0x433f3a
cmp dword [ebp + 0x44], ebx
je 0x433f3a
cmp dword [ebp + 0x48], ebx
je 0x433f3a
mov eax, dword [ebp + 0x7c]
mov edi, dword [ebp + 0x4c]
inc eax
mov dword [ebp - 0x40], eax
lea eax, [edi + 1]
mov dword [ebp - 0x3c], eax
push 6
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0x60]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [ebp + 0x64]
cdq
idiv dword [ebp + 0x38]
cmp edi, dword [ebp + 0x64]
lea ecx, [eax - 1]
mov dword [ebp + 0x10], ecx
jg 0x433ad9
mov dword [ebp + 0x10], 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 + 0x34], eax
call esi
mov dword [ebp + 0x78], eax
mov eax, dword [ebp + 0x34]
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 0x433b29
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 0x3e8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push 1
push edi
call fcn.004258c3
push eax
push edi
mov dword [ebp + 0x6c], eax
call fcn.0042fc7a
push dword [ebp + 0x6c]
mov dword [ebp + 0x18], eax
push edi
call fcn.004259f9
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 [0x506fb4], 4
jl 0x433ba5
push dword [ebp + 0x78]
push dword [ebp + 0x54]
push dword [ebp + 0x18]
push str.FirstOnScreen_s_top_i_n_i
push 4
call fcn.004452a3
add esp, 0x14
cmp dword [ebp + 0x54], ebx
jge 0x433bbd
push dword [ebp + 0x6c]
push 6
push 0x110a
push edi
call esi
dec dword [ebp + 0x78]
mov dword [ebp + 0x6c], eax
lea eax, [ebp + 0x34]
push eax
push 0x3e8
push 2
push 0xc
push dword [ebp + 0x3c]
mov dword [ebp + 0x34], ebx
push 0x317
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x433f2c
cmp dword [ebp + 0x34], ebx
je 0x433f2c
mov eax, dword [ebp + 0x78]
imul eax, dword [ebp + 0x38]
push 0xcc0020
push ebx
push ebx
push dword [ebp + 0x3c]
mov dword [ebp + 0x78], eax
cmp dword [ebp + 0x4c], ebx
jne 0x433c25
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 [0x506fb4], 4
jl 0x433c5e
push dword [ebp + 0x64]
jmp 0x433c49
mov ecx, dword [ebp + 0x64]
sub ecx, dword [ebp + 0x38]
push ecx
push dword [ebp + 0x7c]
mov dword [ebp + 0x18], ecx
push eax
push ebx
push dword [ebp + 0x60]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [0x506fb4], 4
jl 0x433c5e
push dword [ebp + 0x18]
push dword [ebp + 0x7c]
push dword [ebp + 0x78]
push str.BitBlt_0___i___i___i_
push 4
call fcn.004452a3
add esp, 0x14
push ebx
push ebx
push 0x110a
push edi
call esi
mov ecx, dword [ebp + 0x6c]
cmp eax, ecx
je 0x433cb0
cmp dword [ebp + 0x10], ebx
mov dword [ebp + 0x6c], ecx
mov dword [ebp + 0x78], ebx
jle 0x433ca4
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 0x433ca4
inc dword [ebp + 0x78]
mov eax, dword [ebp + 0x78]
cmp eax, dword [ebp + 0x10]
jl 0x433c7a
inc dword [ebp + 0x4c]
cmp dword [ebp + 0x6c], ebx
jne 0x433b26
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 0x433cd1
mov eax, dword [ebp + 0x58]
sub eax, dword [ebp + 0x50]
cmp eax, dword [ebp + 0xc]
je 0x433cec
push 6
push dword [ebp + 8]
push dword [ebp + 0xc]
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 [0x4fa548]
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 + 4]
mov esi, dword [ebp + 0x1c]
lea eax, [edi + 1]
mov dword [ebp - 0x4c], eax
push 6
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x44]
inc esi
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], esi
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [ebp + 0x2c]
sub eax, dword [ebp + 0x24]
push 0xcc0020
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x60]
push eax
mov eax, dword [ebp + 0x28]
sub eax, dword [ebp + 0x20]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x14]
push dword [ebp + 0x44]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp]
mov dword [ebp - 0x34], eax
xor eax, eax
inc eax
mov word [ebp - 0x2c], ax
mov eax, esi
imul eax, ecx
dec eax
cdq
idiv ecx
mov dword [ebp - 0x38], 0x28
mov dword [ebp - 0x30], edi
mov word [ebp - 0x2a], cx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov esi, eax
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
imul esi, eax
imul esi, edi
push esi
call fcn.0043f698
pop ecx
push ebx
lea ecx, [ebp - 0x38]
push ecx
push eax
push edi
push ebx
push dword [ebp + 0x48]
mov dword [ebp + 0x7c], eax
push dword [ebp + 0x44]
call dword [sym.imp.GDI32.dll_GetDIBits]
lea ebx, [esi + 0x28]
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp + 0x78], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
push 0x28
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.0043f542
push esi
push dword [ebp + 0x7c]
add edi, 0x28
push edi
call fcn.0043f542
add esp, 0x18
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [0x4fa548]
mov esi, dword [sym.imp.USER32.dll_OpenClipboard]
call esi
test eax, eax
jne 0x433e76
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x4fa548]
call esi
test eax, eax
jne 0x433e76
call fcn.00442f0e
push eax
lea eax, [ebp - 0x290]
push str.Error__s_opening_the_clipboard
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x10
push dword [0x492a24]
lea eax, [ebp - 0x290]
push eax
push dword [0x4fa548]
call fcn.0044695e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._OpenClipboard_err_u
push 3
jmp 0x433ee9
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp + 0x78]
push 8
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x433ee1
call fcn.00442f0e
push eax
lea eax, [ebp - 0x290]
push str.SetClipboardData_error__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x10
push dword [0x492a24]
lea eax, [ebp - 0x290]
push eax
push dword [0x4fa548]
call fcn.0044695e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._SetClipboardData_err_u
push 3
call fcn.004452a3
add esp, 0xc
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x433ef1
push ebx
push str._u_bytes_copied_to_clipboard
push 1
call fcn.004452a3
add esp, 0xc
call dword [sym.imp.USER32.dll_CloseClipboard]
push dword [ebp + 0x7c]
call fcn.0043f70d
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
pop ecx
push dword [ebp + 0x60]
call esi
push dword [ebp + 0x30]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push dword [ebp + 0x3c]
call esi
push dword [ebp + 0x40]
call edi
push dword [ebp + 0x44]
call esi
push dword [ebp + 0x48]
call edi
jmp 0x433f52
push 0x10
push 0x45f3f8
push str.Error_copying_treeview_content
jmp 0x433f46
push 0x10
push 0x45f3f8
push str.Error_allocating_GDI_object
push dword [0x4fa548]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8