Function at 0x100422dc
Capabilities:
Get graphical window text
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084217
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100427ca
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x20], 0xffff
mov dword [ebp - 0xd8], 0xfffd
mov dword [ebp - 0xcc], 1
mov dword [ebp - 0xc4], 9
cmp dword [ebp - 0x20], 0x1a9565e0
jle 0x10042353
mov dword [ebp - 0xac], 1
jmp 0x1004235a
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
sub eax, dword [ebp - 0x20]
cmp eax, 0x6c516535
jle 0x10042376
mov dword [ebp - 0xe4], 1
jmp 0x1004237d
and dword [ebp - 0xe4], 0
push 8
pop eax
test eax, eax
je 0x10042388
cmp dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x20], eax
jl 0x10042399
mov dword [ebp - 0x7c], 1
jmp 0x1004239d
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0xd8]
imul eax, dword [ebp - 0x7c]
test eax, eax
je 0x100426cf
mov dword [ebp - 0xf4], 0xd2964071
mov dword [ebp - 0x40], 0
jmp 0x100423c9
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jge 0x100423dc
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x2c], 0x9884cb8f
jmp 0x100423c2
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2c], 0
je 0x10042415
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2c], 1
jl 0x100423ff
mov dword [ebp - 0x74], 1
jmp 0x10042403
and dword [ebp - 0x74], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x74]
mov dword [ebp + eax - 0x2c], ecx
jmp 0x100426cd
push 1
lea ecx, [ebp - 0x120]
call fcn.10027b4a
and dword [ebp - 4], 0
mov dword [ebp - 0xb4], 0x27720104
mov dword [ebp - 0x15c], 0xa7221ebc
mov dword [ebp - 0x158], 0xa7221ebc
mov dword [ebp - 0x154], 0xa7221ebc
mov dword [ebp - 0x150], 0xa7221ebc
lea ecx, [ebp - 0x56]
call fcn.1000927a
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x18c]
call fcn.10027bc6
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x16c]
call fcn.10027b8c
mov byte [ebp - 4], 1
mov dword [ebp - 0x9c], 0x3709e8e5
mov dword [ebp - 0x44], 0
jmp 0x100424a8
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x100424c4
push dword [ebp - 0x44]
lea ecx, [ebp - 0x120]
call fcn.10027bb7
mov dword [eax], 0x44f4
jmp 0x100424a1
push 0
lea ecx, [ebp - 0x120]
call fcn.10027bb7
cmp dword [eax], 0
je 0x100424eb
cmp dword [ebp - 0xd8], 0
je 0x100424eb
mov dword [ebp - 0x114], 1
jmp 0x100424f2
and dword [ebp - 0x114], 0
push 0
lea ecx, [ebp - 0x120]
call fcn.10027bb7
cmp dword [eax], 0
je 0x10042545
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xcc], eax
je 0x1004251b
mov dword [ebp - 0xe0], 1
jmp 0x10042522
and dword [ebp - 0xe0], 0
push 0
lea ecx, [ebp - 0x120]
call fcn.10027bb7
mov ecx, dword [ebp - 0xe0]
add ecx, dword [eax]
je 0x10042545
mov dword [ebp - 0xd4], 1
jmp 0x1004254c
and dword [ebp - 0xd4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
cmp dword [ebp - 0xd4], eax
jg 0x1004256a
mov dword [ebp - 0x84], 1
jmp 0x10042571
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x108], eax
push 1
lea ecx, [ebp - 0x16c]
call fcn.10027bb7
mov ecx, dword [ebp - 0x108]
mov dword [eax], ecx
mov eax, 0xce7aebb1
test eax, eax
je 0x100425bc
cmp dword [ebp - 0x9c], 0
je 0x100425bc
mov dword [ebp - 0x8c], 1
jmp 0x100425c3
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0x9c3997b
jge 0x100425db
mov dword [ebp - 0xf0], 1
jmp 0x100425e2
and dword [ebp - 0xf0], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xcc]
cmp dword [ebp + eax - 0x2c], ecx
jle 0x100425fd
mov dword [ebp - 0x5c], 1
jmp 0x10042601
and dword [ebp - 0x5c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x5c]
mov dword [ebp + eax - 0x2c], ecx
cmp dword [ebp - 0x5c], 0
je 0x1004262f
cmp dword [ebp - 0x20], 0
je 0x1004262f
mov eax, 0x8d7c584e
test eax, eax
je 0x1004262f
mov dword [ebp - 0x94], 1
jmp 0x10042636
and dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 0xffffffff
jle 0x1004264b
mov dword [ebp - 0xbc], 1
jmp 0x10042652
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
sub eax, 0xd734
cmp eax, dword [ebp - 0x9c]
jl 0x10042671
mov dword [ebp - 0xdc], 1
jmp 0x10042678
and dword [ebp - 0xdc], 0
cmp dword [ebp - 0xdc], 0xd9d6
jg 0x10042690
mov dword [ebp - 0xa4], 1
jmp 0x10042697
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xf4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x16c]
call fcn.10027bb2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.10027bb2
jmp 0x100426e1
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x100426e1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x38], 0
jmp 0x10042701
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jge 0x10042717
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x184], 0
jmp 0x100426fa
mov dword [ebp - 0x50], 0x15
jmp 0x10042727
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xffffffe3
je 0x10042783
mov dword [ebp - 0x34], 9
mov byte [ebp - 0x1c], 0
movzx eax, byte [ebp - 0x1c]
test eax, eax
je 0x1004275b
push 0x1c0b
push 0
push 0x24f8
push 0x18d
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x34], 0
jmp 0x1004276b
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x10042781
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x184], 0x7a888ada
jmp 0x10042764
jmp 0x10042720
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x30]
mov dword [eax], 0
jmp 0x100427a5
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax], 1
jge 0x100427c5
mov eax, dword [ebp - 0x30]
push dword [eax]
mov ecx, dword [ebp - 0x110]
call fcn.10027bb7
mov dword [eax], 1
jmp 0x1004279a
jmp 0x10042caf
mov dword [ebp - 0x10], 0xb3ae3556
push 3
lea ecx, [ebp - 0x68]
call fcn.10027b4a
mov dword [ebp - 4], 2
mov dword [ebp - 0x174], 0xd0d8167e
mov dword [ebp - 0x3c], 0
jmp 0x100427fc
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jge 0x10042815
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x68]
call fcn.10027bb7
mov dword [eax], 0x3111738a
jmp 0x100427f5
mov dword [ebp - 0x10], 0
jmp 0x10042825
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xfffffff9
jne 0x10042864
mov dword [ebp - 0x104], 7
cmp dword [ebp - 0x104], 0
je 0x10042840
jmp 0x10042864
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x10042862
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawFocusRect]
jmp 0x1004281e
mov dword [ebp - 0x10], 2
jmp 0x10042874
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x10042c8e
mov dword [ebp - 0x14], 0x3f7bf48c
mov dword [ebp - 0x148], 0xa1c17c77
mov dword [ebp - 0x144], 0xa1c17c77
mov dword [ebp - 0x140], 0xa1c17c77
mov dword [ebp - 0x13c], 0xa1c17c77
lea ecx, [ebp - 0x55]
call fcn.1000927a
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x194]
call fcn.10027bc6
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x12c]
call fcn.10027b8c
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x54], 0xa83acdd7
mov dword [ebp - 0x14], 0
jmp 0x10042901
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jg 0x10042c7a
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x48], 0x13072c02
mov dword [ebp - 0x4c], 0
jmp 0x10042929
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jge 0x1004293f
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x134], 7
jmp 0x10042922
cmp dword [ebp - 0x14], 1
jl 0x1004294e
mov dword [ebp - 0x6c], 1
jmp 0x10042952
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x6c], eax
jl 0x10042963
mov dword [ebp - 0x78], 1
jmp 0x10042967
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x78]
cmp eax, 0x62a4b15d
je 0x1004297e
mov dword [ebp - 0x80], 1
jmp 0x10042982
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 0x9973
jl 0x10042997
mov dword [ebp - 0x88], 1
jmp 0x1004299e
and dword [ebp - 0x88], 0
push 2
lea ecx, [ebp - 0x12c]
call fcn.10027bb7
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x88]
mov eax, dword [eax]
sub eax, ecx
cmp eax, dword [ebp - 0x10]
je 0x100429c9
mov dword [ebp - 0x90], 1
jmp 0x100429d0
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x90], eax
je 0x100429e7
mov dword [ebp - 0xec], 1
jmp 0x100429ee
and dword [ebp - 0xec], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x68]
call fcn.10027bb7
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x160], eax
push 1
lea ecx, [ebp - 0x68]
call fcn.10027bb7
cmp dword [eax], 1
je 0x10042a29
mov dword [ebp - 0x98], 1
jmp 0x10042a30
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
sub eax, 0x680a2560
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0xe8], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xe8]
mov dword [ebp + eax - 0x134], ecx
push 0
lea ecx, [ebp - 0x68]
call fcn.10027bb7
push 3
lea ecx, [ebp - 0x12c]
call fcn.10027bb7
cmp dword [eax], 0
jne 0x10042a82
cmp dword [ebp - 0x18], 0
jne 0x10042a82
and dword [ebp - 0xa0], 0
jmp 0x10042a8c
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0xa0], eax
jl 0x10042aa3
mov dword [ebp - 0xa8], 1
jmp 0x10042aaa
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0xb2c3978d
ja 0x10042ac2
mov dword [ebp - 0xf8], 1
jmp 0x10042ac9
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x170], eax
push 3
lea ecx, [ebp - 0x12c]
call fcn.10027bb7
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov esi, dword [ebp - 0x28]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x68]
call fcn.10027bb7
cmp esi, dword [eax]
je 0x10042b02
mov dword [ebp - 0xb0], 1
jmp 0x10042b09
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xb0]
jg 0x10042b20
mov dword [ebp - 0xb8], 1
jmp 0x10042b27
and dword [ebp - 0xb8], 0
cmp dword [ebp - 0xb8], 6
jle 0x10042b3c
mov dword [ebp - 0xc0], 1
jmp 0x10042b43
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x18], eax
jne 0x10042b60
mov dword [ebp - 0xc8], 1
jmp 0x10042b67
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0xc8], eax
jg 0x10042b8a
push 1
lea ecx, [ebp - 0x68]
call fcn.10027bb7
cmp dword [eax], 0
jne 0x10042b8a
and dword [ebp - 0xd0], 0
jmp 0x10042b94
mov dword [ebp - 0xd0], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xd0], eax
jge 0x10042ba8
mov dword [ebp - 0x70], 1
jmp 0x10042bac
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x70], eax
jge 0x10042bc0
mov dword [ebp - 0x100], 1
jmp 0x10042bc7
and dword [ebp - 0x100], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x68]
call fcn.10027bb7
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x178], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x68]
call fcn.10027bb7
cmp dword [eax], 0
je 0x10042c4f
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x10042c2d
push 0x217b
push 0
push 0x1b56
push 0x512
push 0x231d
push 0
push 0x12f8
push 0x16ea
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawIconEx]
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10042c4d
push 0x148b
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x10042c75
mov dword [ebp - 0x28], 0
jmp 0x10042c5f
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jge 0x10042c75
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x134], 1
jmp 0x10042c58
jmp 0x100428fa
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x12c]
call fcn.10027bb2
jmp 0x1004286d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.10027bb2
push 0x57f
push 0x2581
push 0x65f
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret