Function at 0x10031370
Capabilities:
Get graphical window text
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005721f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100315fc
lea eax, [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x10031503
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], 0x2014
mov dword [ebp - 0x4c], str.cao_xjfxot_ggtfuzy_gyiqrv_ewjz_rhjzsecyn_edju
cmp dword [ebp - 0x30], 0x21d2
jle 0x100314a6
push 0x15c7
push 0xfc7
push 0xce6
push 0x2651
push 0x2353
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_PatBlt]
and dword [ebp - 0x18], 0
jmp 0x10031419
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x567e
jge 0x10031492
and dword [ebp - 0x1c], 0
jmp 0x1003142f
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3bd2
jge 0x10031490
and dword [ebp - 0x20], 0
jmp 0x10031445
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x20fd
jge 0x1003148e
and dword [ebp - 0x24], 0
jmp 0x1003145b
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x27fd
jge 0x1003148c
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x1c]
add edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x24]
mov eax, edx
cdq
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
push dword [ebp - 0x64]
push dword [ebp - 0x68]
mov ecx, 0x1006f978
call fcn.100032ed
jmp 0x10031454
jmp 0x1003143e
jmp 0x10031428
jmp 0x10031412
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x100314be
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x1e0f
jge 0x100314d8
mov edx, dword [ebp - 0x4c]
mov ecx, 0x1006f978
call fcn.1000548e
jmp 0x100314f4
or dword [ebp - 4], 0xffffffff
jmp 0x100314fe
jmp 0x100315fa
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0x6fd6
mov dword [ebp - 0x5c], str.omolb_hvogbzesw_pgumr_nvkjfhqdn_eiqax_vigfpmb_rxzz_lwicikipw_xyamtvusr_rbcu_vnukdctm_ldscz_pnnsv
cmp dword [ebp - 0x38], 0x72cb
jle 0x100315b0
push 0x16bb
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
and dword [ebp - 0x28], 0
jmp 0x10031550
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x73c3
jge 0x100315b0
and dword [ebp - 0x2c], 0
jmp 0x10031566
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x387e
jge 0x100315ae
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
lea ecx, [ebp - 0x88]
call fcn.10001a94
pop ecx
pop ecx
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
call fcn.100032cd
push eax
call fcn.1003cd2f
pop ecx
lea ecx, [ebp - 0x88]
call fcn.100032c3
jmp 0x1003155f
jmp 0x10031549
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x38], 0x6f39
jge 0x100315d4
push dword [ebp - 0x5c]
call fcn.1003cd2f
pop ecx
jmp 0x100315f0
or dword [ebp - 4], 0xffffffff
jmp 0x100315fa
jmp 0x1003164c
lea eax, [ebp + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x1003162c
mov byte [ebp - 0x11], 0
push 0x491
push 1
lea eax, [ebp - 0x11]
push eax
push 0x1cb9
push 1
call fcn.1002ddee
add esp, 0x14
jmp 0x1003164c
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x1003164c
push 0xc93
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret