joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424780
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x449248
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x465d44]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
push 0x4681ec
mov dword [esp + 0x14], 0x4681ec
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
dec dword [esi + 0x60]
xor ebx, ebx
cmp dword [esi + 0x60], ebx
mov dword [esp + 0x1c], ebx
jg 0x424823
cmp dword [esi + 0x58], ebx
je 0x424848
cmp dword [esi + 0x54], 8
lea edi, [esi + 0x3c]
jb 0x4247da
mov eax, dword [edi + 4]
jmp 0x4247dd
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, edi
call fcn.0041db90
mov eax, dword [esp + 0x24]
push eax
mov ecx, esi
call fcn.00423f70
test eax, eax
jne 0x424848
mov ecx, dword [esi + 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x424848
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x58], ebx
push 0x4681ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
push 0x4681ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x425243
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax], 0
and dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

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

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x425f22
xor eax, eax
cmp ax, word [esi]
je 0x425f22
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425f2d
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x425f1e
test al, 0x10
je 0x425f1e
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret
push 0x132b3a1
call fcn.00425fbe
pop ecx
xor al, al
pop esi
ret

Function at 0x42721e
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x465d44]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00403681
xor ebx, ebx
push 0x63
lea eax, [ebp - 0x7b]
push ebx
push eax
mov byte [ebp - 0x7c], bl
call fcn.004310d0
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x80]
push eax
push 0x64
lea eax, [ebp - 0x7c]
push eax
push 0x455cac
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x427272
xor al, al
jmp 0x4272b4
mov ecx, dword [ebp - 0x80]
push ebx
push ebx
mov eax, ecx
shr eax, 0x18
push eax
mov edx, ecx
shr edx, 0x10
mov eax, 0xff
and edx, eax
push edx
mov edx, ecx
shr edx, 8
and edx, eax
movzx eax, cl
push edx
push eax
lea eax, [ebp - 0x18]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.004324ca
add esp, 0x20
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.00404e1f
mov al, 1
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004310bf
leave
ret 4
Function at 0x4288e6
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x465d44]
xor eax, ebp
mov dword [ebp + 0x8c], eax
mov eax, dword [ebp + 0x98]
push ebx
push esi
push edi
xor esi, esi
push 0x103
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x77]
push esi
push eax
mov dword [ebp - 0x80], esi
mov byte [ebp - 0x78], 0
call fcn.004310d0
add esp, 0xc
push 1
push 0x23
lea eax, [ebp - 0x78]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x42894a
push str.c:windows_temp
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [ebp + 0x9c], esi
je 0x428970
lea eax, [ebp - 0x78]
push eax
call edi
cmp eax, 0xffffffff
jne 0x428970
push esi
lea eax, [ebp - 0x78]
push eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.Thunder_Network
lea eax, [ebp - 0x78]
push eax
call esi
cmp dword [ebp + 0x9c], 0
je 0x42899d
lea eax, [ebp - 0x78]
push eax
call edi
cmp eax, 0xffffffff
jne 0x42899d
push 0
lea eax, [ebp - 0x78]
push eax
call ebx
push str.DownloadLib
lea eax, [ebp - 0x78]
push eax
call esi
cmp dword [ebp + 0x9c], 0
je 0x4289c4
lea eax, [ebp - 0x78]
push eax
call edi
cmp eax, 0xffffffff
jne 0x4289c4
push 0
lea eax, [ebp - 0x78]
push eax
call ebx
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push eax
call fcn.00404a3e
mov ecx, dword [ebp + 0x8c]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004310bf
add ebp, 0x90
leave
ret
Function at 0x42e45b
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a1d9
mov eax, dword fs:[0]
push eax
mov eax, 0x28d8
call fcn.00432a20
mov eax, dword [0x465d44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28c8], ecx
call fcn.00403681
lea ecx, [ebp - 0x28e4]
call fcn.00416ab0
lea eax, [ebp - 0x28e4]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0042df6b
pop ecx
lea eax, [ebp - 0x28cc]
push eax
lea esi, [ebp - 0x28c0]
mov eax, esi
push eax
mov dword [ebp - 0x28cc], 0x2880
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x42e5f2
mov dword [ebp - 0x28c4], ebx
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x24]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.004324ca
add esp, 0x20
lea eax, [esi + 0x10c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00404a3e
push ebx
push 0x4560b4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0042de8d
cmp eax, 0xffffffff
jne 0x42e5ad
push ebx
push str.VMare
lea ecx, [ebp - 0x40]
call fcn.0042de8d
cmp eax, 0xffffffff
jne 0x42e5ad
push ebx
push str.Virtual
lea ecx, [ebp - 0x40]
call fcn.0042de8d
cmp eax, 0xffffffff
jne 0x42e5ad
push ebx
push str.SLIP
lea ecx, [ebp - 0x40]
call fcn.0042de8d
cmp eax, 0xffffffff
jne 0x42e5ad
push ebx
push str.P.P.P
lea ecx, [ebp - 0x40]
call fcn.0042de8d
cmp eax, 0xffffffff
jne 0x42e5ad
lea eax, [ebp - 0x28e4]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0042de1c
pop ecx
pop ecx
test al, al
je 0x42e5d6
mov esi, dword [esi]
push ebx
lea ecx, [ebp - 0x40]
push 1
cmp esi, ebx
je 0x42e624
mov byte [ebp - 4], bl
call fcn.00404f05
inc dword [ebp - 0x28c4]
cmp dword [ebp - 0x28c4], 0x10
jb 0x42e4e4
jmp 0x42e5f2
mov ecx, dword [ebp - 0x28c8]
lea eax, [ebp - 0x24]
push eax
call fcn.00404e1f
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00404f05
mov bl, 1
lea ecx, [ebp - 0x28e4]
call fcn.004133f0
push dword [ebp - 0x28e4]
call fcn.00430dfa
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004310bf
leave
ret
call fcn.00404f05
jmp 0x42e5f2
Function at 0x42ead4
Capabilities:
Get storage device properties

Disassembly:
push ebp
lea ebp, [esp - 0x2ac0]
mov eax, 0x2b3c
call fcn.00432a20
mov eax, dword [0x465d44]
xor eax, ebp
mov dword [ebp + 0x2abc], eax
push ebx
push esi
mov esi, dword [ebp + 0x2ac8]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push str..PhysicalDrive0
mov byte [ebp - 0x49], bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x50], eax
cmp eax, 0xffffffff
je 0x42ec2c
push edi
push 0xc
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.004310d0
mov edi, 0x2710
push edi
lea eax, [ebp - 0x3c]
push ebx
push eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.004310d0
add esp, 0x18
push ebx
lea eax, [ebp - 0x5c]
push eax
push edi
lea eax, [ebp - 0x3c]
push eax
push 0xc
lea eax, [ebp - 0x48]
push eax
push 0x2d1400
push dword [ebp - 0x50]
mov dword [ebp - 0x5c], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x42ec22
lea eax, [ebp + 0x26d4]
push eax
push 1
push dword [ebp - 0x24]
lea eax, [ebp - 0x3c]
push eax
call fcn.0042e7d0
movsx eax, byte [ebp + 0x26d4]
push eax
call fcn.00435238
add esp, 0x14
test eax, eax
jne 0x42eba9
movsx eax, byte [ebp + 0x26e7]
push eax
call fcn.00435238
pop ecx
test eax, eax
je 0x42ec22
lea eax, [ebp + 0x26d4]
push eax
mov ecx, esi
call fcn.00404e1f
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
mov byte [ebp - 0x4a], 0x20
call fcn.00403c13
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x58], ecx
push eax
mov ecx, esi
call fcn.00403c13
mov edi, eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.00403bf3
lea ecx, [ebp - 0x4a]
push ecx
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x7c]
push eax
call fcn.0042ea56
add esp, 0x18
push dword [ebp - 0x54]
mov ecx, esi
push dword [ebp - 0x58]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x58]
push eax
call fcn.00403b8e
cmp dword [esi + 0x14], ebx
je 0x42ec22
mov byte [ebp - 0x49], 1
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp + 0x2abc]
mov al, byte [ebp - 0x49]
pop esi
xor ecx, ebp
pop ebx
call fcn.004310bf
add ebp, 0x2ac0
leave
ret
Function at 0x42fac3
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x46828c], 0
push esi
jne 0x42fa36
call fcn.0042f95c
test eax, eax
je 0x42fa79
mov eax, dword [0x46828c]
cmp eax, 1
jne 0x42fa57
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x42fa79
pop esi
ret
push eax
call dword [0x468294]
test eax, eax
jne 0x42fac1
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x42fa7d
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x46828c]
call dword [0x468294]
mov edi, eax
test edi, edi
je 0x42faa2
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x42fabe
mov edi, esi
add esi, 0xff0
push edi
push dword [0x46828c]
call dword [0x468290]
add edi, 0x10
cmp edi, esi
jb 0x42faaa
mov eax, edi
pop edi
pop esi
ret
jmp 0x42fa23

Function at 0x4310bf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x465d44]
jne 0x4310c9
repz ret
jmp fcn.00438010

Function at 0x441b5b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00438401
and dword [ebp - 4], 0
cmp dword [0x469028], 0
mov ebx, eax
jne 0x441c0c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x441cbd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x441cbd
push eax
call fcn.0043838f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x469028], eax
call esi
push eax
call fcn.0043838f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x46902c], eax
call esi
push eax
call fcn.0043838f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x469030], eax
call esi
push eax
call fcn.0043838f
pop ecx
mov dword [0x469038], eax
test eax, eax
je 0x441c0c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043838f
pop ecx
mov dword [0x469034], eax
mov eax, dword [0x469034]
cmp eax, ebx
je 0x441c64
cmp dword [0x469038], ebx
je 0x441c64
push eax
call fcn.0043840a
push dword [0x469038]
mov esi, eax
call fcn.0043840a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x441c64
test edi, edi
je 0x441c64
call esi
test eax, eax
je 0x441c5b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x441c5b
test byte [ebp - 0xc], 1
jne 0x441c64
or dword [ebp + 0x10], 0x200000
jmp 0x441c9d
mov eax, dword [0x46902c]
cmp eax, ebx
je 0x441c9d
push eax
call fcn.0043840a
pop ecx
test eax, eax
je 0x441c9d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x441c9d
mov eax, dword [0x469030]
cmp eax, ebx
je 0x441c9d
push eax
call fcn.0043840a
pop ecx
test eax, eax
je 0x441c9d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x469028]
call fcn.0043840a
pop ecx
test eax, eax
je 0x441cbd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x441cbf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100027a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100027b7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100027e8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x100027e4
cmp esi, eax
jae 0x100027e8
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x100027d4
cmp esi, eax
jb 0x100027ee
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x10002f10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x1004d1b0]
xor eax, esp
mov dword [esp + 0x210], eax
mov eax, dword [0x1004f498]
test eax, eax
jne 0x10002fd4
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.1000e5e0
add esp, 0xc
push str.BApi.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10002f69
push 0x104
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp word [esp + 8], 0
jne 0x10002fbd
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 8]
push edx
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push 0x80000002
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x207
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.deepscan_bapi.dll
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
call fcn.10001420
mov esi, eax
lea eax, [esp + 0xc]
call fcn.10002d10
mov dword [0x1004f498], eax
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.1000d1af
add esp, 0x214
ret
Function at 0x100032e0
Capabilities:
Find taskbar
Get common file path

