joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435e2b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x515288
call fcn.004f215e
and dword [ebp - 0x1c], 0
xor eax, eax
mov esi, str.software360TotalSecurity
mov byte [ebp - 0xd], 1
cmp eax, esi
je 0x435ec2
mov ebx, str.DriverUpdater
cmp eax, ebx
je 0x435ec2
mov edi, str.NewDrvNotify
cmp eax, edi
je 0x435ec2
mov eax, dword [0x582d44]
mov ecx, 0x582d44
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
push ebx
push esi
push str._s_s
lea eax, [ebp - 0x14]
call fcn.00429c50
and dword [ebp - 0x18], 0
add esp, 0xc
push 4
pop esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
mov edi, dword [ebp - 0x14]
push edi
push SysReAllocString
mov bl, 1
mov dword [ebp - 0x20], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x435eb6
cmp dword [ebp - 0x18], esi
je 0x435eb8
xor bl, bl
lea eax, [edi - 0x10]
call fcn.0040557a
jmp 0x435ec4
xor bl, bl
cmp bl, 1
jne 0x435ed1
cmp dword [ebp - 0x1c], 0
setne byte [ebp - 0xd]
mov al, byte [ebp - 0xd]
call fcn.004f2236
ret

Function at 0x43a4bb
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x48
mov eax, 0x51b225
call fcn.004f21c7
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x44], ebx
cmp eax, ebx
jne 0x43a4e4
mov esi, edi
call fcn.00404ec9
jmp 0x43a5e8
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4c], eax
cmp eax, 0xffffffff
je 0x43a5d2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
je 0x43a5c6
push 0x582e91
push esi
call fcn.004eb416
mov edi, eax
pop ecx
pop ecx
mov dword [ebp - 0x50], edi
cmp edi, ebx
je 0x43a5c6
push esi
push ebx
push edi
call fcn.004e7380
add esp, 0xc
push ebx
lea eax, [ebp - 0x48]
push eax
push esi
push edi
push dword [ebp - 0x4c]
mov dword [ebp - 0x48], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43a5bd
cmp dword [ebp - 0x48], esi
jne 0x43a5bd
push 0x10
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.004e7380
mov ecx, dword [ebp - 0x50]
add esp, 0xc
push esi
lea edi, [ebp - 0x40]
call fcn.004b8d00
pop ecx
test eax, eax
je 0x43a5bd
lea eax, [ebp - 0x44]
push eax
mov eax, edi
push eax
call fcn.004315ab
mov byte [ebp - 4], 1
mov esi, dword [eax]
push esi
call fcn.004e73fa
pop ecx
push esi
lea esi, [ebp - 0x30]
call fcn.00404dce
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
call fcn.0040557a
push dword [ebp - 0x50]
call fcn.004e85e3
pop ecx
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x54]
lea eax, [ebp - 0x30]
push eax
mov esi, edi
call fcn.004250eb
push ebx
push 1
lea esi, [ebp - 0x30]
call fcn.00404e82
mov eax, edi
call fcn.004f224a
ret
Function at 0x43d38c
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x51ffae
call fcn.004f215e
lea edi, [ebp - 0x10]
call fcn.0040457c
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
mov bl, 1
jne 0x43d3c2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040557a
mov al, bl
call fcn.004f2236
ret
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004047b1
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43d3e8
push dword [ebp - 0x10]
call fcn.00405f50
pop ecx
test eax, eax
jne 0x43d3af
push dword [ebp - 0x10]
call fcn.00441e3c
xor bl, bl
jmp 0x43d3af
Function at 0x442554
Capabilities:
Create process on windows
Read .ini file

Disassembly:
push 0x14
mov eax, 0x51d02c
call fcn.004f215e
mov eax, dword [0x586588]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x442572
cmp word [eax], 0
jne 0x442579
mov dword [ebp - 0x1c], 0x540068
mov eax, dword [0x582d44]
mov ebx, 0x582d44
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
mov edi, 0x400
lea eax, [ebp - 0x14]
call fcn.004239ae
lea edi, [ebp - 0x20]
mov esi, eax
call fcn.0040457c
mov eax, dword [eax]
push str.config.ini
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040557a
or eax, 0xffffffff
lea esi, [ebp - 0x14]
call fcn.00423989
mov eax, dword [0x582d44]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov edi, 0x80
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004239ae
push dword [ebp - 0x14]
push edi
push eax
push 0x52f388
push str.language
push 0x53c2a0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
or eax, 0xffffffff
lea esi, [ebp - 0x18]
call fcn.00423989
mov eax, dword [0x582d44]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004239ae
push dword [ebp - 0x14]
push edi
push eax
push 0x52f388
push str.channel
push 0x53c2a0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
or eax, 0xffffffff
lea esi, [ebp - 0x10]
call fcn.00423989
mov eax, esi
call fcn.00425111
mov esi, dword [ebp - 0x18]
xor edi, edi
cmp dword [esi - 0xc], edi
je 0x4426b1
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], edi
je 0x4426b1
mov eax, dword [0x582d44]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push esi
push dword [ebp - 0x1c]
push eax
call fcn.00404568
mov ebx, dword [ebp - 0x20]
add esp, 0x10
push 5
push edi
push edi
push ebx
push str.Open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [ebx - 0x10]
call fcn.0040557a
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040557a
lea eax, [esi - 0x10]
call fcn.0040557a
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040557a
call fcn.004f2236
ret
Function at 0x442a8c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x442aa7
xor eax, eax
jmp 0x442ba4
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x442aa0
push edi
call fcn.00405f50
pop ecx
test eax, eax
jne 0x442ac8
cmp dword [ebp + 0x10], ebx
je 0x442aa0
push edi
call dword [ebp + 0x10]
jmp 0x442aa0
cmp dword [ebp + 8], ebx
je 0x442ada
push dword [ebp + 8]
call fcn.004e73fa
pop ecx
mov esi, eax
jmp 0x442adc
xor esi, esi
push edi
call fcn.004e73fa
mov dword [esp], 0x582e91
lea esi, [eax + esi + 4]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004eb416
pop ecx
pop ecx
mov dword [esp + 0xc], eax
cmp eax, ebx
je 0x442aa0
cmp dword [ebp + 8], ebx
je 0x442b27
push dword [ebp + 8]
push edi
push 0x540158
push esi
push eax
call fcn.004ef4ec
add esp, 0x14
jmp 0x442b37
push edi
push 0x54016c
push esi
push eax
call fcn.004ef4ec
add esp, 0x10
push 0x40
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.004e7380
xor eax, eax
mov dword [esp + 0x1c], ebx
lea edi, [esp + 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov word [esp + 0x50], ax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [esp + 0x2c]
mov dword [esp + 0x44], 0x44
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
cmp esi, ebx
je 0x442b98
push dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esp + 0x10]
call edi
push dword [esp + 0xc]
call fcn.004e85e3
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447a38
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x5149c5
call fcn.004f215e
xor eax, eax
mov esi, str.software360TotalSecurity
cmp eax, esi
je 0x447ae0
mov edi, 0x541058
cmp eax, edi
je 0x447ae0
mov ebx, str.Device
cmp eax, ebx
je 0x447ae0
mov eax, dword [0x582d44]
mov ecx, 0x582d44
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
push edi
push esi
push str._s_s
lea eax, [ebp - 0x14]
call fcn.00429c50
and dword [ebp - 0x10], 0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push esi
mov esi, SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x447ab8
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x10], 0
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x14]
push dword [ebp + 8]
push 3
push ebx
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov ebx, eax
neg ebx
sbb bl, bl
lea eax, [edi - 0x10]
inc bl
call fcn.0040557a
mov al, bl
jmp 0x447ae2
xor al, al
call fcn.004f2236
ret

Function at 0x448417
Capabilities:
Get geographical location

