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

Disassembly:
push 0x30
mov eax, 0x4dec36
call fcn.004c1f48
xor esi, esi
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
mov ebx, 0x4ec4c8
push ebx
mov dword [ebp - 0x18], esi
call fcn.004247ec
lea eax, [ebp - 0x10]
push eax
call fcn.0046d110
pop ecx
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042201a
push 0x10
call fcn.004acca2
mov edi, eax
pop ecx
cmp edi, esi
je 0x4317db
lea ecx, [edi + 8]
call fcn.00422487
lea ecx, [edi + 0xc]
call fcn.00422487
mov dword [0x52cbec], edi
jmp 0x4317e1
mov dword [0x52cbec], esi
push ecx
mov edi, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x4ebfa0
call fcn.004247ec
push ecx
mov dword [ebp - 4], esi
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Troubleshoot.log
call fcn.004247ec
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push ecx
mov dword [ebp - 0x14], esp
mov ecx, esp
push ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
call fcn.004247ec
mov eax, dword [ebp - 0x14]
push eax
call fcn.0046d110
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
call fcn.0046d300
add esp, 0xc
call fcn.0043119d
lea eax, [ebp - 0x18]
push eax
push esi
push dword [ebp + 8]
push 0x4314a1
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x431870
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push esi
push esi
push esi
lea eax, [ebp - 0x3c]
push eax
call edi
test eax, eax
jg 0x43185c
mov eax, dword [ebp - 0x34]
call fcn.004c2020
ret 4
Function at 0x432518
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
mov esi, dword [edx - 0xc]
push edi
or edi, 0xffffffff
cmp dword [0x52cc6c], 0
jne 0x432534
call fcn.00498020
lea ecx, [esi + esi]
xor eax, eax
test ecx, ecx
jle 0x432558
movzx esi, byte [eax + edx]
xor esi, edi
and esi, 0xff
shr edi, 8
xor edi, dword [esi*4 + 0x52c7e0]
inc eax
cmp eax, ecx
jl 0x43253d
lea ecx, [edx - 0x10]
call fcn.0042201a
mov eax, edi
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x432568
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
jbe 0x432587
mov eax, dword [ebp + 8]
mov dl, cl
and dl, 0x7f
add eax, ecx
add dl, 0x21
xor byte [eax], dl
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x432572
pop ebp
ret
Function at 0x432af5
Capabilities:
Check mutex on windows
Encode data using xor

Disassembly:
push 0x4c
mov eax, 0x4dbb32
call fcn.004c1f48
push 9
xor eax, eax
xor esi, esi
pop ecx
mov dword [ebp - 0x58], esi
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
call fcn.004736b0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], esi
call fcn.004737a0
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebx + 4]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.004247d7
call fcn.00432518
mov dword [ebx + 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.00424ebe
call fcn.00432518
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.00424ebe
call fcn.00432518
mov dword [ebx + 0x20], eax
lea eax, [ebx + 8]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.004247d7
call fcn.00432518
mov dword [ebx + 0x24], eax
xor eax, eax
mov word [ebp - 0x30], ax
lea edi, [ebp - 0x2e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
pop ecx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebx + 0x30]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
or edx, 0xffffffff
cmp dword [0x52cc6c], esi
jne 0x432bbb
call fcn.00498020
movzx eax, byte [ebx + esi + 0x18]
xor eax, edx
and eax, 0xff
shr edx, 8
xor edx, dword [eax*4 + 0x52c7e0]
inc esi
cmp esi, 0x24
jl 0x432bbb
lea esi, [ebx + 0x14]
push 0xa
not edx
mov dword [esi], edx
pop ecx
lea edi, [ebp - 0x58]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
xor eax, eax
mov cl, al
and cl, 0x7f
add cl, 0x21
xor byte [ebp + eax - 0x58], cl
inc eax
cmp eax, 0x28
jb 0x432bea
push dword [ebx + 4]
lea eax, [ebp - 0x1c]
push str.Cameyo.AuthToken.AppId._s
push eax
call fcn.0046da40
add esp, 0xc
push dword [eax]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov dword [ebp - 0x10], eax
call fcn.0042201a
cmp dword [ebp - 0x10], esi
je 0x432c38
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x28
pop edi
lea eax, [ebp - 0x58]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push ebx
call fcn.004247d7
call fcn.0046e410
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x432c9d
push 0x5c
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push ebx
call fcn.004247d7
lea eax, [ebp - 0x20]
push eax
call fcn.0046de50
mov esi, dword [eax]
add esp, 0xc
call fcn.004701d0
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0042201a
lea eax, [ebp - 0x58]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push ebx
call fcn.004247d7
call fcn.0046e410
pop ecx
pop ecx
mov esi, eax
cmp dword [ebp - 0x10], 0
je 0x432cb5
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0042201a
mov eax, esi
call fcn.004c2020
ret
Function at 0x432cd3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
or edx, 0xffffffff
cmp dword [0x52cc6c], 0
push esi
mov esi, eax
jne 0x432ceb
call fcn.00498020
xor eax, eax
movzx ecx, byte [esi + eax + 4]
xor ecx, edx
and ecx, 0xff
shr edx, 8
xor edx, dword [ecx*4 + 0x52c7e0]
inc eax
cmp eax, 0x24
jl 0x432ced
mov esi, dword [esi]
not edx
cmp esi, edx
je 0x432d32
push ecx
mov eax, esp
mov dword [ebp - 4], esp
push edx
push esi
push str._ValidateIntegrity:_incorrect_CRC:__x_vs__x
push eax
call fcn.0046da40
add esp, 0x10
call fcn.004324e8
pop ecx
xor eax, eax
jmp 0x432d35
xor eax, eax
inc eax
pop esi
leave
ret
Function at 0x4342fe
Capabilities:
Move file

Disassembly:
push 0xc
mov eax, 0x4e1bb7
call fcn.004c1f48
and dword [ebp - 4], 0
push 0
call fcn.004bf09c
push eax
call fcn.004bf589
call fcn.004bf59b
mov esi, eax
call fcn.004bf59b
add esp, 4
mov dword [ebp - 0x18], esp
shl esi, 0x10
xor eax, esi
mov esi, esp
push eax
push 0x5c
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00424ebe
lea eax, [ebp - 0x18]
push eax
call fcn.0046dd70
add esp, 0xc
mov byte [ebp - 4], 1
push dword [eax]
push str._s._x.ToDelete
push esi
call fcn.0046da40
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
add esp, 0x10
push eax
call fcn.0047ec10
pop ecx
pop ecx
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp + 0xc]
push dword [ebp + 0x10]
push 0
push 0
push ecx
mov dword [ebp + 0x10], esp
mov ecx, esp
push eax
call fcn.00424ebe
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0047e910
add esp, 0x18
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0042201a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042201a
mov eax, esi
call fcn.004c2020
ret

Function at 0x4343dd
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push 0x264
mov eax, 0x4dd543
call fcn.004c1fb1
and dword [ebp - 0x260], 0
push 0x24c
lea eax, [ebp - 0x25c]
push 0
push eax
call fcn.004bc420
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x26c], esp
push 0x4f4530
call fcn.004247ec
lea eax, [ebp - 0x26c]
push eax
mov ecx, edi
call fcn.0047ec10
pop ecx
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x26c]
mov esi, eax
cmp esi, 0xffffffff
setne byte [ebp - 0x261]
add ecx, 0xfffffff0
call fcn.0042201a
cmp byte [ebp - 0x261], 0
je 0x4344e5
push ecx
lea eax, [ebp - 0x234]
mov ecx, esp
mov dword [ebp - 0x270], esp
push eax
call fcn.004247ec
lea eax, [ebp - 0x268]
push eax
mov ecx, edi
call fcn.0047ec10
and dword [ebp - 4], 0
add esp, 4
mov eax, esp
mov dword [ebp - 0x270], esp
push dword [ebp - 0x268]
push str.DeleteSharingViolationRemains:_deleting__s
push eax
call fcn.0046da40
add esp, 0xc
call fcn.00433e30
pop ecx
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.0042201a
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x434462
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.004c2034
ret
Function at 0x4345bd
Capabilities:
Enumerate files on windows

