joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a13c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10030010]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10002543
xor ebx, ebx
push ebx
push 1
push 2
call sub.WS2_32.dll_socket
mov esi, eax
or edi, 0xffffffff
cmp esi, edi
jne 0x1000a179
push edi
call sub.WS2_32.dll_closesocket
xor eax, eax
jmp 0x1000a1d9
push 2
pop eax
push dword [ebp + 8]
mov word [ebp - 0x18], ax
call sub.WS2_32.dll_htons
push str.127.0.0.1
mov word [ebp - 0x16], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x14], eax
push 0x10
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, edi
jne 0x1000a1ae
push esi
jmp 0x1000a170
push 0x78
push esi
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, edi
je 0x1000a1ab
push dword [ebp - 0x1c]
mov edi, dword [ebp + 0x10]
push esi
call fcn.10009fde
pop ecx
pop ecx
push ebx
push ebx
push eax
push 0x1000a072
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001517d
leave
ret
Function at 0x1000a3b6
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, eax
xor edx, edx
push 3
lea eax, [edi + 2]
pop ebx
div ebx
mov ecx, dword [ebp + 0x10]
shl eax, 2
inc eax
cmp dword [ecx], eax
jae 0x1000a3e0
push 6
mov dword [ecx], eax
pop eax
jmp 0x1000a4c2
xor edx, edx
push 3
mov eax, edi
pop ebx
div ebx
mov ecx, dword [ebp + 0xc]
xor edx, edx
imul eax, eax, 3
test eax, eax
jbe 0x1000a45f
dec eax
push ebx
pop edi
div edi
mov edi, eax
inc edi
mov edx, edi
imul edx, edx, 3
movzx eax, byte [esi]
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
movzx eax, byte [esi + 1]
movzx ebx, byte [esi]
shr eax, 4
shl ebx, 4
add eax, ebx
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
movzx eax, byte [esi + 2]
movzx ebx, byte [esi + 1]
shr eax, 6
lea eax, [eax + ebx*4]
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
movzx eax, byte [esi + 2]
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
add esi, 3
dec edi
jne 0x1000a402
mov edi, dword [ebp + 8]
cmp edx, edi
jae 0x1000a4b5
movzx eax, byte [esi]
inc edx
cmp edx, edi
jae 0x1000a471
movzx esi, byte [esi + 1]
jmp 0x1000a473
xor esi, esi
mov ebx, eax
shr ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], bl
shl eax, 4
mov ebx, esi
shr ebx, 4
add ebx, eax
and ebx, 0x3f
mov al, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
cmp edx, edi
jae 0x1000a4ab
and esi, 0xf
movsx eax, byte [esi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x1000a4ae
push 0x3d
pop eax
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov eax, dword [ebp + 0x10]
mov byte [ecx], 0
sub ecx, dword [ebp + 0xc]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1000bd37
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x28], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
xor eax, eax
pop ebp
ret