Disassembly:
push 0x24
mov eax, 0x51cec3
call fcn.004f215e
mov eax, dword [ebp + 8]
xor esi, esi
cmp dword [eax + 0x18], 8
push esi
jb 0x448434
mov eax, dword [eax + 4]
jmp 0x448437
add eax, 4
push eax
push ecx
mov eax, esp
mov dword [ebp + 8], esp
push str.Country
push eax
call fcn.00423662
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
mov ebx, str.SOFTWARE360TotalSecurityDailyNews
push ebx
push eax
mov dword [ebp - 4], esi
call fcn.00405747
or dword [ebp - 4], 0xffffffff
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.004049f3
push eax
call fcn.00404ad9
add esp, 0xc
lea esi, [ebp - 0x20]
call fcn.00401105
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp dword [eax + 0x18], 8
push esi
jb 0x448495
mov eax, dword [eax + 4]
jmp 0x448498
add eax, 4
push eax
push ecx
mov eax, esp
mov dword [ebp + 8], esp
push str.Lang
push eax
call fcn.00423662
push ecx
mov eax, esp
mov dword [ebp + 0xc], esp
push ebx
push eax
mov dword [ebp - 4], 1
call fcn.00405747
or dword [ebp - 4], 0xffffffff
push edi
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
call fcn.004049f3
push eax
call fcn.00404ad9
add esp, 0xc
lea esi, [ebp - 0x30]
call fcn.00401105
call fcn.004f2236
ret
Function at 0x4676a5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
xor ebx, ebx
push edi
cmp ecx, ebx
je 0x46777e
cmp dword [ebp + 8], ebx
je 0x46777e
mov eax, dword [esi + 0x1008]
mov edi, dword [ebp + 0xc]
cmp edi, eax
ja 0x467701
push edi
lea ebx, [esi + 8]
push ebx
push dword [ebp + 8]
call fcn.004ea300
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
sub dword [esi + 0x1008], edi
push dword [esi + 0x1008]
lea eax, [edi + esi + 8]
push eax
push ebx
call fcn.004f01e0
add esp, 0x18
xor eax, eax
inc eax
jmp 0x467780
mov edx, dword [esi + 0x100c]
cmp edx, dword [esi + 0x1010]
jb 0x467736
cmp eax, ebx
jbe 0x467723
push eax
lea eax, [esi + 8]
push eax
push dword [ebp + 8]
call fcn.004ea300
add esp, 0xc
mov eax, dword [esi + 0x1008]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [esi + 0x1008], ebx
jmp 0x4676fc
push ebx
lea edx, [ebp + 0xc]
push edx
mov edx, 0x1000
sub edx, eax
push edx
lea eax, [eax + esi + 8]
push eax
push ecx
mov dword [ebp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x467779
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jbe 0x467779
push dword [ebp + 0x10]
add dword [esi + 0x1008], eax
add dword [esi + 0x100c], eax
push edi
push dword [ebp + 8]
mov ecx, esi
call fcn.004676a5
jmp 0x467780
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x467865
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 4]
push edi
mov edi, dword [esi + 8]
sub edi, eax
je 0x467880
push edi
push eax
push dword [esi]
call fcn.004ea300
add esp, 0xc
mov eax, dword [esi]
and dword [ebp - 4], 0
push 0
lea ecx, [ebp - 4]
push ecx
mov ecx, 0x1000
sub ecx, edi
mov dword [esi + 4], eax
add eax, edi
push ecx
push eax
push dword [esi + 0xc]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov eax, dword [ebp - 4]
pop edi
je 0x4678bd
test eax, eax
je 0x4678bd
add dword [esi + 8], eax
cmp eax, dword [ebp + 8]
sbb eax, eax
inc eax
jmp 0x4678c2
add dword [esi + 8], eax
xor eax, eax
leave
ret 4