Disassembly:
push 0x278
mov eax, 0x4dd4e5
call fcn.004c1fb1
xor eax, eax
mov dword [ebp - 4], eax
push 0x24c
push eax
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x25c]
push eax
call fcn.004bc420
pop ecx
pop ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x270], esp
mov ecx, esp
push eax
call fcn.00424ebe
call fcn.00470b40
push eax
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x268]
push eax
call fcn.00474ad0
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push ecx
mov ecx, esp
mov dword [ebp - 0x270], esp
push eax
push dword [edi]
push dword [ebp + 8]
push str.DeleteRegDatFiles:__s____s__LE_d
push ecx
call fcn.0046da40
add esp, 0x14
call fcn.00433e30
pop ecx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.0042201a
push 0x4f4718
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.00424a3b
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x27c]
mov ebx, eax
cmp ebx, 0xffffffff
setne byte [ebp - 0x261]
add ecx, 0xfffffff0
call fcn.0042201a
cmp byte [ebp - 0x261], 0
je 0x4347d0
push 0x5c
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x270], esp
mov ecx, esp
push eax
call fcn.00424ebe
lea eax, [ebp - 0x268]
push eax
call fcn.0046de50
add esp, 0xc
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x280], esp
push 0x4ebfa0
call fcn.004247ec
push ecx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x234]
mov ecx, esp
mov dword [ebp - 0x284], esp
push eax
call fcn.004247ec
push ecx
lea eax, [ebp - 0x268]
mov dword [ebp - 0x274], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 4
call fcn.00424ebe
lea edi, [ebp - 0x278]
mov byte [ebp - 4], 2
call fcn.0046d300
add esp, 8
mov eax, edi
mov dword [ebp - 0x274], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 5
call fcn.00424ebe
call fcn.00470b40
and dword [ebp - 0x26c], eax
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00474ad0
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 6
call esi
push ecx
mov ecx, esp
mov dword [ebp - 0x274], esp
push eax
push dword [edi]
push dword [ebp + 8]
push str.DeleteRegDatFiles:_deleting_satellite_file:__s____s__LE_d
push ecx
call fcn.0046da40
add esp, 0x14
call fcn.00433e30
pop ecx
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
call fcn.0042201a
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x278]
add ecx, 0xfffffff0
call fcn.0042201a
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4346d0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.0042201a
cmp dword [ebp - 0x26c], 0
jne 0x4347f5
push ecx
mov eax, esp
mov dword [ebp - 0x274], esp
push str.DeleteRegDatFiles_failed
push eax
call fcn.0046da40
pop ecx
pop ecx
call fcn.00433e30
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042201a
mov eax, dword [ebp - 0x26c]
call fcn.004c2034
ret
Function at 0x436dbf
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push 0x1c
mov eax, 0x4dd455
call fcn.004c1f48
push ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, esp
mov dword [ebp - 0x24], esp
push dword [ebp + 8]
push str.Loader_SetVirtEnvVariables:_in___s_
push eax
call fcn.0046da40
add esp, 0xc
call fcn.00433e30
pop ecx
mov dword [ebp - 0x1c], ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.::
lea edi, [ebp - 0x1c]
call fcn.004247ec
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 1
call fcn.00424ebe
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], bl
call fcn.00471790
add esp, 8
mov eax, esp
mov dword [ebp - 0x28], esp
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
push str.Loader_SetVirtEnvVariables:_setting_Env_variable:__s
push eax
call fcn.0046da40
add esp, 0xc
call fcn.00433e30
pop ecx
push ebx
push 0x3d
lea ecx, [ebp - 0x10]
call fcn.00426e76
mov esi, eax
cmp esi, 0xffffffff
jne 0x436e75
push ecx
mov eax, esp
mov dword [ebp - 0x28], esp
push str.Loader_SetVirtEnvVariables:__error:_Env_variable_doesnt_contain_
push eax
call fcn.0046da40
pop ecx
pop ecx
call fcn.00433e30
pop ecx
jmp 0x436f62
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.004249db
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00424ebe
push ebx
lea ecx, [ebp - 0x14]
lea eax, [esi + 1]
push ecx
mov byte [ebp - 4], 4
call fcn.00424883
push str._ExistingValue_
xor ecx, ecx
lea esi, [ebp - 0x14]
call fcn.004248ff
mov esi, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x436f47
call fcn.004ad3ae
push eax
lea ecx, [ebp - 0x18]
call fcn.0042249b
push ebx
push ebx
mov byte [ebp - 4], 5
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push esi
call edi
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x436f0f
push eax
lea ecx, [ebp - 0x18]
call fcn.004224c3
push dword [ebp - 0x24]
push eax
push esi
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.00424afa
cmp edi, ebx
jne 0x436f0f
push 0x4eda54
lea ecx, [ebp - 0x18]
call fcn.004253b5
mov edi, dword [ebp - 0x18]
push edi
push str._ExistingValue_
lea eax, [ebp - 0x14]
push eax
call fcn.0042b528
push ecx
mov eax, esp
mov dword [ebp - 0x28], esp
lea ecx, [ebp - 0x14]
push ecx
push str.Loader_SetVirtEnvVariables:_replacing__ExistingValue__with_existing_value:
push eax
call fcn.00424a90
add esp, 0xc
call fcn.00433e30
pop ecx
lea ecx, [edi - 0x10]
call fcn.0042201a
mov edi, dword [ebp - 0x14]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea ecx, [edi - 0x10]
call fcn.0042201a
lea ecx, [esi - 0x10]
call fcn.0042201a
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042201a
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x436df0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042201a
call fcn.004c2020
ret
Function at 0x437254
Capabilities:
Set environment variable

