joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d650
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x20], ebx
push edi
test esi, esi
je 0x48d802
test ebx, ebx
je 0x48d678
cmp dword [ebx + 0x200], 0
jne 0x48d687
mov eax, 0xffff
add word [esi + 0x28], ax
jne 0x48d802
mov edi, dword [esi + 8]
mov dword [ebp - 0x14], edi
test edi, edi
je 0x48d7b7
mov esi, dword [edi + 0x14]
mov dword [ebp - 0x10], esi
test ebx, ebx
je 0x48d6ac
cmp dword [ebx + 0x200], 0
jne 0x48d758
mov esi, dword [edi]
mov ecx, esi
mov dword [ebp - 0x24], esi
test esi, esi
je 0x48d6ce
cmp byte [esi], 0
je 0x48d6c6
nop dword [eax]
inc ecx
cmp byte [ecx], 0
jne 0x48d6c0
sub ecx, esi
and ecx, 0x3fffffff
mov eax, dword [edi + 0x18]
add eax, 0x18
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
test edx, edx
je 0x48d72e
xor eax, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
test ecx, ecx
jle 0x48d724
mov edi, ecx
mov ebx, eax
mov ecx, esi
movzx eax, byte [ecx]
lea edx, [ebx*8]
dec edi
lea ecx, [ecx + 1]
movzx esi, byte [eax + 0x556d10]
xor esi, edx
xor ebx, esi
test edi, edi
jg 0x48d6f5
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
jmp 0x48d730
xor edx, edx
push edx
mov dword [ebp - 8], edx
mov edx, esi
push ecx
mov ecx, eax
call fcn.0045bb80
add esp, 8
test eax, eax
je 0x48d755
push dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, eax
call fcn.0045bc30
add esp, 4
mov esi, dword [ebp - 0x10]
test ebx, ebx
je 0x48d765
cmp dword [ebx + 0x200], 0
jne 0x48d77a
mov eax, dword [edi + 0x28]
test eax, eax
je 0x48d77a
add dword [eax], 0xffffffff
jne 0x48d77a
push eax
call fcn.00457f10
add esp, 4
mov edx, dword [edi + 0x24]
mov ecx, ebx
call fcn.00484e50
mov edx, dword [edi + 0x10]
mov ecx, ebx
call fcn.00457fb0
test byte [edi + 0x38], 0x10
je 0x48d79e
mov edx, dword [edi + 0x20]
mov ecx, ebx
call fcn.00457fb0
mov edx, edi
mov ecx, ebx
call fcn.00457fb0
mov dword [ebp - 0x14], esi
mov edi, esi
test esi, esi
jne 0x48d695
mov esi, dword [ebp - 0x2c]
mov edx, esi
mov ecx, ebx
call fcn.00499150
mov edx, esi
mov ecx, ebx
call fcn.0048d5d0
mov edx, dword [esi]
mov ecx, ebx
call fcn.00457fb0
mov edx, dword [esi + 0x14]
mov ecx, ebx
call fcn.00457fb0
mov edx, dword [esi + 0xc]
mov ecx, ebx
call fcn.004a1840
mov edx, dword [esi + 0x18]
mov ecx, ebx
call fcn.00485ad0
mov edx, esi
mov ecx, ebx
call fcn.004ae7c0
mov edx, esi
mov ecx, ebx
call fcn.00457fb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c0040
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x58f070]
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
cmp dword [esi], 0
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
jne 0x4c009a
push str.OPM_db_is_not_initialized_in_opd_getOpdSchemaVersion
push 0x56928c
call fcn.004c3260
push eax
call fcn.004c3e80
add esp, 0xc
mov eax, 1
jmp 0x4c011c
push 0x35
push str.SELECT_value_FROM_opm_meta_WHERE_keyschema_version
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00408580
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [esi]
cmovae edx, dword [ebp - 0x28]
push edi
call fcn.004bf7b0
mov edi, eax
add esp, 4
test edi, edi
jne 0x4c0105
push 0x43
push str.SELECT_value_FROM_opm_meta_WHERE_keyschema_compatibility_version
lea ecx, [ebp - 0x28]
call fcn.00408580
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov ecx, dword [esi]
cmovae edx, dword [ebp - 0x28]
push ebx
call fcn.004bf7b0
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4c011a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00408d20
mov eax, 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.0050ce8d
mov esp, ebp
pop ebp
ret 8
Function at 0x4c2990
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
xor ebp, ebp
push edi
mov edi, esi
mov dword [esp + 0x18], edx
shr edi, 2
mov ebx, ecx
test edi, edi
je 0x4c2a44
cmp edi, 8
jb 0x4c2a23
lea eax, [edx - 4]
lea eax, [eax + edi*4]
lea ecx, [ebx - 4]
lea ecx, [ecx + edi*4]
cmp ebx, eax
ja 0x4c29c9
cmp ecx, edx
jae 0x4c2a23
mov eax, edi
mov ecx, edi
and eax, 7
mov esi, edx
sub ecx, eax
sub esi, ebx
mov dword [esp + 0x10], esi
lea eax, [ebx + 0x10]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
mov ecx, edx
mov edx, dword [esp + 0x10]
nop dword [eax + eax]
movups xmm0, xmmword [ecx]
add ebp, 8
lea ecx, [ecx + 0x20]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax - 0x30]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [edx + eax - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ebp, dword [esp + 0x14]
jb 0x4c29f0
mov edx, dword [esp + 0x18]
cmp ebp, edi
jae 0x4c2a44
mov esi, edx
lea ecx, [ebx + ebp*4]
sub edi, ebp
sub esi, ebx
add ebp, edi
mov eax, dword [ecx + esi]
lea ecx, [ecx + 4]
xor dword [ecx - 4], eax
sub edi, 1
jne 0x4c2a32
mov esi, dword [esp + 0x20]
shl ebp, 2
sub esi, ebp
je 0x4c2ac4
add ebx, ebp
add edx, ebp
xor ecx, ecx
test esi, esi
je 0x4c2ac4
cmp esi, 0x20
jb 0x4c2aab
lea eax, [edx - 1]
lea edi, [ebx - 1]
add eax, esi
add edi, esi
cmp ebx, eax
ja 0x4c2a6c
cmp edi, edx
jae 0x4c2aab
mov eax, esi
mov edi, esi
and eax, 0x1f
mov ebp, edx
sub edi, eax
mov eax, ebx
sub ebp, ebx
nop dword [eax + eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax + ebp - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [edx + ecx + 0x10]
add ecx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ecx, edi
jb 0x4c2a80
cmp ecx, esi
jae 0x4c2ac4
sub edx, ebx
lea eax, [ecx + ebx]
sub esi, ecx
mov cl, byte [eax + edx]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub esi, 1
jne 0x4c2ab6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4c2d00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov eax, edx
push edi
mov edi, esi
mov dword [esp + 0x10], eax
shr edi, 2
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x1c], edi
mov ebp, ecx
test edi, edi
je 0x4c2dd9
cmp edi, 8
jb 0x4c2db6
mov ebx, dword [esp + 0x10]
mov eax, edi
and eax, 7
mov ecx, edi
sub ecx, eax
mov esi, ebp
sub esi, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
lea eax, [ebx + 0x10]
mov esi, dword [esp + 0x24]
xorps xmm3, xmm3
mov ebx, dword [esp + 0x14]
movaps xmm2, xmm3
mov edi, dword [esp + 0x18]
mov ecx, ebp
movups xmm0, xmmword [ecx]
add edx, 8
lea ecx, [ecx + 0x20]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax - 0x30]
pxor xmm1, xmm0
por xmm3, xmm1
movups xmm1, xmmword [edi + eax - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp edx, ebx
jb 0x4c2d61
mov edi, dword [esp + 0x1c]
por xmm2, xmm3
mov eax, dword [esp + 0x10]
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd ebx, xmm2
cmp edx, edi
jae 0x4c2dd9
mov esi, ebp
lea ecx, [eax + edx*4]
sub edi, edx
sub esi, eax
add edx, edi
mov eax, dword [ecx + esi]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
or ebx, eax
sub edi, 1
jne 0x4c2dc5
mov esi, dword [esp + 0x24]
shl edx, 2
sub esi, edx
jne 0x4c2def
pop edi
xor eax, eax
test ebx, ebx
pop esi
pop ebp
sete al
pop ebx
add esp, 0x10
ret
mov ecx, dword [esp + 0x10]
add ebp, edx
add ecx, edx
mov eax, ebx
shr eax, 0x10
mov edx, ebx
shr edx, 0x18
xor edi, edi
or dl, al
mov dword [esp + 0x10], ecx
mov eax, ebx
shr eax, 8
or dl, al
or dl, bl
mov dword [esp + 0x1c], edx
test esi, esi
je 0x4c2ed5
cmp esi, 0x20
jb 0x4c2eb9
mov eax, esi
mov ebx, esi
and eax, 0x1f
mov edx, ebp
sub ebx, eax
xorps xmm3, xmm3
sub edx, ecx
mov eax, ecx
mov dword [esp + 0x18], edx
movaps xmm2, xmm3
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
nop dword [eax + eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax + ecx - 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x10]
por xmm3, xmm1
movups xmm1, xmmword [edi + ebp + 0x10]
add edi, 0x20
pxor xmm1, xmm0
por xmm2, xmm1
cmp edi, ebx
jb 0x4c2e50
por xmm2, xmm3
mov ecx, dword [esp + 0x10]
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd eax, xmm2
or dl, al
cmp edi, esi
jae 0x4c2ed5
sub ebp, dword [esp + 0x10]
add ecx, edi
sub esi, edi
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
or dl, al
sub esi, 1
jne 0x4c2ec5
pop edi
xor eax, eax
test dl, dl
pop esi
pop ebp
sete al
pop ebx
add esp, 0x10
ret
Function at 0x4c3050
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543800
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x58f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
mov dword [ebp - 0x418], 0x59afd8
call fcn.00450eb0
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 0
push eax
push 0x200
mov dword [0x59afd8], 0x571eac
mov dword [0x59b064], 0
mov word [0x59b068], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4c30e1
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 8
call fcn.0050d2f7
mov esi, eax
add esp, 4
mov dword [ebp - 0x414], esi
mov dword [esi], 0
mov byte [esi + 4], 0
mov dword [0x59b060], esi
cmp dword [esi], 0
jne 0x4c311b
push 0x572e18
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [esi], eax
push 0xc0
call fcn.0050d2f7
add esp, 4
mov dword [ebp - 0x414], eax
push 0x571e18
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0044ba40
mov byte [ebp - 4], 0
mov ecx, eax
push 0x1e
mov dword [0x59b05c], eax
call fcn.00450540
mov ecx, dword [0x59b05c]
push 0x55c340
push 0x571e04
call fcn.00450780
push dword [0x59b05c]
call fcn.00449f60
mov ecx, eax
call fcn.0044a000
push 3
push 0x571e18
mov ecx, 0x59aff8
call fcn.00412ae0
mov eax, 0x59afd8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ce8d
mov esp, ebp
pop ebp
ret

Function at 0x4c8690
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544180
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x58f070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov byte [edx + 0x51], 0
mov dword [edx + 0x58], 0x10
cmp byte [edx + 0x51], 0
jne 0x4c86e2
mov byte [edx + 0x51], 1
lea ecx, [edx + 0x10]
jmp 0x4c86e4
xor ecx, ecx
mov dword [edx + 0x5c], ecx
mov byte [edx + 0xa1], 0
mov dword [edx + 0xa8], 0x10
cmp byte [edx + 0xa1], 0
jne 0x4c870d
mov byte [edx + 0xa1], 1
lea ecx, [edx + 0x60]
jmp 0x4c870f
xor ecx, ecx
mov dword [edx + 0xac], ecx
mov eax, edx
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4c98d0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x58f070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x100
push eax
lea eax, [ebp - 0x210]
mov esi, ecx
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x4c993c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Failed_in_getting_user_name_error:_d
push 0x56928c
push ecx
call fcn.004c3260
add esp, 4
push eax
call fcn.004c3e80
add esp, 0x10
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ce8d
mov esp, ebp
pop ebp
ret
cmp word [ebp - 0x210], 0
jne 0x4c994a
xor ecx, ecx
jmp 0x4c9962
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c9953
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.00412ae0
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0050ce8d
mov esp, ebp
pop ebp
ret
Function at 0x4cb4d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54477e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58f070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0x24]
mov esi, eax
mov dword [ebp - 0x10], esi
push dword [ebp + 0x14]
mov dword [ebp - 4], 0
mov ecx, edi
push dword [ebp + 0x10]
mov eax, dword [edi]
push esi
call dword [eax + 0x28]
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
call dword [eax + 0xc]
mov eax, dword [edi]
mov ecx, edi
push esi
mov eax, dword [eax + 0x30]
call eax
mov bl, al
mov dword [ebp - 4], 1
mov ecx, esi
mov edx, dword [esi]
push 1
call dword [edx]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4cf430
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c256
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x58f070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
xor al, al
mov ecx, dword [esi + 0x2c]
mov edi, edx
rep stosb byte es:[edi], al
push edx
call fcn.005104c0
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4cf47f
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x4cf490
push 0x44
push esi
call fcn.0050d595
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4cfe10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c256
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x58f070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x50]
xor al, al
mov ecx, dword [esi + 0x4c]
mov edi, edx
rep stosb byte es:[edi], al
push edx
call fcn.005104c0
mov edx, dword [esi + 0x30]
xor al, al
mov ecx, dword [esi + 0x2c]
mov edi, edx
rep stosb byte es:[edi], al
push edx
call fcn.005104c0
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4cfe71
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x4cfe82
push 0x60
push esi
call fcn.0050d595
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4d0f20
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push esi
xor eax, eax
push edi
movzx esi, byte [eax + 0x559268]
mov edx, esi
mov ecx, esi
shr edx, 7
imul edi, edx, 0x1b000000
shl ecx, 0x19
imul edx, edx, 0x11b
xor edi, ecx
mov ecx, esi
shl ecx, 8
or ecx, esi
shl ecx, 8
or edi, ecx
lea ecx, [esi + esi]
xor edx, ecx
xor ecx, ecx
xor edx, esi
or ecx, edi
or edx, edi
mov dword [eax*8 + 0x599520], ecx
mov dword [eax*8 + 0x599524], edx
inc eax
cmp eax, 0x100
jl 0x4d0f24
xorps xmm0, xmm0
pop edi
movlpd qword [0x599d28], xmm0
movlpd qword [0x599d20], xmm0
mov byte [0x5993bd], 1
pop esi
ret
Function at 0x4e0260
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x58f070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push 0
push 0
mov edi, ecx
mov esi, edx
push edi
push 0
xor bl, bl
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
lea eax, [ebp - 0x20c]
push eax
js 0x4e02fe
push dword [ebp - 0x210]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4e02f0
cmp word [ebp - 0x20c], 0
jne 0x4e02c3
xor ecx, ecx
jmp 0x4e02df
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e02d0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00412ae0
mov bl, 1
push dword [ebp - 0x210]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x4e0346
push 1
push 0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4e0346
cmp word [ebp - 0x20c], 0
jne 0x4e031d
xor ecx, ecx
jmp 0x4e0335
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e0326
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00412ae0
mov bl, 1
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4e0398
cmp dword [esi + 0x14], 8
jb 0x4e0357
mov eax, dword [esi]
jmp 0x4e0359
mov eax, esi
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x4e0398
lea eax, [ecx - 1]
cmp eax, ecx
ja 0x4e038c
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 8
jb 0x4e0373
mov esi, dword [esi]
xor ecx, ecx
pop edi
mov word [esi + eax*2], cx
mov al, bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ce8d
mov esp, ebp
pop ebp
ret
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00414270
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050ce8d
mov esp, ebp
pop ebp
ret

