joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433c38
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
xor esi, esi
push esi
push dword [0x542f20]
add eax, 0xffffff7e
push esi
push dword [0x542f0c]
cdq
push 0x82
sub eax, edx
push 0x190
sar eax, 1
push eax
mov eax, dword [ebp - 8]
add eax, 0xfffffe70
cdq
sub eax, edx
sar eax, 1
push eax
push 0x80c90000
push dword [ebp + 0xc]
push str.InputBox
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x542f08], eax
cmp eax, esi
jne 0x433cae
xor eax, eax
jmp 0x433e2c
push ebx
push edi
push dword [ebp + 0x10]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [0x542f1c]
call edi
push dword [0x542f08]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
push dword [0x542f0c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push dword [0x542f08]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x542f08]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp + 0x14], esi
je 0x433d20
push dword [ebp + 0x14]
push dword [0x542f10]
call edi
cmp dword [ebp + 0x18], esi
je 0x433d20
push dword [ebp + 0x18]
push esi
push 0xb1
push dword [0x542f10]
call ebx
mov dword [ebp + 0x14], esi
jmp 0x433e12
cmp dword [ebp - 0x28], 0x100
jne 0x433dfe
cmp dword [ebp - 0x24], 0x1b
jne 0x433d4a
push esi
push esi
push 2
push dword [0x542f08]
call ebx
mov dword [ebp + 0x14], esi
cmp dword [ebp - 0x24], 0xd
jne 0x433db4
push dword [0x542f10]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
inc edi
cmp eax, esi
je 0x433d76
push eax
call fcn.004bbdf1
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax + 4], esi
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004bbdfc
pop ecx
mov ecx, dword [ebp + 8]
push edi
push eax
push dword [0x542f10]
mov dword [ecx + 4], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
push esi
push 2
push dword [0x542f08]
call ebx
mov dword [ebp + 0x14], 1
cmp dword [ebp - 0x24], 9
jne 0x433dfe
call dword [sym.imp.USER32.dll_GetFocus]
mov edi, eax
cmp edi, dword [0x542f10]
jne 0x433dd6
push dword [0x542f14]
call dword [sym.imp.USER32.dll_SetFocus]
cmp edi, dword [0x542f14]
jne 0x433dea
push dword [0x542f18]
call dword [sym.imp.USER32.dll_SetFocus]
cmp edi, dword [0x542f18]
jne 0x433dfe
push dword [0x542f10]
call dword [sym.imp.USER32.dll_SetFocus]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x433d28
mov eax, dword [ebp + 0x14]
pop edi
pop ebx
pop esi
leave
ret 0x14
Function at 0x436740
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x4ef9a4
call fcn.004d2094
lea eax, [ebp + 8]
xor ebx, ebx
lea ecx, [esi + 0xa0]
push eax
mov dword [ebp - 4], ebx
call fcn.00424f10
cmp dword [esi + 0xa4], ebx
je 0x4367c9
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
je 0x4367a3
push eax
lea eax, [ebp - 0x10]
push 0x5062d0
push eax
call fcn.00478210
add esp, 0xc
mov byte [ebp - 4], 1
push dword [eax]
lea ecx, [esi + 0x221c]
call fcn.004c43fe
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042201a
jmp 0x4367b3
push 0x50007c
lea ecx, [esi + 0x221c]
call fcn.004c43fe
mov eax, dword [esi + 0xa4]
test byte [eax + 4], 1
lea ecx, [esi + 0x19f0]
jne 0x4367df
push 1
jmp 0x4367e0
push 0x50007c
lea ecx, [esi + 0x221c]
call fcn.004c43fe
lea ecx, [esi + 0x19f0]
push ebx
call fcn.004c44a0
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [ecx - 0xc], ebx
lea ecx, [esi + 0x1218]
setne al
push eax
call fcn.004c44a0
mov eax, dword [esi + 0xa4]
cmp eax, ebx
je 0x436879
test byte [eax + 4], 2
push ebx
push ebx
push 0x1009
push dword [esi + 0x1d0]
je 0x436839
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0xffffffffffffffff
push ebx
push ebx
push str.Drag__drop_here_files_from_your_computer
push ebx
push 3
lea ecx, [esi + 0x1b0]
call fcn.004c57eb
jmp 0x436879
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0xfa
push 1
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
push dword [esi + 0x138]
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
push 0x435d68
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042201a
call fcn.004d216c
ret 4
Function at 0x439d7d
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 [0x542fa8], 0
jne 0x439d99
call fcn.004a5fa0
lea ecx, [esi + esi]
xor eax, eax
test ecx, ecx
jle 0x439dbd
movzx esi, byte [eax + edx]
xor esi, edi
and esi, 0xff
shr edi, 8
xor edi, dword [esi*4 + 0x542ad8]
inc eax
cmp eax, ecx
jl 0x439da2
lea ecx, [edx - 0x10]
call fcn.0042201a
mov eax, edi
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x439dcd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
jbe 0x439dec
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 0x439dd7
pop ebp
ret
Function at 0x43a35a
Capabilities:
Check mutex on windows
Encode data using xor

