joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477910
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx]
push esi
call dword [eax + 0x3c]
push eax
call fcn.0047db50
mov esi, eax
add esp, 4
test esi, esi
je 0x47794f
lea eax, [ebp - 4]
push eax
call fcn.00477960
add esp, 4
push dword [ebp - 4]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 4]
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::destructor_void_]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4779f0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48dba9
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4c0e0c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x3c]
push eax
call fcn.0047db50
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x477a38
xor edx, edx
jmp 0x477b2e
lea eax, [ebp - 0x40]
push eax
call fcn.00477960
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x40]
push ebx
call fcn.0047d5b0
add esp, 0x14
test eax, eax
jne 0x477a6c
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x477b13
push dword [esi + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
call fcn.0047de80
mov edi, eax
add esp, 4
test edi, edi
je 0x477ae5
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x30]
push esi
push dword [ebp - 0x3c]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x48], esi
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push 1
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
push edi
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp dword [ebp - 0x30], 0x1e240
jne 0x477ae5
cmp dword [ebp - 0x2c], 0
jne 0x477ae5
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
jmp 0x477aeb
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
push dword [ebp - 0x3c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
cmp edi, edx
jl 0x477b21
jg 0x477b13
cmp esi, eax
jbe 0x477b21
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x34]
lea ecx, [ebp - 0x40]
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::destructor_void_]
mov eax, esi
mov edx, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047ff18
mov esp, ebp
pop ebp
ret
Function at 0x477b50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4c0e0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x477b81
lea edx, [ebp - 0x108]
sub edx, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x477b72
jmp 0x477bb2
lea eax, [ebp - 0x10c]
push eax
call fcn.00477630
add esp, 4
lea edx, [ebp - 0x108]
mov ecx, dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x477b98
lea ecx, [ebp - 0x10c]
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::destructor_void_]
lea eax, [ebp - 0x108]
push 0x5c
push eax
call dword [sym.imp.VCRUNTIME140.dll_strrchr]
add esp, 8
test eax, eax
je 0x477bcb
mov byte [eax], 0
lea ecx, [ebp - 0x108]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x477bd2
mov eax, dword [str._reference]
mov dword [ecx], eax
mov eax, dword [0x4a4e64]
mov dword [ecx + 4], eax
mov ax, word [0x4a4e68]
mov word [ecx + 8], ax
mov al, byte [0x4a4e6a]
mov byte [ecx + 0xa], al
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0047ff18
mov esp, ebp
pop ebp
ret
Function at 0x478bc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4c0e0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, 0x1388
test al, 1
jne 0x478be0
shr eax, 1
jmp 0x478be4
lea eax, [eax + eax*2]
inc eax
sub ecx, 1
jne 0x478bd8
push ebx
push esi
add eax, 0x32abfa11
push eax
lea eax, [ebp - 0x68]
push str.SecurityInfo_X
push eax
call fcn.0041e030
lea eax, [ebp - 0x68]
push 0x4a0e5c
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
xor ebx, ebx
add esp, 0x14
test esi, esi
setne bl
test esi, esi
je 0x478c37
push esi
push 0x64
lea eax, [ebp - 0x68]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.0047ff18
mov esp, ebp
pop ebp
ret
Function at 0x479140
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48dde9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4c0e0c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
cmp dword [esi + 0x1c], 0
jg 0x4791e2
cmp dword [0x4c4b00], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x47918c
call edi
mov dword [0x4c4b00], eax
call edi
sub eax, dword [0x4c4b00]
cmp eax, 0x4e20
jle 0x4791b3
push 0x4000
lea eax, [esi + 0x1bc]
push eax
lea eax, [esi + 0x2c]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
call edi
push eax
call fcn.00478bc0
add esp, 4
push 0
push 0
push 0x12
push 0
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 4], 0
call dword [sym.imp.FSUTIL.dll_protected:_struct_AStringData____thiscall_AString::GetData_void_const]
push 0
push dword [eax + 4]
lea eax, [ebp + 8]
push dword [edi]
push eax
call fcn.00478fb0
add esp, 0x10
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push dword [ebp + 8]
lea ecx, [esi + 0x10]
call dword [sym.imp.FSUTIL.dll_public:_int___thiscall_AMapStringToPtr::Lookup_char_const___void___const]
test eax, eax
je 0x479261
push 0
push 0x4c2634
push 0x4c261c
push 0
push dword [ebp - 0x14]
call sub.VCRUNTIME140.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x479261
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 8]
mov esi, dword [eax + 8]
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp + 8]
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::destructor_void_]
jmp 0x4791cc
Function at 0x4792a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48de19
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4c0e0c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
cmp dword [esi + 0x1c], 0
jg 0x479331
cmp dword [0x4c4b00], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x4792ec
call edi
mov dword [0x4c4b00], eax
call edi
sub eax, dword [0x4c4b00]
cmp eax, 0x4e20
jle 0x479313
push 0x4000
lea eax, [esi + 0x1bc]
push eax
lea eax, [esi + 0x2c]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
call edi
push eax
call fcn.00478bc0
add esp, 4
push 0
push 0
push 0x12
push 0
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x479426
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 4], 0
call dword [sym.imp.FSUTIL.dll_protected:_struct_AStringData____thiscall_AString::GetData_void_const]
push 0
push dword [eax + 4]
lea eax, [ebp + 8]
push dword [edi]
push eax
call fcn.00478fb0
add esp, 0x10
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push dword [ebp + 8]
lea ecx, [esi + 0x10]
call dword [sym.imp.FSUTIL.dll_public:_int___thiscall_AMapStringToPtr::Lookup_char_const___void___const]
test eax, eax
je 0x4793b8
push 0
push 0x4c2650
push 0x4c261c
push 0
push dword [ebp - 0x18]
call sub.VCRUNTIME140.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x4793b8
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
lea ecx, [ebp + 8]
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::destructor_void_]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp + 8]
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::destructor_void_]
jmp 0x479426
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x479450
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48de49
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4c0e0c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
cmp dword [esi + 0x1c], 0
jg 0x4794f2
cmp dword [0x4c4b00], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x47949c
call edi
mov dword [0x4c4b00], eax
call edi
sub eax, dword [0x4c4b00]
cmp eax, 0x4e20
jle 0x4794c3
push 0x4000
lea eax, [esi + 0x1bc]
push eax
lea eax, [esi + 0x2c]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
call edi
push eax
call fcn.00478bc0
add esp, 4
push 0
push 0
push 0x12
push 0
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 4], 0
call dword [sym.imp.FSUTIL.dll_protected:_struct_AStringData____thiscall_AString::GetData_void_const]
push 0
push dword [eax + 4]
lea eax, [ebp + 8]
push dword [edi]
push eax
call fcn.00478fb0
add esp, 0x10
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push dword [ebp + 8]
lea ecx, [esi + 0x10]
call dword [sym.imp.FSUTIL.dll_public:_int___thiscall_AMapStringToPtr::Lookup_char_const___void___const]
test eax, eax
je 0x47957e
push 0
push 0x4c266c
push 0x4c261c
push 0
push dword [ebp - 0x14]
call sub.VCRUNTIME140.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x47957e
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
add eax, 8
push eax
call dword [0x48f52c]
lea ecx, [ebp + 8]
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::destructor_void_]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp + 8]
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::destructor_void_]
jmp 0x4794dc
Function at 0x4795c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48de79
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4c0e0c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
cmp dword [esi + 0x1c], 0
jg 0x479662
cmp dword [0x4c4b00], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x47960c
call edi
mov dword [0x4c4b00], eax
call edi
sub eax, dword [0x4c4b00]
cmp eax, 0x4e20
jle 0x479633
push 0x4000
lea eax, [esi + 0x1bc]
push eax
lea eax, [esi + 0x2c]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
call edi
push eax
call fcn.00478bc0
add esp, 4
push 0
push 0
push 0x12
push 0
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 4], 0
call dword [sym.imp.FSUTIL.dll_protected:_struct_AStringData____thiscall_AString::GetData_void_const]
push 0
push dword [eax + 4]
lea eax, [ebp + 8]
push dword [edi]
push eax
call fcn.00478fb0
add esp, 0x10
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push dword [ebp + 8]
lea ecx, [esi + 0x10]
call dword [sym.imp.FSUTIL.dll_public:_int___thiscall_AMapStringToPtr::Lookup_char_const___void___const]
test eax, eax
jne 0x4796aa
lea ecx, [ebp + 8]
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::destructor_void_]
jmp 0x47964c
push 0
push 0x4c2688
push 0x4c261c
push 0
push dword [ebp - 0x18]
call sub.VCRUNTIME140.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x47969f
mov esi, dword [eax + 0xc]
mov edi, dword [ebp + 0xc]
mov ebx, dword [sym.imp.FSUTIL.dll_public:_struct___POSITION____thiscall_APtrList::AddTail_void__]
test esi, esi
je 0x4796e2
push dword [esi + 8]
mov esi, dword [esi]
mov ecx, edi
call ebx
jmp 0x4796d3
lea ecx, [ebp + 8]
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::destructor_void_]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x479740
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x479767
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [eax + 0x3c]
add esi, eax
push 4
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x479785
cmp dword [esi], 0x4550
je 0x47978c
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edx, 0x20b
mov ecx, 0x108
cmp word [esi + 0x18], dx
mov eax, 0xf8
push ebx
cmove eax, ecx
mov ecx, dword [ebp + 0xc]
push edi
xor edx, edx
xor edi, edi
xor ebx, ebx
mov dword [ecx], 0
cmp dx, word [esi + 6]
jae 0x479809
add esi, 0x10
add esi, eax
nop
cmp dword [esi + 4], 0
je 0x4797fa
test dword [esi + 0x14], 0x20000020
je 0x4797fa
inc edi
cmp edi, 1
jne 0x4797fa
mov eax, dword [esi]
push eax
mov dword [ecx], eax
call sub.mfc140.dll_Ordinal_265
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
push dword [esi]
mov ecx, dword [esi + 4]
add ecx, dword [ebp + 8]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp + 0xc]
add esp, 0x10
mov eax, dword [ebp - 4]
inc ebx
add esi, 0x28
movzx eax, word [eax + 6]
cmp ebx, eax
jl 0x4797c0
xor eax, eax
cmp dword [ecx + 4], eax
pop edi
pop ebx
setne al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x47d5b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
push eax
push 0
lea eax, [ebp + 0x14]
mov dword [esi], 0
push eax
push 0
push dword [ebp + 0xc]
mov dword [edi], 0
push dword [ebp + 8]
mov dword [ebp + 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp + 0x10]
mov dword [edi], ecx
test eax, eax
jne 0x47d623
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x47d623
lea ecx, [ebp + 0x10]
push ecx
push eax
lea eax, [ebp + 0x14]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x47d623
pop edi
mov eax, 1
pop esi
pop ebp
ret
push dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi], 0
mov dword [edi], 0
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x47e150
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
push str.system.software_id
lea ecx, [ebp - 4]
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::constructor_char_const__]
mov eax, dword [0x4c4c38]
test eax, eax
je 0x47e1a7
push dword [ebp - 4]
push eax
call dword [sym.imp.cloud.dll_artify_license_has_feature]
add esp, 8
test eax, eax
je 0x47e1a7
push dword [ebp - 4]
push dword [0x4c4c38]
call dword [sym.imp.cloud.dll_artify_license_get_feature_int]
add esp, 8
cmp eax, 0x80000000
je 0x47e1a7
mov edi, eax
mov esi, 1
jmp 0x47e1a9
xor esi, esi
lea ecx, [ebp - 4]
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::destructor_void_]
test esi, esi
je 0x47e23e
push edi
call fcn.0047db50
mov esi, eax
add esp, 4
test esi, esi
je 0x47e23e
push dword [ebx + 4]
call fcn.0047de80
mov edi, eax
add esp, 4
test edi, edi
je 0x47e237
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push 1
push edi
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 8], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x14], 0x1e240
mov dword [ebp - 0x10], 0
mov dword [ebp + 0xc], 0x10
call fcn.004771c0
mov ebx, eax
test ebx, ebx
je 0x47e230
push dword [ebp + 0xc]
push ebx
push 3
push 0
push str.XLog1
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebx
call sub.mfc140.dll_Ordinal_266
add esp, 4
push edi
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47e250
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
push str.system.software_id
lea ecx, [ebp - 4]
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::constructor_char_const__]
mov eax, dword [0x4c4c38]
test eax, eax
je 0x47e2a7
push dword [ebp - 4]
push eax
call dword [sym.imp.cloud.dll_artify_license_has_feature]
add esp, 8
test eax, eax
je 0x47e2a7
push dword [ebp - 4]
push dword [0x4c4c38]
call dword [sym.imp.cloud.dll_artify_license_get_feature_int]
add esp, 8
cmp eax, 0x80000000
je 0x47e2a7
mov edi, eax
mov esi, 1
jmp 0x47e2a9
xor esi, esi
lea ecx, [ebp - 4]
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::destructor_void_]
test esi, esi
je 0x47e377
push edi
call fcn.0047db50
mov esi, eax
add esp, 4
test esi, esi
je 0x47e377
push dword [ebx + 4]
call fcn.0047de80
mov edi, eax
add esp, 4
test edi, edi
je 0x47e370
mov ecx, dword [ebp + 8]
lea eax, [ebp + 8]
push 1
push edi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], ecx
push eax
mov ecx, ebx
mov dword [ebp - 8], 0x1e240
mov dword [ebp + 8], 8
call fcn.004771c0
mov ebx, eax
test ebx, ebx
je 0x47e369
push dword [ebp + 8]
cmp dword [0x4c0df4], 0x1004
mov ecx, str.XLog4
push ebx
push 3
push 0
mov eax, str.XLog3
cmovne eax, ecx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp + 0xc], 0
je 0x47e360
push dword [ebp + 8]
cmp dword [0x4c0df4], 0x1004
mov ecx, str.XLog3
mov eax, str.XLog4
push ebx
cmovne eax, ecx
push eax
push esi
call fcn.0043dd40
add esp, 0x10
push ebx
call sub.mfc140.dll_Ordinal_266
add esp, 4
push edi
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x401237
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x10]
push edi
mov dword [ebp - 0x30], esi
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov dword [ebp - 0x14], eax
mov eax, dword [0x41b2f8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x41b2fc]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x24], eax
call fcn.00401230
mov ebx, dword [ebp - 0x10]
mov ecx, dword [0x41b300]
add ebx, 0x23f
mov edx, dword [0x41b304]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov eax, edi
mov dword [ebp - 0x10], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0xb06e8c], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0xb06e88]
cmove eax, dword [ebp - 0x10]
and dword [ebp - 0x10], 0
cmp dword [0xb06e8c], 0x3eb
mov dword [0xb06e88], eax
mov eax, dword [0xb06de0]
cmove eax, dword [ebp - 0x10]
mov dword [0xb06de0], eax
lea eax, [ebx + edi]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add dword [ebp - 8], edx
and dword [ebp - 0xc], 0
mov dword [0xb06e84], 0xf4ea3dee
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
sub esi, eax
mov dword [ebp - 8], eax
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
lea eax, [ebx + esi]
mov edx, esi
lea ebx, [ebx + 0x61c88647]
shr edx, cl
add edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 8], edx
xor edx, eax
mov eax, dword [ebp - 4]
xor eax, edx
mov edx, dword [ebp - 0x2c]
sub edi, eax
mov dword [ebp - 4], eax
dec dword [ebp - 0x18]
mov dword [ebp - 0xc], edi
jne 0x401291
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
mov dword [esi], edi
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret