joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ce40
Capabilities:
Check if file exists
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x1004
call fcn.00449f20
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
cmp dword [eax - 0xc], 0
mov ebx, edx
jne 0x40ce80
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.0044951c
add esp, 0x1004
ret
push eax
call dword [0x468398]
test eax, eax
je 0x40ce67
mov eax, dword [esi + 0x1c]
push edi
push 0x471940
push eax
call fcn.0044b46b
mov edi, eax
add esp, 8
test edi, edi
jne 0x40cebb
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.0044951c
add esp, 0x1004
ret
mov eax, dword [esi + 4]
push 0
push eax
push edi
call fcn.0044cbb8
mov eax, dword [ebx]
push 0x470988
push eax
call fcn.0044b46b
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x40cf79
push 0x1000
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.00449530
mov esi, dword [esi + 8]
mov eax, esi
cdq
and edx, 0xfff
add eax, edx
add esp, 0xc
sar eax, 0xc
and esi, 0x80000fff
jns 0x40cf16
dec esi
or esi, 0xfffff000
inc esi
test eax, eax
jle 0x40cf4d
push ebp
mov ebp, eax
lea ecx, [ecx]
push edi
push 1
lea edx, [esp + 0x18]
push 0x1000
push edx
call fcn.0044b26f
push ebx
push 1
lea eax, [esp + 0x28]
push 0x1000
push eax
call fcn.0044af4d
add esp, 0x20
sub ebp, 1
jne 0x40cf20
pop ebp
test esi, esi
je 0x40cf70
push edi
push 1
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.0044b26f
push ebx
push 1
lea edx, [esp + 0x24]
push esi
push edx
call fcn.0044af4d
add esp, 0x20
push ebx
call fcn.0044ad6f
add esp, 4
push edi
call fcn.0044ad6f
mov ecx, dword [esp + 0x1010]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0044951c
add esp, 0x1004
ret

Function at 0x40d510
Capabilities:
Get common file path

Disassembly:
mov eax, 0x2004
call fcn.00449f20
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x2000], eax
xor eax, eax
test ebx, ebx
je 0x40d605
mov word [ebx], ax
test edi, edi
jne 0x40d54e
mov ecx, dword [esp + 0x2000]
xor ecx, esp
call fcn.0044951c
add esp, 0x2004
ret
push esi
mov esi, 0x471b88
mov ecx, dword [esi]
push edi
push ecx
call fcn.0044a636
add esp, 8
test eax, eax
je 0x40d587
add esi, 8
cmp esi, str.TargetDir
jl 0x40d554
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2000]
xor ecx, esp
call fcn.0044951c
add esp, 0x2004
ret
mov esi, dword [esi + 4]
cmp esi, 0xffffffff
je 0x40d5d8
push 0x2000
lea edx, [esp + 8]
push 0
push edx
call fcn.00449530
add esp, 0xc
push 1
push esi
lea eax, [esp + 0xc]
push eax
push 0
call dword [0x468334]
test eax, eax
je 0x40d5d8
lea eax, [esp + 4]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d5c0
sub eax, edx
sar eax, 1
cmp eax, dword [esp + 0x200c]
jl 0x40d5f0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2000]
xor ecx, esp
call fcn.0044951c
add esp, 0x2004
ret
push eax
lea ecx, [esp + 8]
push ecx
push ebx
call fcn.00449f8b
add esp, 0xc
mov eax, 1
pop esi
mov ecx, dword [esp + 0x2000]
xor ecx, esp
call fcn.0044951c
add esp, 0x2004
ret
Function at 0x40d670
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4010
call fcn.00449f20
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x400c], eax
push ebx
xor eax, eax
push 0x3ffe
mov ebx, ecx
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.00449530
add esp, 0xc
mov dword [esp + 8], 0
test esi, esi
je 0x40d755
test edi, edi
je 0x40d755
lea edx, [esp + 8]
push edx
push esi
call fcn.00462df8
test eax, eax
je 0x40d755
cmp eax, 0x3fff
ja 0x40d755
lea ecx, [esp + 0x10]
push ecx
push eax
push 0
push esi
call fcn.00462dfe
test eax, eax
je 0x40d755
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 8]
push eax
push 0x470d48
lea ecx, [esp + 0x1c]
push ecx
call fcn.00462e04
test eax, eax
je 0x40d755
lea edx, [ebx + ebx]
push edx
push 0
push edi
call fcn.00449530
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
push ecx
push edx
push str._d._d._d._d
dec ebx
push ebx
push edi
call fcn.0044ccf0
add esp, 0x28
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x400c]
xor ecx, esp
call fcn.0044951c
add esp, 0x4010
ret
mov ecx, dword [esp + 0x4010]
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0044951c
add esp, 0x4010
ret

Function at 0x40d770
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x2024
call fcn.00449f20
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x2020], eax
xor eax, eax
test esi, esi
je 0x40d7fb
push 0x2000
mov dword [esp + 8], eax
push eax
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x24], ax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x10], 3
call fcn.00449530
push 0x1000
lea ecx, [esp + 0x30]
push esi
push ecx
call fcn.00449f8b
add esp, 0x18
lea ecx, [esp]
lea edx, [esp + 0x20]
mov eax, 0x614
push ecx
mov dword [esp + 0xc], edx
mov word [esp + 0x14], ax
call dword [0x468354]
mov eax, 1
mov ecx, dword [esp + 0x2020]
xor ecx, esp
call fcn.0044951c
add esp, 0x2024
ret

Function at 0x40e570
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x466ef8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x47eb18]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x10]
push eax
call fcn.0040c160
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
push esi
lea ebx, [esp + 0x1c]
mov dword [esp + 0x30], 0
call fcn.0040e3e0
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e5eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esi + 0x1c]
mov esi, dword [esi + 4]
test esi, esi
je 0x40e5fb
cmp esi, dword [esp + 0x14]
je 0x40e600
call fcn.0044ac35
xor eax, eax
cmp edi, dword [esp + 0x18]
setne al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40e620
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x466ef8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x47eb18]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x10]
push eax
call fcn.0040c160
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
push esi
lea ebx, [esp + 0x1c]
mov dword [esp + 0x30], 0
call fcn.0040e3e0
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e69b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
mov ebx, dword [esi + 0x1c]
mov eax, dword [esi + 4]
add esi, 4
test edi, edi
je 0x40e6b0
cmp edi, eax
je 0x40e6b5
call fcn.0044ac35
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x40e6ca
push eax
push edi
lea ecx, [esp + 0x1c]
push ecx
push esi
call fcn.0040ea20
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40f880
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x467288
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push esi
push edi
mov eax, dword [0x47eb18]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x40f92a
push esi
call dword [0x468398]
test eax, eax
je 0x40f92a
lea eax, [esp + 0x14]
push eax
mov edi, 0x471438
call fcn.00404640
lea ecx, [esp + 0x10]
push ecx
mov edi, esi
mov dword [esp + 0x6c], 0
call fcn.00404640
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0x74], 1
call fcn.00409c30
lea edi, [esp + 0x10]
call fcn.004046e0
lea edi, [esp + 0x14]
mov byte [esp + 0x68], 4
call fcn.004046e0
cmp dword [esp + 0x4c], 0
sete al
test al, al
sete al
test al, al
jne 0x40f940
lea ecx, [esp + 0x48]
call fcn.004098f0
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
lea edx, [esp + 0x14]
push edx
mov edi, 0x471d9c
call fcn.00404640
lea eax, [esp + 0x48]
push eax
lea edx, [esp + 0x18]
lea esi, [esp + 0x3c]
mov byte [esp + 0x6c], 5
call fcn.004097f0
lea edi, [esp + 0x14]
mov byte [esp + 0x68], 7
call fcn.004046e0
cmp dword [esp + 0x40], 0
sete al
test al, al
sete al
test al, al
je 0x40f9a3
cmp dword [esp + 0x3c], 0
sete al
test al, al
sete al
test al, al
je 0x40f9a3
mov edx, dword [ebp + 8]
add edx, 8
mov ecx, esi
call fcn.0040fb20
lea ecx, [esp + 0x14]
push ecx
mov edi, str.Plugin_AfterSetup
call fcn.00404640
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0x18]
lea esi, [esp + 0x2c]
mov byte [esp + 0x6c], 8
call fcn.004097f0
lea edi, [esp + 0x14]
mov byte [esp + 0x68], 0xa
call fcn.004046e0
cmp dword [esp + 0x30], 0
sete al
test al, al
sete al
test al, al
je 0x40fa06
cmp dword [esp + 0x2c], 0
sete al
test al, al
sete al
test al, al
je 0x40fa06
mov edx, dword [ebp + 8]
add edx, 0x20
mov ecx, esi
call fcn.0040fb20
lea eax, [esp + 0x14]
push eax
mov edi, str.Plugin_BeforeUninstall
call fcn.00404640
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x18]
lea esi, [esp + 0x1c]
mov byte [esp + 0x6c], 0xb
call fcn.004097f0
lea edi, [esp + 0x14]
mov byte [esp + 0x68], 0xd
call fcn.004046e0
cmp dword [esp + 0x20], 0
sete al
test al, al
sete al
test al, al
je 0x40fa69
cmp dword [esp + 0x1c], 0
sete al
test al, al
sete al
test al, al
je 0x40fa69
mov edx, dword [ebp + 8]
add edx, 0x38
mov ecx, esi
call fcn.0040fb20
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0xa
call fcn.004047b0
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 7
call fcn.004047b0
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 4
call fcn.004047b0
lea ecx, [esp + 0x48]
call fcn.004098f0
mov eax, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4100d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x47eb18]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [esi + 4]
push ecx
push edx
lea eax, [ebp - 0x80c]
push eax
call dword [0x46839c]
mov eax, dword [esi]
sub eax, 0
je 0x41014b
sub eax, 2
jne 0x4101db
mov ecx, dword [0x481fc0]
mov edx, dword [ecx + 0x10]
push 0x481fc0
call edx
test eax, eax
je 0x4101db
movzx edx, byte [esi + 0x10]
mov ecx, dword [eax]
push 0
push edx
mov edx, dword [esi + 8]
push 1
push 5
push edx
lea edx, [ebp - 0x80c]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
jmp 0x4101db
lea ecx, [ebp - 0x80c]
push ecx
call dword [0x468398]
test eax, eax
je 0x410186
lea edx, [ebp - 0x80c]
push edx
call fcn.004044e0
add esp, 4
test eax, eax
jne 0x410186
call fcn.004492d0
push eax
lea eax, [ebp - 0x80c]
push eax
call fcn.004492e0
add esp, 8
jmp 0x4101db
lea ecx, [ebp - 0x80c]
push ecx
call dword [0x4681f4]
mov ebx, eax
test ebx, ebx
je 0x4101db
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x4101a4
xor eax, eax
jmp 0x4101cd
push esi
call dword [0x468280]
inc eax
cmp eax, 0x3fffffff
jle 0x4101b7
xor eax, eax
jmp 0x4101cd
lea edi, [eax + eax]
mov eax, edi
call fcn.0044bbb0
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.00410f90
push eax
push ebx
call dword [0x4681dc]
test eax, eax
je 0x4101db
call eax
mov eax, 1
lea esp, [ebp - 0x81c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044951c
mov esp, ebp
pop ebp
ret 4
Function at 0x4131b0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x634
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x630], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push edi
push esi
call ecx
xor edi, edi
cmp eax, edi
mov dword [esp + 0x14], eax
jle 0x4132dd
mov ebx, dword [0x468368]
mov dword [esp + 0x10], edi
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x413212
call fcn.0044ac35
mov eax, dword [esi + 0x10]
add eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
cmp dword [ecx - 0xc], 0
je 0x4132cd
cmp dword [esi + 0x1c], 0
je 0x4132c3
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x41324e
push 4
lea edx, [eax + 0x14]
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax]
push 4
push edx
push ecx
push eax
call ebx
jmp 0x4132cd
cmp edx, 1
jne 0x413271
mov edx, dword [eax + 0x18]
mov ebx, dword [edx - 0xc]
add ebx, ebx
push ebx
mov ebx, dword [0x468368]
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax]
push 1
push edx
push ecx
push eax
call ebx
jmp 0x4132cd
cmp edx, 2
jne 0x4132cd
mov ecx, dword [esi]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x18]
push edx
push edi
push esi
call eax
lea eax, [esp + 0x430]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413290
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
push ecx
lea edx, [esp + 0x434]
push edx
mov edx, dword [esp + 0x20]
push 1
lea eax, [esp + 0x230]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
call ebx
jmp 0x4132cd
mov eax, dword [eax]
push ecx
push eax
call dword [0x4683a8]
add dword [esp + 0x10], 0x1c
inc edi
cmp edi, dword [esp + 0x14]
jl 0x4131f0
mov ecx, dword [esp + 0x63c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0044951c
mov esp, ebp
pop ebp
ret 4

Function at 0x414180
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
push esi
mov dword [edi + 0xc], eax
cmp ecx, eax
jne 0x4141b6
pop esi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0044951c
mov esp, ebp
pop ebp
ret
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
push ecx
lea esi, [esp + 0xc]
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.00414bf0
add esp, 4
mov eax, esi
call fcn.00414d00
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [edi], eax
mov eax, dword [esp + 0x6c]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x74]
pop esi
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
xor ecx, esp
mov eax, 1
call fcn.0044951c
mov esp, ebp
pop ebp
ret
Function at 0x414350
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4010
call fcn.00449f20
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x400c], eax
xor eax, eax
push 0x3ffe
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.00449530
add esp, 0xc
mov dword [esp + 4], 0
test edi, edi
je 0x414441
test esi, esi
je 0x414441
lea edx, [esp + 4]
push edx
push edi
call fcn.00462df8
test eax, eax
je 0x414441
cmp eax, 0x3fff
ja 0x414441
lea ecx, [esp + 0xc]
push ecx
push eax
push 0
push edi
call fcn.00462dfe
test eax, eax
je 0x414441
lea edx, [esp + 8]
push edx
lea eax, [esp + 4]
push eax
push 0x470d48
lea ecx, [esp + 0x18]
push ecx
call fcn.00462e04
test eax, eax
je 0x414441
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov eax, dword [esp]
movzx edx, word [eax + 0xc]
movzx ecx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push edx
push eax
push str._d._d._d._d
push 0xf
push esi
call fcn.0044ccf0
add esp, 0x1c
mov eax, 1
mov ecx, dword [esp + 0x400c]
xor ecx, esp
call fcn.0044951c
add esp, 0x4010
ret
mov ecx, dword [esp + 0x400c]
xor ecx, esp
xor eax, eax
call fcn.0044951c
add esp, 0x4010
ret