Disassembly:
push 0x4c
mov eax, 0x4ebd21
call fcn.004d2094
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.0047e320
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], esi
call fcn.0047e410
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebx + 4]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.004247d5
call fcn.00439d7d
mov dword [ebx + 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.00424eef
call fcn.00439d7d
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.00424eef
call fcn.00439d7d
mov dword [ebx + 0x20], eax
lea eax, [ebx + 8]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.004247d5
call fcn.00439d7d
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 [0x542fa8], esi
jne 0x43a420
call fcn.004a5fa0
movzx eax, byte [ebx + esi + 0x18]
xor eax, edx
and eax, 0xff
shr edx, 8
xor edx, dword [eax*4 + 0x542ad8]
inc esi
cmp esi, 0x24
jl 0x43a420
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 0x43a44f
push dword [ebx + 4]
lea eax, [ebp - 0x1c]
push str.Cameyo.AuthToken.AppId._s
push eax
call fcn.00478210
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 0x43a49d
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.004247d5
call fcn.00478be0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x43a502
push 0x5c
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push ebx
call fcn.004247d5
lea eax, [ebp - 0x20]
push eax
call fcn.00478620
mov esi, dword [eax]
add esp, 0xc
call fcn.0047ae40
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.004247d5
call fcn.00478be0
pop ecx
pop ecx
mov esi, eax
cmp dword [ebp - 0x10], 0
je 0x43a51a
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.004d216c
ret
Function at 0x43a538
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
or edx, 0xffffffff
cmp dword [0x542fa8], 0
push esi
mov esi, eax
jne 0x43a550
call fcn.004a5fa0
xor eax, eax
movzx ecx, byte [esi + eax + 4]
xor ecx, edx
and ecx, 0xff
shr edx, 8
xor edx, dword [ecx*4 + 0x542ad8]
inc eax
cmp eax, 0x24
jl 0x43a552
mov esi, dword [esi]
not edx
cmp esi, edx
je 0x43a597
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.00478210
add esp, 0x10
call fcn.00439d4d
pop ecx
xor eax, eax
jmp 0x43a59a
xor eax, eax
inc eax
pop esi
leave
ret
Function at 0x43bbb3
Capabilities:
Move file

Disassembly:
push 0xc
mov eax, 0x4f2dec
call fcn.004d2094
and dword [ebp - 4], 0
push 0
call fcn.004cf01c
push eax
call fcn.004cf4dd
call fcn.004cf4ef
mov esi, eax
call fcn.004cf4ef
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.00424eef
lea eax, [ebp - 0x18]
push eax
call fcn.00478540
add esp, 0xc
mov byte [ebp - 4], 1
push dword [eax]
push str._s._x.ToDelete
push esi
call fcn.00478210
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
add esp, 0x10
push eax
call fcn.00489d50
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.00424eef
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00489a30
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.004d216c
ret

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

Disassembly:
push 0x264
mov eax, 0x4edc8b
call fcn.004d20fd
and dword [ebp - 0x260], 0
push 0x24c
lea eax, [ebp - 0x25c]
push 0
push eax
call fcn.004cc1d0
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x26c], esp
push 0x5082a8
call fcn.004247ea
lea eax, [ebp - 0x26c]
push eax
mov ecx, edi
call fcn.00489d50
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 0x43bd9a
push ecx
lea eax, [ebp - 0x234]
mov ecx, esp
mov dword [ebp - 0x270], esp
push eax
call fcn.004247ea
lea eax, [ebp - 0x268]
push eax
mov ecx, edi
call fcn.00489d50
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.00478210
add esp, 0xc
call fcn.0043b6e5
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 0x43bd17
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.004d2180
ret
Function at 0x43be9e
Capabilities:
Enumerate files on windows

