Function at 0x415920
Capabilities:
Capture screenshot

Disassembly:
push esi
push edi
push ebp
sub esp, 0x64
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
test byte [edx + 0x20], 4
je 0x415941
add esp, 0x64
pop ebp
pop edi
pop esi
ret 8
push 0
push eax
call dword [sym.imp.USER32.DLL_GetWindowLongA]
mov ebp, eax
mov eax, dword [esp + 0x4c]
test byte [eax + 0x20], 1
je 0x415c37
cmp word [eax + 0x24], 1
sete al
mov byte [esp + 0x58], al
xor edx, edx
mov dword [esp + 0x44], edx
cmp byte [esp + 0x58], 0
je 0x41597b
mov dword [esp + 0x44], 2
xor bh, bh
mov byte [esp + 0x5c], bh
mov byte [esp + 0x54], bh
cmp dword [esp + 0x50], 0
jne 0x415c40
mov eax, dword [esp + 0x48]
push eax
mov byte [esp + 0x60], 1
call dword [sym.imp.USER32.DLL_GetDC]
mov dword [esp + 0x50], eax
lea ebx, [esp + 0x78]
mov eax, dword [esp + 0x50]
mov edx, dword [0x427a90]
mov byte [esp + 0x54], 1
call fcn.00418220
mov dword [esp + 0x74], eax
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp + 0x10]
push ecx
mov ebx, dword [esp + 0x58]
push ebx
call dword [sym.imp.GDI32.DLL_CreateCompatibleBitmap]
push eax
mov esi, dword [esp + 0x78]
push esi
mov dword [esp + 0x44], eax
call dword [sym.imp.GDI32.DLL_SelectObject]
push ebx
mov edi, ebx
mov dword [esp + 0x44], eax
call dword [sym.imp.GDI32.DLL_CreateCompatibleDC]
mov ebx, eax
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ebp + 0x10]
push edx
mov ecx, edi
push ecx
call dword [sym.imp.GDI32.DLL_CreateCompatibleBitmap]
push eax
push ebx
mov dword [esp + 0x38], eax
call dword [sym.imp.GDI32.DLL_SelectObject]
mov ebx, dword [0x427a98]
mov dword [esp + 0x34], eax
cmp byte [esp + 0x58], 0
je 0x415a2d
mov esi, dword [ebp + 0x28]
test esi, esi
je 0x415a2d
mov ebx, esi
mov eax, dword [esp + 0x4c]
push ebx
add eax, 8
push eax
mov edi, dword [esp + 0x7c]
push edi
call dword [sym.imp.USER32.DLL_FillRect]
lea edi, [esp + 0x18]
lea esi, [ebp + 0x10]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
inc eax
sub dword [esp + 0x18], 4
sub dword [esp + 0x1c], 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov edx, dword [edx + 4]
cmp byte [esp + 0x58], 0
je 0x415a7c
mov eax, dword [esp + 0x4c]
test byte [eax + 0x20], 2
je 0x415a7c
mov edx, dword [eax + 0x18]
push edx
mov ecx, dword [esp + 0x18]
push ecx
mov esi, dword [esp + 0x18]
push esi
mov edi, dword [esp + 0x28]
push edi
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x88]
call fcn.004157c0
push edx
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.GDI32.DLL_SelectObject]
push 0
push 0
mov ecx, dword [esp + 0x40]
push ecx
mov esi, eax
call dword [sym.imp.GDI32.DLL_GetPixel]
push esi
mov esi, dword [esp + 0x3c]
push esi
mov edi, eax
call dword [sym.imp.GDI32.DLL_SelectObject]
push 0xf
call dword [sym.imp.USER32.DLL_GetSysColor]
push eax
push esi
call dword [sym.imp.GDI32.DLL_SetBkColor]
xor edx, edx
mov dword [esp + 4], edx
mov dword [esp], edx
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [esp + 0x10], eax
lea eax, [esp + 4]
push eax
push esi
call dword [sym.imp.USER32.DLL_FillRect]
push edi
mov esi, dword [esp + 0x78]
mov ebx, dword [esp + 0x18]
push esi
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
call fcn.00416650
mov eax, dword [esp + 0x40]
test eax, eax
je 0x415b37
push eax
push esi
mov ebx, dword [esp + 0x44]
call dword [sym.imp.GDI32.DLL_SelectObject]
push ebx
call dword [sym.imp.GDI32.DLL_DeleteObject]
cmp byte [esp + 0x54], 0
je 0x415b49
mov esi, dword [esp + 0x74]
push esi
call dword [sym.imp.GDI32.DLL_DeleteDC]
mov ebx, dword [esp + 0x38]
push 1
mov eax, dword [ebp + 0x14]
mov byte [esp + 0x64], 1
push eax
mov edx, dword [ebp + 0x10]
mov esi, dword [esp + 0x38]
push edx
mov eax, ebx
mov edi, dword [esp + 0x40]
call fcn.00415600
cmp byte [esp + 0x58], 0
je 0x415c5b
mov ecx, dword [0x427aa8]
push ecx
push 1
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, ebx
call fcn.00415390
mov ecx, dword [0x427ab0]
push ecx
push 1
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, ebx
call fcn.00415430
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [eax + 0x10]
push edx
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [eax + 8]
push edx
call fcn.00418350
push 0xcc0020
push 0
push 0
push ebx
mov ecx, dword [ebp + 0x14]
push ecx
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [esp + 0x44]
push edx
mov ecx, dword [esp + 0x44]
push ecx
mov ebp, dword [esp + 0x70]
push ebp
call dword [sym.imp.GDI32.DLL_BitBlt]
push edi
push ebx
call dword [sym.imp.GDI32.DLL_SelectObject]
cmp byte [esp + 0x5c], 0
je 0x415c15
push ebp
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.USER32.DLL_ReleaseDC]
push esi
call dword [sym.imp.GDI32.DLL_DeleteObject]
cmp byte [esp + 0x60], 0
je 0x415938
push ebx
call dword [sym.imp.GDI32.DLL_DeleteDC]
add esp, 0x64
pop ebp
pop edi
pop esi
ret 8
mov byte [esp + 0x58], bl
jmp 0x415966
cmp dword [esp + 0x74], 0
je 0x4159a4
cmp dword [esp + 0x78], 0
je 0x4159a4
jmp 0x4159c0
mov ecx, dword [0x427aa4]
push ecx
push 1
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, ebx
call fcn.00415390
mov ecx, dword [0x427aa8]
push ecx
push 1
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, ebx
call fcn.004154c0
mov ecx, dword [0x427aa8]
push ecx
push 1
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, ebx
call fcn.00415560
jmp 0x415ba6