Function at 0x40b872
Capabilities:
Capture screenshot
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff44
push ebx
push edx
push esi
mov eax, dword [ebp + 0x10]
push dword [eax + 4]
push dword [eax]
call fcn.0040eb84
mov ebx, eax
mov edx, dword [ebx]
push edx
lea eax, [ebp - 0xb8]
push eax
push ebx
call fcn.00410720
push dword [ebp - 0x6c]
push 5
call fcn.0040ec66
mov esi, eax
mov eax, dword [0x41a333]
cmp dword [ebp + 0xc], eax
jne 0x40b8da
cmp dword [0x41ade9], 0
jne 0x40b8da
cmp dword [esi + 0x18], 0
je 0x40b8d1
push dword [esi + 0x18]
call sub.USER32.dll_DestroyWindow
mov dword [esi + 0x18], 0
mov dword [ebp - 0x18], 1
jmp 0x40b8e1
mov dword [ebp - 0x18], 0
push dword [ebp - 0x90]
call sub.GDI32.dll_CreateSolidBrush
mov dword [ebp - 0x1c], eax
mov eax, 0x40000000
or eax, 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0xa0], 0
jne 0x40b913
or dword [ebp - 0x10], 0x200
jmp 0x40b923
cmp dword [ebp - 0xa0], 2
jne 0x40b923
or dword [ebp - 0xc], 0x800000
cmp dword [ebp - 0x9c], 1
jne 0x40b942
or dword [ebp - 0xc], 0x40
cmp dword [ebp - 0x98], 1
jne 0x40b949
or dword [ebp - 0xc], 0x300080
jmp 0x40b949
or dword [ebp - 0xc], 0x80
cmp dword [ebp - 0x88], 1
jne 0x40b962
or dword [ebp - 0xc], 0x20
mov dword [ebp - 0x9c], 0
jmp 0x40b970
or dword [ebp - 0xc], 4
mov dword [ebp - 0x9c], 1
push 0
push dword [section..data]
push dword [ebp - 0x6c]
push dword [0x41a004]
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
push dword [ebp - 0xc]
push 0
push str.EDIT
push dword [ebp - 0x10]
call sub.USER32.dll_CreateWindowExA
mov dword [ebp - 4], eax
push dword [ebp - 0x94]
push dword [ebp - 0x64]
push 0
call fcn.00405652
mov dword [ebp - 0xbc], eax
push 0
push dword [ebp - 0xbc]
push 0x30
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
push dword [ebp - 0x90]
pop dword [esi + 0xc]
push dword [ebp - 0x8c]
pop dword [esi + 0x14]
push dword [ebp - 0x1c]
pop dword [esi]
push dword [ebp - 4]
pop dword [esi + 0x18]
push dword [ebp - 0xbc]
pop dword [esi + 4]
push esi
push 0xffffffffffffffeb
push dword [ebp - 4]
call sub.USER32.dll_SetWindowLongA
push 1
push dword [ebp - 4]
call sub.USER32.dll_ShowWindow
push dword [ebp - 4]
call sub.USER32.dll_UpdateWindow
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 4]
call sub.USER32.dll_GetWindowRect
push dword [ebp - 4]
call sub.USER32.dll_GetDC
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
call sub.GDI32.dll_CreateCompatibleDC
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x38]
sub dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
sub dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x20]
call sub.GDI32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push dword [ebp - 8]
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x28], eax
push 0
push dword [ebp - 0x84]
call fcn.0040554c
mov dword [ebp - 0x14], eax
cmp dword [esi + 0x1c], 0
je 0x40ba82
push dword [esi + 0x1c]
pop dword [ebp - 0x14]
push dword [ebp - 0x14]
push dword [ebp - 4]
call sub.USER32.dll_SetWindowTextA
cmp dword [ebp - 0x9c], 0
jne 0x40ba98
jmp 0x40baab
push dword [esi + 0x24]
push dword [esi + 0x28]
push 0xb6
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
push 0xe
push dword [ebp - 8]
push 0x317
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
push 0xcc0020
push 0
push 0
push dword [ebp - 8]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
push dword [ebp + 8]
call sub.GDI32.dll_BitBlt
push dword [ebp - 0x28]
push dword [ebp - 8]
call sub.GDI32.dll_SelectObject
push dword [ebp - 0x24]
call sub.GDI32.dll_DeleteObject
push dword [ebp - 8]
call sub.GDI32.dll_DeleteDC
push dword [ebp - 0x20]
push dword [ebp - 4]
call sub.USER32.dll_ReleaseDC
cmp dword [ebp - 0x18], 0
jne 0x40bb4c
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi], 0
mov dword [esi + 0x18], 0
mov dword [esi + 4], 0
push dword [ebp - 0x1c]
call sub.GDI32.dll_DeleteObject
push dword [ebp - 0xbc]
call sub.GDI32.dll_DeleteObject
push dword [ebp - 4]
call sub.USER32.dll_DestroyWindow
pop esi
pop edx
pop ebx
leave
ret 0xc