Function at 0x4e03b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0
push 0
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
test edi, edi
jne 0x4e03cf
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
push esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00522218
mov esi, eax
add esp, 4
test esi, esi
je 0x4e0407
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
test eax, eax
jne 0x4e040f
call fcn.005104c0
add esp, 4
pop esi
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
call fcn.004127f0
push esi
call fcn.005104c0
add esp, 4
mov al, 1
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4e0560
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x58f070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x2b
lea eax, [ebp - 0x20c]
mov esi, ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x4e059e
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ce8d
mov esp, ebp
pop ebp
ret
push 0x55c2dc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005270a2
add esp, 0xc
cmp word [ebp - 0x20c], 0
jne 0x4e05c5
xor ecx, ecx
jmp 0x4e05df
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e05d0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00412ae0
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0050ce8d
mov esp, ebp
pop ebp
ret

Function at 0x4e0600
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x58f070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x1c
lea eax, [ebp - 0x20c]
mov esi, ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x4e063e
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ce8d
mov esp, ebp
pop ebp
ret
push 0x55c2dc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005270a2
add esp, 0xc
cmp word [ebp - 0x20c], 0
jne 0x4e0665
xor ecx, ecx
jmp 0x4e067f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e0670
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00412ae0
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0050ce8d
mov esp, ebp
pop ebp
ret