Disassembly:
push 0x10
mov eax, 0x4dd40a
call fcn.004c1f48
mov edi, ecx
and dword [ebp - 4], 0
push 0
push ecx
lea ebx, [edi + 0x5c]
mov ecx, esp
mov dword [ebp - 0x14], esp
push ebx
call fcn.004247d7
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.BaseDirName
call fcn.004247ec
push ecx
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x18], esp
push dword [edi + 0xc]
mov esi, str.SoftwareVOS_s
push esi
push eax
call fcn.0046da40
add esp, 0xc
mov byte [ebp - 4], 3
call fcn.0047e010
push eax
mov byte [ebp - 4], 0
call fcn.0046e8b0
add esp, 0x14
and eax, 1
push 0
push ecx
mov dword [ebp - 0x10], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00424ebe
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.CarrierExeName
call fcn.004247ec
push ecx
mov byte [ebp - 4], 5
mov eax, esp
mov dword [ebp - 0x1c], esp
push dword [edi + 0xc]
push esi
push eax
call fcn.0046da40
add esp, 0xc
mov byte [ebp - 4], 6
call fcn.0047e010
push eax
mov byte [ebp - 4], 0
call fcn.0046e8b0
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
and dword [ebp - 0x10], eax
add esp, 0x14
push dword [edi + 0xc]
push str.CAMEYO_RO_APPID
call esi
add edi, 0x68
push dword [edi]
push str.CAMEYO_RO_CARRIEREXE
call esi
push 0x5c
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edi
call fcn.004247d7
lea eax, [ebp - 0x14]
push eax
call fcn.0046de50
add esp, 0xc
push dword [eax]
push str.CAMEYO_RO_CARRIERDIR
call esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042201a
push dword [ebx]
push str.CAMEYO_RO_BASEDIRNAME
call esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042201a
xor eax, eax
cmp dword [ebp - 0x10], eax
sete al
call fcn.004c2020
ret

Function at 0x437384
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push ecx
mov dword [ebp - 4], esp
mov edi, esp
push 0
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 4], esp
push str.License.accepted
call fcn.004247ec
push 0
push edi
call fcn.0047e910
add esp, 0x18
call fcn.004700f0
pop ecx
test eax, eax
jne 0x4373db
push ecx
mov eax, esp
mov dword [ebp - 4], esp
push str._Loader_Main:_EULA_refused
push eax
call fcn.0046da40
pop ecx
pop ecx
call fcn.00433e30
pop ecx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
leave
ret