Disassembly:
sub esp, 0x218
mov eax, dword [0x1004d1b0]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
push edi
xor esi, esi
push 0x208
lea eax, [esp + 0x20]
push esi
push eax
mov dword [esp + 0x1c], esi
call fcn.1000e5e0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.Wtsapi32.dll
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebp, ebp
mov dword [esp + 0x18], eax
cmp eax, esi
je 0x10003354
push str.WTSQueryUserToken
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test ebp, ebp
je 0x1000337b
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp eax, 0xffffffff
je 0x1000337b
lea ecx, [esp + 0x10]
push ecx
push eax
call ebp
test eax, eax
jne 0x100033d8
push 0
push str.Shell_TrayWnd
call ebx
test eax, eax
jne 0x10003397
push 0x2710
inc esi
call edi
cmp esi, 0x1e
jb 0x10003360
jmp 0x100033d8
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], 0xffffffff
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x14]
push eax
push 0
push 0x80000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100033d8
lea ecx, [esp + 0x10]
push ecx
push 0xb
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
je 0x100033eb
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x214]
mov eax, dword [esp]
xor ecx, esp
call fcn.1000d1af
add esp, 0x218
ret
Function at 0x10004100
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x1001c195
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x1004d1b0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, ecx
push 0x1004f708
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x10], 0
mov eax, dword [0x1004f490]
test eax, eax
jne 0x10004149
call fcn.10001420
mov dword [0x1004f490], eax
cmp dword [eax + 0x11c], 0
je 0x1000416c
mov eax, dword [eax + 0x110]
test eax, eax
je 0x1000416c
push esi
push edi
push 2
push 0
push str.ServiceDll
push ebx
call eax
jmp 0x1000417e
push esi
push edi
push 2
push 0
push str.ServiceDll
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x1004f708
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret

Function at 0x10004390
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
add eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100043fe
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x100043cf
cmp eax, 2
jne 0x100043ea
mov eax, dword [esp]
test esi, esi
je 0x100043f8
test eax, eax
je 0x100043f3
test al, 1
jne 0x100043ea
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x100043f8
mov eax, 0xd
pop ecx
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8
Function at 0x10004410
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x1001c38b
mov eax, dword fs:[0]
push eax
sub esp, 0x8c0
mov eax, dword [0x1004d1b0]
xor eax, esp
mov dword [esp + 0x8bc], eax
push ebp
push esi
push edi
mov eax, dword [0x1004d1b0]
xor eax, esp
push eax
lea eax, [esp + 0x8d0]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x2be]
mov dword [esp + 0x1c], 0
push ecx
mov word [esp + 0x2c0], ax
call fcn.1000e5e0
add esp, 0xc
push 0x104
lea edx, [esp + 0x2b8]
push edx
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x2b4]
push eax
call ebp
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x4c6]
push edx
mov word [esp + 0x4c8], cx
call fcn.1000e5e0
add esp, 0xc
lea eax, [esp + 0x2b4]
lea edx, [esp + 0x4bc]
call fcn.100026c0
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.360Safe.exe
lea eax, [esp + 0x4c0]
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 0x4bc]
push ecx
call edi
test eax, eax
je 0x10004508
push ebx
lea ecx, [esp + 0x2b8]
call fcn.10002be0
jmp 0x1000464f
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0xb6]
push eax
mov word [esp + 0xb8], dx
call fcn.1000e5e0
add esp, 0xc
lea eax, [esp + 0x2b4]
lea edx, [esp + 0xac]
call fcn.100026c0
push str...360Safe.exe
lea ecx, [esp + 0xb0]
push ecx
call esi
lea edx, [esp + 0xac]
push edx
call edi
test eax, eax
je 0x10004574
lea eax, [esp + 0xac]
push eax
call ebp
push ebx
lea ecx, [esp + 0xb0]
call fcn.10002be0
jmp 0x1000464f
mov edx, dword [0x10049f98]
mov ax, word [0x10049f9c]
mov ecx, 0x20
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [str.Path]
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov word [esp + 0x28], ax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push esi
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x8e8], esi
push 0x80000002
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x10004639
mov ebp, dword [esp + 0x14]
push 0x206
lea ecx, [esp + 0x6ca]
xor eax, eax
push esi
push ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], esi
mov word [esp + 0x6d0], ax
call fcn.1000e5e0
add esp, 0xc
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
lea edi, [esp + 0x1c]
lea esi, [esp + 0x6cc]
mov dword [esp + 0x1c], 0x104
call fcn.10004390
test eax, eax
jne 0x10004637
push ebx
mov ecx, esi
call fcn.10002be0
test ebp, ebp
jmp 0x10004646
xor esi, esi
push ebx
mov ecx, 0x10049f58
call fcn.10002be0
cmp ebp, esi
je 0x1000464f
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [esp + 0x8d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x8bc]
xor ecx, esp
call fcn.1000d1af
add esp, 0x8cc
ret
Function at 0x100063b0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x1004d1b0]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.1000a240
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.1000a2e0
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.1000d1af
add esp, 0x68
ret