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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x100668d8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 1
push 0x10067d88
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x10017bab
jmp 0x10017c58
push str...360Util.dll
push 0x10068170
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
test eax, eax
je 0x10017bd7
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x10017bd9
jmp 0x10017c58
lea edx, [ebp - 0x110]
push edx
call fcn.10016770
add esp, 4
test eax, eax
je 0x10017c00
lea eax, [ebp - 0x110]
push eax
call fcn.10018e30
mov dword [ebp - 0x11c], eax
jmp 0x10017c0a
mov dword [ebp - 0x11c], 0
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x114], ecx
cmp dword [ebp - 0x114], 0
jne 0x10017c21
jmp 0x10017c58
push str.CreateObject
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x10017c58
mov ecx, 0x10067d84
call fcn.1000a840
push eax
push 0x10053ec8
call dword [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a5ba
mov esp, ebp
pop ebp
ret

Function at 0x10017eb0
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x100668d8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x10017ed9
push 4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x10017ee0
xor eax, eax
jmp 0x10017fd3
mov cx, word [0x10053d88]
mov word [ebp - 0x210], cx
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.1003ac40
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.10018c20
movzx edx, word [ebp - 0x210]
cmp edx, 0x22
jne 0x10017f32
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10017f4a
xor eax, eax
jmp 0x10017fd3
mov dx, word [0x10053d8c]
mov word [ebp - 0x418], dx
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.1003ac40
add esp, 0xc
push 0
push 0x26
lea ecx, [ebp - 0x418]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x10017f89
xor eax, eax
jmp 0x10017fd3
push 0x10053d90
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10017fb0
xor eax, eax
jmp 0x10017fd3
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.1003b8a8
add esp, 8
test eax, eax
jne 0x10017fd1
mov eax, 1
jmp 0x10017fd3
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a5ba
mov esp, ebp
pop ebp
ret 4
Function at 0x10017ff0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100668d8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x1001802a
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001802a
push str..lnk
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
jne 0x1001802c
jmp 0x10018075
push 0x208
push 0
lea edx, [ebp - 0x210]
push edx
call fcn.1003ac40
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10017c70
test eax, eax
jne 0x10018058
jmp 0x10018075
lea edx, [ebp - 0x210]
push edx
call fcn.10017eb0
test eax, eax
jne 0x1001806a
jmp 0x10018075
mov eax, 1
jmp 0x10018077
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a5ba
mov esp, ebp
pop ebp
ret 4
Function at 0x10018a40
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x100668d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0
push 1
push 0x10067d94
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x10018a70
mov eax, dword [0x10067d90]
jmp 0x10018b3e
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SOFTWAREClassesCLSIDA8502600_B272_4F68_A67B_A0305D46D297InprocServer32
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10018b2f
mov cl, byte [0x10053d77]
mov byte [ebp - 0x118], cl
push 0x103
push 0
lea edx, [ebp - 0x117]
push edx
call fcn.1003ac40
add esp, 0xc
mov dword [ebp - 0x11c], 0x104
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10018b23
cmp dword [ebp - 0xc], 1
jne 0x10018b23
push str.QvodExtend.dll
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x10018b23
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10018b23
mov dword [0x10067d90], 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10018b39
mov dword [0x10067d90], 0
mov eax, dword [0x10067d90]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003a5ba
mov esp, ebp
pop ebp
ret
Function at 0x10019930
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1005e298
push 0x1003a7b0
mov eax, dword fs:[0]
push eax
add esp, 0xffffffe8
push ebx
push esi
push edi
mov eax, dword [0x100668d8]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
cmp dword [0x10067da0], 0
jne 0x10019975
call fcn.10018500
test eax, eax
jne 0x1001997a
jmp 0x10019a91
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
call fcn.100245f0
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 9
jle 0x100199a2
mov dword [ebp - 4], 0xfffffffe
jmp 0x10019a91
cmp dword [ebp - 0x28], 6
jne 0x100199aa
jmp 0x100199e7
cmp dword [ebp - 0x28], 7
jne 0x100199bf
push 0x10053f5c
call fcn.10019ab0
mov dword [ebp - 0x20], eax
jmp 0x100199e7
cmp dword [ebp - 0x28], 8
jne 0x100199d4
push 0x10053f68
call fcn.1001a0a0
mov dword [ebp - 0x20], eax
jmp 0x100199e7
cmp dword [ebp - 0x28], 9
jne 0x100199e7
push 0x10053f74
call fcn.1001a530
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100199f9
mov dword [ebp - 4], 0xfffffffe
jmp 0x10019a91
mov dword [ebp - 4], 0xfffffffe
jmp 0x10019a1b
mov eax, dword [ebp - 0x20]
sub eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 1]
mov eax, dword [ebp - 0x24]
lea ecx, [eax + edx + 5]
mov dword [0x10067da4], ecx
cmp dword [0x10067da4], 0
jne 0x10019a42
jmp 0x10019a91
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x1c]
push edx
push 0x40
push 4
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
lea ecx, [edx + eax + 4]
mov dword [0x10067da0], ecx
mov edx, 0x1001a9b0
sub edx, dword [ebp - 0x20]
sub edx, 4
mov eax, dword [ebp - 0x20]
mov dword [eax], edx
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 4
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001ab50
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
jmp 0x1001ab72
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x40
jge 0x1001ab87
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4], 0xffffffff
jmp 0x1001ab69
mov dword [ebp - 4], 0
jmp 0x1001ab99
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x40
jge 0x1001abca
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp dword [ecx + eax*4], 0xffffffff
je 0x1001abc6
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
cmp dword [eax + edx*4], 0x40
jbe 0x1001abc8
jmp 0x1001abca
jmp 0x1001ab90
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x1001f690
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050b98
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100668d8]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str._s_s_s_s_s_s
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.10001fa0
mov dword [ebp - 0x1c], eax
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.100135b0
mov ecx, eax
call fcn.10014ec0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10009170
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1001f6fe
mov dword [ebp - 0x30], 0
jmp 0x1001f74b
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3fffffff
jle 0x1001f720
mov dword [ebp - 0x34], 0
jmp 0x1001f745
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.1003a650
mov dword [ebp - 0x38], esp
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.10001fb0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
push 0x100544e4
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1001f779
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10010310
mov eax, dword [ebp - 0x28]
jmp 0x1001f792
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10010310
mov eax, dword [ebp - 0x2c]
lea esp, [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.1003a5ba
mov esp, ebp
pop ebp
ret
Function at 0x10022660
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x10067f14], 0
je 0x100226d5
push 4
mov eax, dword [0x10067f14]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100226d5
mov ecx, dword [0x10067f14]
cmp dword [ecx], 0x10022750
je 0x100226d5
mov edx, dword [0x10067f14]
mov dword [ebp - 4], edx
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 4]
mov dword [edx], 0x10022750
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [0x10067f18], 0
je 0x1002273d
push 4
mov eax, dword [0x10067f18]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002273d
mov ecx, dword [0x10067f18]
cmp dword [ecx], 0x100227b0
je 0x1002273d
mov edx, dword [0x10067f18]
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 4]
mov dword [edx], 0x100227b0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x100238f0
Capabilities:
Check for software breakpoints
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1005e6c8
push 0x1003a7b0
mov eax, dword fs:[0]
push eax
add esp, 0xffffffe0
push ebx
push esi
push edi
mov eax, dword [0x100668d8]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x20], ecx
cmp dword [ebp + 0x10], 0
je 0x10023965
cmp dword [ebp - 0x1c], 0
je 0x10023965
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10023965
cmp dword [ebp - 0x20], 0
je 0x10023965
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1002396c
xor eax, eax
jmp 0x10023abd
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
add eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x24]
jae 0x10023a74
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x20]
cmp edx, 1
jl 0x100239b5
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax]
cmp ecx, 0xcc
jne 0x100239b5
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
jmp 0x1002397c
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x20]
cmp ecx, 5
jl 0x100239e1
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx]
cmp eax, 0xe8
jne 0x100239e1
mov ecx, dword [ebp - 0x1c]
add ecx, 5
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x20]
add edx, 5
mov dword [ebp - 0x20], edx
jmp 0x1002397c
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x20]
cmp eax, 6
jl 0x10023a3a
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx]
cmp edx, 0x850f
je 0x10023a23
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax]
cmp ecx, 0x840f
je 0x10023a23
mov edx, dword [ebp - 0x20]
movzx eax, word [edx]
cmp eax, 0x35ff
je 0x10023a23
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx]
cmp edx, 0x15ff
jne 0x10023a3a
mov eax, dword [ebp - 0x1c]
add eax, 6
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
add ecx, 6
mov dword [ebp - 0x20], ecx
jmp 0x1002397c
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx]
cmp eax, edx
je 0x10023a5d
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x28]
jmp 0x10023abd
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
jmp 0x1002397c
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x24]
jne 0x10023a8f
mov dword [ebp - 0x2c], 1
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x2c]
jmp 0x10023abd
mov dword [ebp - 4], 0xfffffffe
jmp 0x10023abb
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10023b50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
cmp dword [0x10067f40], 0
je 0x10023b71
push 6
mov eax, dword [0x10067f40]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x10023b76
jmp 0x10023bfe
movsx ecx, word [0x10067f44]
cmp ecx, 0x15ff
jne 0x10023b96
push 6
push 0x10067f44
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x10023b98
jmp 0x10023bfe
mov ecx, 3
mov edi, 0x10067f44
mov esi, dword [0x10067f40]
xor edx, edx
repe cmpsw word [esi], word es:[edi]
je 0x10023bfe
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x40
push 6
mov ecx, dword [0x10067f40]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [0x10067f40]
mov eax, dword [0x10067f44]
mov dword [edx], eax
mov cx, word [0x10067f48]
mov word [edx + 4], cx
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 4]
push eax
push 6
mov ecx, dword [0x10067f40]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor edx, edx
jne 0x10023bfa
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10023c10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
cmp dword [0x10067f4c], 0
je 0x10023c31
push 5
mov eax, dword [0x10067f4c]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x10023c36
jmp 0x10023cbb
movzx ecx, byte [0x10067f50]
cmp ecx, 0xe8
jne 0x10023c56
push 5
push 0x10067f50
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x10023c58
jmp 0x10023cbb
mov ecx, 5
mov edi, 0x10067f50
mov esi, dword [0x10067f4c]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x10023cbb
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x40
push 5
mov ecx, dword [0x10067f4c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [0x10067f4c]
mov eax, dword [0x10067f50]
mov dword [edx], eax
mov cl, byte [0x10067f54]
mov byte [edx + 4], cl
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 4]
push eax
push 5
mov ecx, dword [0x10067f4c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor edx, edx
jne 0x10023cb7
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10023cd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
cmp dword [0x10067f58], 0
jne 0x10023ce6
jmp 0x10023d75
cmp dword [0x10067f5c], 0
je 0x10023d01
push 0x3f
mov eax, dword [0x10067f5c]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x10023d03
jmp 0x10023d75
mov dword [ebp - 8], 0
lea ecx, [ebp - 8]
push ecx
push 0x3f
mov edx, dword [0x10067f5c]
push edx
call fcn.10023d80
mov eax, dword [ebp - 8]
cmp eax, dword [0x10067f58]
jne 0x10023d29
jmp 0x10023d75
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0x3f
mov edx, dword [0x10067f5c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, 0xf
mov esi, 0x10067f60
mov edi, dword [0x10067f5c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0x3f
mov edx, dword [0x10067f5c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
jne 0x10023d71
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10023f40
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x100668d8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
cmp dword [0x1006804c], 0
jne 0x10024064
push 0x100546d0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
je 0x10024017
xor eax, eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
push str.GetNativeSystemInfo
mov ecx, dword [ebp - 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
je 0x10023fe8
lea edx, [ebp - 0xd4]
push edx
call dword [ebp - 0xb0]
jmp 0x10023ff5
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx ecx, word [ebp - 0xd4]
cmp ecx, 9
je 0x1002400d
movzx edx, word [ebp - 0xd4]
cmp edx, 6
jne 0x10024017
mov dword [0x10068050], 1
push 0x9c
push 0
lea eax, [ebp - 0xa8]
push eax
call fcn.1003ac40
add esp, 0xc
mov dword [ebp - 0xa8], 0x9c
lea ecx, [ebp - 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1002405a
mov ecx, 0x27
lea esi, [ebp - 0xa8]
mov edi, 0x10067fb0
rep movsd dword es:[edi], dword [esi]
mov dword [0x1006804c], 1
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a5ba
mov esp, ebp
pop ebp
ret
Function at 0x10024250
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x100668d8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x10024273
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x1002427a
xor eax, eax
jmp 0x1002437f
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea edx, [ebp - 0x10f]
push edx
call fcn.1003ac40
add esp, 0xc
mov dword [ebp - 0x114], 0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 1]
cmp ecx, 0x3a
jne 0x100242c4
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 2]
cmp eax, 0x5c
jne 0x100242c4
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x114], ecx
jmp 0x10024333
mov edx, dword [ebp + 0xc]
and edx, 1
je 0x10024309
push 0
push 0x25
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jl 0x10024307
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x114], ecx
jmp 0x10024333
mov edx, dword [ebp + 0xc]
and edx, 2
je 0x10024333
mov eax, dword [ebp + 8]
push eax
push 0x10068170
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea edx, [ebp - 0x110]
mov dword [ebp - 0x114], edx
cmp dword [ebp - 0x114], 0
je 0x1002434d
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x10024351
xor eax, eax
jmp 0x1002437f
mov ecx, dword [ebp + 0xc]
and ecx, 0x100
je 0x10024373
mov edx, dword [ebp - 0x114]
push edx
call fcn.10016770
add esp, 4
test eax, eax
jne 0x10024373
xor eax, eax
jmp 0x1002437f
mov eax, dword [ebp - 0x114]
push eax
call fcn.10018e30
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a5ba
mov esp, ebp
pop ebp
ret

Function at 0x10024390
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x100243c9
xor eax, eax
jmp 0x10024437
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1003ad09
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100243e2
xor eax, eax
jmp 0x10024437
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x10024428
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push 0x10054738
mov ecx, dword [ebp - 0xc]
push ecx
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov dword [edx], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov dword [edx], ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.1003add3
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10025130
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100668d8]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x228], ecx
mov dword [ebp - 4], 1
mov dword [ebp - 0x114], 0x104
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 4]
push edx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push SysStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x100251ef
mov dword [ebp - 0x224], 0
jmp 0x100251a0
mov eax, dword [ebp - 0x224]
add eax, 1
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 2
jae 0x100251ef
mov ecx, dword [ebp - 0x224]
mov edx, dword [ecx*4 + 0x10063ec0]
push edx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp - 0x228]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x100251ed
mov eax, 1
jmp 0x100251f1
jmp 0x10025191
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1003a5ba
mov esp, ebp
pop ebp
ret