Function at 0x40e6b0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477067
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x350
mov eax, dword [0x49f008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebx + 0xc]
push eax
push dword [ebx + 8]
call fcn.00409dc0
test eax, eax
jne 0x40e84b
push eax
push 0x48da20
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x94], eax
mov word [ebp - 0xa4], ax
call fcn.00407900
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x48da20
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00407900
sub esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.00409590
add esp, 8
mov esi, eax
mov byte [ebp - 4], 2
mov ecx, dword [0x4a21a8]
test cl, 1
jne 0x40e7a8
or ecx, 1
mov dword [0x4a21a4], 0
xorps xmm0, xmm0
mov dword [0x4a21a8], ecx
push 0x47b6e0
movups xmmword [0x4a2194], xmm0
call fcn.0044e3dd
add esp, 4
push esi
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 1
push 0x1fc
push 0x1fba
call fcn.0043d510
mov eax, dword [ebp - 0x78]
cmp eax, 8
jb 0x40e7e4
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00407760
xor eax, eax
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x7c], 0
cmp eax, 8
jb 0x40e810
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00407760
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x1c], 0
cmp eax, 8
jb 0x40f339
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.00407760
jmp 0x40f339
cmp dword [edi + 0x40], 0
je 0x40e897
cmp dword [edi + 0x44], 8
lea eax, [edi + 0x30]
mov dword [ebp - 0x350], 0
jb 0x40e866
mov eax, dword [eax]
lea ecx, [ebp - 0x350]
push ecx
push 0xf003f
push 0
push eax
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x350]
test eax, eax
mov ecx, dword [0x49f9c8]
cmovne ecx, eax
mov dword [0x49f9c8], ecx
mov ecx, edi
call fcn.004100c0
cmp dword [edi + 8], 0
je 0x40ee86
lea eax, [ebp - 0x34c]
mov ecx, edi
push eax
call fcn.00410360
mov dword [ebp - 4], 3
mov ecx, dword [eax]
call fcn.0042cf30
mov dword [ebp - 4], 0xffffffff
or esi, 0xffffffff
mov edx, dword [ebp - 0x34c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e8eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 8]
mov edx, dword [eax + 0x5d4]
mov dword [0x4a1d34], 1
call fcn.0042ab20
mov ecx, dword [edi + 8]
mov eax, dword [ecx + 4]
and eax, 4
mov dword [0x4a1d30], eax
mov eax, dword [ecx + 0x2c]
mov ecx, edi
mov dword [0x4a00d4], eax
call fcn.0040e520
push 0x30
xor eax, eax
mov dword [ebp - 0x90], 7
push 0x20
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x94], 0
mov word [ebp - 0xa4], ax
call fcn.00412d70
xor eax, eax
mov dword [ebp - 4], 4
push 0xffffffffffffffff
push eax
mov word [ebp - 0x8c], ax
lea ecx, [ebp - 0x8c]
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x78], 7
push eax
mov dword [ebp - 0x7c], 0
call fcn.00407ed0
xor eax, eax
mov byte [ebp - 4], 5
push 0xffffffffffffffff
push eax
mov word [ebp - 0xd4], ax
lea ecx, [ebp - 0xd4]
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xc0], 7
push eax
mov dword [ebp - 0xc4], 0
call fcn.00407ed0
xor eax, eax
mov dword [ebp - 0xa8], 7
mov dword [ebp - 0xac], 0
mov word [ebp - 0xbc], ax
push 0x48ff8c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.004074c0
push 0
mov byte [ebp - 4], 8
call fcn.0046087c
add esp, 4
lea ecx, [ebp - 0x74]
push edx
push eax
call fcn.00409430
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.00412f40
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x40ea28
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00407760
push 5
push 0x48ff90
lea ecx, [ebp - 0x2c]
call fcn.00412e10
push 0x48ffa4
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x134]
call fcn.00415220
add esp, 4
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xa
push ecx
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.00415330
add esp, 4
push 0x48ffa4
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xec]
call fcn.004151b0
add esp, 4
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xc
push ecx
mov edx, eax
lea ecx, [ebp - 0x11c]
call fcn.00415330
add esp, 4
push 0x48ffa4
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x104]
call fcn.004151b0
add esp, 4
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xe
push ecx
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.00415330
add esp, 4
push 0x48ff9c
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x5c]
call fcn.004151b0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
call fcn.00412f40
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x40eb09
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00407760
xor eax, eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x4c], 0
cmp eax, 8
jb 0x40eb32
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00407760
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x34], 0
cmp eax, 8
jb 0x40eb64
inc eax
lea ecx, [ebp - 0x104]
push eax
push dword [ebp - 0x104]
call fcn.00407760
xor eax, eax
mov dword [ebp - 0xf0], 7
mov word [ebp - 0x104], ax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xf4], 0
cmp eax, 8
jb 0x40eb9f
inc eax
lea ecx, [ebp - 0x11c]
push eax
push dword [ebp - 0x11c]
call fcn.00407760
xor eax, eax
mov dword [ebp - 0x108], 7
mov word [ebp - 0x11c], ax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x10c], 0
cmp eax, 8
jb 0x40ebda
inc eax
lea ecx, [ebp - 0xec]
push eax
push dword [ebp - 0xec]
call fcn.00407760
xor eax, eax
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], ax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xdc], 0
cmp eax, 8
jb 0x40ec0c
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00407760
xor eax, eax
mov byte [ebp - 4], 8
mov word [ebp - 0x74], ax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
cmp eax, 8
jb 0x40ec42
inc eax
lea ecx, [ebp - 0x134]
push eax
push dword [ebp - 0x134]
call fcn.00407760
push str.TxBugReport
lea ecx, [ebp - 0x74]
call fcn.004074c0
lea eax, [ebp - 0x34c]
mov byte [ebp - 4], 0x11
push eax
mov ecx, edi
call fcn.004117c0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x23c]
mov eax, dword [eax]
push 3
mov dword [ebp - 0x240], ecx
lea ecx, [ebp - 0x240]
push eax
call fcn.00413920
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x240]
call fcn.004074c0
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x44]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.004074c0
mov byte [ebp - 4], 0x15
mov eax, dword [0x4a21a8]
test al, 1
jne 0x40ece1
or eax, 1
mov dword [0x4a21a4], 0
xorps xmm0, xmm0
mov dword [0x4a21a8], eax
push 0x47b6e0
movups xmmword [0x4a2194], xmm0
call fcn.0044e3dd
add esp, 4
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
push 0x64
push 0x1fc1
call fcn.0043d510
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x40ed14
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00407760
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], 0
cmp eax, 8
jb 0x40ed3d
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00407760
xor eax, eax
mov byte [ebp - 4], 0x12
mov word [ebp - 0x5c], ax
lea ecx, [ebp - 0x23c]
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
cmp eax, ecx
je 0x40ed6e
push eax
call fcn.00458d05
add esp, 4
mov byte [ebp - 4], 0x11
mov eax, esi
mov edx, dword [ebp - 0x34c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ed8f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x40eda4
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00407760
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x40edb9
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00407760
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x1c], 0
cmp eax, 8
jb 0x40edeb
inc eax
lea ecx, [ebp - 0xbc]
push eax
push dword [ebp - 0xbc]
call fcn.00407760
mov eax, dword [ebp - 0xc0]
cmp eax, 8
jb 0x40ee09
inc eax
lea ecx, [ebp - 0xd4]
push eax
push dword [ebp - 0xd4]
call fcn.00407760
xor eax, eax
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xc4], 0
cmp eax, 8
jb 0x40ee41
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00407760
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0x8c], ax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
cmp eax, 8
jb 0x40f0a3
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.00407760
jmp 0x40f0a3
push dword [edi + 0x50]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f286
call fcn.004067b0
mov ecx, eax
test ecx, ecx
jne 0x40eeac
push 0x80004005
call fcn.004064f0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x354], eax
lea eax, [ebp - 0x354]
mov dword [ebp - 4], 0x16
push eax
mov ecx, edi
call fcn.0040f360
push 3
push dword [edi + 0x50]
lea eax, [ebp - 0x1bc]
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x1c0], eax
call fcn.00413840
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x1c0]
call fcn.0041d010
mov esi, eax
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x1c0]
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 0x34c], esi
cmp eax, ecx
je 0x40ef21
push eax
call fcn.00458d05
add esp, 4
test esi, esi
je 0x40ef6e
push 3
lea eax, [ebp - 0x344]
push esi
lea ecx, [ebp - 0x348]
mov dword [ebp - 0x348], eax
call fcn.00413920
mov byte [ebp - 4], 0x18
lea ecx, [edi + 0x5c]
push dword [ebp - 0x348]
call fcn.004076d0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x344]
mov eax, dword [ebp - 0x348]
cmp eax, ecx
je 0x40ef6e
push eax
call fcn.00458d05
add esp, 4
mov esi, dword [ebp - 0x354]
push esi
push ecx
lea ecx, [edi + 0x5c]
call fcn.00412960
push 0x48ffa8
push dword [edi + 0x4c]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
call fcn.00460bcb
add esp, 8
mov dword [ebp - 0x350], 0
test eax, eax
mov dword [ebp - 0x35c], 4
lea eax, [ebp - 0x35c]
mov edx, str.AnalyzeModuleUser
sete cl
push eax
lea eax, [ebp - 0x350]
mov byte [ebp - 0x358], cl
push eax
test cl, cl
mov eax, str.AnalyzeModuleKernel
push 0
cmove eax, edx
push eax
push str.SoftwareTencentQQBrowserPrivateCfg
push dword [0x49f9c8]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, dword [ebp - 0x350]
xor ecx, ecx
test eax, eax
cmovne edx, ecx
mov ecx, dword [ebp - 0x34c]
mov dword [ebp - 0x350], edx
test ecx, ecx
je 0x40f01d
test edx, edx
setne al
movzx eax, al
push eax
push dword [ebp - 0x358]
push ecx
mov ecx, edi
call fcn.0040aba0
test al, al
jne 0x40f05b
mov eax, dword [edi + 0x54]
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
push 0
mov dword [ebp - 0x24], eax
call fcn.0046084a
add esp, 4
lea ecx, [eax + 0x7080]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
mov ecx, edi
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00411080
mov eax, dword [edi + 0x74]
lea ecx, [edi + 0x74]
cmp dword [eax - 0xc], 0
jne 0x40f06f
push dword [edi + 0x4c]
call fcn.00412160
mov eax, dword [ebp - 0x34c]
test eax, eax
je 0x40f082
push eax
call fcn.00458d05
add esp, 4
lea edx, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f0a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x354]
mov ecx, edi
push eax
call fcn.004117c0
mov dword [ebp - 4], 0x1c
lea ecx, [ebp - 0x344]
mov eax, dword [eax]
push 3
mov dword [ebp - 0x348], ecx
lea ecx, [ebp - 0x348]
push eax
call fcn.00413920
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x44]
push dword [ebp - 0x348]
call fcn.004074c0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x5c]
push dword [edi + 0x68]
call fcn.004074c0
sub esp, 8
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0xbc]
call fcn.00409590
add esp, 8
mov dword [ebp - 0x358], eax
mov byte [ebp - 4], 0x20
mov edx, dword [edi + 8]
test edx, edx
jne 0x40f120
mov edi, dword [edi + 0x54]
jmp 0x40f13f
movzx eax, word [edx + 0x5e8]
imul ecx, eax, 0x64
movzx eax, word [edx + 0x5ea]
add ecx, eax
imul edi, ecx, 0x2710
add edi, dword [edx + 0x5ec]
test edx, edx
je 0x40f14e
mov ecx, dword [edx + 0x30]
mov dword [ebp - 0x34c], ecx
jmp 0x40f158
mov dword [ebp - 0x34c], 0
mov eax, dword [0x4a21a8]
test al, 1
jne 0x40f18a
or eax, 1
mov dword [0x4a21a4], 0
xorps xmm0, xmm0
mov dword [0x4a21a8], eax
push 0x47b6e0
movups xmmword [0x4a2194], xmm0
call fcn.0044e3dd
add esp, 4
push dword [ebp - 0x358]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
push edi
push dword [ebp - 0x34c]
push 0
push 0x1fc
push 0x1fba
call fcn.0043d510
mov eax, dword [ebp - 0xa8]
cmp eax, 8
jb 0x40f1ce
inc eax
lea ecx, [ebp - 0xbc]
push eax
push dword [ebp - 0xbc]
call fcn.00407760
xor eax, eax
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xac], 0
cmp eax, 8
jb 0x40f200
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00407760
xor eax, eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x4c], 0
cmp eax, 8
jb 0x40f229
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00407760
xor eax, eax
mov byte [ebp - 4], 0x1c
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x344]
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
cmp eax, ecx
je 0x40f25a
push eax
call fcn.00458d05
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x354]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x40f27c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
jmp 0x40f33b
push 0x48da20
lea ecx, [ebp - 0x74]
call fcn.004074c0
push 0x48da20
lea ecx, [ebp - 0x134]
mov dword [ebp - 4], 0x19
call fcn.004074c0
sub esp, 8
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xec]
call fcn.00409590
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0x1b
mov ecx, dword [0x4a21a8]
test cl, 1
jne 0x40f2fa
or ecx, 1
mov dword [0x4a21a4], 0
xorps xmm0, xmm0
mov dword [0x4a21a8], ecx
push 0x47b6e0
movups xmmword [0x4a2194], xmm0
call fcn.0044e3dd
add esp, 4
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x134]
push eax
push 0
push 0
push 2
push 0x1fc
push 0x1fba
call fcn.0043d510
lea ecx, [ebp - 0xec]
call fcn.00407480
lea ecx, [ebp - 0x134]
call fcn.00407480
lea ecx, [ebp - 0x74]
call fcn.00407480
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044df7a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8