Function at 0x40eab0
Capabilities:
Get graphical window text
Get thread local storage value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x2c], 0xa392d
mov dword [ebp - 0x4c], 0x91c59
mov dword [ebp - 0x50], 0xab1f9
mov dword [ebp - 0x38], 0xa11af
mov dword [ebp - 0x68], 0x380b3
mov dword [ebp - 0x48], 0x4df33
mov dword [ebp - 0xc], 0x13c58
mov dword [ebp - 0x18], 0x429ad
mov dword [ebp - 0x34], 0x88b8d
mov dword [ebp - 0x10], 0x3525
mov dword [ebp - 8], 0x88b41
mov dword [ebp - 0x3c], 0x1948b
mov dword [ebp - 0x5c], 0x1e9a3
mov dword [ebp - 0x30], 0x4eb3a
mov dword [ebp - 4], 0x20b53
mov dword [ebp - 0x14], 0xdf94d
mov dword [ebp - 0x28], 0x2a074
mov dword [ebp - 0x1c], 0x50981
mov dword [ebp - 0x40], 0x3e6a7
mov dword [ebp - 0x64], 0xf3e0b
mov dword [ebp - 0x20], 0xe9ad3
mov dword [ebp - 0x58], 0xea620
mov dword [ebp - 0x44], 0x8e0d
mov dword [ebp - 0x24], 0xdb0cb
mov dword [ebp - 0x54], 0x8fc4d
mov dword [ebp - 0x60], 0
jmp 0x40eb77
mov eax, dword [ebp - 0x60]
add eax, 1
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp + 0xc]
sub ecx, 0x6232b
cmp dword [ebp - 0x60], ecx
jge 0x40ec51
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 0x10]
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0x34]
xor eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x3c]
xor ecx, 0xe7312
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x30], 0xee366
jne 0x40ec4c
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 8]
and eax, 0x45336
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0xc]
and ecx, 0x16a28
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x28]
sub edx, 0x42efb
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 4]
or eax, dword [ebp - 0x44]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
xor ecx, 0xc8132
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 0x10], 0x6eedc
je 0x40ec4c
mov edx, dword [ebp - 0x48]
xor edx, dword [ebp + 0x10]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x28]
and eax, dword [ebp - 0x48]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x54]
or ecx, dword [ebp - 0x10]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x1c]
or edx, dword [ebp - 0x38]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 4], 0xc326a
jge 0x40ec4c
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0x20]
add ecx, dword [ebp + 0x10]
mov dword [ebp + 0x20], ecx
mov edx, dword [ebp - 0x44]
add edx, 1
mov dword [ebp - 0x44], edx
jmp 0x40eb6e
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp - 4]
mov dword [ebp + 0x20], eax
mov ecx, dword [ebp + 0x18]
add ecx, dword [ebp - 0x3c]
mov dword [ebp + 0x18], ecx
mov edx, dword [ebp - 0x38]
sub edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 0x1c]
sub eax, 0x30567
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x17816
push ecx
mov edx, dword [ebp - 0x28]
add edx, 0xc2b3f
push edx
mov eax, dword [ebp - 0x54]
sub eax, 0x40544
push eax
mov ecx, dword [ebp + 0x1c]
sub ecx, 0x145a7
push ecx
mov edx, dword [ebp - 8]
sub edx, 0x66c55
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x273ad
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x236d9
push ecx
mov edx, dword [ebp + 0x2c]
sub edx, 0x1c3c8
push edx
mov eax, dword [ebp + 0x24]
add eax, 0x3e293
push eax
call fcn.00442110
add esp, 0x28
mov ecx, dword [ebp + 0x14]
add ecx, 0xb6713
mov dword [ebp + 0x14], ecx
mov edx, dword [ebp - 0x10]
and edx, 0x29f29
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x58]
or eax, dword [ebp - 0x18]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp + 0x14]
sub ecx, dword [ebp - 0x40]
mov dword [ebp + 0x14], ecx
cmp dword [ebp + 0x24], 0x47e6c
jne 0x40ed4e
mov edx, dword [ebp - 0x10]
add edx, 0xd7303
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
sub eax, 0x72c0b
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
and ecx, dword [ebp - 0x44]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x30]
xor edx, 0xf2f39
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x2c]
sub eax, 0xbcdc2
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x4c]
sub ecx, 1
mov dword [ebp - 0x4c], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
nop
mov edx, dword [ebp + 0x10]
add edx, 1
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0x40]
and eax, 0x46be2
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x24]
xor ecx, 0xe2cb9
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x10], 0xda929
jle 0x40f0cf
mov edx, dword [ebp - 0x24]
and edx, 0x351ca
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 0xc]
xor eax, dword [ebp - 0x44]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0x50]
xor ecx, 0x4bfd5
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp + 0x14]
add edx, dword [ebp - 0x14]
mov dword [ebp + 0x14], edx
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x4c], 0x682b6
je 0x40f0cf
mov ecx, dword [ebp + 0x2c]
and ecx, dword [ebp + 0x14]
mov dword [ebp + 0x2c], ecx
mov edx, dword [ebp - 0x24]
and edx, 0xc5912
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x5c]
or eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 0x81bc8
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x18], 0x2987c
je 0x40f0cf
mov edx, dword [ebp + 0x14]
sub edx, dword [ebp + 0x20]
mov dword [ebp + 0x14], edx
mov eax, dword [ebp + 0x2c]
and eax, dword [ebp + 0x10]
mov dword [ebp + 0x2c], eax
mov ecx, dword [ebp - 8]
or ecx, dword [ebp + 0x20]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
or edx, dword [ebp + 0x10]
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0x64]
sub eax, 0x7592a
mov dword [ebp - 0x64], eax
cmp dword [ebp + 0x1c], 0x3f3b7
jge 0x40f0cf
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x58]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x30]
and edx, 0xb8678
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x24]
add eax, 0x30d3
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 8]
or ecx, 0xb167c
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x64]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0x20]
xor eax, 0xce146
mov dword [ebp + 0x20], eax
cmp dword [ebp - 0x68], 0xe8cfd
jne 0x40f0cf
mov ecx, dword [ebp + 0x28]
sub ecx, 0xd62a0
mov dword [ebp + 0x28], ecx
mov edx, dword [ebp - 0x18]
or edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x3c]
and eax, 0x9b59d
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 0x24]
sub ecx, dword [ebp + 0x28]
mov dword [ebp + 0x24], ecx
mov edx, dword [ebp - 4]
and edx, dword [ebp - 0x34]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x40]
or eax, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
cmp dword [ebp + 0x14], 0xe96d9
je 0x40f0cf
mov ecx, dword [ebp - 0x58]
or ecx, dword [ebp + 0x14]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0xc]
and edx, dword [ebp - 0x5c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 8]
xor ecx, dword [ebp - 0x3c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x14]
xor edx, 0xbd8d0
mov dword [ebp + 0x14], edx
mov eax, dword [ebp + 0x28]
xor eax, 0x7b302
mov dword [ebp + 0x28], eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x362e7
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 4], 0x4fc18
jge 0x40f0cf
mov edx, dword [ebp - 0x30]
or edx, 0xd02e
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x28]
add eax, 0x5176
mov dword [ebp + 0x28], eax
mov ecx, dword [ebp - 0x18]
sub ecx, 0xda384
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x20]
add edx, 0x18fab
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 8]
add eax, 0x481fe
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0xa4254
je 0x40f0cf
mov ecx, dword [ebp - 8]
and ecx, 0x20b12
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
or edx, dword [ebp - 0x34]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x2c]
add eax, dword [ebp - 0x38]
mov dword [ebp + 0x2c], eax
mov ecx, dword [ebp - 0x14]
and ecx, dword [ebp - 0x44]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x28], 0x750ea
jge 0x40f0cf
mov edx, dword [ebp - 4]
or edx, 0xaf9fd
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x1c]
and edx, dword [ebp - 0x2c]
mov dword [ebp + 0x1c], edx
mov eax, dword [ebp + 0x18]
and eax, dword [ebp + 0x24]
mov dword [ebp + 0x18], eax
mov ecx, dword [ebp + 0xc]
add ecx, 0xffa6
mov dword [ebp + 0xc], ecx
cmp dword [ebp + 0x18], 0x24114
jge 0x40f0cf
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, dword [ebp - 0xc]
sub edx, 0xbb88d
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x14]
xor eax, 0x685d4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x24]
sub ecx, dword [ebp - 4]
mov dword [ebp + 0x24], ecx
cmp dword [ebp + 0x24], 0xd6f6d
jle 0x40f0cf
mov edx, dword [ebp - 0x48]
add edx, 0x5380e
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x68]
add eax, dword [ebp + 0x28]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp + 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 0xc]
or edx, 0x30201
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x14]
xor eax, dword [ebp - 0x20]
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp - 0x50]
xor ecx, dword [ebp - 8]
mov dword [ebp - 0x50], ecx
cmp dword [ebp - 0x3c], 0x4e801
je 0x40f0cf
mov edx, dword [ebp + 0x14]
add edx, 0x67b9d
mov dword [ebp + 0x14], edx
mov eax, dword [ebp - 0x28]
xor eax, 0x70862
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0x28]
add ecx, 0xc445
mov dword [ebp + 0x28], ecx
mov edx, dword [ebp - 0x2c]
xor edx, 0x93a10
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 8]
or eax, 0x9c63d
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0xc]
sub ecx, 0xef257
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x1c]
xor edx, dword [ebp + 0x2c]
mov dword [ebp + 0x1c], edx
cmp dword [ebp - 0x14], 0x1cc77
jle 0x40f0cf
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x50]
sub ecx, dword [ebp - 0x40]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x54]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x10], 0x59b87
jl 0x40ecd4
mov ecx, dword [ebp - 8]
sub ecx, 0x29f6d
push ecx
mov edx, dword [ebp - 0x5c]
add edx, 0xd5d6
push edx
mov eax, dword [ebp - 0x54]
add eax, 0x27735
push eax
call fcn.0040dcf0
add esp, 0xc
mov esp, ebp
pop ebp
ret