Function at 0x409d10
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x4b7108]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x98], 0
push ecx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x94], esi
call fcn.00412160
mov edi, eax
cmp dword [edi + 4], 0
jne 0x409d56
push 1
call fcn.0042696d
add esp, 4
push dword [edi + 4]
push dword [edi]
call fcn.004269f3
add esp, 8
test eax, eax
je 0x409d70
push eax
call fcn.00426940
add esp, 4
mov dword [edi], 0
mov dword [edi + 4], 0
cmp dword [ebp - 0x98], 0
jne 0x40a5e1
lea eax, [esi + 0x7c]
mov dword [esi + 0x1b8], 0
push eax
mov byte [esi + 0x1b4], 0
mov dword [esi + 0x148], 6
call fcn.0040cb10
lea ecx, [esi + 0xf8]
call fcn.004083c0
mov edi, dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f01
push 0
call edi
push 0x7f82
push 0
mov dword [esi + 0xe8], eax
call edi
push 0x7f85
push 0
mov dword [esi + 0xd0], eax
call edi
push 0x7f83
push 0
mov dword [esi + 0xd4], eax
call edi
push 0x7f84
push 0
mov dword [esi + 0xd8], eax
call edi
push 0x7f86
push 0
mov dword [esi + 0xdc], eax
call edi
push 0x7f03
push 0
mov dword [esi + 0xe0], eax
call edi
push 0xce
push 0x400000
mov dword [esi + 0xe4], eax
call edi
push 0x156
push 0x400000
mov dword [esi + 0xcc], eax
call edi
push 0x157
push 0x400000
mov dword [esi + 0xec], eax
call edi
push 0x158
push 0x400000
mov dword [esi + 0xf0], eax
call edi
push 0
push 0x4097b0
push 0
mov dword [esi + 0xf4], eax
mov eax, dword [esi + 0xcc]
push 0
mov dword [esi + 0xc8], eax
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov ecx, dword [0x4bbcbc]
mov eax, 0x66666667
mov ebx, dword [0x4bbcb8]
sub ecx, ebx
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x409f01
lea ecx, [esi + 0x6c]
xor edi, edi
mov dword [ebp - 0x98], ecx
xor esi, esi
nop dword [eax + eax]
lea eax, [ebx + 4]
add eax, edi
push eax
push ecx
push ecx
call dword [sym.imp.USER32.dll_UnionRect]
mov ecx, dword [0x4bbcbc]
mov eax, 0x66666667
mov ebx, dword [0x4bbcb8]
inc esi
sub ecx, ebx
add edi, 0x28
imul ecx
mov ecx, dword [ebp - 0x98]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x409ec0
mov esi, dword [ebp - 0x94]
mov eax, dword [esi]
mov ecx, esi
cmp eax, vtable.ui::Desktop.1.0
jne 0x40a5e6
call dword [eax + 0x10]
mov eax, dword [eax + 0x78]
push 0
mov dword [ebp - 0x94], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov dword [ebp - 0x98], eax
call edi
mov edx, dword [esi + 0x78]
mov ebx, eax
sub edx, dword [esi + 0x70]
mov ecx, dword [esi + 0x74]
sub ecx, dword [esi + 0x6c]
push edx
push ecx
push dword [ebp - 0x98]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [esi + 0x68], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 0x78]
sub eax, dword [esi + 0x70]
push 0xcc0020
push dword [esi + 0x70]
push dword [esi + 0x6c]
push dword [ebp - 0x98]
push eax
mov eax, dword [esi + 0x74]
sub eax, dword [esi + 0x6c]
push eax
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x98]
call edi
push ebx
mov dword [esi + 0x64], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x98]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebx, dword [ebp - 0x94]
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
push connect
push 0xfffffffffffffff0
push ebx
call edi
push 0x80
push 0xffffffffffffffec
push ebx
call edi
mov eax, dword [esi + 0x78]
sub eax, dword [esi + 0x70]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x2440
push eax
mov eax, dword [esi + 0x74]
sub eax, dword [esi + 0x6c]
push eax
push dword [esi + 0x70]
push dword [esi + 0x6c]
push 0
push ebx
call edi
mov eax, dword [esi + 0x78]
sub eax, dword [esi + 0x70]
push 0x2440
push eax
mov eax, dword [esi + 0x74]
sub eax, dword [esi + 0x6c]
push eax
push dword [esi + 0x70]
push dword [esi + 0x6c]
push 0xffffffffffffffff
push ebx
call edi
push 0xac
call fcn.0044ee60
add esp, 4
mov ecx, eax
call fcn.004182c0
mov edi, eax
mov dword [esi + 0x114], edi
cmp dword [edi + 0xc], esi
je 0x40a0ad
mov ebx, dword [esi + 0x14]
mov ecx, esi
mov eax, dword [esi]
sub ebx, dword [esi + 0x10]
sar ebx, 2
mov dword [ebp - 0x94], edi
call dword [eax + 0xc]
test eax, eax
je 0x40a08d
cmp byte [edi + 0x2c], 0
je 0x40a08d
mov eax, dword [edi + 0x24]
lea ecx, [ebp - 0x14]
sub eax, dword [edi + 0x1c]
mov dword [ebp - 0x9c], eax
mov eax, dword [edi + 0x28]
sub eax, dword [edi + 0x20]
mov dword [ebp - 0x98], eax
mov eax, dword [edi]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
movups xmm0, xmmword [ebp - 0xa4]
push ecx
mov ecx, edi
movups xmmword [ebp - 0x14], xmm0
call dword [eax + 0x2c]
lea ecx, [esi + 0x10]
mov dword [edi + 0xc], esi
mov eax, dword [ecx]
lea edx, [ebp - 0x94]
push edx
push ecx
lea eax, [eax + ebx*4]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.0041f9e0
mov ecx, dword [esi + 0x114]
push 0
mov eax, dword [ecx]
call dword [eax + 0x18]
push 0x48
call fcn.0044ee60
mov ecx, eax
mov dword [ebp - 0xa4], 0
add esp, 4
mov dword [ebp - 0xa0], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0xffffffff
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x2c], 0x1000101
mov byte [ecx + 0x30], 1
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx], vtable.ui::Window.0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0xffffffff
mov eax, dword [esi + 0x12c]
mov dword [esi + 0x128], ecx
mov dword [ecx + 0x44], eax
xor eax, eax
mov ecx, dword [esi + 0x120]
test ecx, ecx
mov edx, dword [esi + 0x124]
cmovg eax, ecx
mov ecx, dword [esi + 0x128]
mov dword [ebp - 0x9c], eax
xor eax, eax
test edx, edx
cmovg eax, edx
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0041eec0
mov edi, dword [esi + 0x128]
cmp dword [edi + 0xc], esi
je 0x40a210
mov ebx, dword [esi + 0x14]
mov ecx, esi
mov eax, dword [esi]
sub ebx, dword [esi + 0x10]
sar ebx, 2
mov dword [ebp - 0x94], edi
call dword [eax + 0xc]
test eax, eax
je 0x40a1f0
cmp byte [edi + 0x2c], 0
je 0x40a1f0
mov eax, dword [edi + 0x24]
lea ecx, [ebp - 0x14]
sub eax, dword [edi + 0x1c]
mov dword [ebp - 0x9c], eax
mov eax, dword [edi + 0x28]
sub eax, dword [edi + 0x20]
mov dword [ebp - 0x98], eax
mov eax, dword [edi]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
movups xmm0, xmmword [ebp - 0xa4]
push ecx
mov ecx, edi
movups xmmword [ebp - 0x14], xmm0
call dword [eax + 0x2c]
lea ecx, [esi + 0x10]
mov dword [edi + 0xc], esi
mov eax, dword [ecx]
lea edx, [ebp - 0x94]
push edx
push ecx
lea eax, [eax + ebx*4]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.0041f9e0
mov eax, dword [0x4bbd6c]
test al, 1
jne 0x40a26c
or eax, 1
push 0x1c
mov dword [0x4bbd6c], eax
call fcn.0044ee60
mov edi, eax
add esp, 4
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.004199f0
mov dword [edi], eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [0x4bbd70], edi
jmp 0x40a272
mov edi, dword [0x4bbd70]
sub esp, 0xc
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.004194c0
push 0xc0
call fcn.0044ee60
add esp, 4
mov dword [ebp - 0x18], 7
mov edi, eax
mov dword [ebp - 0x1c], 0
xor eax, eax
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x2c], ax
push 5
push 0x4aa4ec
call fcn.00402060
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00417d30
mov edi, eax
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x40a31c
mov ecx, dword [ebp - 0x2c]
inc eax
cmp eax, 0x7fffffff
ja 0x40a5ee
add eax, eax
cmp eax, 0x1000
jb 0x40a313
test cl, 0x1f
jne 0x40a5f3
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x40a5f8
sub ecx, eax
cmp ecx, 4
jb 0x40a5fd
cmp ecx, 0x23
ja 0x40a602
mov ecx, eax
push ecx
call fcn.0044ee3c
add esp, 4
mov ebx, dword [esi + 0x128]
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [edi + 0xc], ebx
je 0x40a3ba
mov eax, dword [ebx + 0x14]
mov ecx, ebx
sub eax, dword [ebx + 0x10]
sar eax, 2
mov dword [ebp - 0x94], eax
mov eax, dword [ebx]
mov dword [ebp - 0x98], edi
call dword [eax + 0xc]
test eax, eax
je 0x40a394
cmp byte [edi + 0x2c], 0
je 0x40a394
mov eax, dword [edi + 0x24]
lea ecx, [ebp - 0x14]
sub eax, dword [edi + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x28]
sub eax, dword [edi + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [edi]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
movups xmm0, xmmword [ebp - 0x14]
push ecx
mov ecx, edi
movups xmmword [ebp - 0x14], xmm0
call dword [eax + 0x2c]
mov edx, dword [ebp - 0x94]
lea ecx, [ebx + 0x10]
mov dword [edi + 0xc], ebx
mov eax, dword [ecx]
lea eax, [eax + edx*4]
lea edx, [ebp - 0x98]
push edx
push ecx
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0041f9e0
mov ecx, dword [esi + 0x128]
push 0
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [esi + 0x130]
mov dword [edi + 0x9c], eax
xor eax, eax
mov ecx, dword [esi + 0x120]
test ecx, ecx
mov edx, dword [esi + 0x124]
cmovg eax, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], eax
mov ecx, edi
xor eax, eax
mov dword [ebp - 0x10], 0
test edx, edx
cmovg eax, edx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041eec0
push 0x64
mov dword [edi + 0xb8], 1
mov dword [edi + 0xbc], 1
call fcn.0044ee60
add esp, 4
lea ecx, [esi + 0x40]
mov edx, esi
neg edx
sbb edx, edx
and edx, ecx
mov ecx, eax
push edx
call fcn.0041a3c0
mov ecx, eax
mov dword [esi + 0x138], eax
call fcn.0041a490
mov ecx, dword [esi + 0x138]
push 0
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edi, dword [esi + 0x138]
cmp dword [edi + 0xc], esi
je 0x40a4d5
mov ebx, dword [esi + 0x14]
mov ecx, esi
mov eax, dword [esi]
sub ebx, dword [esi + 0x10]
sar ebx, 2
mov dword [ebp - 0x94], edi
call dword [eax + 0xc]
test eax, eax
je 0x40a4b5
cmp byte [edi + 0x2c], 0
je 0x40a4b5
mov eax, dword [edi + 0x24]
lea ecx, [ebp - 0x14]
sub eax, dword [edi + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x28]
sub eax, dword [edi + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [edi]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
movups xmm0, xmmword [ebp - 0x14]
push ecx
mov ecx, edi
movups xmmword [ebp - 0x14], xmm0
call dword [eax + 0x2c]
lea ecx, [esi + 0x10]
mov dword [edi + 0xc], esi
mov eax, dword [ecx]
lea edx, [ebp - 0x94]
push edx
push ecx
lea eax, [eax + ebx*4]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.0041f9e0
push 0x68
call fcn.0044ee60
add esp, 4
lea ecx, [esi + 0x40]
mov edx, esi
neg edx
sbb edx, edx
and edx, ecx
mov ecx, eax
push edx
call fcn.00414170
mov ecx, eax
mov dword [esi + 0x144], eax
call fcn.00414230
mov ecx, dword [esi + 0x144]
push 0
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edi, dword [esi + 0x144]
cmp dword [edi + 0xc], esi
je 0x40a58a
mov ebx, dword [esi + 0x14]
mov ecx, esi
mov eax, dword [esi]
sub ebx, dword [esi + 0x10]
sar ebx, 2
mov dword [ebp - 0x94], edi
call dword [eax + 0xc]
test eax, eax
je 0x40a56a
cmp byte [edi + 0x2c], 0
je 0x40a56a
mov eax, dword [edi + 0x24]
lea ecx, [ebp - 0x14]
sub eax, dword [edi + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x28]
sub eax, dword [edi + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [edi]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
movups xmm0, xmmword [ebp - 0x14]
push ecx
mov ecx, edi
movups xmmword [ebp - 0x14], xmm0
call dword [eax + 0x2c]
lea ecx, [esi + 0x10]
mov dword [edi + 0xc], esi
mov eax, dword [ecx]
lea edx, [ebp - 0x94]
push edx
push ecx
lea eax, [eax + ebx*4]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.0041f9e0
mov ecx, dword [ebp - 4]
mov dword [esi + 0x14c], 3
xor ecx, ebp
mov dword [esi + 0x150], 0xfffb3838
mov eax, dword [esi + 0x74]
sub eax, dword [esi + 0x6c]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x78]
sub eax, dword [esi + 0x70]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], eax
movups xmm0, xmmword [ebp - 0x14]
pop edi
movups xmmword [esi + 0x94], xmm0
movups xmmword [esi + 0x104], xmm0
pop esi
pop ebx
call fcn.0044ee41
mov esp, ebp
pop ebp
ret
call fcn.00474dab
call dword [eax + 0xc]
jmp 0x409f13
call fcn.0046e037
call fcn.0046e037
call fcn.0046e037
call fcn.0046e037
call fcn.0046e037
int3