Function at 0x414ff0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [0x46836c]
push edi
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push str.NetCheck
push str.SOFTWARE360Safe360Scan
mov edi, 4
push 0x80000002
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
call esi
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x468650
push str.SOFTWARE360Safe360Scan
push 0x80000002
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
call esi
cmp dword [esp + 0x10], 0
pop edi
pop esi
je 0x415079
cmp dword [esp + 0xc], 0
je 0x415079
mov eax, 1
add esp, 0x10
ret
xor eax, eax
add esp, 0x10
ret
Function at 0x415130
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x288
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x284], eax
push esi
push edi
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x8a]
push ecx
mov word [esp + 0x8c], ax
call fcn.00449530
add esp, 0xc
mov ecx, 0x12
mov esi, str.Control_PanelDesktopWindowMetrics
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 8]
push edx
mov ecx, 8
mov esi, str.Shell_Icon_Size
lea edi, [esp + 0x1c]
lea eax, [esp + 0x84]
push eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x48]
push eax
push 0x80000001
mov dword [esp + 0x20], 0x20a
mov dword [esp + 0x24], 1
call dword [0x46836c]
test eax, eax
jne 0x415251
mov ecx, dword [0x4686b8]
mov dx, word [0x4686bc]
mov edi, dword [0x468368]
push 6
lea eax, [esp + 0x14]
push eax
push 1
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x24]
mov word [esp + 0x20], dx
push ecx
lea edx, [esp + 0x48]
push edx
push 0x80000001
call edi
test eax, eax
jne 0x415251
mov esi, dword [0x4683b8]
push eax
push 0x1388
push 2
push eax
push 0x2a
push 0x1a
push 0xffff
call esi
mov eax, dword [esp + 8]
push eax
lea ecx, [esp + 0x84]
push ecx
push 1
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x48]
push eax
push 0x80000001
call edi
test eax, eax
jne 0x415251
push eax
push 0x1388
push 2
push eax
push 0x2a
push 0x1a
push 0xffff
call esi
push 0
push 0
push 0x1000
push 0x8000000
call dword [0x468330]
mov ecx, dword [esp + 0x28c]
pop edi
pop esi
xor ecx, esp
call fcn.0044951c
add esp, 0x288
ret

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

Disassembly:
sub esp, 0x80c
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x808], eax
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00449530
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 8]
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360sd.exe
push 0x80000002
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x400
call dword [0x46836c]
test eax, eax
je 0x415304
xor eax, eax
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.0044951c
add esp, 0x80c
ret
cmp word [esp + 8], 0
je 0x4152ed
lea ecx, [esp + 8]
push ecx
call dword [0x468398]
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.0044951c
add esp, 0x80c
ret
Function at 0x4157d0
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x241c
call fcn.00449f20
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x2418], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov edi, ecx
push eax
lea ecx, [esp + 0x201e]
push ecx
mov word [esp + 0x2020], ax
call fcn.00449530
push 0x800
lea edx, [esp + 0x1024]
push 0
push edx
call fcn.00449530
push 0x800
lea eax, [esp + 0x830]
push 0
push eax
call fcn.00449530
push 0x800
lea ecx, [esp + 0x183c]
push 0
push ecx
call fcn.00449530
push 0x800
lea edx, [esp + 0x48]
push 0
push edx
call fcn.00449530
mov esi, dword [0x468334]
add esp, 0x3c
push 1
push 0x1a
lea eax, [esp + 0x201c]
push eax
push 0
call esi
mov ebx, dword [0x46839c]
push str.360Safe
lea ecx, [esp + 0x2018]
push ecx
lea edx, [esp + 0x81c]
push edx
call ebx
lea eax, [esp + 0x814]
push eax
call fcn.00431f40
add esp, 4
push 1
push 0x1a
lea ecx, [esp + 0x201c]
push ecx
push 0
call esi
push str.360SoftMgr
lea edx, [esp + 0x2018]
push edx
lea eax, [esp + 0x181c]
push eax
call ebx
lea ecx, [esp + 0x1814]
push ecx
call fcn.00431f40
add esp, 4
push 1
push 0x23
lea edx, [esp + 0x101c]
push edx
push 0
call esi
push str.360safe_scancache
lea eax, [esp + 0x1018]
push eax
lea ecx, [esp + 0x81c]
push ecx
call ebx
lea edx, [esp + 0x814]
push edx
call fcn.00431f40
mov ecx, dword [edi + 0xc]
add esp, 4
call fcn.0042f360
mov esi, eax
test esi, esi
je 0x415a57
mov eax, dword [esi]
mov ecx, dword [eax + 0x1c]
push esi
call ecx
test eax, eax
jne 0x415953
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
push esi
call eax
test eax, eax
jne 0x415953
push str.360WD
lea ecx, [esp + 0x2018]
push ecx
lea edx, [esp + 0x1c]
push edx
call ebx
lea eax, [esp + 0x14]
push eax
jmp 0x415a4f
lea eax, [esp + 0x2014]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415960
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x2012], 0x5c
jne 0x41599d
lea eax, [esp + 0x2014]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415984
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x2012], cx
lea edx, [esp + 0x2014]
push 0x5c
push edx
call fcn.004495aa
add esp, 8
test eax, eax
je 0x4159d9
xor ecx, ecx
push str.LocalLow360WD
lea edx, [esp + 0x2018]
mov word [eax], cx
push edx
lea eax, [esp + 0x1c]
push eax
call ebx
lea ecx, [esp + 0x14]
push ecx
call fcn.00431f40
add esp, 4
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x2226]
push eax
mov dword [esp + 0x1c], 1
mov word [esp + 0x2228], dx
call fcn.00449530
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x2220]
push edx
lea eax, [esp + 0x18]
push eax
push str.Common_AppData
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000002
mov dword [esp + 0x24], 0
call dword [0x46836c]
test eax, eax
jne 0x415a57
push 0x468830
lea ecx, [esp + 0x2220]
push ecx
call dword [0x4683a0]
lea edx, [esp + 0x221c]
push edx
call fcn.00431f40
add esp, 4
mov ecx, dword [esp + 0x2424]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044951c
add esp, 0x241c
ret
Function at 0x415cd0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4631fb
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [0x47eb18]
xor eax, esp
push eax
lea eax, [esp + 0x80c]
mov dword fs:[0], eax
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x415d15
xor eax, eax
jmp 0x415dc3
mov eax, dword [0x47d064]
mov dword [esp + 4], eax
lea edx, [esp + 4]
push edx
mov dword [esp + 0x818], 0
call fcn.0042fca0
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00449530
mov ecx, dword [esp + 0x10]
add esp, 0xc
push str.safemon360tray.exe__start
push ecx
lea edx, [esp + 0x10]
push edx
call dword [0x46839c]
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415d63
sub eax, edx
sar eax, 1
add eax, eax
push eax
lea ecx, [esp + 0xc]
push ecx
push 1
push str.360Safetray
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [0x468368]
mov eax, dword [esp + 4]
lea edx, [eax - 0xc]
cmp edx, dword [0x47d060]
je 0x415dbe
add eax, 0xfffffff4
push eax
call dword [0x468284]
test eax, eax
jg 0x415dbe
mov eax, dword [esp + 4]
add eax, 0xfffffff4
push eax
call fcn.00449df5
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x80c]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.0044951c
add esp, 0x814
ret