joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4758a0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
test eax, eax
je 0x4758b6
lea esi, [eax - 0x20]
mov dword [esp + 0x10], esi
jmp 0x4758c2
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x20], 0
mov dword [esp + 0x14], 1
je 0x47597e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
mov eax, dword [edi]
sub eax, 0x10
mov edx, 1
sub edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or ebp, 0xffffffff
or edx, eax
jge 0x475911
mov ecx, esi
mov eax, edi
call fcn.004014d0
mov eax, dword [edi]
test esi, esi
jl 0x475974
cmp esi, dword [eax - 8]
jg 0x475974
mov dword [eax - 0xc], esi
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + esi*2], dx
test eax, eax
je 0x475962
lea ecx, [esi + 1]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebp, eax
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x475950
push ecx
push eax
call fcn.004e4d4d
add esp, 8
test eax, eax
jl 0x475974
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x475974
mov dword [ecx - 0xc], eax
mov edx, dword [edi]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp ebp, esi
jge 0x4759c4
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], 0
jmp 0x475998
push 0x80070057
call fcn.00401540
mov edi, dword [edi]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 4]
push edi
push edx
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4759c4
push 0xffffffffffffffff
add esi, 0x20
call dword [sym.imp.USER32.dll_MessageBeep]
test esi, esi
je 0x4759ac
lea eax, [esi - 0x20]
jmp 0x4759ae
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x477760
Capabilities:
Get file attributes
Get file system object information

Disassembly:
push ebx
push esi
lea esi, [edi + 0x2b8]
call fcn.004013b0
push 0x2b4
lea ebx, [edi + 4]
push 0
push ebx
mov dword [edi + 0x2bc], 0xffffffff
call fcn.004e8fe0
mov eax, dword [edi]
add esp, 0xc
test eax, eax
je 0x477816
push 0x4209
push 0x2b4
push ebx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, 0x104
or ecx, edx
jge 0x4777ce
mov ecx, 0x104
mov eax, esi
call fcn.004014d0
mov eax, dword [esi]
push eax
mov eax, dword [edi]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x477816
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4777f5
push ecx
push eax
call fcn.004e4d4d
add esp, 8
test eax, eax
jl 0x477819
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x477819
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [edi + 0x2bc], eax
pop esi
pop ebx
ret
push 0x80070057
call fcn.00401540
int3

Function at 0x477b80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4fde5e
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov eax, dword [edi]
sub eax, 0x10
call fcn.004048c0
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x10], 0
mov eax, dword [edi + 4]
sub eax, 0x10
call fcn.004048c0
add eax, 0x10
mov dword [esi + 4], eax
mov byte [esp + 0x10], 1
mov eax, dword [edi + 8]
sub eax, 0x10
call fcn.004048c0
add eax, 0x10
mov dword [esi + 8], eax
mov byte [esp + 0x10], 2
mov eax, dword [edi + 0xc]
sub eax, 0x10
call fcn.004048c0
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
mov edx, dword [edi + 0x34]
mov dword [esi + 0x34], edx
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
Function at 0x47aee0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x21c
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
mov ebx, dword [esp + 0x224]
push esi
push edi
push 0x208
lea eax, [esp + 0x1c]
push 0
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x208
call fcn.004e8fe0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
push str.path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
push reloc.SHELL32.dll_SHChangeNotifyRegister
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x47afa3
push str._safemon_somproxy.dll
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47afa3
lea edi, [esp + 0x18]
call fcn.0041d860
test eax, eax
jne 0x47af7a
xor esi, esi
jmp 0x47af87
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
push str.GetUserFileSafeInfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47af9c
mov dword [ebx + 0x28], eax
jmp 0x47afa3
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e3edb
add esp, 0x21c
ret 4
Function at 0x47e520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5032a8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
mov ebx, dword [esp + 0x24]
mov eax, ebx
mov dword [esp + 0x1c], 0
call fcn.00404930
add edi, 4
lea eax, [ebx + 4]
call fcn.00404930
sub esp, 8
mov eax, esp
mov dword [esp + 0x2c], esp
push eax
lea edi, [esp + 0x34]
call fcn.0048f880
sub esi, ebx
sar esi, 3
push esi
push 0
push ebx
call fcn.0047dc50
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e5b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e5d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x47ead0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
add eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47eb3e
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x47eb0f
cmp eax, 2
jne 0x47eb2a
mov eax, dword [esp]
test esi, esi
je 0x47eb38
test eax, eax
je 0x47eb33
test al, 1
jne 0x47eb2a
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x47eb38
mov eax, 0xd
pop ecx
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8
Function at 0x47f590
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x4d4
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x4cc], eax
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
test esi, esi
jne 0x47f5cc
mov eax, 0x80004005
pop edi
pop esi
mov ecx, dword [esp + 0x4cc]
xor ecx, esp
call fcn.004e3edb
add esp, 0x4d4
ret
push 0x2b0
lea eax, [esp + 0x18]
push 0
push eax
mov dword [esp + 0x1c], 0
call fcn.004e8fe0
add esp, 0xc
push 0x808
push 0x2b4
lea ecx, [esp + 0x18]
push ecx
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test dword [esp + 0x18], 0x20000000
je 0x47f663
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x2d2]
push eax
mov word [esp + 0x2d4], dx
call fcn.004e8fe0
mov edx, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0x2c8]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x47f653
lea eax, [esp + 0x2c8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x47f663
mov ecx, dword [esp + 0xc]
push ecx
lea esi, [esp + 0x10]
mov edi, 1
jmp 0x47f66c
mov edx, dword [esp + 0xc]
xor esi, esi
push edx
xor edi, edi
call fcn.0047f520
mov ecx, dword [esp + 0x4d8]
add esp, 4
pop edi
pop esi
xor ecx, esp
call fcn.004e3edb
add esp, 0x4d4
ret

Function at 0x47f7e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x248
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x244], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x46]
push ecx
mov word [esp + 0x48], ax
call fcn.004e8fe0
add esp, 0xc
push 0x104
lea edx, [esp + 0x40]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x38
lea eax, [esp + 8]
push 0
push eax
call fcn.004e8fe0
add esp, 0xc
lea edx, [esp]
lea ecx, [esp + 0x3c]
push edx
mov dword [esp + 4], 0x3c
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], str.runas
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 1
mov dword [esp + 8], 0x1440
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.004e3edb
add esp, 0x248
ret
Function at 0x47ff30
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
xor ebp, ebp
push ebp
push ebp
push 3
push ebp
push 3
push SHChangeNotifyDeregister
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x47ff5b
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
push edi
push 0x563240
push 0x100000
call fcn.004e538d
mov edi, eax
xor eax, eax
add esp, 8
cmp edi, eax
je 0x48002a
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x100000
push edi
push ebx
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], 0x67452301
mov dword [esi + 0x1c], 0xefcdab89
mov dword [esi + 0x20], 0x98badcfe
mov dword [esi + 0x24], 0x10325476
mov dword [esp + 0x24], eax
call ebp
test eax, eax
je 0x47ffeb
lea esp, [esp]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x47ffeb
mov edx, dword [esp + 0x1c]
cmp dword [edx], 1
je 0x47ffeb
push edi
call fcn.0047fc70
push 0
lea eax, [esp + 0x14]
push eax
push 0x100000
push edi
push ebx
call ebp
test eax, eax
jne 0x47ffc0
push edi
call fcn.004e4aa9
add esp, 4
mov eax, esi
call fcn.0047fd80
mov ecx, dword [esp + 0x18]
push ecx
mov edi, esi
call fcn.0047fea0
mov eax, dword [esp + 0x1c]
xor edx, edx
cmp dword [eax], edx
sete dl
mov ebp, edx
test ebp, ebp
jne 0x48002a
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, 0x510130
call fcn.0049eaf0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x4801d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ff348
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x14], esi
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push 0x516dd4
lea edi, [esp + 0x1c]
mov dword [esp + 0x30], esi
call fcn.00404890
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp - 0xc]
add esp, 0xc
cmp eax, esi
jne 0x480272
lea esi, [ebp - 0x10]
mov eax, esi
call fcn.004048c0
mov edi, dword [esp + 0x2c]
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x24], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x48036d
mov ecx, dword [esi]
push esi
jmp 0x480366
lea ecx, [eax - 1]
mov eax, 0x55555556
imul ecx
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x24], 1
mov eax, dword [ebp - 0xc]
lea edx, [esi + esi*2]
mov esi, eax
sub esi, edx
xor ecx, ecx
cmp esi, eax
jg 0x480314
cmp esi, eax
mov edi, 0x516de0
je 0x4802bd
mov edi, 0x516de8
push ecx
mov eax, esi
sub eax, ecx
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call fcn.0041cd40
mov byte [esp + 0x24], 2
mov edx, dword [eax]
push edx
push edi
lea edi, [esp + 0x1c]
call fcn.004807e0
mov byte [esp + 0x2c], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48030a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
add esi, 3
cmp esi, dword [ebp - 0xc]
jle 0x4802b1
mov esi, dword [esp + 0x14]
add esi, 0xfffffff0
mov eax, esi
call fcn.004048c0
mov edi, dword [esp + 0x2c]
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x24], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x480349
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48036d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x486390
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ff282
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x434], eax
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x440]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x454]
mov dword [esp + 0x44c], 0
push ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x23e]
push edx
mov word [esp + 0x240], cx
call fcn.004e8fe0
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x42]
push ecx
mov word [esp + 0x44], ax
call fcn.004e8fe0
add esp, 0x18
push 0x104
lea edx, [esp + 0x238]
push edx
push 0
lea eax, [esp + 0x28]
push eax
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
push 0x104
lea ecx, [esp + 0x30]
push ecx
push 0
lea edx, [esp + 0x28]
push edx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x238]
push ecx
mov dword [esp + 0x450], 0
push str._s___s
mov dword [esp + 0x18], 1
call fcn.00404890
add esp, 0xc
mov eax, edi
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.004e3edb
add esp, 0x444
ret
Function at 0x486ad0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x508598
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x486b5c
test edi, edi
je 0x486b5c
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x486b5c
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x486b5c
push 0xa4
push eax
push edi
call fcn.004e8fe0
add esp, 0xc
mov dword [esp + 0x24], 0
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x20], 0
call fcn.004283e0
test eax, eax
jge 0x486b70
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x24]
test eax, eax
je 0x486b5c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x80]
push 0
push eax
call edx
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x14]
push edx
lea esi, [edi + 4]
push esi
push ebx
push eax
mov eax, dword [ecx + 0x40]
call eax
test eax, eax
je 0x486b44
call fcn.00492130
push eax
mov ecx, esi
call fcn.00492930
test eax, eax
je 0x486bb1
or dword [edi], 1
cmp dword [esp + 0x10], 0
je 0x486bbb
or dword [edi], 2
push 0x50fe14
push esi
call fcn.004e4707
add esp, 8
test eax, eax
je 0x486bdf
push 0x50fdbc
push esi
call fcn.004e4707
add esp, 8
test eax, eax
jne 0x486be2
or dword [edi], 4
push 0x50fe14
push esi
call fcn.004e4707
add esp, 8
test eax, eax
jne 0x486bf7
or dword [edi], 8
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x24]
test eax, eax
je 0x486c0f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x488380
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4ff5a9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x14], 0
mov ecx, 1
mov dword [esp + 8], ecx
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x106
or eax, ecx
jge 0x4883f6
mov ecx, 0x106
mov eax, esi
call fcn.004014d0
mov ecx, dword [esp + 0x20]
mov eax, dword [esi]
push 0
push ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x48841f
push ecx
push eax
call fcn.004e4d4d
add esp, 8
test eax, eax
jl 0x488444
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x488444
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
push 0x80070057
call fcn.00401540
int3
Function at 0x48a8b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x21c
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
push edi
xor eax, eax
push 0x206
mov edi, ecx
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.004e8fe0
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se_3.exe
push reloc.SHELL32.dll_SHChangeNotifyRegister
mov dword [esp + 0x24], 0x204
call esi
test eax, eax
jne 0x48a94e
cmp dword [esp + 8], 1
jne 0x48a94e
lea edx, [esp + 0x10]
push edx
call fcn.0041de00
add esp, 4
test eax, eax
je 0x48a94e
lea edx, [esp + 0x10]
call fcn.00401600
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004e3edb
add esp, 0x21c
ret
push 0x208
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004e8fe0
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se6.exe
push reloc.SHELL32.dll_SHChangeNotifyRegister
mov dword [esp + 0x24], 0x204
call esi
test eax, eax
jne 0x48a9a3
cmp dword [esp + 8], 1
jne 0x48a9a3
lea ecx, [esp + 0x10]
push ecx
call fcn.0041de00
add esp, 4
test eax, eax
jne 0x48a929
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.004e3edb
add esp, 0x21c
ret
Function at 0x48b270
Capabilities:
Check if file exists

