Function at 0x10046439
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065d92
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x104
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x10046902
mov dword [ebp - 0x3c], 0x6914
mov dword [ebp - 0x9c], str.vgfdgchbi_hjujpkbl_oohtj_pggoxqtgl_pezqsno_iejs
cmp dword [ebp - 0x3c], 0x6acf
jle 0x10046538
push 0xe2
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
and dword [ebp - 0x34], 0
jmp 0x100464a9
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x4b75
jge 0x10046538
and dword [ebp - 0x38], 0
jmp 0x100464c3
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x204c
jge 0x10046533
and dword [ebp - 0x24], 0
jmp 0x100464d9
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x680f
jge 0x10046531
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x34]
cdq
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], edx
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
lea ecx, [ebp - 0xe4]
call fcn.10001aad
pop ecx
pop ecx
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
call fcn.100071e0
push eax
call fcn.1004da5d
pop ecx
lea ecx, [ebp - 0xe4]
call fcn.100071c2
jmp 0x100464d2
jmp 0x100464bc
jmp 0x100464a2
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x60], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0x6619
jge 0x10046557
push dword [ebp - 0x9c]
call fcn.1004da5d
pop ecx
jmp 0x10046573
or dword [ebp - 4], 0xffffffff
jmp 0x1004657d
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x94], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xac], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x1004680b
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x48], eax
mov eax, dword [0x10084880]
and eax, 1
jne 0x10046601
mov eax, dword [0x10084880]
or eax, 1
mov dword [0x10084880], eax
mov dword [ebp - 4], 2
mov ecx, 0x100848a4
call fcn.1002de7e
push 0x1006604f
call fcn.1004da33
pop ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xc8]
push eax
mov ecx, 0x100848a4
call fcn.1002df35
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xcc]
push eax
mov ecx, 0x100848a4
call fcn.1002df4c
mov ecx, eax
call fcn.1002df67
movzx eax, al
test eax, eax
je 0x10046783
mov dword [ebp - 0x50], 0xb66
mov dword [ebp - 0x84], str.usr_gyogdche_ygiapn_nocdp_zahyablq_nlkbxzx_ubxsheny_iqlmnxwlx_enqdtj_hgaf_bop_bnlxm_cdibgyxy_kbb
cmp dword [ebp - 0x50], 0xe9e
jle 0x10046717
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetBkColor]
and dword [ebp - 0x28], 0
jmp 0x10046689
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x52ac
jge 0x10046717
and dword [ebp - 0x2c], 0
jmp 0x100466a3
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x527c
jge 0x10046712
and dword [ebp - 0x20], 0
jmp 0x100466b9
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x8c2
jge 0x10046710
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], edx
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
lea ecx, [ebp - 0xfc]
call fcn.10001aad
pop ecx
pop ecx
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
call fcn.100071e0
push eax
call fcn.1004da5d
pop ecx
lea ecx, [ebp - 0xfc]
call fcn.100071c2
jmp 0x100466b2
jmp 0x1004669c
jmp 0x10046682
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xa8]
push eax
mov ecx, 0x100848a4
call fcn.10046d9e
mov ecx, dword [ebp - 0x48]
mov ax, word [eax]
mov word [ecx], ax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x50], 0xb03
jge 0x10046758
push dword [ebp - 0x84]
call fcn.1004da5d
pop ecx
jmp 0x10046774
or dword [ebp - 4], 0xffffffff
jmp 0x1004677e
jmp 0x1004692a
mov eax, dword [ebp - 0x30]
push dword [eax]
lea eax, [ebp - 0x114]
push eax
call fcn.100456ca
pop ecx
pop ecx
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x8c]
call fcn.100075bd
mov ax, word [eax]
mov word [ebp - 0x14], ax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.10007595
push 0x100848a4
push 0x33fb
push 1
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x30]
push 0x3568
push 1
push 0x1e11
call fcn.10045db5
add esp, 0x20
mov eax, dword [ebp - 0x48]
mov cx, word [ebp - 0x14]
mov word [eax], cx
jmp 0x1004692a
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0xe2bfbd3a
mov eax, 0xe2bfbd3a
test eax, eax
jne 0x10046867
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x10046867
and dword [ebp - 0x58], 0
jmp 0x1004686e
mov dword [ebp - 0x58], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x58]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x18]
cmp ecx, dword [eax]
jle 0x1004688e
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
je 0x1004688e
mov dword [ebp - 0x40], 1
jmp 0x10046892
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0
je 0x100468a9
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
je 0x100468a9
mov dword [ebp - 0x44], 1
jmp 0x100468ad
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 0x3c1de6fc
je 0x100468bf
mov dword [ebp - 0x4c], 1
jmp 0x100468c3
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
add eax, 0x7f0
cmp eax, dword [ebp - 0x4c]
jne 0x100468db
mov dword [ebp - 0x54], 1
jmp 0x100468df
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
imul eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x18]
imul eax, dword [ecx]
mov ecx, dword [ebp - 0x5c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x5c]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1004692a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x90], eax
push dword [ebp - 0x90]
push 0
push dword [ebp - 0x98]
call fcn.10043bff
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret