Function at 0x474320
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x654fde
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x6ece84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x4c], esi
cmp dword [ebp + 8], 0
je 0x47461f
cmp dword [ebp + 0xc], 0
je 0x47461f
mov ecx, dword [esi]
test ecx, ecx
je 0x474375
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x474389
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], 0
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push dword [ebp + 0xc]
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x70], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 2
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
push ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, eax
push edi
push esi
mov dword [ebp - 0x5c], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp + 0x10]
sub eax, 1
je 0x47442c
sub eax, 1
je 0x474425
push 0
push esi
push 0x14
jmp 0x474434
push 0xe
push esi
push 0xf
jmp 0x474434
push 0xe
push esi
push 0x318
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [ebp + 8]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 4
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
push edx
push ecx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
push esi
push dword [ebp - 0x50]
mov dword [ebp - 0x54], esi
call dword [sym.imp.GDI32.dll_SelectObject]
movups xmm0, xmmword [ebp - 0x20]
push 2
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 0xc]
movups xmmword [ebp - 0x40], xmm0
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push 0xcc0020
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x60]
push ecx
push eax
push 0
push 0
push dword [ebp - 0x50]
call dword [sym.imp.GDI32.dll_BitBlt]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x474522
mov dword [eax], 0x68126c
mov byte [ebp - 4], 7
mov dword [eax], 0x681274
lea eax, [ebp - 0x44]
push eax
push 0
push esi
mov dword [ebp - 0x44], 0
call sub.gdiplus.dll_GdipCreateBitmapFromHBITMAP
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x44]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 6
jmp 0x474524
xor ecx, ecx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x4c]
push 0xc
mov dword [eax + 4], ecx
call sub.gdiplus.dll_GdipAlloc
mov ecx, eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x78], ecx
mov byte [ebp - 4], 8
test ecx, ecx
je 0x474589
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 4]
mov dword [ecx], 0x68127c
mov dword [ecx + 8], 6
mov byte [ebp - 4], 9
mov dword [ecx], 0x681284
lea ecx, [ebp - 0x48]
push ecx
push 0
push dword [eax + 4]
mov dword [ebp - 0x48], 0
call sub.gdiplus.dll_GdipCreateTexture
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x48]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 8
jmp 0x47458e
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x4c]
mov dword [eax], ecx
mov byte [ebp - 4], 4
test esi, esi
je 0x4745b0
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x54], esi
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x50]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x4745cb
push eax
mov dword [ebp - 0x58], 0
call esi
mov byte [ebp - 4], 2
test edi, edi
je 0x4745e4
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
xor ecx, ecx
test eax, eax
cmovne edi, ecx
mov dword [ebp - 0x5c], edi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4745f9
push eax
mov dword [ebp - 0x64], 0
call esi
mov dword [ebp - 4], 0xa
push dword [ebp - 0x68]
mov dword [ebp - 0x74], 0
push dword [ebp - 0x6c]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
jmp 0x474621
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005e9f40
mov esp, ebp
pop ebp
ret 0xc