joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d6a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e248
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x44ef24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea esi, [ebx + 0x20]
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [ebx + 0x10], 0
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0
je 0x40d84c
push 1
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.0040eba0
mov eax, dword [ebp + 8]
push esi
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [ebx + 0x10], 0
jne 0x40d715
push esi
call edi
jmp 0x40d84c
lea eax, [ebp + 0xc]
mov ecx, ebx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040fc90
mov edi, dword [ebp - 0x10]
push esi
cmp edi, dword [ebx]
je 0x40d840
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [edi + 0x14]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x40d846
add eax, 0x24
lea ecx, [ebx + 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040fce0
mov eax, dword [ebx + 8]
mov edi, dword [ebp - 0x14]
cmp edi, eax
je 0x40d778
lea eax, [edi + 0x10]
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + 8]
add eax, 0x24
push eax
call fcn.0040d140
test al, al
mov eax, dword [ebx + 8]
je 0x40d77a
mov edi, eax
cmp edi, eax
je 0x40d7a4
cmp dword [edi + 0x24], 8
lea eax, [edi + 0x10]
jb 0x40d789
mov eax, dword [eax]
push dword [ebp + 8]
push eax
push str.PageStatusManager::UpdateShoppingHintList
push str._s____update_shopping_pattern:_s_tabId:_d
call fcn.00401530
add esp, 0x10
jmp 0x40d828
mov edi, dword [ebp + 0xc]
add edi, 0x24
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x40d7b4
mov eax, dword [edi]
push dword [ebp + 8]
push eax
push str.PageStatusManager::UpdateShoppingHintList
push str._s____new_shopping_pattern:_s__tabId:_d
call fcn.00401530
add esp, 0x10
lea eax, [ebp - 0x14]
lea ecx, [ebx + 8]
push edi
push eax
call fcn.0040fce0
mov edi, dword [ebp - 0x14]
lea ecx, [ebx + 8]
cmp edi, dword [ecx]
je 0x40d7f8
lea eax, [edi + 0x10]
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x24
push eax
call fcn.0040d140
test al, al
je 0x40d828
lea ecx, [ebx + 8]
mov eax, dword [ebp + 0xc]
add eax, 0x24
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xf]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4438cc
call fcn.0040be40
push eax
add eax, 0x10
lea ecx, [ebx + 8]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
call fcn.0040c260
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [edi + 0x28], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebx + 0x14], eax
call edi
mov dword [ebx + 0x14], eax
jmp 0x40d846
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40e170
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, 3
xor eax, eax
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x28]
lock cmpxchg dword [edi], edx
cmp eax, 1
je 0x40e1b2
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
cmp eax, 2
je 0x40e1ce
cmp eax, 3
jne 0x40e1be
push 0xa
call ebx
mov ecx, 3
xor eax, eax
lock cmpxchg dword [edi], ecx
cmp eax, 1
jne 0x40e194
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x40e1ce
cmp dword [esi + 0x24], eax
jne 0x40e1d7
mov eax, 2
xchg dword [edi], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push esi
push 0x40f000
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x2c], eax
cmp dword [esi + 0x2c], 0
je 0x40e1c7
mov eax, dword [esi + 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x2c]
push 0x1388
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp dword [esi + 0x20], 0
je 0x40e229
mov eax, 1
jmp 0x40e22b
xor eax, eax
mov ecx, eax
xor ecx, 1
inc ecx
xchg dword [edi], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40eef0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x40efd9
lea edi, [esi + 0x28]
mov ecx, 3
lock cmpxchg dword [edi], ecx
cmp eax, 1
je 0x40efc7
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
cmp eax, 2
je 0x40efce
cmp eax, 3
jne 0x40ef48
push 0xa
call ebx
mov ecx, 3
xor eax, eax
lock cmpxchg dword [edi], ecx
cmp eax, 1
jne 0x40ef21
jmp 0x40efc7
test eax, eax
jne 0x40efce
cmp dword [esi + 0x24], eax
jne 0x40ef67
mov eax, 2
xchg dword [edi], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push esi
push 0x40f000
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x2c], eax
cmp dword [esi + 0x2c], 0
je 0x40ef55
mov eax, dword [esi + 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x2c]
push 0x1388
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp dword [esi + 0x20], 0
je 0x40efb9
mov ecx, 1
jmp 0x40efbb
xor ecx, ecx
mov eax, ecx
xor eax, 1
inc eax
xchg dword [edi], eax
test ecx, ecx
je 0x40efce
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x40efd9
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4147d0
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4147ba
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4147d8
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
xbegin 0x8b4147d6
js 0x4147fc
xbegin 0x8b4147d6
js 0x4147fc
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x414836
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
or byte gs:[eax], al
add byte [eax], al
inc eax
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x41481d
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x414826
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x414830
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x414812
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x41479c
mov dword [ebp + 8], esi
xor edi, edi