Function at 0x4e06d0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x58f070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x26
lea eax, [ebp - 0x20c]
mov esi, ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x4e070e
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ce8d
mov esp, ebp
pop ebp
ret
cmp word [ebp - 0x20c], 0
jne 0x4e071c
xor ecx, ecx
jmp 0x4e0734
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e0725
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00412ae0
push 0x1b
push str.AdobeAdobe_Creative_Cloud
mov ecx, esi
call fcn.00412be0
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0050ce8d
mov esp, ebp
pop ebp
ret
Function at 0x4e0770
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, edx
cmp ecx, 0x20
ja case.0x4e077c.31
jmp dword [ecx*4 + 0x4e0998]
push ecx
mov ecx, 0x26
call fcn.004e0260
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x2a
call fcn.004e0260
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x2b
call fcn.004e0260
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x2c
call fcn.004e0260
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x24
call fcn.004e0260
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x25
call fcn.004e0260
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x29
call fcn.004e0260
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x14
call fcn.004e0260
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x17
call fcn.004e0260
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x28
call fcn.004e0260
add esp, 4
pop esi
ret
push ecx
mov ecx, 5
call fcn.004e0260
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x1a
call fcn.004e0260
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x1c
call fcn.004e0260
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x23
call fcn.004e0260
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x2e
call fcn.004e0260
add esp, 4
pop esi
ret
mov ecx, esi
pop esi
jmp fcn.004e03b0
mov ecx, esi
pop esi
jmp fcn.004e0430
mov ecx, esi
pop esi
jmp fcn.004e04c0
mov ecx, esi
pop esi
jmp fcn.004e0560
mov ecx, esi
pop esi
jmp fcn.004e0600
mov ecx, esi
pop esi
jmp fcn.004e06a0
mov ecx, esi
call fcn.004e0560
test al, al
je case.0x4e077c.31
push str.OOBE
mov ecx, esi
call fcn.00412840
mov al, 1
pop esi
ret
mov ecx, esi
call fcn.004e0600
test al, al
je case.0x4e077c.31
push str.OOBE
mov ecx, esi
call fcn.00412840
mov al, 1
pop esi
ret
mov ecx, esi
call fcn.004e06a0
test al, al
je case.0x4e077c.31
push str.OOBE
mov ecx, esi
call fcn.00412840
mov al, 1
pop esi
ret
mov ecx, esi
call fcn.004e0560
test al, al
je case.0x4e077c.31
push str.OOBEPDApp
mov ecx, esi
call fcn.00412840
mov al, 1
pop esi
ret
mov ecx, esi
call fcn.004e0600
test al, al
je case.0x4e077c.31
push str.OOBEPDApp
mov ecx, esi
call fcn.00412840
mov al, 1
pop esi
ret
mov ecx, esi
call fcn.004e0560
test al, al
je case.0x4e077c.31
push str.AdobeApplicationManagerAAMRefs
mov ecx, esi
call fcn.00412840
mov al, 1
pop esi
ret
mov ecx, esi
call fcn.004e0560
test al, al
je case.0x4e077c.31
push str.ADCRefs
mov ecx, esi
call fcn.00412840
mov al, 1
pop esi
ret
mov ecx, esi
call fcn.004e0560
test al, al
je case.0x4e077c.31
push str.Adobe_Desktop_Common
mov ecx, esi
call fcn.00412840
mov al, 1
pop esi
ret
mov ecx, esi
pop esi
jmp fcn.004e06d0
xor al, al
pop esi
ret