Function at 0x47ca80
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x80]
push edi
mov ebx, dword [esi + 0x260]
mov ebp, dword [esi + 0x264]
imul ebx, ecx
mov edi, dword [esi + 4]
mov eax, dword [esi + 0x26c]
add ebx, ebp
mov dword [esp + 0x10], eax
add ebx, edi
test eax, eax
jge 0x47cadd
mov edx, dword [esi + 0x25c]
imul edx, ecx
mov dword [esp + 0x84], edx
fild dword [esp + 0x84]
neg eax
mov dword [esp + 0x84], eax
fidiv dword [esp + 0x84]
jmp 0x47caf8
mov eax, dword [esi + 0x25c]
imul eax, ecx
mov dword [esp + 0x84], eax
fild dword [esp + 0x84]
fimul dword [esp + 0x10]
sub esp, 8
lea ecx, [esp + 0x20]
fstp qword [esp]
push str._.2f
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x47cb33
lea eax, [esp + 0x18]
dec eax
cmp byte [eax + ebp], 0x30
jne 0x47cb27
dec ebp
jne 0x47cb1c
jmp 0x47cb33
test ebp, ebp
je 0x47cb33
cmp byte [esp + ebp + 0x17], 0x2e
jne 0x47cb33
dec ebp
push 7
call dword [sym.imp.USER32.dll_GetSysColor]
mov edi, dword [esp + 0x80]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esi + 8]
test eax, eax
je 0x47cc00
mov esi, dword [esi + 0x270]
push edi
add esi, ebx
mov eax, esi
cdq
idiv dword [0x655b18]
mov dword [esp + 0x14], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [0x658f98]
mov ebx, eax
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x88]
test eax, eax
mov eax, dword [0x658fa8]
je 0x47cbae
mov ecx, eax
mov edx, 0xfffffffc
imul ecx, ebp
sub edx, ecx
mov ecx, dword [esp + 0x10]
add ecx, edx
mov dword [esp + 0x10], ecx
xor esi, esi
test ebp, ebp
jle 0x47cbf4
jmp 0x47cbbb
mov eax, dword [0x658fa8]
movsx edx, byte [esp + esi + 0x18]
lea ecx, [eax - 2]
sub edx, 0x2d
imul edx, ecx
imul eax, esi
push 0x8800c6
push 0
push edx
mov edx, dword [0x658fa4]
push ebx
push edx
push ecx
mov ecx, dword [esp + 0x28]
push 1
lea edx, [eax + ecx + 2]
push edx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
inc esi
cmp esi, ebp
jl 0x47cbb6
mov eax, dword [esp + 0x84]
jmp 0x47cd2b
mov eax, dword [esi]
mov esi, dword [esi + 0x270]
cdq
idiv dword [0x655b18]
add esi, ebx
push edi
mov dword [esp + 0x14], eax
mov eax, esi
cdq
idiv dword [0x655b1c]
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov al, byte [0x655ac0]
test al, 4
mov eax, dword [0x658fa0]
jne 0x47cc3e
mov eax, dword [0x658f9c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x80], eax
mov al, byte [0x655ac0]
test al, 4
je 0x47ccaf
xor esi, esi
test ebp, ebp
jle 0x47cd24
movsx edx, byte [esp + esi + 0x18]
mov eax, dword [0x658fa8]
sub edx, 0x2d
push 0x8800c6
lea ecx, [eax - 2]
imul eax, esi
imul edx, ecx
push edx
mov edx, dword [esp + 0x1c]
push 0
push ebx
push ecx
mov ecx, dword [0x658fa4]
add eax, edx
push ecx
push eax
xor eax, eax
mov ax, word [0x655bba]
sub eax, ecx
mov ecx, dword [esp + 0x2c]
lea edx, [eax + ecx - 2]
push edx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
inc esi
cmp esi, ebp
jl 0x47cc60
jmp 0x47cd24
lea esi, [ebp - 1]
test esi, esi
jl 0x47cd24
sub ebp, esi
lea ebp, [esp + ebp + 0x17]
mov dword [esp + 0x84], ebp
movsx edx, byte [ebp]
mov eax, dword [0x658fa8]
mov ebp, 0x39
sub ebp, edx
mov edx, dword [esp + 0x14]
lea ecx, [eax - 2]
imul eax, esi
imul ebp, ecx
push 0x8800c6
push ebp
push 0
push ebx
push ecx
mov ecx, dword [0x658fa4]
push ecx
xor ecx, ecx
mov cx, word [0x655bba]
lea eax, [eax + edx + 2]
mov edx, dword [esp + 0x28]
push eax
sub edx, ecx
add edx, 3
push edx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ebp, dword [esp + 0x84]
dec esi
inc ebp
test esi, esi
mov dword [esp + 0x84], ebp
jge 0x47ccc3
mov eax, dword [esp + 0x80]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0xc