Function at 0x10002590
Capabilities:
Contain obfuscated stackstrings
Get graphical window text
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
mov eax, dword [0x100351c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x103
lea ecx, [ebp - 0x20b]
push 0
push ecx
mov dword [ebp - 0x33c], eax
mov byte [ebp - 0x20c], 0
call fcn.10019790
mov ecx, dword [0x100317e0]
mov edx, dword [str.CTXOPConntion_Class]
mov eax, dword [0x100317dc]
push 0xf0
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0x108], edx
mov edx, dword [0x100317e4]
mov dword [ebp - 0x104], eax
mov eax, dword [0x100317e8]
lea ecx, [ebp - 0xf4]
push 0
push ecx
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0xf8], eax
call fcn.10019790
push 0x103
lea edx, [ebp - 0x30f]
push 0
push edx
mov byte [ebp - 0x310], 0
call fcn.10019790
add esp, 0x24
push 0
lea eax, [ebp - 0x108]
push eax
mov dword [ebp - 0x324], 0x4f585443
mov dl, 0x6f
mov dword [ebp - 0x320], 0x6e6f4350
mov dword [ebp - 0x31c], 0x6f69746e
mov dword [ebp - 0x318], 0x6c435f6e
mov dword [ebp - 0x314], 0x737361
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x10002773
mov edi, dword [sym.imp.USER32.dll_GetWindow]
mov ebx, dword [sym.imp.USER32.dll_GetClassNameA]
lea esp, [esp]
lea ecx, [ebp - 0x324]
lea eax, [ebp - 0x108]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100026c0
test dl, dl
je 0x100026bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100026c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100026a0
xor eax, eax
jmp 0x100026c5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10002755
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100026f0
sub eax, edx
lea esp, [esp]
dec eax
cmp byte [ebp + eax - 0x108], 0x5f
jne 0x10002700
lea edx, [ebp + eax - 0x107]
push edx
lea eax, [ebp - 0x310]
push 0x104
push eax
call fcn.100183cf
lea ecx, [ebp - 0x310]
push ecx
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.10018196
push 0x100317ec
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10018196
add esp, 0x24
push 2
push esi
call edi
push 0x104
lea ecx, [ebp - 0x108]
mov esi, eax
push ecx
push esi
call ebx
test esi, esi
jne 0x10002690
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x32c]
push edx
push 0xf003f
push 0
push str.SoftwareTencentPluginVAS
push SysReAllocString
mov dword [ebp - 0x330], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100028fb
push eax
push eax
lea eax, [ebp - 0x340]
push eax
lea ecx, [ebp - 0x344]
push ecx
lea edx, [ebp - 0x348]
push edx
mov edx, dword [ebp - 0x32c]
push 0
lea eax, [ebp - 0x338]
push eax
lea ecx, [ebp - 0x328]
push ecx
push 0
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x10002976
mov ebx, dword [ebp - 0x338]
inc ebx
cmp dword [ebp - 0x328], eax
jbe 0x100028fb
cmp ebx, 1
jbe 0x100028fb
push 0xff
call fcn.1001818b
xor edi, edi
add esp, 4
mov esi, eax
cmp dword [ebp - 0x328], edi
jbe 0x100028e5
push ebx
push 0
push esi
call fcn.10019790
mov ecx, dword [ebp - 0x32c]
add esp, 0xc
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x334]
push eax
push esi
push edi
push ecx
mov dword [ebp - 0x334], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002860
sub eax, edx
cmp eax, 0xc
jae 0x100028ad
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002873
sub eax, edx
cmp eax, 5
jbe 0x100028ad
cmp dword [ebp - 0x330], 0
jne 0x100028ad
push 0x1003180c
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.10018196
add esp, 0xc
mov dword [ebp - 0x330], 1
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10018196
push 0x100317ec
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.10018196
inc edi
add esp, 0x18
cmp edi, dword [ebp - 0x328]
jb 0x10002825
push esi
call fcn.10018180
mov edx, dword [ebp - 0x32c]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [ebp - 0x20c]
call fcn.10002510
mov eax, edi
lea edx, [eax + 1]
jmp 0x10002910
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002910
sub eax, edx
cmp eax, 4
jbe 0x10002976
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
inc eax
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
call esi
lea ecx, [ebp - 0x20c]
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10002940
mov edx, dword [ebp - 0x33c]
push eax
push edx
sub ecx, edi
inc ecx
push ecx
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
call esi
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10017a1f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.10017a1f
mov esp, ebp
pop ebp
ret