joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45425b
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x24c
lea ebp, [esp - 4]
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x24c], eax
push 0x14
mov eax, 0x4acb1d
call fcn.004711ef
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x1c], esi
cmp esi, edi
jne 0x4542af
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x24c]
xor ecx, ebp
call fcn.0047021a
add ebp, 0x250
leave
ret
push 0x4f39f8
lea ecx, [ebp - 0x10]
call fcn.004028e9
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.0045da4b
push str.360Entclient.exe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004039cd
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x18]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.0040290e
test bl, bl
je 0x45430e
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040290e
jmp 0x45428a
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.004538b7
pop ecx
test eax, eax
jne 0x4542fe
mov ecx, esi
call fcn.0045b9c4
mov esi, eax
cmp esi, edi
jne 0x45433d
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040290e
mov eax, edi
jmp 0x45428c
push 0x208
lea eax, [ebp + 0x44]
push edi
push eax
call fcn.004701a0
mov eax, dword [esi]
add esp, 0xc
push 0x102
lea ecx, [ebp + 0x44]
push ecx
push esi
call dword [eax + 0x34]
push 0xf7
lea ecx, [ebp - 0x18]
call fcn.00432171
push dword [eax]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004025d8
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.0040290e
push edi
mov esi, str.safever
push esi
lea ecx, [ebp - 0x14]
call fcn.0041f018
test eax, eax
jl 0x4543a8
lea eax, [ebp + 0x44]
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.0041d7af
mov dword [ebp], 7
mov esi, 0x4b7748
lea edi, [ebp + 4]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x3a
xor esi, esi
lea eax, [ebp + 0xa]
push esi
push eax
call fcn.004701a0
add esp, 0xc
push 0x96
lea ecx, [ebp - 0x20]
call fcn.00432171
push esi
push esi
push esi
push 0x40
lea ecx, [ebp]
push ecx
mov ecx, dword [ebp - 0x1c]
push 1
push dword [eax]
mov byte [ebp - 4], 4
push dword [ebp - 0x14]
push esi
call fcn.0045d0fb
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040290e
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040290e
xor edi, edi
inc edi
jmp 0x45432b

Function at 0x4544f8
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x4f1850
call fcn.00439cc6
test eax, eax
je 0x454555
mov ecx, eax
call fcn.0045ba9f
test eax, eax
je 0x454555
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
push eax
lea ecx, [ebp - 4]
call fcn.004025d8
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45454a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x45454a
push 4
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.0040290e
leave
ret
Function at 0x45459a
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.004420c4
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004701a0
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x45461e
cmp word [ebp - 0x804], 0
push esi
lea esi, [ebp - 0x804]
je 0x45461a
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x454609
push esi
mov ecx, edi
call fcn.00442370
push esi
call fcn.00470c3e
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
pop ecx
jne 0x4545f5
xor eax, eax
inc eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0047021a
leave
ret
Function at 0x456133
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.BCD00000000Objects9dea862c_5cdd_4e70_acc1_f32b344d4795Elements1600007e
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x456199
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push str.Element
push dword [ebp - 4]
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 8], 1
sete al
jmp 0x45619b
xor eax, eax
pop esi
leave
ret

Function at 0x45619e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
push esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0044d25f
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
shrd eax, ecx, 0x14
push 4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push str.cnt_cpu
mov edi, str.SOFTWARE360Safe_stat
push edi
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
shr ecx, 0x14
call ebx
push 4
lea eax, [ebp - 0x28]
push eax
push 4
push str.cnt_mem_m
push edi
push esi
call ebx
cmp dword [ebp - 0x18], 0
je 0x45627a
push 4
lea eax, [ebp - 0x18]
push eax
push 4
push 0x4bb0a8
push edi
push esi
mov dword [ebp - 0x18], 1
call ebx
push 4
lea eax, [ebp - 0x18]
push eax
push 4
push str.Neverup
push str.SOFTWARELiveUpdate360
push esi
mov dword [ebp - 0x18], 1
call ebx
mov esi, 0x4b2fa4
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
movsd dword es:[edi], dword [esi]
call fcn.00470c3e
pop ecx
add eax, eax
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push str.NeverupBy
push str.SOFTWARELiveUpdate360
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047021a
leave
ret
Function at 0x4563bf
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x4af143
call fcn.004711ef
mov esi, ecx
push dword [ebp + 8]
and dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4563f3
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040290e
xor eax, eax
call fcn.004712c7
ret 8
cmp dword [ebp + 0xc], 1
je 0x456447
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x456442
call fcn.0045ba9f
test eax, eax
je 0x456442
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
je 0x456442
push dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x84]
cmp dword [eax + 4], 0
mov ecx, dword [eax]
jg 0x456442
jl 0x456431
test ecx, ecx
ja 0x456442
xor esi, esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040290e
mov eax, esi
jmp 0x4563eb
xor esi, esi
inc esi
jmp 0x456433
push dword [ebp + 8]
call fcn.00401dea
pop ecx
test eax, eax
je 0x456431
push 0
push dword [ebp + 8]
call fcn.00402346
pop ecx
pop ecx
test eax, eax
jne 0x456442
jmp 0x456431
Function at 0x45654c
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x58
mov eax, 0x4acd6f
call fcn.004711ef
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push str.IsInstalled
push str.SOFTWAREMicrosoftActive_SetupInstalled_ComponentsEF289A85_8E57_408d_BE47_73B55609861A
xor esi, esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x14], esi
je 0x4565cb
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0047021a
add ebp, 0x414
leave
ret
push str.run_ROOTSUPD._r_n
call fcn.00404d3e
pop ecx
lea ecx, [ebp - 0x28]
call fcn.00404da9
push str.ROOTSUPD
push 0x111
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], esi
call fcn.00404dde
test eax, eax
jne 0x45661b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error:_Load_ROOTSUPD_from_resource_fail__err_code_d._r_n
call fcn.00404d3e
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404dd7
xor eax, eax
jmp 0x4565a8
push 0x4f39f8
lea ecx, [ebp - 0x10]
call fcn.004028e9
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00405063
test eax, eax
jne 0x45665e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error:_unpack_ROOTSUPD_to_temp_dir_fail__err_code_d._r_n
call fcn.00404d3e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040290e
jmp 0x45660b
push dword [ebp - 0x10]
push str.unpack_ROOTSUPD_to_path_s._r_n
call fcn.00404d3e
xor eax, eax
push 0x40e
mov word [ebp], ax
lea eax, [ebp + 2]
push esi
push eax
call fcn.004701a0
add esp, 0x14
push str.rootsupd.exe
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x4566ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error:_combine_path_of_ROOTSUPD_fail__err_code_d._r_n
call fcn.00404d3e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040290e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404dd7
mov eax, esi
jmp 0x4565a8
push 0x38
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.004701a0
lea eax, [ebp]
mov dword [ebp - 0x54], eax
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 0x3c
mov dword [ebp - 0x60], 0x440
mov dword [ebp - 0x58], str.open
mov dword [ebp - 0x50], 0x4bb19c
mov dword [ebp - 0x48], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x45672d
cmp dword [ebp - 0x44], 0x20
jle 0x45672d
push str.Create_ROOTSUPD_process_success_r_n
call fcn.00404d3e
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040290e
xor esi, esi
inc esi
jmp 0x4566b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error:_run_ROOTSUPD_fail__err_code_d._r_n
jmp 0x4566a5
Function at 0x456d5c
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x88
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov ecx, 0x4f1850
call fcn.00439d00
mov esi, eax
test esi, esi
je 0x456e0b
push edi
push 0x80
xor edi, edi
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.004701a0
mov eax, dword [esi]
add esp, 0xc
push 0x40
lea ecx, [ebp - 0xc]
push ecx
push esi
call dword [eax + 0x58]
lea eax, [ebp - 0xc]
push eax
call fcn.00470c3e
pop ecx
test eax, eax
jne 0x456db6
inc edi
lea eax, [ebp - 0xc]
push str.10.0.0.1001
push eax
call fcn.00446a3c
pop ecx
pop ecx
test eax, eax
jge 0x456dcd
xor edi, edi
inc edi
test edi, edi
pop edi
je 0x456e0b
push str.Default
lea ecx, [ebp - 0x10]
call fcn.004025d8
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.Skin
push str.SOFTWARE360SafeTheme
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040290e
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop esi
call fcn.0047021a
add ebp, 0x78
leave
ret
Function at 0x4573a5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x18
mov eax, 0x4acea8
call fcn.004711ef
mov edi, ecx
call fcn.00457248
push 0x4f39f8
lea ecx, [ebp - 0x10]
call fcn.004028e9
and dword [ebp - 4], 0
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push eax
call fcn.004701a0
mov ecx, dword [edi + 8]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.0045da4b
test eax, eax
jne 0x45746e
push esi
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.004701a0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4cd5ec
push 0x4cd5f8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4574f9
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push 0x4d01dc
push eax
call fcn.00403ac2
add esp, 0xc
lea esi, [edi + 0x10]
mov eax, dword [esi + 0xc]
push esi
push eax
lea ecx, [ebp - 0x18]
call fcn.0045cc61
mov eax, dword [esi + 0x10]
push esi
push eax
jmp 0x4574e1
lea ecx, [ebp - 0x18]
call fcn.00445219
push dword [eax]
lea eax, [ebp + 0x208]
push dword [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x4574f9
lea ecx, [ebp - 0x18]
call fcn.00445219
push dword [eax + 4]
lea eax, [ebp + 0x208]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.004025d8
mov ecx, edi
call fcn.004563bf
test eax, eax
jne 0x4574d5
mov ecx, 0x4f1850
call fcn.00439cc6
lea ecx, [ebp - 0x18]
call fcn.004562d1
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x24]
call fcn.0045cc61
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.00443c74
test al, al
je 0x457485
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040290e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0047021a
add ebp, 0x414
leave
ret
Function at 0x457d2f
Capabilities:
Create thread

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
je 0x457d4b
push eax
push eax
push ecx
push 0x457d1d
push eax
push eax
call fcn.00470d59
add esp, 0x18
jmp 0x457d50
call fcn.00457527
ret 4