Function at 0x4162a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
js 0x4162be
sbb byte [edx + eax - 0x6a], dh
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.004140e3
in al, 0x38
sbb al, 0x89
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
xlatb
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.004140e3
stosd dword es:[edi], eax
sbb al, 0x3e
pop eax
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x4162d0
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x4162d0
call fcn.004140e3
and ebx, esi
insb byte es:[edi], dx
add eax, 0x3245a8b
fbld tbyte [esi - 0x75]
or al, 0x4b
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.004140e3
sub eax, 0xff6012fc
jne 0x41631a
push dword [ebp + 4]
push dword [ebp]
call fcn.004148e3
adc al, 7
in eax, 0xff
call dword [edi + eax]
add byte [eax], al
add byte [esi - 0x77], ah
push es
jmp 0x416400
mov eax, esi
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.00427ee9
mov esp, ebp
pop ebp
ret
Function at 0x418140
Capabilities:
Check if file exists
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x180c
call fcn.00427f00
mov eax, dword [0x44ef24]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x1804]
push 0x1000
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1804]
push 0x4445b4
push 0x800
push eax
call fcn.0041b1d0
push esi
push 0x800
lea eax, [ebp - 0x1804]
push eax
call fcn.0041b1d0
push 0x4445bc
push 0x800
lea eax, [ebp - 0x1804]
push eax
call fcn.0041b1d0
push esi
push 0x800
lea eax, [ebp - 0x1804]
push eax
call fcn.0041b1d0
push str.vL
push 0x800
lea eax, [ebp - 0x1804]
push eax
call fcn.0041b1d0
push dword [ebp + 8]
lea eax, [ebp - 0x1804]
push 0x800
push eax
call fcn.0041b1d0
push 0x44460c
push 0x800
lea eax, [ebp - 0x1804]
push eax
call fcn.0041b1d0
push 0x14
push esi
lea eax, [ebp - 0x1804]
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ebx, eax
cmp ebx, 6
jne 0x418326
push edi
push 0xc8
push 0x444548
push str.http:__down.360safe.com_setup.exe
call sub.msvcrt.dll__wcsnicmp
add esp, 0xc
test eax, eax
jne 0x41830d
push 0x800
push eax
lea eax, [ebp - 0x804]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x180c], 1
lea eax, [ebp - 0x1808]
mov dword [ebp - 0x1808], 0x800
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x180c]
push eax
push 0x440678
push 0x4406e8
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x418300
push str.360ver.dll
lea eax, [ebp - 0x804]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x418300
lea eax, [ebp - 0x804]
push eax
call fcn.0041ae20
add esp, 4
test eax, eax
je 0x418300
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x418300
push str.IsBetaVersion
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x41830d
push 5
push 0
push 0
push str.http:__down.360safe.com_setupbeta.exe
jmp 0x418318
push 5
push 0
push 0
push str.http:__down.360safe.com_setup.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
cmp dword [ebp + 0x10], 0
jne 0x41833e
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.00427ee9
mov esp, ebp
pop ebp
ret
push 0
call fcn.00426e90
int3
Function at 0x419160
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43eba0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x44ef24]
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 edx, dword [ebp + 0x10]
test edx, edx
je 0x41935d
mov eax, dword [edx]
cmp eax, 0x45534850
jne 0x419267
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x38]
shr eax, 1
push eax
push dword [edx + 8]
call fcn.00417460
mov dword [ebp - 4], 0
call fcn.00408590
mov edi, eax
lea esi, [edi + 0x20]
push esi
mov dword [ebp - 0x3c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [edi + 0x10], 0
mov byte [ebp - 4], 1
je 0x419235
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x14]
cmp eax, 0x1388
ja 0x419235
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.004183d0
mov edi, eax
test edi, edi
je 0x419235
lea ecx, [ebp - 0x34]
call fcn.0040cb60
lea ecx, [edi + 0x3c]
mov byte [ebp - 4], 2
push ecx
push dword [edi]
mov ecx, eax
push 0x3f4
call fcn.0041aac0
mov ecx, eax
call fcn.0041acf0
mov ecx, eax
call fcn.0041ab30
mov ecx, eax
call fcn.00408320
lea ecx, [ebp - 0x24]
call fcn.00407170
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebp - 0x38]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41935d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41935d
cmp eax, 0x534e5354
jne 0x419339
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x38]
shr eax, 1
push eax
push dword [edx + 8]
call fcn.00417460
mov dword [ebp - 4], 3
call fcn.00408590
mov edi, eax
lea esi, [edi + 0x20]
push esi
mov dword [ebp - 0x3c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [edi + 0x10], 0
mov byte [ebp - 4], 4
je 0x41930e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x14]
cmp eax, 0x1388
jbe 0x4192be
mov byte [edi + 0x1c], 0
jmp 0x41930e
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.004183d0
mov ebx, eax
test ebx, ebx
je 0x41930e
lea ecx, [ebp - 0x34]
call fcn.0040cb60
lea ecx, [ebx + 0x3c]
mov byte [ebp - 4], 5
push ecx
push dword [ebx]
mov ecx, eax
push 0x3f2
call fcn.0041aac0
mov ecx, eax
call fcn.0041acf0
mov ecx, eax
call fcn.0041ab30
mov ecx, eax
call fcn.00408320
lea ecx, [ebp - 0x24]
call fcn.00407170
mov byte [edi + 0x1c], 1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebp - 0x38]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41935d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41935d
cmp eax, 0x534e4544
jne 0x41935d
cmp dword [edx + 4], 0x204
jne 0x41935d
mov eax, dword [edx + 8]
push dword [eax + 0x200]
push 0x100
push eax
call fcn.004193e0
xor eax, eax
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.00427ee9
mov esp, ebp
pop ebp
ret 0x10
Function at 0x419db0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ec56
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x44ef24]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x419e5c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x419e5c
call fcn.00417f50
mov edi, eax
jmp 0x419f7b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x419e7f
call fcn.00417f50
jmp 0x419f6e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x419e9d
call fcn.00417f50
jmp 0x419f6e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x419ebe
mov edi, 0x8007000e
jmp 0x419f70
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x419fb4
jb 0x419edc
cmp eax, 0xffffffff
ja 0x419fb4
cmp eax, 0x400
jbe 0x419ef1
push eax
lea ecx, [ebp - 0x418]
call fcn.00417e70
jmp 0x419f17
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x419f17
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x419f2e
mov edi, 0x8007000e
jmp 0x419f70
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x419f4e
call fcn.00417f50
jmp 0x419f6e
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00419c10
mov edi, eax
test esi, esi
je 0x419f7b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x419f94
lea ecx, [ebp - 0x418]
call fcn.00418570
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00427ee9
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00401cf0
int3
Function at 0x41ae20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x44ef24]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x428], ebx
cmp ax, word [0x450078]
jne 0x41af01
mov dword [ebp - 0x418], eax
lea eax, [ebp - 0x418]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360Safe.exe
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41aeed
lea eax, [ebp - 0x424]
mov dword [ebp - 0x41c], 1
push eax
push 0x450078
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x424], 0x208
push eax
push 0
push 0x440678
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x450078
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41aec2
sub ecx, edx
sar ecx, 1
je 0x41aeef
cmp word [ecx*2 + 0x450076], 0x5c
je 0x41aeef
mov eax, 0x5c
mov word [ecx*2 + 0x450078], ax
jmp 0x41aeef
xor ecx, ecx
cmp word [0x450078], 0
mov dword [0x450070], ecx
je 0x41af27
jmp 0x41af07
mov ecx, dword [0x450070]
push ecx
push 0x450078
push ebx
call sub.msvcrt.dll__wcsnicmp
add esp, 0xc
test eax, eax
jne 0x41af27
call fcn.00424830
test eax, eax
jne 0x41b076
cmp dword [0x450a04], 0
jne 0x41b04d
push 0x410
lea eax, [ebp - 0x414]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.00402a40
add esp, 0x14
test eax, eax
je 0x41b09c
cmp word [ebp - 0x414], 0
je 0x41b09c
cmp word [ebp - 0x412], 0x3a
jne 0x41b09c
cmp dword [0x450a00], 0
jne 0x41b044
push 0x4509e8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x450a00], 0
jne 0x41b039
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.004248f0
mov edi, eax
add esp, 4
mov ebx, 0x80004005
test edi, edi
je 0x41b01c
push str.InitLibs
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateObject
push edi
mov dword [ebp - 0x41c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x41c]
mov dword [0x4505e0], eax
test ecx, ecx
je 0x41b08a
push 0x4505e4
mov dword [0x4505e4], 0x100
call ecx
mov ebx, eax
test ebx, ebx
je 0x41b094
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4505dc], 0
xor eax, eax
mov dword [0x450a00], 1
test ebx, ebx
mov ebx, dword [ebp - 0x428]
pop edi
sete al
mov dword [0x450a04], eax
push 0x4509e8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x450a04], 0
je 0x41b09c
lea eax, [ebp - 0x420]
mov dword [ebp - 0x420], 0
push eax
push ebx
mov ecx, 0x4505d8
call fcn.004245a0
test eax, eax
je 0x41b09c
cmp dword [ebp - 0x420], 3
je 0x41b09c
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00427ee9
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x41b00b
xor ebx, ebx
mov dword [0x4505dc], edi
jmp 0x41b01c
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.00427ee9
mov esp, ebp
pop ebp
ret
Function at 0x41cdd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x44ef24]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x624], 0x208
push edi
xor eax, eax
mov dword [ebp - 0x620], 1
mov ecx, 0x82
lea ebx, [esi + 4]
mov dword [esi], 0
mov dword [esi + 0x20c], 0
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x624]
push eax
push ebx
lea eax, [ebp - 0x620]
push eax
push 0x440678
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0x410
lea eax, [ebp - 0x61c]
push 0
push eax
call sub.msvcrt.dll_memset
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x61c]
add esp, 0xc
push str.360TSCommon.dll
push ebx
push eax
call edi
cmp dword [0x450a04], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x41cf70
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esi + 4]
push str.360Base.dll
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
cmp dword [0x450a00], 0
jne 0x41cf67
push 0x4509e8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x450a00], 0
jne 0x41cf5c
lea eax, [ebp - 0x20c]
push eax
call fcn.004248f0
mov edi, eax
add esp, 4
mov ebx, 0x80004005
test edi, edi
je 0x41cf40
push str.InitLibs
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateObject
push edi
mov dword [ebp - 0x620], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x620]
mov dword [0x4505e0], eax
test ecx, ecx
je 0x41cfd2
push 0x4505e4
mov dword [0x4505e4], 0x100
call ecx
mov ebx, eax
test ebx, ebx
je 0x41cfdc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4505dc], 0
xor eax, eax
mov dword [0x450a00], 1
test ebx, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
sete al
mov dword [0x450a04], eax
push 0x4509e8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x450a04], 0
je 0x41cfbf
call fcn.00424830
test eax, eax
jne 0x41cf8f
push eax
lea eax, [ebp - 0x61c]
mov ecx, 0x4505d8
push eax
call fcn.004245a0
test eax, eax
je 0x41cfbf
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x41cfbf
push str.GetDeviceRegistration
push eax
call ebx
push str.ShowPromotion
push dword [esi]
mov dword [esi + 0x20c], eax
call ebx
mov dword [esi + 0x210], eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427ee9
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x41cf2f
xor ebx, ebx
mov dword [0x4505dc], edi
jmp 0x41cf40
Function at 0x4227ad
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x4227b2
mov eax, dword [0x4505b8]
push ebx
xor ebx, ebx
push esi
test eax, eax
jne 0x4227cd
call fcn.004228b8
test eax, eax
je 0x422820
mov eax, dword [0x4505b8]
cmp eax, 1
jne 0x4227ec
push 0xd
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x422820
jmp 0x422875
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov esi, eax
test esi, esi
je 0x42280a
push 0xd
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, esi
jmp 0x422875
push 0x40
mov eax, 0x1000
push eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x422832
push ebx
push ebx
push ebx
push 0xc0000017
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [esi]
push edi
push dword [0x4505b8]
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov edi, eax
test edi, edi
je 0x422858
push 0x8000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x422874
lea edi, [esi + 0xff0]
push esi
push dword [0x4505b8]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x42285e
mov eax, esi
pop edi
pop esi
pop ebx
ret