Function at 0x1000bf7c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [0x10038d70]
mov ebx, eax
push edi
mov eax, esi
call fcn.1000cd2c
test eax, eax
jne 0x1000c07e
mov ecx, dword [0x10038d74]
cmp ecx, 1
jl 0x1000c07b
cmp ecx, 0x80
jg 0x1000c07b
mov eax, dword [ebp + 0xc]
xor edx, edx
div ecx
test edx, edx
jne 0x1000c07b
test cl, 3
jne 0x1000c07b
mov edx, esi
imul edx, edx, 0x60
mov edx, dword [edx + 0x1003c6f0]
test edx, edx
je 0x1000bff4
push 0x10038df8
push 0x10038d78
push eax
push ebx
push dword [ebp + 8]
call edx
add esp, 0x14
jmp 0x1000c07e
cmp dword [ebp + 0xc], 0
je 0x1000c077
mov edi, 0x10038d78
jmp 0x1000c007
mov esi, dword [0x10038d70]
xor edx, edx
test ecx, ecx
jle 0x1000c02e
mov ecx, dword [ebp + 8]
sub ecx, edi
lea eax, [edx + 0x10038d78]
mov esi, dword [ecx + eax]
xor dword [eax], esi
add edx, 4
cmp edx, dword [0x10038d74]
jl 0x1000c012
mov esi, dword [0x10038d70]
imul esi, esi, 0x60
push 0x10038df8
push ebx
push edi
call dword [esi + 0x1003c6d4]
add esp, 0xc
test eax, eax
jne 0x1000c07e
mov ecx, dword [0x10038d74]
xor edx, edx
test ecx, ecx
jle 0x1000c06d
mov esi, ebx
sub esi, edi
lea eax, [edx + 0x10038d78]
mov ecx, dword [esi + eax]
mov dword [eax], ecx
mov ecx, dword [0x10038d74]
add edx, 4
cmp edx, ecx
jl 0x1000c055
add dword [ebp + 8], ecx
add ebx, ecx
sub dword [ebp + 0xc], ecx
jne 0x1000c001
xor eax, eax
jmp 0x1000c07e
push 0x10
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1000c3bd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10030010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x10039e98]
push edi
mov ebx, ecx
mov edi, edx
mov eax, esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edi
call fcn.1000cd2c
test eax, eax
jne 0x1000c4ca
mov ecx, dword [0x10039e9c]
cmp ecx, 1
jl 0x1000c4c7
cmp ecx, 0x80
jg 0x1000c4c7
mov eax, dword [ebp + 8]
xor edx, edx
div ecx
test edx, edx
jne 0x1000c4c7
test cl, 3
jne 0x1000c4c7
mov ecx, esi
imul ecx, ecx, 0x60
mov ecx, dword [ecx + 0x1003c6f4]
test ecx, ecx
je 0x1000c448
push 0x10039f20
push 0x10039ea0
push eax
push edi
push ebx
call ecx
add esp, 0x14
jmp 0x1000c4ca
cmp dword [ebp + 8], 0
je 0x1000c4c3
jmp 0x1000c456
mov esi, dword [0x10039e98]
imul esi, esi, 0x60
push 0x10039f20
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [esi + 0x1003c6d8]
add esp, 0xc
test eax, eax
jne 0x1000c4ca
mov eax, dword [0x10039e9c]
xor edi, edi
test eax, eax
jle 0x1000c4b3
mov ecx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov eax, 0x10039ea0
sub esi, ebx
sub ebx, eax
sub ecx, eax
mov dword [ebp - 0x20], ecx
lea eax, [edi + 0x10039ea0]
lea edx, [ebx + eax]
mov ecx, dword [esi + edx]
xor ecx, dword [eax]
mov edx, dword [edx]
mov dword [eax], edx
mov edx, dword [ebp - 0x20]
mov dword [edx + eax], ecx
mov eax, dword [0x10039e9c]
add edi, 4
cmp edi, eax
jl 0x1000c48f
mov ebx, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
add ebx, eax
sub dword [ebp + 8], eax
mov dword [ebp - 0x1c], ebx
jne 0x1000c450
xor eax, eax
jmp 0x1000c4ca
push 0x10
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001517d
leave
ret
Function at 0x1000d413
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebx + 0x70]
mov eax, esi
call fcn.1000d303
test eax, eax
jne 0x1000d553
imul esi, esi, 0x68
push edi
mov edi, dword [esi + 0x1003d7c0]
push dword [esi + 0x1003d7c4]
mov dword [ebp - 8], edi
call fcn.10015269
push edi
mov dword [ebp - 4], eax
call fcn.10015269
cmp dword [ebp - 4], 0
pop ecx
mov edi, eax
pop ecx
mov dword [ebp - 0xc], edi
je 0x1000d544
test edi, edi
je 0x1000d53b
push edi
push ebx
call dword [esi + 0x1003d814]
mov edi, eax
xor eax, eax
pop ecx
pop ecx
cmp edi, eax
jne 0x1000d519
cmp dword [esi + 0x1003d7c4], eax
jbe 0x1000d49f
mov ecx, dword [ebx + 0xe8]
mov cl, byte [ecx + eax]
mov edx, dword [ebp - 4]
xor cl, 0x5c
mov byte [eax + edx], cl
inc eax
cmp eax, dword [esi + 0x1003d7c4]
jb 0x1000d484
push ebx
call dword [esi + 0x1003d80c]
mov edi, eax
pop ecx
test edi, edi
jne 0x1000d519
push dword [esi + 0x1003d7c4]
push dword [ebp - 4]
push ebx
call dword [esi + 0x1003d810]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1000d519
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
call dword [esi + 0x1003d810]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1000d519
push dword [ebp - 4]
push ebx
call dword [esi + 0x1003d814]
pop ecx
pop ecx
mov edi, eax
xor ecx, ecx
cmp edi, ecx
jne 0x1000d519
cmp dword [ebp - 8], ecx
jbe 0x1000d512
mov esi, dword [ebp - 4]
sub esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp ecx, dword [eax]
jae 0x1000d512
mov eax, dword [ebp + 8]
add eax, ecx
mov dl, byte [esi + eax]
inc ecx
mov byte [eax], dl
cmp ecx, dword [ebp - 8]
jb 0x1000d4fb
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
xor edi, edi
push dword [ebx + 0xe8]
call fcn.1001518c
push dword [ebp - 0xc]
call fcn.1001518c
push dword [ebp - 4]
call fcn.1001518c
add esp, 0xc
mov eax, edi
jmp 0x1000d552
push dword [ebp - 4]
call fcn.1001518c
pop ecx
test edi, edi
je 0x1000d54f
push edi
call fcn.1001518c
pop ecx
push 0xd
pop eax
pop edi
pop esi
leave
ret
Function at 0x1000d556
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, eax
call fcn.1000d303
test eax, eax
jne 0x1000d591
push esi
mov esi, ebx
imul esi, esi, 0x68
mov dword [edi + 0x70], ebx
mov eax, dword [esi + 0x1003d7c0]
push dword [esi + 0x1003d7c4]
mov dword [ebp - 4], eax
call fcn.10015269
pop ecx
mov dword [ebp - 8], eax
test eax, eax
jne 0x1000d594
push 0xd
pop eax
pop esi
pop ebx
leave
ret
push dword [esi + 0x1003d7c4]
call fcn.10015269
pop ecx
mov dword [edi + 0xe8], eax
test eax, eax
jne 0x1000d5ba
push 0xd
pop ebx
push dword [ebp - 8]
call fcn.1001518c
pop ecx
mov eax, ebx
jmp 0x1000d590
mov ecx, dword [esi + 0x1003d7c4]
cmp ecx, 0x10
jae 0x1000d602
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
push 0x10
push 0x1003c078
mov eax, ebx
call fcn.1000c619
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x1000d682
mov eax, dword [esi + 0x1003d7c4]
cmp dword [ebp - 4], eax
jae 0x1000d632
sub eax, dword [ebp - 4]
push eax
mov eax, dword [edi + 0xe8]
add eax, dword [ebp - 4]
jmp 0x1000d62a
push 0x10
push 0x1003c078
push eax
call fcn.10017000
mov eax, dword [esi + 0x1003d7c4]
add esp, 0xc
cmp eax, 0x10
jbe 0x1000d632
add eax, 0xfffffff0
push eax
mov eax, dword [edi + 0xe8]
add eax, 0x10
push eax
call fcn.1000d2d0
pop ecx
pop ecx
xor eax, eax
cmp dword [esi + 0x1003d7c4], eax
jbe 0x1000d657
mov ecx, dword [edi + 0xe8]
mov cl, byte [ecx + eax]
mov edx, dword [ebp - 8]
xor cl, 0x36
mov byte [eax + edx], cl
inc eax
cmp eax, dword [esi + 0x1003d7c4]
jb 0x1000d63c
push edi
call dword [esi + 0x1003d80c]
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x1000d682
push dword [esi + 0x1003d7c4]
push dword [ebp - 8]
push edi
call dword [esi + 0x1003d810]
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x1000d5ad
push dword [edi + 0xe8]
call fcn.1001518c
pop ecx
jmp 0x1000d5ad
Function at 0x1001517d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10030010]
jne 0x10015187
repz ret
jmp fcn.10018cba

Function at 0x10020311
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.1001ae7f
and dword [ebp - 4], 0
cmp dword [0x10032c58], 0
mov ebx, eax
jne 0x100203c2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10020473
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10020473
push eax
call fcn.1001ae0d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10032c58], eax
call esi
push eax
call fcn.1001ae0d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10032c5c], eax
call esi
push eax
call fcn.1001ae0d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10032c60], eax
call esi
push eax
call fcn.1001ae0d
pop ecx
mov dword [0x10032c68], eax
test eax, eax
je 0x100203c2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1001ae0d
pop ecx
mov dword [0x10032c64], eax
mov eax, dword [0x10032c64]
cmp eax, ebx
je 0x1002041a
cmp dword [0x10032c68], ebx
je 0x1002041a
push eax
call fcn.1001ae88
push dword [0x10032c68]
mov esi, eax
call fcn.1001ae88
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1002041a
test edi, edi
je 0x1002041a
call esi
test eax, eax
je 0x10020411
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10020411
test byte [ebp - 0xc], 1
jne 0x1002041a
or dword [ebp + 0x10], 0x200000
jmp 0x10020453
mov eax, dword [0x10032c5c]
cmp eax, ebx
je 0x10020453
push eax
call fcn.1001ae88
pop ecx
test eax, eax
je 0x10020453
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10020453
mov eax, dword [0x10032c60]
cmp eax, ebx
je 0x10020453
push eax
call fcn.1001ae88
pop ecx
test eax, eax
je 0x10020453
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10032c58]
call fcn.1001ae88
pop ecx
test eax, eax
je 0x10020473
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10020475
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 [0x100641b0]
xor eax, esp
mov dword [esp + 0x210], eax
mov eax, dword [0x10066498]
test eax, eax
jne 0x10002fd4
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.1000e610
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 [0x10066498], eax
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.1000d1df
add esp, 0x214
ret
Function at 0x10003310
Capabilities:
Find taskbar
Get common file path