Function at 0x45869d
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.004021dc
test eax, eax
je 0x4586af
xor eax, eax
inc eax
leave
ret
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4586eb
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4586ef
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push esi
call fcn.00402346
pop ecx
pop ecx
test eax, eax
jne 0x4586ef
cmp dword [ebp - 4], eax
jne 0x4586eb
push 1
push 0x4e8d30
push esi
call fcn.00402042
add esp, 0xc
xor eax, eax
jmp 0x4586f2
xor eax, eax
inc eax
pop esi
leave
ret
Function at 0x45b95c
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, 0x80
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor edi, edi
push edi
push esi
push 2
push edi
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x45b9b3
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
cmp dword [ebp - 4], edi
push esi
sete al
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x45bad9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
push 0x40
xor esi, esi
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.004701a0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x10], esi
push 5
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop eax
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x54], 0x44
push esi
mov dword [ebp - 0x28], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
cmp dword [ebp - 0xc], esi
je 0x45bb3a
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x45bc00
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [ebp + 8]
push ebx
xor ebx, ebx
cmp ax, bx
je 0x45bc95
push esi
push edi
mov esi, str..A:
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
push ebx
push 3
movsd dword es:[edi], dword [esi]
push ebx
push 3
movsw word es:[edi], word [esi]
mov word [ebp - 0xc], ax
push closesocket
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x45bc93
push 9
pop ecx
push 0x28
xor eax, eax
mov dword [ebp - 0x48], ebx
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
pop eax
push ebx
lea ecx, [ebp - 0x4c]
push ecx
push eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
push 0xc
lea eax, [ebp - 0x20]
push eax
push 0x2d1400
push esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x45bc8c
cmp dword [ebp - 0x2c], 7
jne 0x45bc8c
inc ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0047021a
leave
ret 4
Function at 0x45bca6
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
and dword [esi], 0
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x45bcd5
xor eax, eax
jmp 0x45bd2d
lea eax, [ebp - 0x230]
push eax
push edi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x45bcf9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x45bcd1
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x228]
je 0x45bd17
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45bcf9
jmp 0x45bd1f
mov eax, dword [ebp - 0x218]
mov dword [esi], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [esi], eax
setne al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047021a
leave
ret 8

