joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c67c0
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
je 0x4c67f4
push 0
lea edx, [ebp - 4]
push edx
sub eax, ecx
push eax
mov eax, dword [esi + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4c67fd
mov eax, dword [esi]
mov ecx, dword [esi + 4]
sub ecx, eax
cmp dword [ebp - 4], ecx
jne 0x4c67fd
mov dword [esi + 4], eax
mov eax, 1
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
mov dword [esi + 4], edx
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4cb370
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56fe70
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5c3678]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x5cc90c]
mov edx, dword [eax + 0xc]
xor edi, edi
mov ecx, 0x5cc90c
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
lea ebx, [ebx]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + edi*4]
lea eax, [esp + 0x1c]
push eax
call fcn.00423950
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 1
call fcn.004bf140
test al, al
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x1c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cb41d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x4cb449
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
je 0x4cb488
inc dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
call fcn.004b39b0
add esp, 8
test al, al
jne 0x4cb48c
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cb471
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
inc dword [esp + 0x14]
inc edi
cmp edi, 3
jl 0x4cb3d0
cmp dword [esp + 0x14], 0
je 0x4cb4a4
cmp dword [esp + 0x18], 0
jne 0x4cb449
mov ecx, esi
call fcn.004bf3d0
mov bl, al
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cb4d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4cb4f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56fe70
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5c3678]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x5cc90c]
mov edx, dword [eax + 0xc]
xor edi, edi
mov ecx, 0x5cc90c
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
lea ebx, [ebx]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + edi*4]
lea eax, [esp + 0x1c]
push eax
call fcn.00423950
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 1
call fcn.004bf140
test al, al
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x1c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cb59d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x4cb5c9
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
je 0x4cb608
inc dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
call fcn.004b39b0
add esp, 8
test al, al
jne 0x4cb60c
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cb5f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
inc dword [esp + 0x14]
inc edi
cmp edi, 4
jl 0x4cb550
cmp dword [esp + 0x14], 0
je 0x4cb624
cmp dword [esp + 0x18], 0
jne 0x4cb5c9
mov ecx, esi
call fcn.004bf3d0
mov bl, al
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cb655
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4d0dc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x5c3678]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x236]
push ecx
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x238], ax
call fcn.00544310
mov ecx, 0xa
mov esi, 0x591a60
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
lea edx, [ebp - 0x30]
push edx
push 0x5cf3f8
lea eax, [ebp - 0x238]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x238]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
lea ecx, [ebp - 0x238]
test eax, eax
jne 0x4d0e45
mov ecx, 0x57fde0
call fcn.00423950
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0053c15d
mov esp, ebp
pop ebp
ret
Function at 0x4d1c10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565c9d
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5c3678]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x224], ebx
mov eax, dword [0x5cc90c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5cc90c
call edx
add eax, 0x10
mov dword [ebp - 0x21c], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov dword [ebp - 4], ebx
push ecx
mov word [ebp - 0x218], ax
call fcn.00544310
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4d1d2c
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d1ca0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00423be0
push 0x208
lea edx, [ebp - 0x218]
push 0
push edx
call fcn.00544310
mov ecx, dword [ebp - 0x21c]
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0x591b84
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4d1d2c
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d1d01
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.00423be0
lea eax, [ebp - 0x21c]
jmp 0x4d1d5a
mov edx, dword [0x5cc90c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5cc90c
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
mov ebx, 1
mov byte [ebp - 4], 1
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], ebx
mov eax, dword [eax]
sub eax, 0x10
call fcn.00423cf0
add eax, 0x10
or ebx, 2
mov dword [edi], eax
mov dword [ebp - 4], 0
test bl, 1
je 0x4d1d9a
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d1d9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d1dc3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053c15d
mov esp, ebp
pop ebp
ret
Function at 0x4d2d80
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4d2e0b
mov eax, dword [ebp + 8]
test eax, eax
je 0x4d2e0b
cmp word [eax], 0
je 0x4d2e0b
test edi, edi
je 0x4d2e0b
push ebx
push esi
xor bl, bl
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4d2e04
call dword [sym.imp.USER32.dll_EmptyClipboard]
add edi, edi
lea eax, [edi + 2]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4d2dfe
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4d2dfe
mov edx, dword [ebp + 8]
push edi
push edx
xor ecx, ecx
push eax
mov word [edi + eax], cx
call fcn.00545f90
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov bl, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
ret
pop edi
xor al, al
pop esi
pop ebp
ret

Function at 0x4d2e20
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565c48
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5c3678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
push eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.USER32.dll_OpenClipboard]
mov edx, dword [0x5cc90c]
test eax, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x5cc90c
jne 0x4d2e85
call eax
add eax, 0x10
mov dword [ebx], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0xd
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
cmp esi, edi
je 0x4d2eba
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
je 0x4d2eba
mov edx, eax
lea edi, [ebp - 0x10]
call fcn.00423a40
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
mov eax, esi
call fcn.00423cf0
add eax, 0x10
mov dword [ebx], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d2ef2
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
cmp dword [eax + 0x14], 0
push esi
je 0x4d3292
cmp dword [eax + 0x18], 8
jb 0x4d3272
mov esi, dword [eax + 4]
jmp 0x4d3275
lea esi, [eax + 4]
test esi, esi
je 0x4d3292
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4d3296
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x4d329a
xor eax, eax
pop esi
ret
test al, 0x10
je 0x4d3292
mov eax, 1
pop esi
ret
Function at 0x4d32b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5c3678]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00544310
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
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.0053c15d
mov esp, ebp
pop ebp
ret
Function at 0x4d7850
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561b80
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5c3678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ecx, ecx
xor eax, eax
xor edx, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
cmp edx, str.software360TotalSecurity
je 0x4d7998
cmp edx, str.Activity
je 0x4d7998
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
cmp edx, str.LowDiskThreshold
je 0x4d791d
mov eax, dword [0x5cc90c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5cc90c
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.Activity
push str.software360TotalSecurity
push str._s_s
lea edi, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0043bdd0
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x20]
push edx
push str.LowDiskThreshold
push eax
push SysReAllocString
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 4
call esi
mov eax, edi
mov dword [ebp - 4], 0xffffffff
call fcn.004f0b40
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
xor edx, edx
cmp edx, str.LowDiskThresholdUnit
je 0x4d7994
mov eax, dword [0x5cc90c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5cc90c
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.Activity
push str.software360TotalSecurity
push str._s_s
lea edi, [ebp - 0x10]
mov dword [ebp - 4], 1
call fcn.0043bdd0
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x28]
push edx
push str.LowDiskThresholdUnit
push eax
push SysReAllocString
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 4
call esi
mov eax, edi
call fcn.004f0b40
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
test ecx, ecx
jne 0x4d79bd
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx], 0x1f4
mov dword [edx], 0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp ecx, 0xf423f
jbe 0x4d79ca
mov ecx, 0xf423f
cmp eax, 1
mov edx, dword [ebp + 8]
mov dword [edx], ecx
jge 0x4d79f2
test eax, eax
jg 0x4d79da
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
jmp 0x4d79da
Function at 0x4d7a00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561b50
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5c3678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
xor edx, edx
xor ebx, ebx
mov dword [ebp - 0x14], ecx
cmp edx, str.software360TotalSecurity
je 0x4d7ae3
xor eax, eax
cmp eax, str.Activity
je 0x4d7ae3
xor ecx, ecx
cmp ecx, str.LowDiskThreshold
je 0x4d7ae3
mov edx, dword [0x5cc90c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5cc90c
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.Activity
push str.software360TotalSecurity
push str._s_s
lea edi, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0043bdd0
add esp, 0xc
lea ecx, [ebp + 8]
push ecx
push str.software360TotalSecurity
push SysReAllocString
mov dword [ebp + 8], ebx
call esi
test eax, eax
jne 0x4d7ab8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 8], ebx
mov ecx, dword [ebp - 0x10]
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push str.LowDiskThreshold
push ecx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.004f0b40
mov edx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x10], edx
cmp eax, str.software360TotalSecurity
je 0x4d7b8c
xor ecx, ecx
cmp ecx, str.Activity
je 0x4d7b8c
xor edx, edx
cmp edx, str.LowDiskThresholdUnit
je 0x4d7b8c
mov eax, dword [0x5cc90c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5cc90c
call edx
add eax, 0x10
mov dword [ebp + 8], eax
push str.Activity
push str.software360TotalSecurity
push str._s_s
lea edi, [ebp + 8]
mov dword [ebp - 4], 1
call fcn.0043bdd0
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push str.software360TotalSecurity
push SysReAllocString
mov dword [ebp + 0xc], ebx
call esi
test eax, eax
jne 0x4d7b68
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0xc], ebx
mov eax, dword [ebp + 8]
push 4
lea edx, [ebp - 0x10]
push edx
push 4
push str.LowDiskThresholdUnit
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
lea eax, [ebp + 8]
call fcn.004f0b40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d7c20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561b18
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5c3678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0x18], esi
cmp eax, str.software360TotalSecurity
je 0x4d7ce8
xor ecx, ecx
cmp ecx, str.Activity
je 0x4d7ce8
xor edx, edx
cmp edx, str.Notification
je 0x4d7ce8
mov eax, dword [0x5cc90c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5cc90c
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.Activity
push str.software360TotalSecurity
push str._s_s
lea edi, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.0043bdd0
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push str.Notification
mov dword [ebp - 0x14], esi
push eax
mov esi, 4
push SysReAllocString
mov bl, 1
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4d7cda
cmp dword [ebp - 0x14], esi
je 0x4d7cdc
xor bl, bl
lea eax, [ebp - 0x10]
call fcn.004f0b40
test bl, bl
jne 0x4d7cfd
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d7e30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561ae8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push edi
mov eax, dword [0x5c3678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x14], eax
cmp ecx, str.software360TotalSecurity
je 0x4d7eea
xor edx, edx
cmp edx, str.UserProfile
je 0x4d7eea
cmp ecx, str.Count0
je 0x4d7eea
mov edx, dword [0x5cc90c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5cc90c
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.UserProfile
push str.software360TotalSecurity
push str._s_s
lea edi, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0043bdd0
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
push str.Count0
push ecx
push SysReAllocString
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov eax, edi
call fcn.004f0b40
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4d7f00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5614d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push edi
mov eax, dword [0x5c3678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x14], eax
cmp ecx, str.software360TotalSecurity
je 0x4d7fe0
xor edx, edx
cmp edx, str.UserProfile
je 0x4d7fe0
xor eax, eax
cmp eax, str.Count0
je 0x4d7fe0
mov edx, dword [0x5cc90c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5cc90c
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.UserProfile
push str.software360TotalSecurity
push str._s_s
lea edi, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0043bdd0
add esp, 0xc
lea ecx, [ebp + 8]
push ecx
push str.software360TotalSecurity
push SysReAllocString
mov dword [ebp + 8], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x4d7fbc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 8], 0
mov ecx, dword [ebp - 0x10]
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push str.Count0
push ecx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
lea eax, [ebp - 0x10]
call fcn.004f0b40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4dbe70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4dbe87
mov al, 1
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edx
lea eax, [esi + 0x30]
push eax
mov dword [esi + 0x2c], ecx
call dword [sym.imp.USER32.dll_CopyRect]
lea ecx, [esi + 0x54]
push ecx
push 0
push esi
push 0x4dbf30
push 0
push 0
mov dword [esi + 0x44], 0x46000080
mov dword [esi + 0x48], 0
mov dword [esi + 0x40], 0xacbe
call fcn.0053d041
xor edx, edx
add esp, 0x18
test eax, eax
setne dl
mov dword [esi + 0x50], eax
mov al, dl
pop ebp
ret 8
Function at 0x4dbfb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [ebp - 0x20]
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
sub eax, ecx
sub eax, dword [ebp - 0x20]
mov edi, dword [ebp - 4]
add eax, edx
sub edi, dword [ebp - 0xc]
mov esi, ecx
sub esi, edx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 4]
sar ecx, 1
sub eax, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x1c]
add ecx, esi
mov dword [ebp - 0xc], eax
add eax, edi
mov dword [ebp - 4], eax
mov eax, 0x14
lea esi, [ebp - 0x10]
mov dword [ebp - 8], ecx
call fcn.004d2240
cmp byte [ebp + 0xc], 0
jne 0x4dc05b
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
push 5
push 0
push 0
push edx
push eax
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0
push 0
push ecx
push edx
push 0xffffffffffffffff
push ebx
call esi
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
push 1
push 0
push 0
push eax
push ecx
push 0xfffffffffffffffe
push ebx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret