Function at 0x47e5b0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
push dword [ebp + 8]
mov edi, ecx
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.GDI32.dll_GetClipBox]
test eax, eax
je 0x47e7c2
push dword [edi + 0x120]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
push 0
push 0x54e2a5
lea eax, [ebp - 0x24]
push eax
push 2
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_ExtTextOutA]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [edi + 0x24], 0
je 0x47e62e
mov eax, dword [edi + 0xa0]
jmp 0x47e630
xor eax, eax
cmp dword [edi + 0x104], 0
mov dword [ebp - 0x10], eax
push ebx
je 0x47e7c1
cmp dword [ebp - 0x18], eax
jle 0x47e7c1
push esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
lea ecx, [edi + 0x104]
mov dword [ebp - 0x2c], 0
call fcn.00418310
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [edi + 0x104]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [edi + 0x78], 0
mov dword [ebp - 0x3c], eax
je 0x47e721
mov ecx, dword [ebp - 8]
push dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x10]
push ecx
call fcn.00526ce3
add esp, 8
mov edi, eax
test edx, edx
jle 0x47e6a6
inc edi
mov eax, dword [ebp - 0xc]
push dword [ebp - 0x30]
sub eax, dword [ebp - 0x14]
push eax
call fcn.00526ce3
add esp, 8
mov dword [ebp - 0x38], eax
test edx, edx
jle 0x47e6c3
inc eax
mov dword [ebp - 0x38], eax
test edi, edi
js 0x47e7ab
xor ecx, ecx
lea edx, [edi + 1]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x28], edx
test eax, eax
js 0x47e70e
lea ebx, [eax + 1]
xor edi, edi
mov eax, dword [ebp - 0x30]
push 0xcc0020
push 0
push 0
push esi
push dword [ebp - 0x2c]
push eax
push ecx
push edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x30]
add edi, eax
mov ecx, dword [ebp - 0x34]
sub ebx, 1
jne 0x47e6e2
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x2c]
sub edx, 1
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x28], edx
jne 0x47e6d6
jmp 0x47e7ab
movups xmm1, xmmword [ebp - 0x14]
movaps xmm0, xmm1
movd ecx, xmm1
psrldq xmm0, 8
movd eax, xmm0
movups xmmword [ebp - 0x4c], xmm1
sub eax, ecx
mov ecx, dword [ebp - 0x30]
cmp ecx, eax
jge 0x47e757
cdq
sub eax, edx
mov edi, eax
mov eax, ecx
cdq
sub eax, edx
sar edi, 1
sar eax, 1
sub edi, eax
lea eax, [edi + ecx]
jmp 0x47e75d
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x4c]
mov ebx, dword [ebp - 8]
sub ebx, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
add eax, 0x10
cmp eax, ebx
jge 0x47e787
cdq
sub eax, edx
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
mov ecx, dword [ebp - 0x2c]
add ecx, eax
jmp 0x47e78d
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x48]
push 0xcc0020
push 0
push 0
push esi
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x28]
sub ecx, edi
push ecx
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x3c]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
test esi, esi
je 0x47e7c0
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.005193a0
mov esp, ebp
pop ebp
ret 4