Disassembly:
sub esp, 0x218
mov eax, dword [0x100641b0]
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.1000e610
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 0x10003384
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 0x100033ab
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp eax, 0xffffffff
je 0x100033ab
lea ecx, [esp + 0x10]
push ecx
push eax
call ebp
test eax, eax
jne 0x10003408
push 0
push str.Shell_TrayWnd
call ebx
test eax, eax
jne 0x100033c7
push 0x2710
inc esi
call edi
cmp esi, 0x1e
jb 0x10003390
jmp 0x10003408
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 0x10003408
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 0x1000341b
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x214]
mov eax, dword [esp]
xor ecx, esp
call fcn.1000d1df
add esp, 0x218
ret
Function at 0x10004120
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x1001c1c5
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x100641b0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, ecx
push 0x10066708
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x10], 0
mov eax, dword [0x10066490]
test eax, eax
jne 0x10004169
call fcn.10001420
mov dword [0x10066490], eax
cmp dword [eax + 0x11c], 0
je 0x1000418c
mov eax, dword [eax + 0x110]
test eax, eax
je 0x1000418c
push esi
push edi
push 2
push 0
push str.ServiceDll
push ebx
call eax
jmp 0x1000419e
push esi
push edi
push 2
push 0
push str.ServiceDll
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x10066708
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 0x100043b0
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 0x1000441e
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x100043ef
cmp eax, 2
jne 0x1000440a
mov eax, dword [esp]
test esi, esi
je 0x10004418
test eax, eax
je 0x10004413
test al, 1
jne 0x1000440a
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x10004418
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 0x10004430
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x1001c3bb
mov eax, dword fs:[0]
push eax
sub esp, 0x8c0
mov eax, dword [0x100641b0]
xor eax, esp
mov dword [esp + 0x8bc], eax
push ebp
push esi
push edi
mov eax, dword [0x100641b0]
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.1000e610
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.1000e610
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 0x10004528
push ebx
lea ecx, [esp + 0x2b8]
call fcn.10002be0
jmp 0x1000466f
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0xb6]
push eax
mov word [esp + 0xb8], dx
call fcn.1000e610
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 0x10004594
lea eax, [esp + 0xac]
push eax
call ebp
push ebx
lea ecx, [esp + 0xb0]
call fcn.10002be0
jmp 0x1000466f
mov edx, dword [0x10060f70]
mov ax, word [0x10060f74]
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 0x10004659
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.1000e610
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.100043b0
test eax, eax
jne 0x10004657
push ebx
mov ecx, esi
call fcn.10002be0
test ebp, ebp
jmp 0x10004666
xor esi, esi
push ebx
mov ecx, 0x10060f30
call fcn.10002be0
cmp ebp, esi
je 0x1000466f
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.1000d1df
add esp, 0x8cc
ret
Function at 0x100063d0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x100641b0]
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.1000a270
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.1000a310
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.1000d1df
add esp, 0x68
ret