Disassembly:
push ecx
cmp dword [0x56207c], 0xffffffff
push esi
jne 0x48b2cf
push ecx
mov eax, esp
mov dword [esp + 8], esp
push eax
mov ecx, str.deepscancloudcom2.dll
call fcn.00401640
lea esi, [esp + 8]
call fcn.00401000
mov ecx, dword [esp + 8]
add esp, 4
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
neg eax
mov dword [0x56207c], eax
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48b2cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
cmp dword [0x56207c], 1
pop esi
sete al
pop ecx
ret
Function at 0x48c1c0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x509778
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x28], eax
cmp dword [ebp + 0x4c], eax
jne 0x48c215
lea ecx, [esp + 0x30]
push ecx
push eax
push ebp
push 0x48c430
push eax
push eax
mov dword [esp + 0x48], eax
call fcn.004e5813
add esp, 0x18
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x48]
mov edx, dword [0x563288]
cmp eax, 0x32
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
jae 0x48c27f
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x34]
lea edi, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.00404930
mov dword [esp + 0x1c], esi
lea esi, [ebp + 0x50]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebp + 0x2c]
push ecx
call fcn.0048c8d0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x48c2f7
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x34]
lea edi, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.00404930
lea ebx, [ebp + 0x50]
push ebx
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [ebp + 0x2c]
push esi
call fcn.0048c8d0
mov eax, esi
call fcn.0048c860
mov edi, dword [eax + 4]
call fcn.0048c940
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x48c2d1
push edi
call eax
test edi, edi
je 0x48c2de
push edi
call fcn.004e3ed0
add esp, 4
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48c303
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48c335
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8