Function at 0x467984
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
cmp eax, ecx
jne 0x467996
xor eax, eax
inc eax
leave
ret
push 0
lea edx, [ebp - 4]
push edx
sub eax, ecx
push eax
push ecx
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4679be
mov eax, dword [esi]
mov ecx, dword [esi + 4]
sub ecx, eax
cmp dword [ebp - 4], ecx
jne 0x4679be
mov dword [esi + 4], eax
jmp 0x467991
mov eax, dword [esi]
mov dword [esi + 4], eax
xor eax, eax
leave
ret
Function at 0x468c58
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x577698]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor edi, edi
cmp dword [esi + 0x20], edi
jne 0x468c78
xor eax, eax
jmp 0x468d53
mov eax, dword [esi + 8]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], eax
cmp dword [esi + 4], edi
jbe 0x468c9e
mov ebx, eax
test ebx, ebx
je 0x468c92
push ebx
call fcn.004687ff
inc edi
add ebx, 0xaa0
cmp edi, dword [esi + 4]
jb 0x468c88
xor eax, eax
cmp dword [esi + 0x24], 8
mov dword [ebp - 8], eax
jb 0x468cae
mov ebx, dword [esi + 0x10]
jmp 0x468cb1
lea ebx, [esi + 0x10]
cmp ebx, eax
je 0x468cde
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x468cc8
xor eax, eax
jmp 0x468cde
lea edi, [eax + eax]
mov eax, edi
call fcn.004f3800
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.004406e2
push 0x541fd4
push eax
lea eax, [ebp - 8]
push eax
call fcn.004f0609
add esp, 0xc
cmp dword [ebp - 8], 0
je 0x468d30
test eax, eax
jne 0x468d30
push dword [ebp - 8]
xor edi, edi
inc edi
push edi
lea eax, [ebp - 0xc]
push 4
push eax
mov dword [ebp - 0xc], edi
call fcn.004ecf29
push dword [ebp - 8]
push dword [esi + 4]
push 0xaa0
push dword [esi + 8]
call fcn.004ecf29
push dword [ebp - 8]
call fcn.004ecd4b
add esp, 0x24
mov dword [ebp - 0xc], edi
xor edi, edi
cmp dword [esi + 4], edi
jbe 0x468d50
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x468d44
push ebx
call fcn.004687ff
inc edi
add ebx, 0xaa0
cmp edi, dword [esi + 4]
jb 0x468d3a
mov eax, dword [ebp - 0xc]
lea esp, [ebp - 0x18]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e736b
leave
ret

Function at 0x468e04
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push str.BlockTimes
push str.SOFTWARE360Safe_safemon
xor ebx, ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, dword [esi + 4]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
cmp edx, ebx
jbe 0x468e7e
push edi
xor edi, edi
cmp dword [ebp - 4], ebx
jl 0x468e6f
cmp dword [ebp - 4], edx
jae 0x468e6f
mov ecx, dword [esi + 8]
add ecx, edi
cmp dword [ecx + 0xc], ebx
ja 0x468e6c
cmp dword [ecx + 0x14], ebx
jbe 0x468e6f
inc dword [ebp - 8]
inc dword [ebp - 4]
add edi, 0xaa0
cmp dword [ebp - 4], edx
jb 0x468e53
pop edi
mov ecx, dword [ebp - 8]
add ecx, eax
push ecx
call fcn.00467e02
neg eax
sbb eax, eax
pop ecx
neg eax
dec eax
pop ebx
leave
ret
Function at 0x46e164
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x51b997
call fcn.004f21c7
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x220], edi
mov eax, dword [0x582d44]
mov esi, 0x582d44
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
xor eax, eax
mov dword [ebp - 4], edi
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.004e7380
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x46e22d
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00405721
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.004e7380
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push edi
push 0x5427fc
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x46e22d
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00405721
lea eax, [ebp - 0x21c]
jmp 0x46e254
mov eax, dword [0x582d44]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x224]
mov dword [ebp - 0x220], 1
mov eax, dword [eax]
sub eax, 0x10
call fcn.0040499b
or dword [ebp - 0x220], 2
add eax, 0x10
test byte [ebp - 0x220], 1
mov dword [ebx], eax
je 0x46e281
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.0040557a
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
call fcn.0040557a
mov eax, ebx
call fcn.004f224a
ret

Function at 0x46e93e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x46e958
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
sete al
ret
shr eax, 4
not al
and al, 1
ret

Function at 0x46e960
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x46e96d
xor al, al
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x46e98e
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
neg eax
sbb al, al
inc al
pop ebp
ret
shr al, 4
and al, 1
pop ebp
ret

Function at 0x46eb5d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x577698]
xor eax, ebp
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004e7380
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.004e736b
leave
ret
Function at 0x46ee30
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
cmp esi, 0xffffffff
je 0x46ee4f
test esi, esi
jne 0x46ee77
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x46ee6e
cmp esi, 0xffffffff
je 0x46ee6a
test esi, esi
je 0x46ee6a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x46ee80
cmp esi, 0xffffffff
je 0x46ee7e
test esi, esi
je 0x46ee7e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
pop ebp
ret

Function at 0x46ee83
Capabilities:
Accept command line arguments

Disassembly:
push 0x1c
mov eax, 0x51c94f
call fcn.004f215e
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x46eea7
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
jne 0x46eea7
xor al, al
jmp 0x46eff7
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x46eea0
xor eax, eax
cmp dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
jle 0x46efec
mov ebx, 0x582d44
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + eax*4]
cmp word [eax], 0x2f
jne 0x46efdc
add eax, 2
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00405747
and dword [ebp - 4], 0
mov eax, dword [0x582d44]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, dword [0x582d44]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x3a
lea esi, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.00417292
mov esi, eax
cmp esi, 0xffffffff
je 0x46ef80
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0xc]
call fcn.004219ee
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004044e5
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.0040557a
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
lea eax, [ebp + 0xc]
call fcn.004044a4
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.004044e5
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.0040557a
jmp 0x46ef8b
lea eax, [ebp + 0xc]
lea edi, [ebp - 0x14]
call fcn.004044e5
push 0x22
pop edx
push edx
lea eax, [ebp - 0x10]
call fcn.0046f0c1
call fcn.0046f06d
lea eax, [ebp - 0x14]
call fcn.00425111
push eax
push dword [ebp + 8]
call fcn.0041775c
mov edi, eax
lea eax, [ebp - 0x10]
call fcn.004044e5
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040557a
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040557a
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0040557a
mov eax, dword [ebp - 0x1c]
inc eax
cmp eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jl 0x46eed0
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
call fcn.004f2236
ret 8
Function at 0x46f8da
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push 0xbc
mov eax, 0x527adc
call fcn.004f21c7
lea eax, [ebp - 0xc8]
push eax
call fcn.00433eee
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [ebp - 0x18], bl
je 0x46f992
cmp dword [ebp - 0xc4], ebx
jne 0x46f933
push ebx
push ebx
push 0x1404
push str.Q360InternationSafeClass
call fcn.004368f9
mov ecx, dword [edi]
add esp, 0x10
push 1
call fcn.00490fc0
lea eax, [ebp - 0xc8]
call fcn.0046f854
cmp dword [ebp - 0xc8], ebx
jne 0x46f96a
lea eax, [ebp - 0xc8]
push eax
call fcn.0046f5e6
pop ecx
lea eax, [ebp - 0xc8]
call fcn.0046f722
lea esi, [ebp - 0xc8]
call fcn.0046f68f
call fcn.0046f79d
mov esi, dword [edi]
call fcn.00493086
lea eax, [ebp - 0xc8]
push eax
call fcn.0046f7e0
cmp dword [ebp - 0x20], 1
pop ecx
je 0x46f992
push str.360DesktopLite
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea esi, [ebp - 0xc8]
call fcn.00433f2f
call fcn.004f224a
ret