Function at 0x4373de
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
mov eax, ecx
mov dword [ecx + 0x28], edx
push esi
mov esi, dword [eax]
xor dword [ecx + 0x28], esi
lea esi, [edx + 0x21]
xor dword [eax], esi
add eax, 4
inc edx
cmp edx, 0xa
jb 0x4373e6
pop esi
ret
Function at 0x43bd48
Capabilities:
Delete directory
Query or enumerate registry value

Disassembly:
push 0x20
mov eax, 0x4dd23d
call fcn.004c1f48
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
call fcn.004ad3ae
push eax
lea ecx, [ebp - 0x10]
call fcn.0042249b
push ecx
mov dword [ebp - 4], ebx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Loader_UnregisterApp_Shortcuts_NewDirs
mov dword [ebp - 0x24], 1
call fcn.004247ec
call fcn.00433e30
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
mov edi, str.SoftwareVOS_s
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.0046da40
mov esi, str.IntegratedLnkNewDirs
push esi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
call fcn.00424a3b
add esp, 0x1c
lea ecx, [ebp - 0x1c]
push ecx
push 9
mov byte [ebp - 4], 2
mov eax, dword [eax]
push ebx
push eax
call fcn.0047e010
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
call fcn.0042201a
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0042201a
cmp dword [ebp - 0x14], ebx
je 0x43be00
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042201a
mov eax, ebx
call fcn.004c2020
ret
mov dword [ebp - 0x18], ebx
mov eax, 0x514
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x28], eax
call fcn.004224c3
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x28]
push ecx
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.00424afa
cmp dword [ebp - 0x14], ebx
je 0x43be3e
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x20], 0x4f7bd8
cmp eax, ebx
jne 0x43be59
mov dword [ebp - 0x20], str.ERROR
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x10]
push str.Loader_UnregisterApp_Shortcuts_NewDirs:_dir_to_remove:__s____s__LE_d_
push ecx
call fcn.0046da40
add esp, 0x14
call fcn.00433e30
inc dword [ebp - 0x18]
pop ecx
cmp dword [ebp - 0x14], ebx
je 0x43be03
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.0046da40
push esi
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 3
call fcn.00424a3b
add esp, 0x18
mov byte [ebp - 4], 4
mov eax, dword [eax]
push ebx
push eax
call fcn.0047e010
push eax
call fcn.0046eb80
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0042201a
mov ebx, dword [ebp - 0x24]
jmp 0x43bded
Function at 0x43beeb
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x4deb8d
call fcn.004c1f48
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
call fcn.004ad3ae
push eax
lea ecx, [ebp - 0x10]
call fcn.0042249b
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
mov edi, str.SoftwareVOS_s
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.0046da40
mov esi, str.IntegratedLnk
push esi
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00424a3b
add esp, 0x18
lea ecx, [ebp - 0x1c]
push ecx
push 9
mov byte [ebp - 4], 2
mov eax, dword [eax]
push ebx
push eax
call fcn.0047e010
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
call fcn.0042201a
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0042201a
cmp dword [ebp - 0x14], ebx
jne 0x43c068
mov dword [ebp - 0x18], ebx
mov eax, 0x514
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x20], eax
call fcn.004224c3
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.00424afa
cmp dword [ebp - 0x14], ebx
jne 0x43c009
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00424ebe
call fcn.00470b40
pop ecx
mov dword [ebp - 0x14], 0x4f7bd8
cmp eax, ebx
jne 0x43bfda
mov dword [ebp - 0x14], str.ERROR
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push str.Loader_UnregisterApp_Shortcuts:_Lnk_to_remove:__s____s__LE_d_
push ecx
call fcn.0046da40
add esp, 0x14
call fcn.00433e30
inc dword [ebp - 0x18]
pop ecx
jmp 0x43bf7b
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
call fcn.0043bd48
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.0046da40
push esi
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 3
call fcn.00424a3b
add esp, 0x1c
mov byte [ebp - 4], 4
mov eax, dword [eax]
push ebx
push eax
call fcn.0047e010
push eax
call fcn.0046eb80
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042201a
xor eax, eax
inc eax
call fcn.004c2020
ret