Disassembly:
push 0x278
mov eax, 0x4edc2d
call fcn.004d20fd
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.004cc1d0
pop ecx
pop ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x270], esp
mov ecx, esp
push eax
call fcn.00424eef
call fcn.0047b7b0
push eax
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x268]
push eax
call fcn.0047f740
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.00478210
add esp, 0x14
call fcn.0043b6e5
pop ecx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.0042201a
push 0x5085a8
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.00424a39
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 0x43c0b1
push 0x5c
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x270], esp
mov ecx, esp
push eax
call fcn.00424eef
lea eax, [ebp - 0x268]
push eax
call fcn.00478620
add esp, 0xc
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x280], esp
push 0x4fe58c
call fcn.004247ea
push ecx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x234]
mov ecx, esp
mov dword [ebp - 0x284], esp
push eax
call fcn.004247ea
push ecx
lea eax, [ebp - 0x268]
mov dword [ebp - 0x274], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 4
call fcn.00424eef
lea edi, [ebp - 0x278]
mov byte [ebp - 4], 2
call fcn.00477ad0
add esp, 8
mov eax, edi
mov dword [ebp - 0x274], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 5
call fcn.00424eef
call fcn.0047b7b0
and dword [ebp - 0x26c], eax
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.0047f740
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.00478210
add esp, 0x14
call fcn.0043b6e5
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 0x43bfb1
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 0x43c0d6
push ecx
mov eax, esp
mov dword [ebp - 0x274], esp
push str.DeleteRegDatFiles_failed
push eax
call fcn.00478210
pop ecx
pop ecx
call fcn.0043b6e5
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042201a
mov eax, dword [ebp - 0x26c]
call fcn.004d2180
ret
Function at 0x43e6cd
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push 0x1c
mov eax, 0x4edb9d
call fcn.004d2094
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.00478210
add esp, 0xc
call fcn.0043b6e5
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.004247ea
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 1
call fcn.00424eef
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], bl
call fcn.0047c400
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.00478210
add esp, 0xc
call fcn.0043b6e5
pop ecx
push ebx
push 0x3d
lea ecx, [ebp - 0x10]
call fcn.00426fbf
mov esi, eax
cmp esi, 0xffffffff
jne 0x43e783
push ecx
mov eax, esp
mov dword [ebp - 0x28], esp
push str.Loader_SetVirtEnvVariables:__error:_Env_variable_doesnt_contain_
push eax
call fcn.00478210
pop ecx
pop ecx
call fcn.0043b6e5
pop ecx
jmp 0x43e870
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.004249d9
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00424eef
push ebx
lea ecx, [ebp - 0x14]
lea eax, [esi + 1]
push ecx
mov byte [ebp - 4], 4
call fcn.00424881
push str._ExistingValue_
xor ecx, ecx
lea esi, [ebp - 0x14]
call fcn.004248fd
mov esi, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x43e855
call fcn.004bc4b7
push eax
lea ecx, [ebp - 0x18]
call fcn.0042636f
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 0x43e81d
push eax
lea ecx, [ebp - 0x18]
call fcn.0042249e
push dword [ebp - 0x24]
push eax
push esi
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.00424af8
cmp edi, ebx
jne 0x43e81d
push 0x50007c
lea ecx, [ebp - 0x18]
call fcn.0042538f
mov edi, dword [ebp - 0x18]
push edi
push str._ExistingValue_
lea eax, [ebp - 0x14]
push eax
call fcn.0042b6e0
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.00424a8e
add esp, 0xc
call fcn.0043b6e5
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 0x43e6fe
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042201a
call fcn.004d216c
ret
Function at 0x43ebad
Capabilities:
Set environment variable

Disassembly:
push 0x10
mov eax, 0x4edb52
call fcn.004d2094
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.004247d5
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.BaseDirName
call fcn.004247ea
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.00478210
add esp, 0xc
mov byte [ebp - 4], 3
call fcn.00489090
push eax
mov byte [ebp - 4], 0
call fcn.00479080
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.00424eef
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.CarrierExeName
call fcn.004247ea
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.00478210
add esp, 0xc
mov byte [ebp - 4], 6
call fcn.00489090
push eax
mov byte [ebp - 4], 0
call fcn.00479080
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.004247d5
lea eax, [ebp - 0x14]
push eax
call fcn.00478620
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.004d216c
ret

Function at 0x43ecdd
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.004247ea
push 0
push edi
call fcn.00489a30
add esp, 0x18
call fcn.0047ad60
pop ecx
test eax, eax
jne 0x43ed34
push ecx
mov eax, esp
mov dword [ebp - 4], esp
push str._Loader_Main:_EULA_refused
push eax
call fcn.00478210
pop ecx
pop ecx
call fcn.0043b6e5
pop ecx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
leave
ret

Function at 0x43ed37
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 0x43ed3f
pop esi
ret
Function at 0x4436d9
Capabilities:
Delete directory
Query or enumerate registry value

Disassembly:
push 0x20
mov eax, 0x4ed985
call fcn.004d2094
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
call fcn.004bc4b7
push eax
lea ecx, [ebp - 0x10]
call fcn.0042636f
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.004247ea
call fcn.0043b6e5
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
mov edi, str.SoftwareVOS_s
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00478210
mov esi, str.IntegratedLnkNewDirs
push esi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
call fcn.00424a39
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.00489090
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 0x443791
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042201a
mov eax, ebx
call fcn.004d216c
ret
mov dword [ebp - 0x18], ebx
mov eax, 0x514
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x28], eax
call fcn.0042249e
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.00424af8
cmp dword [ebp - 0x14], ebx
je 0x4437cf
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x20], 0x5059f0
cmp eax, ebx
jne 0x4437ea
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.00478210
add esp, 0x14
call fcn.0043b6e5
inc dword [ebp - 0x18]
pop ecx
cmp dword [ebp - 0x14], ebx
je 0x443794
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.00478210
push esi
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 3
call fcn.00424a39
add esp, 0x18
mov byte [ebp - 4], 4
mov eax, dword [eax]
push ebx
push eax
call fcn.00489090
push eax
call fcn.00479350
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 0x44377e