Function at 0x45bd3d
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor esi, esi
push esi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, esi
je 0x45bdab
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ebx
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x45bda4
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x45bda4
push eax
push edi
call fcn.00470456
mov esi, eax
neg esi
pop ecx
sbb esi, esi
pop ecx
inc esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047021a
leave
ret 8

Function at 0x45bdc5
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
call fcn.0045bab5
xor ebx, ebx
cmp eax, ebx
je 0x45bde4
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
test eax, eax
jne 0x45bde4
pop ebx
leave
ret
push esi
push edi
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
cmp esi, ebx
je 0x45be3e
push 0x34
push str.360FsFlt
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, ebx
je 0x45be2c
lea eax, [ebp - 4]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x45be2c
cmp dword [ebp - 0x24], 4
jne 0x45be2c
xor ebx, ebx
inc ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop edi
mov eax, ebx
pop esi
jmp 0x45bde1
mov edi, dword [ebp - 4]
jmp 0x45be2c
Function at 0x45be43
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x45be7b
xor eax, eax
jmp 0x45bebc
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x45beaa
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00470456
pop ecx
pop ecx
test eax, eax
je 0x45beb0
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45be8a
jmp 0x45beb3
xor ebx, ebx
inc ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047021a
leave
ret 4
Function at 0x45c078
Capabilities:
Check if file exists
Copy file
Create directory
Delete file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xea4]
sub esp, 0xf24
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0xea0], eax
push ebx
push esi
mov esi, dword [ebp + 0xeac]
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x990], ax
lea eax, [ebp + 0x992]
push eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], esi
call fcn.004701a0
push dword [esi]
mov ebx, 0x104
lea eax, [ebp + 0x990]
push ebx
push eax
call fcn.00472f25
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0x18
push str.uninst.exe
lea eax, [ebp + 0x990]
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp + 0x990]
push eax
call edi
test eax, eax
jne 0x45c102
xor eax, eax
jmp 0x45c267
xor eax, eax
push 0x206
push eax
mov word [ebp + 0xc98], ax
lea eax, [ebp + 0xc9a]
push eax
call fcn.004701a0
add esp, 0xc
lea eax, [ebp + 0xc98]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
push 0xfe
mov word [ebp + 0xb98], ax
xor ebx, ebx
lea eax, [ebp + 0xb9a]
push ebx
push eax
call fcn.004701a0
mov ecx, dword [ebp - 0x7c]
add esp, 0xc
call fcn.0045ba9f
mov ecx, dword [eax]
push 0x80
lea edx, [ebp + 0xb98]
push edx
push eax
call dword [ecx + 0x34]
lea eax, [ebp + 0xb98]
push eax
lea eax, [ebp + 0xc98]
push eax
call esi
lea eax, [ebp + 0xc98]
push eax
call edi
test eax, eax
je 0x45c192
lea eax, [ebp + 0xc98]
push eax
call fcn.00430998
pop ecx
push ebx
lea eax, [ebp + 0xc98]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.Au_.exe
lea eax, [ebp + 0xc98]
push eax
lea eax, [ebp + 0x788]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push ebx
lea eax, [ebp + 0x788]
push eax
lea eax, [ebp + 0x990]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x45c0fb
lea eax, [ebp + 0x788]
push eax
mov esi, 0x400
lea eax, [ebp - 0x78]
push esi
push eax
mov dword [ebp - 0x7c], ebx
call fcn.00472f25
push 0x4bcc28
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00471539
mov eax, dword [ebp - 0x80]
push dword [eax]
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00471539
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0045bad9
add esp, 0x2c
test eax, eax
je 0x45c0fb
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push dword [ebp - 0x7c]
call esi
mov edi, 0x102
jmp 0x45c246
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [ebp - 0x7c]
call esi
cmp eax, edi
je 0x45c238
lea eax, [ebp + 0x788]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0xc98]
push eax
call fcn.00430998
xor eax, eax
pop ecx
inc eax
mov ecx, dword [ebp + 0xea0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047021a
add ebp, 0xea4
leave
ret 4