Function at 0x10042140
Capabilities:
Check for time delay via gettickcount
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101425a4
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x101811b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x6c], esi
mov eax, dword [esi + 0x128]
sub eax, 0x10
push eax
call fcn.10005f50
add eax, 0x10
add esp, 4
mov dword [ebp - 0x54], eax
or ebx, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
je 0x1004284d
cmp dword [esi + 0xf8], 0xc
jne 0x10042307
push dword [esi + 0x210]
lea edi, [esi + 0x208]
push dword [esi + 0x20c]
lea eax, [esi + 0x204]
mov dword [ebp - 0x48], edi
push edi
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.100345c0
add esp, 0x14
call fcn.10058c20
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10042296
push 0x2d
push str.d:_buildlib_commonwnd_pluginwndpopwnd.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1001e980
push 3
push 0x101476d8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1001e980
mov byte [ebp - 4], 2
call fcn.10058c20
mov edi, eax
lea ecx, [ebp - 0x104]
push 0x3b4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10011dd0
mov esi, eax
push str.send_action:media_click
push esi
mov byte [ebp - 4], 3
call fcn.10014590
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x104]
call fcn.10014a50
lea ecx, [ebp - 0x28]
call fcn.10005a20
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.10005a20
mov esi, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x48]
push dword [esi + 0x214]
lea eax, [ebp - 0x48]
push str.ex2_s
push eax
call fcn.100364a0
add esp, 0xc
push 0
push 0
push 1
push dword [eax]
mov byte [ebp - 4], 4
push str.360ad_click
call fcn.10015280
mov ecx, eax
call fcn.10059af0
mov edx, dword [ebp - 0x48]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100422e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esi + 0x210]
lea eax, [esi + 0x204]
push dword [esi + 0x20c]
lea ecx, [esi + 0x1ac]
push edi
push eax
call fcn.10033b60
xor edi, edi
call fcn.100039d0
mov ecx, eax
test ecx, ecx
je 0x10042aa9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x50], eax
push dword [esi + 0xd0]
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 5
push eax
call fcn.100356b0
add esp, 8
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 6
cmp dword [eax - 0xc], edi
je 0x1004235a
push 1
push edi
push dword [ebp - 0x54]
push eax
push 0x1014c460
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
push edi
push dword [esi + 0x214]
lea eax, [ebp - 0x50]
push str.ex1_d
push eax
call fcn.10004580
add esp, 0x10
call fcn.10058c20
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10042485
push 0x2d
push str.d:_buildlib_commonwnd_pluginwndpopwnd.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1001e980
push 3
push 0x101476d8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1001e980
mov byte [ebp - 4], 8
call fcn.10058c20
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x104]
push 0x3c3
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10011dd0
mov dword [ebp - 0x44], eax
push 0x1014c548
push eax
mov byte [ebp - 4], 9
call fcn.10014590
mov ecx, dword [ebp - 0x68]
mov edx, 0x101472e4
test ecx, ecx
cmovne edx, ecx
push edx
push dword [ebp - 0x44]
call fcn.1000dea0
push str.__popId:
push dword [ebp - 0x44]
call fcn.10014590
lea eax, [esi + 0xd8]
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x10042439
mov eax, dword [eax]
push eax
push dword [ebp - 0x44]
call fcn.10014590
push 0x1014c494
push dword [ebp - 0x44]
call fcn.10014590
mov ecx, dword [ebp - 0x44]
add esp, 0x10
push edi
call fcn.10013ed0
mov ecx, dword [ebp - 0x48]
push dword [ebp - 0x44]
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x104]
call fcn.10014a50
lea ecx, [ebp - 0x40]
call fcn.10005a20
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.10005a20
cmp edi, 0x20
jg 0x10042713
push 1
push 0
push 0
push dword [ebp - 0x54]
push 0x1014c460
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp edi, 0x20
jg 0x10042713
call fcn.10058c20
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x1004259f
push 0x2d
push str.d:_buildlib_commonwnd_pluginwndpopwnd.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1001e980
push 3
push 0x101476d8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1001e980
mov byte [ebp - 4], 0xf
call fcn.10058c20
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x104]
push 0x3d2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10011dd0
mov dword [ebp - 0x44], eax
push str.open_failed._popId:
push eax
mov byte [ebp - 4], 0x10
call fcn.10014590
lea ecx, [esi + 0xd8]
add esp, 8
cmp dword [ecx + 0x14], 0x10
jb 0x10042553
mov ecx, dword [ecx]
push ecx
push dword [ebp - 0x44]
call fcn.10014590
push 0x1014c494
push dword [ebp - 0x44]
call fcn.10014590
mov ecx, dword [ebp - 0x44]
add esp, 0x10
push edi
call fcn.10013ed0
mov ecx, dword [ebp - 0x4c]
push dword [ebp - 0x44]
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x104]
call fcn.10014a50
lea ecx, [ebp - 0x40]
call fcn.10005a20
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.10005a20
lea eax, [ebp - 0x58]
mov dword [ebp - 0x48], 0
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x5c], 4
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x58], 0x104
push eax
push str.DefaultBrowserLockEx2
push str.Software360Safe_safemon
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push dword [esi + 0x214]
test eax, eax
lea eax, [ebp - 0x50]
je 0x100425f3
push edi
push str.__d_xex2_s
push eax
call fcn.100341b0
add esp, 0x10
jmp 0x10042605
push dword [ebp - 0x48]
push edi
push str.__d__dex2_s
push eax
call fcn.100341b0
add esp, 0x14
call fcn.100039d0
mov ecx, eax
test ecx, ecx
je 0x10042ab3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x64], eax
cmp dword [esi + 0xec], 0x10
lea edi, [esi + 0xd8]
mov byte [ebp - 4], 0x11
mov eax, edi
jb 0x10042636
mov eax, dword [edi]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10010c80
push dword [eax]
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x12
push str.openex__s
push eax
call fcn.10004580
mov edx, dword [ebp - 0x4c]
add esp, 0xc
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10042674
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.1004ffc0
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x64]
mov edx, dword [eax]
push ecx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, eax
call dword [edx + 0x18]
cmp dword [edi + 0x14], 0x10
jb 0x10042694
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x44]
call fcn.10010c80
push dword [eax]
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x13
push str.openf__s
push eax
call fcn.100364a0
add esp, 0xc
push 0
push 0
push 1
push dword [ebp - 0x50]
mov byte [ebp - 4], 0x14
push dword [eax]
call fcn.10015280
mov ecx, eax
call fcn.10059af0
mov edx, dword [ebp - 0x4c]
mov eax, ebx
mov byte [ebp - 4], 0x13
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100426ed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x44]
mov eax, ebx
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1004270b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x64]
jmp 0x100427f6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x184]
mov ecx, esi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10047880
push dword [esi + 0x214]
mov byte [ebp - 4], 0xa
push dword [eax]
lea eax, [ebp - 0x4c]
push str.ex1_sex2_s
push eax
call fcn.100364a0
add esp, 0x10
mov edi, eax
cmp dword [esi + 0xec], 0x10
lea ecx, [esi + 0xd8]
mov byte [ebp - 4], 0xb
jb 0x1004275f
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x58]
call fcn.10010c80
push dword [eax]
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xc
push str.open__s
push eax
call fcn.100364a0
add esp, 0xc
push 0
push 0
push 1
push dword [edi]
mov byte [ebp - 4], 0xd
push dword [eax]
call fcn.10015280
mov ecx, eax
call fcn.10059af0
mov edx, dword [ebp - 0x5c]
mov eax, ebx
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100427b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x58]
mov eax, ebx
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100427d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4c]
mov eax, ebx
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100427f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x48]
mov eax, ebx
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10042811
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x68]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1004282f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x50]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1004284d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x150]
sub eax, 0x10
push eax
call fcn.10005f50
add eax, 0x10
add esp, 4
mov dword [ebp - 0x60], eax
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 0x15
je 0x10042a53
call fcn.1002d020
lea ecx, [ebp - 0x60]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
call fcn.10058c20
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10042955
push 0x2d
push str.d:_buildlib_commonwnd_pluginwndpopwnd.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1001e980
push 3
push 0x101476d8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1001e980
mov byte [ebp - 4], 0x17
call fcn.10058c20
mov edi, eax
lea ecx, [ebp - 0x104]
push 0x3eb
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10011dd0
mov esi, eax
push str.AsynRunLuaScript:
push esi
mov byte [ebp - 4], 0x18
call fcn.10014590
mov ecx, dword [ebp - 0x60]
mov eax, 0x101472e4
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.1000dea0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x104]
call fcn.10014a50
lea ecx, [ebp - 0x40]
call fcn.10005a20
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x15
call fcn.10005a20
mov esi, dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x184]
mov ecx, esi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10047880
push dword [esi + 0x214]
mov byte [ebp - 4], 0x19
push dword [eax]
lea eax, [ebp - 0x4c]
push str.ex1_sex2_s
push eax
call fcn.100364a0
add esp, 0x10
mov edi, eax
add esi, 0xd8
mov byte [ebp - 4], 0x1a
cmp dword [esi + 0x14], 0x10
jb 0x1004299e
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x58]
call fcn.10010c80
push dword [eax]
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x1b
push str.lua__s
push eax
call fcn.100364a0
add esp, 0xc
push 0
push 0
push 1
push dword [edi]
mov byte [ebp - 4], 0x1c
push dword [eax]
call fcn.10015280
mov ecx, eax
call fcn.10059af0
mov edx, dword [ebp - 0x5c]
mov eax, ebx
mov byte [ebp - 4], 0x1b
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100429f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x58]
mov eax, ebx
mov byte [ebp - 4], 0x1a
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10042a14
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4c]
mov eax, ebx
mov byte [ebp - 4], 0x19
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10042a32
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x48]
mov eax, ebx
mov byte [ebp - 4], 0x15
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10042a50
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x60]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10042a6e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10042a8d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010c1dc
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10003610
push 0x80004005
call fcn.10003610
int3