Function at 0x473f2c
Capabilities:
Capture screenshot
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
push ebx
mov ebx, dword [ebp + 8]
push esi
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, eax
mov dword [ebp - 0xc], esi
test esi, 0x800000
je 0x474363
push edi
lea eax, [ebp - 0x24]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
neg ecx
push ecx
neg eax
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
push ebx
mov dword [ebp - 4], eax
call fcn.00419cef
push dword [0x507190]
call fcn.00419c9f
pop ecx
pop ecx
test esi, 0x40000000
je 0x474086
call fcn.00473b82
test eax, eax
jne 0x473fbb
push dword [0x531f70]
call fcn.00473a66
pop ecx
push 5
call fcn.00473601
pop ecx
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [ebp - 0x20]
mov ebx, eax
mov edi, dword [sym.imp.USER32.dll_SetRect]
lea eax, [ebp - 0x34]
lea ecx, [edx + 1]
push ecx
push dword [ebp - 0x1c]
push edx
push dword [ebp - 0x24]
push eax
call edi
mov esi, dword [sym.imp.GDI32.dll_ExtTextOutW]
lea ecx, [ebp - 0x34]
xor eax, eax
push eax
push eax
push eax
push ecx
push 2
push eax
push eax
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
dec eax
push eax
mov eax, dword [ebp - 0x20]
push ecx
inc eax
push eax
lea eax, [ecx - 1]
push eax
lea eax, [ebp - 0x34]
push eax
call edi
xor eax, eax
lea ecx, [ebp - 0x34]
push eax
push eax
push eax
push ecx
push 2
push eax
push eax
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
dec eax
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x34]
push eax
call edi
xor eax, eax
lea ecx, [ebp - 0x34]
push eax
push eax
push eax
push ecx
push 2
push eax
push eax
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
dec eax
push eax
lea eax, [ecx + 1]
push eax
mov eax, dword [ebp - 0x20]
inc eax
push eax
push ecx
lea eax, [ebp - 0x34]
push eax
call edi
xor eax, eax
lea ecx, [ebp - 0x34]
push eax
push eax
push eax
push ecx
push 2
push eax
push eax
push dword [ebp + 0xc]
call esi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SetBkColor]
jmp 0x474362
xor edi, edi
test dword [ebp - 0xc], 0xc00000
push 0x14
pop esi
je 0x47415d
push 0x80
lea eax, [ebp - 0xb4]
push edi
push eax
call fcn.0049a3b0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xb4]
add esp, 0xc
push 0x80
push eax
push dword [ecx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0xc], eax
inc ecx
mov eax, dword [edx + 0x14]
mov dword [ebp - 8], eax
cmp eax, ecx
jne 0x474100
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4740fd
movzx ecx, word [eax + 4]
movzx eax, word [eax]
shl ecx, 0x10
or ecx, eax
push ecx
push edi
push 0x84
push dword [edx]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, esi
je 0x474100
mov dword [ebp - 8], edi
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [ebp + 8]
xor edx, edx
cmp byte [0x4f7c4f], dl
push 1
sete dl
cmp eax, dword [ecx]
pop eax
push dword [ebp - 4]
cmove edx, eax
lea eax, [ebp - 0xb4]
push dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
push edx
push dword [ebp - 0xc]
push eax
push dword [0x506d00]
push ebx
call fcn.00474486
mov eax, dword [ebp - 8]
add esp, 0x1c
test eax, eax
je 0x47415d
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
push dword [0x506d00]
push ebx
call fcn.0047472a
add esp, 0x14
mov eax, dword [ebp - 4]
add eax, 0xffffffc6
cdq
push 0x1d
pop ecx
idiv ecx
mov ecx, edx
mov edx, eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff8
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
test edx, edx
jle 0x4741cb
push 0xcc0020
push 0x2a
push 0x7f
push dword [0x506d00]
dec edx
push 0x1d
push 0xb
push esi
push edi
push ebx
mov dword [ebp - 0x14], edx
call dword [sym.imp.GDI32.dll_BitBlt]
push 0xcc0020
push 0x2a
push 0x8b
push dword [0x506d00]
push 0x1d
push 8
push esi
push dword [ebp - 8]
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [ebp - 0x14]
add esi, 0x1d
test edx, edx
jg 0x47417d
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x47420f
push 0xcc0020
push 0x2a
push 0x7f
push dword [0x506d00]
push ecx
push 0xb
push esi
push edi
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push 0xcc0020
push 0x2a
push 0x8b
push dword [0x506d00]
push dword [ebp - 4]
push 8
push esi
push dword [ebp - 8]
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
add esi, dword [ebp - 4]
push 0xcc0020
push 0x2a
push 0x9e
push dword [0x506d00]
push 0x18
push 0xb
push esi
push edi
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push 0xcc0020
push 0x2a
push 0xaa
push dword [0x506d00]
push 0x18
push 8
push esi
push dword [ebp - 8]
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x10]
add esi, 0x18
cmp eax, 0xfa
jge 0x474263
cdq
sub eax, edx
sar eax, 1
jmp 0x474266
push 0x7d
pop eax
push 0xcc0020
push 0x2a
push edi
push dword [0x506d00]
mov dword [ebp - 8], eax
push 0xe
push eax
push esi
push edi
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x10]
push 0x19
pop ecx
lea eax, [eax - 0xfa]
cdq
idiv ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], ecx
test eax, eax
jle 0x4742d6
mov edi, ecx
push 0xcc0020
push 0x48
push 0x7f
push dword [0x506d00]
dec eax
push 0xe
push 0x19
push esi
push edi
push ebx
mov dword [ebp - 0x14], eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x14]
add edi, 0x19
test eax, eax
jg 0x4742a1
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], edi
xor edi, edi
mov ecx, dword [ebp - 4]
test edx, edx
jle 0x4742fe
push 0xcc0020
push 0x48
push 0x7f
push dword [0x506d00]
push 0xe
push edx
push esi
push ecx
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 8]
push 0x7d
pop edx
cmp eax, edx
jge 0x47430f
test byte [ebp - 0x10], 1
je 0x47430f
inc eax
push 0xcc0020
push 0x39
sub edx, eax
push edx
push dword [0x506d00]
push 0xe
push eax
push esi
push ecx
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
test dword [eax + 0x1c], ecx
je 0x47435b
push 0xcc0020
push 0x48
push 0x76
push dword [0x506d00]
lea eax, [esi + 2]
push 7
push 7
push eax
mov eax, dword [ebp - 4]
add eax, 0x70
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
call fcn.00419c9f
pop ecx
pop edi
pop esi
pop ebx
leave
ret