Function at 0x471380
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x5b96a8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x629960]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov eax, dword [0x629960]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x17c]
mov edx, dword [ebp + 8]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
cmp dword [edi + 0x158], eax
jg 0x4713ef
mov esi, dword [edi + 0x180]
mov dword [esp + 0x20], esi
cmp dword [edi + 0x15c], esi
jg 0x4713ef
mov dword [edi + 0x1d8], 0
jmp 0x471412
mov esi, 0x64
mov ecx, eax
cmp eax, esi
cmovg ecx, esi
mov esi, dword [edi + 0x180]
cmp ecx, esi
mov dword [esp + 0x20], esi
mov eax, esi
cmovl eax, ecx
mov dword [edi + 0x1d8], eax
cmp dword [edx + 4], 0
je 0x47166b
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0049a9b5
mov edx, dword [esp + 0x18]
lea ecx, [edi + 0x170]
push ecx
lea ecx, [edi + 0x17c]
mov dword [esp + 0x20], eax
push ecx
mov ecx, eax
call fcn.0047f430
add esp, 8
cmp dword [edi + 0x198], 0
je 0x47145f
lea ecx, [edi + 0x194]
call fcn.0049a8ce
cmp dword [edi + 0x1bc], 0
je 0x471473
lea ecx, [edi + 0x1b8]
call fcn.0049a8e4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x47147e
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [edi + 0x194]
call fcn.0049a7f6
push dword [edi + 0x180]
mov eax, dword [esp + 0x20]
push dword [edi + 0x17c]
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [edi + 0x1b8]
call fcn.0049a82c
lea eax, [edi + 0x1b8]
test eax, eax
je 0x4714c3
mov eax, dword [eax + 4]
push eax
push dword [edi + 0x198]
call fcn.0049ac5e
xorps xmm0, xmm0
mov dword [edi + 0x1b4], eax
lea ecx, [esp + 0x34]
movdqa xmmword [esp + 0x34], xmm0
call fcn.0049a6c3
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x60], 0
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x38]
call fcn.0049a7f6
mov eax, dword [esp + 0x18]
push dword [eax + 4]
push dword [esp + 0x3c]
call fcn.0049ac5e
push dword [edi + 0x170]
lea ecx, [edi + 0x194]
mov dword [esp + 0x1c], eax
push esi
push dword [esp + 0x1c]
push 0
push 0
call fcn.0049f9a8
mov ecx, dword [edi + 0x1d8]
mov edx, esi
mov eax, dword [esp + 0x14]
sub edx, ecx
push 0xcc0020
push 0
push 0
push dword [esp + 0x44]
sub eax, ecx
push edx
push eax
push 0
push 0
push dword [edi + 0x198]
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [edi + 0x1d8]
test ecx, ecx
jle 0x47162c
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x34]
sub esp, 0x10
mov dword [esp + 0x3c], eax
mov eax, esp
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], esi
movdqu xmm0, xmmword [esp + 0x34]
push ecx
push ecx
lea ecx, [edi + 0x194]
movdqu xmmword [eax], xmm0
call fcn.0047fb20
mov eax, dword [edi + 0x1d8]
add esp, 0x18
mov ecx, esi
mov esi, dword [esp + 0x14]
sub ecx, eax
mov edx, esi
sub edx, eax
lea eax, [esp + 0x24]
push ecx
push esi
mov esi, dword [sym.imp.USER32.dll_SetRect]
push 0
push edx
push eax
call esi
push 0x64
lea eax, [esp + 0x28]
push 0
push eax
push eax
lea edx, [esp + 0x44]
lea ecx, [edi + 0x194]
call fcn.0047f850
mov eax, dword [edi + 0x1d8]
add esp, 0x10
mov edx, dword [esp + 0x20]
mov ecx, edx
sub dword [esp + 0x14], eax
sub ecx, eax
lea eax, [esp + 0x24]
push edx
push dword [esp + 0x18]
push ecx
push 0
push eax
call esi
sub esp, 8
lea eax, [esp + 0x2c]
lea edx, [esp + 0x3c]
lea ecx, [edi + 0x194]
push eax
push eax
call fcn.0047f780
add esp, 0x10
mov eax, dword [esp + 0x18]
test eax, eax
je 0x471637
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x3c]
call fcn.0049ac5e
lea ecx, [esp + 0x34]
call fcn.0049a8ce
mov eax, dword [esp + 0x1c]
push dword [eax + 4]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x34]
mov dword [esp + 0x60], 0xffffffff
call fcn.0049a72b
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret 4