Function at 0x47d310
Capabilities:
Capture screenshot
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x490d48
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0xc], ebx
cmp esi, ebx
jne 0x47d365
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.mfc90u.dll_CDC::FromHandle
mov dword [ebp + 8], eax
mov dword [esp + 0xc], 1
mov esi, eax
lea ecx, [esp + 0x2c]
call fcn.004899de
mov dword [esp + 0x58], ebx
cmp esi, ebx
jne 0x47d37a
xor eax, eax
jmp 0x47d37d
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CDC::Attach
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], vtable.CBitmap.0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 1
mov edx, dword [edi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
push ecx
push eax
mov dword [esp + 0x20], eax
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x20]
call sub.mfc90u.dll_CGdiObject::Attach
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x47d3f0
mov ecx, dword [esp + 0x30]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [edi + 0x68]
push edx
lea ecx, [esp + 0x28]
call sub.mfc90u.dll_CBrush::CBrush
mov byte [esp + 0x58], 2
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x40]
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
mov esi, dword [edi + 0x78]
cmp esi, dword [edi + 0x7c]
jbe 0x47d425
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [edi + 0x6c]
jmp 0x47d430
mov eax, dword [edi + 0x7c]
mov dword [esp + 0x10], eax
cmp dword [edi + 0x78], eax
jbe 0x47d442
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 0x6c]
test ebx, ebx
je 0x47d44d
cmp ebx, eax
je 0x47d453
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x10]
je 0x47d4c9
test ebx, ebx
jne 0x47d4c1
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x47d470
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 0x14]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
lea ecx, [esp + 0x44]
mov edx, edi
call fcn.0047d0e0
test ebx, ebx
jne 0x47d4c5
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x47d4b9
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
add esi, 0x18
jmp 0x47d430
mov eax, dword [ebx]
jmp 0x47d465
mov eax, dword [ebx]
jmp 0x47d4ae
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
push 0xcc0020
push 0
push 0
push ecx
mov ecx, dword [esp + 0x28]
push edx
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [esp + 0xc], 0
je 0x47d507
mov eax, dword [esi + 4]
mov edx, dword [edi + 0x20]
push eax
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esp + 0x58], 1
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CBrush.0
call fcn.004066b0
mov byte [esp + 0x58], 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CBitmap.0
call fcn.004066b0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], 0xffffffff
call sub.mfc90u.dll_CDC::CDC
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4