Function at 0x476228
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x476518
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
cmp dword [eax + 4], 0
jne 0x476265
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004397e4
jmp 0x47650e
cmp dword [ebx + 4], 0
je 0x47629e
mov eax, dword [ebp - 4]
test byte [eax + 0x45], 1
jne 0x47628f
mov eax, dword [ebp - 4]
call fcn.0043871c
test eax, eax
jne 0x47628f
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004397e4
jmp 0x47650e
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0043945c
jmp 0x47650e
push 0
call sub.user32.dll_GetDC
mov esi, eax
lea eax, [ebp - 0x64]
push eax
push esi
call sub.gdi32.dll_GetClipBox
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + pe_nt_image_headers32]
mov eax, dword [ebp - 0x68]
push eax
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + pe_nt_image_headers32]
mov eax, dword [ebp - 0x7c]
push eax
push esi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0xc], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x476507
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
call fcn.0043b7b4
push eax
call sub.user32.dll_BeginPaint
mov esi, eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.00436680
mov eax, dword [ebp - 8]
mov dword [ebx + 4], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00476228
xor eax, eax
mov dword [ebx + 4], eax
mov dl, 1
mov eax, dword [0x41934c]
call fcn.0041fc14
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4764c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 6
mov eax, dword [ebp - 0x14]
call fcn.00421180
mov eax, dword [ebp - 4]
call fcn.00435134
mov edx, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
call fcn.004350f0
mov edx, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + pe_nt_image_headers32]
push 0xcc0020
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + pe_nt_image_headers32]
mov eax, dword [ebp - 0x70]
push eax
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + pe_nt_image_headers32]
mov eax, dword [ebp - 0x84]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00435134
push eax
mov eax, dword [ebp - 4]
call fcn.004350f0
push eax
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.00420180
call fcn.0041b5b4
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2ec]
call fcn.0044129c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2ec]
call fcn.004412e0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x60]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2ec]
mov edx, dword [ebp - 0x14]
call fcn.00441560
mov eax, dword [ebp - 0x14]
call fcn.00420180
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0041aaf4
push ebp
lea eax, [ebp - 0x14]
call fcn.00476144
pop ecx
push 0
push 0
push 1
mov eax, dword [ebp - 0x14]
call fcn.00420180
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2ec]
xor ecx, ecx
call fcn.00441d04
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.00420180
call fcn.0041b5b4
push eax
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x60]
sub eax, edi
push eax
mov eax, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x64]
sub eax, ebx
push eax
push edi
push ebx
push esi
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4764c8
mov eax, dword [ebp - 0x14]
call fcn.00402ff4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2ec]
call fcn.00441ac0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x476522
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret