Function at 0x4025b0
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 [0x4371c0]
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.00419e30
mov ecx, dword [0x432810]
mov edx, dword [str.CTXOPConntion_Class]
mov eax, dword [0x43280c]
push pe_nt_image_headers32
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0x108], edx
mov edx, dword [0x432814]
mov dword [ebp - 0x104], eax
mov eax, dword [0x432818]
lea ecx, [ebp - 0xf4]
push 0
push ecx
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0xf8], eax
call fcn.00419e30
push 0x103
lea edx, [ebp - 0x30f]
push 0
push edx
mov byte [ebp - 0x310], 0
call fcn.00419e30
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 0x402793
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 0x4026e0
test dl, dl
je 0x4026dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4026e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4026c0
xor eax, eax
jmp 0x4026e5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x402775
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 0x402710
sub eax, edx
lea esp, [esp]
dec eax
cmp byte [ebp + eax - 0x108], 0x5f
jne 0x402720
lea edx, [ebp + eax - 0x107]
push edx
lea eax, [ebp - 0x310]
push 0x104
push eax
call fcn.00418b0f
lea ecx, [ebp - 0x310]
push ecx
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.004188d6
push 0x43281c
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004188d6
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 0x4026b0
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 0x40291b
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 0x402996
mov ebx, dword [ebp - 0x338]
inc ebx
cmp dword [ebp - 0x328], eax
jbe 0x40291b
cmp ebx, 1
jbe 0x40291b
push 0xff
call fcn.004188cb
xor edi, edi
add esp, 4
mov esi, eax
cmp dword [ebp - 0x328], edi
jbe 0x402905
push ebx
push 0
push esi
call fcn.00419e30
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 0x402880
sub eax, edx
cmp eax, 0xc
jae 0x4028cd
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402893
sub eax, edx
cmp eax, 5
jbe 0x4028cd
cmp dword [ebp - 0x330], 0
jne 0x4028cd
push 0x43283c
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.004188d6
add esp, 0xc
mov dword [ebp - 0x330], 1
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004188d6
push 0x43281c
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.004188d6
inc edi
add esp, 0x18
cmp edi, dword [ebp - 0x328]
jb 0x402845
push esi
call fcn.004188c0
mov edx, dword [ebp - 0x32c]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [ebp - 0x20c]
call fcn.00402530
mov eax, edi
lea edx, [eax + 1]
jmp 0x402930
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402930
sub eax, edx
cmp eax, 4
jbe 0x402996
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 0x402960
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.0041815f
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.0041815f
mov esp, ebp
pop ebp
ret