joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57df50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push edi
push eax
push 1
push 0
push str.SOFTWAREPoliciesAdobeAdobe_Acrobat11.0FeatureLockdown
xor bl, bl
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], ebx
call esi
mov edi, 1
test eax, eax
jne 0x57dfbb
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.bGoCart
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x57dfbb
cmp dword [ebp - 0x14], eax
movzx ebx, bl
cmove ebx, edi
mov dword [ebp - 8], ebx
push dword [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
lea eax, [ebp - 4]
xor bl, bl
push eax
push 1
push 0
push str.SOFTWAREPoliciesAdobeAdobe_Acrobat2015FeatureLockdown
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], ebx
call esi
test eax, eax
jne 0x57e022
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.bGoCart
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x57e022
cmp dword [ebp - 0x18], eax
mov eax, 1
movzx ebx, bl
cmove ebx, eax
mov dword [ebp - 0xc], ebx
push dword [ebp - 4]
call edi
lea eax, [ebp - 4]
xor bl, bl
push eax
push 1
push 0
push str.SOFTWAREPoliciesAdobeAdobe_AcrobatDCFeatureLockdown
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], ebx
call esi
test eax, eax
jne 0x57e083
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.bGoCart
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x57e083
cmp dword [ebp - 0x1c], eax
mov eax, 1
movzx ebx, bl
cmove ebx, eax
mov dword [ebp - 0x10], ebx
push dword [ebp - 4]
call edi
lea eax, [ebp - 4]
xor bl, bl
push eax
push 1
push 0
push str.SOFTWAREPoliciesAdobeAdobe_Acrobat2017FeatureLockdown
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x57e0de
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 4
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push str.bGoCart
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x57e0de
cmp dword [ebp - 0x14], eax
mov eax, 1
movzx ebx, bl
cmove ebx, eax
push dword [ebp - 4]
call edi
cmp byte [ebp - 8], 0
jne 0x57e102
cmp byte [ebp - 0xc], 0
jne 0x57e102
cmp byte [ebp - 0x10], 0
jne 0x57e102
test bl, bl
jne 0x57e102
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x57e1d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x780784]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x408]
push eax
push 0
push 0x400
push 0x717478
mov dword [ebp - 0x408], 0
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x57e297
push 0x400
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.0060f310
push 0x400
push dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push eax
call fcn.0061d59e
lea eax, [ebp - 0x404]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x57e246
sub eax, edx
mov ecx, esi
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.004753c0
push 1
push 0x6c4834
mov ecx, esi
call fcn.00475240
push 0xb
push str.AdobeGCInfo
mov ecx, eax
call fcn.00475240
push dword [ebp - 0x408]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060cdfa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.0060cdfa
mov esp, ebp
pop ebp
ret

Function at 0x57e3a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push eax
push 0x101
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x57e478
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x57e45a
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x57e3f0
cmp eax, dword [ebp - 0x10]
jne 0x57e46b
mov esi, dword [ebx]
push edi
mov edi, dword [ebp + 0x18]
mov byte [ebp - 1], 0
mov eax, dword [edi + 4]
mov ecx, eax
mov edx, dword [edi]
sub ecx, edx
mov dword [ebp - 0xc], eax
cmp esi, ecx
jae 0x57e40f
lea eax, [edx + esi]
jmp 0x57e43d
jbe 0x57e440
mov eax, dword [edi + 8]
sub eax, edx
cmp esi, eax
jbe 0x57e428
lea eax, [ebp - 1]
mov ecx, edi
push eax
push esi
call fcn.0057d950
jmp 0x57e440
sub esi, ecx
push esi
push 0
push dword [ebp - 0xc]
call fcn.0060f310
mov eax, dword [ebp - 0xc]
add esp, 0xc
add eax, esi
mov dword [edi + 4], eax
push ebx
push dword [edi]
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
pop edi
test esi, esi
je 0x57e46b
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x57e840
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1410
call fcn.0060ce10
mov eax, dword [0x780784]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push 3
push 0x6c5a60
call fcn.004753c0
lea eax, [esi + 0x30]
push eax
call fcn.0057ee20
add esp, 4
test al, al
je 0x57e98d
push 0x1000
lea eax, [ebp - 0x1404]
mov dword [ebp - 0x1410], 1
push 0
push eax
xor bl, bl
mov dword [ebp - 0x1408], 0
call fcn.0060f310
add esp, 0xc
mov dword [ebp - 0x140c], 0x400
lea eax, [ebp - 0x1408]
push eax
push 0x101
push 0
push str.SOFTWAREMicrosoftCryptography
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x57e98d
lea eax, [ebp - 0x140c]
push eax
lea eax, [ebp - 0x1404]
push eax
lea eax, [ebp - 0x1410]
push eax
push 0
push str.MachineGuid
push dword [ebp - 0x1408]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x57e96b
mov eax, dword [ebp - 0x140c]
dec eax
cmp eax, 0x3fe
ja 0x57e96b
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0060f310
push 0x400
lea eax, [ebp - 0x1404]
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.0061d59e
lea ecx, [ebp - 0x404]
add esp, 0x18
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x57e950
sub ecx, edx
lea eax, [ebp - 0x404]
push ecx
push eax
lea ecx, [esi + 0x18]
call fcn.004753c0
mov bl, 1
push dword [ebp - 0x1408]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x57e98d
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060cdfa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.0060cdfa
mov esp, ebp
pop ebp
ret
Function at 0x57f640
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x691dc8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x780784]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov esi, dword [ebp + 0x14]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [esi + 4]
mov esi, dword [esi]
mov dword [ebp + 0x14], eax
cmp esi, eax
je 0x57f6de
nop dword [eax]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x57f6c9
cmp dword [esi + 0x14], 8
mov edi, esi
jb 0x57f6a1
mov edi, dword [esi]
mov edx, esi
jb 0x57f6a7
mov edx, dword [esi]
push dword [ebp + 0x14]
inc ecx
lea eax, [edi + ecx*2]
push eax
push edx
push ebx
lea ecx, [ebp - 0x1c]
call fcn.0057d7b0
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
inc edx
add edx, dword [esi + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], edx
add esi, 0x18
cmp esi, eax
jne 0x57f690
mov esi, dword [ebp - 0x14]
cmp ebx, esi
je 0x57f6de
xor eax, eax
mov word [ebx], ax
jmp 0x57f6ef
push 0x6ed380
push ebx
lea ecx, [ebp - 0x1c]
call fcn.0057d6e0
mov esi, dword [ebp - 0x14]
push 0
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], 0
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, dword [ebp - 0x1c]
mov ebx, eax
test ebx, ebx
jne 0x57f749
mov eax, dword [ebp - 0x10]
lea eax, [eax*2 + 2]
push eax
push edi
push 7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test ebx, ebx
jne 0x57f749
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x57f776
sub esi, edi
mov eax, edi
and esi, 0xfffffffe
cmp esi, 0x1000
jb 0x57f76c
mov edi, dword [edi - 4]
add esi, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57f78a
push esi
push edi
call fcn.0060c992
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0061883f
int3
Function at 0x57fd30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
xor ecx, ecx
push 0
mov dword [ebp + 0x14], 0
cmp byte [eax], cl
lea eax, [ebp + 0x14]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push dword [ebp + 0xc]
setne cl
push dword [ebp + 8]
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x57fd90
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x57fd90
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x580890
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x780784]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], 0
push eax
push 0
push 8
mov word [ebp - 8], 0x500
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x58090e
call esi
cmp eax, 0x3f0
jne 0x5808ef
lea eax, [ebp - 0x14]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x58090e
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060cdfa
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 2
push dword [ebp - 0x14]
call edi
test eax, eax
jne 0x5808f8
call esi
cmp eax, 0x7a
jne 0x5808f8
mov esi, dword [ebp - 0x18]
mov eax, esi
call fcn.0060dcd0
mov ebx, esp
test ebx, ebx
je 0x5808f8
lea eax, [ebp - 0x18]
push eax
push esi
push ebx
push 2
push dword [ebp - 0x14]
call edi
test eax, eax
je 0x5808f8
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x222
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x5808f8
xor esi, esi
mov byte [ebp - 0xd], 0
cmp dword [ebx], esi
jbe 0x5809a0
lea edi, [ebx + 4]
push dword [ebp - 0x1c]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x58099c
inc esi
add edi, 8
cmp esi, dword [ebx]
jb 0x580983
jmp 0x5809a0
mov byte [ebp - 0xd], 1
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0xd]
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060cdfa
mov esp, ebp
pop ebp
ret
Function at 0x594341
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x59437a
cmp dword [ebp + 0x10], 0
je 0x59437a
cmp dword [ebp + 0x14], 0
je 0x59437a
cmp dword [ebp + 0x18], 0
je 0x59437a
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.SELECT_value_FROM_domain_data_WHERE_domain___d_AND_subdomain___q_AND_key___q
push dword [ebp + 0x18]
push dword [eax]
call fcn.005ab483
add esp, 0x18
pop ebp
ret
push 0xa
pop eax
pop ebp
ret

Function at 0x59437f
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x5943af
cmp dword [ebp + 0x10], 0
je 0x5943af
cmp dword [ebp + 0x14], 0
je 0x5943af
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.SELECT_key_FROM_domain_data_WHERE_domain___d_AND_subdomain___q
push dword [ebp + 0x14]
push dword [eax]
call fcn.005ab2b3
add esp, 0x14
pop ebp
ret
push 0xa
pop eax
pop ebp
ret

Function at 0x5943b4
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x5943db
cmp dword [ebp + 0x10], 0
je 0x5943db
push dword [ebp + 0xc]
push str.SELECT_DISTINCT_subdomain_FROM_domain_data_WHERE_domain___d
push dword [ebp + 0x10]
push dword [eax]
call fcn.005ab2b3
add esp, 0x10
pop ebp
ret
push 0xa
pop eax
pop ebp
ret
Function at 0x596280
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x780784]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
push 1
mov dword [ebp - 0x18], eax
mov esi, ecx
lea eax, [ebp - 0x14]
push 0xe
push eax
call fcn.0061d8b9
add esp, 0x10
cmp eax, 1
jne 0x596410
mov edx, dword [ebp - 0x14]
mov di, word [ebp - 0xe]
mov bx, word [ebp - 0xc]
mov ecx, dword [ebp - 0x12]
mov eax, dword [ebp - 0xa]
mov byte [esi], dl
mov byte [esi + 1], dh
mov dword [esi + 4], ecx
mov word [esi + 8], di
mov word [esi + 0xa], bx
mov dword [esi + 0xc], eax
cmp dl, 0x42
jne 0x596410
cmp dh, 0x4d
jne 0x596410
test di, di
jne 0x596410
test bx, bx
jne 0x596410
lea eax, [ecx - 0x37]
cmp eax, 0x1e8449
ja 0x596410
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x59631e
push eax
call fcn.0061de50
mov ecx, dword [esi + 4]
add esp, 4
push ecx
call fcn.0061de70
add esp, 4
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x596346
pop edi
pop esi
mov eax, 0xfffffff9
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060cdfa
mov esp, ebp
pop ebp
ret 4
xor edx, edx
nop dword [eax + eax]
mov ecx, dword [esi + 0x3c]
movzx eax, byte [ebp + edx - 0x14]
mov byte [edx + ecx], al
mov ecx, dword [esi + 0x3c]
movzx eax, byte [ebp + edx - 0x13]
mov byte [ecx + edx + 1], al
add edx, 2
cmp edx, 0xe
jl 0x596350
push dword [ebp - 0x18]
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 4]
sub eax, 0xe
push 1
push eax
lea eax, [ecx + 0xe]
push eax
call fcn.0061d8b9
mov edx, dword [esi + 0x3c]
add esp, 0x10
cmp eax, 1
jne 0x596400
mov eax, dword [edx + 0xe]
mov dword [esi + 0x10], eax
mov eax, dword [edx + 0x12]
mov dword [esi + 0x14], eax
mov eax, dword [edx + 0x16]
mov dword [esi + 0x18], eax
movzx ecx, word [edx + 0x1a]
mov dword [esi + 0x1c], ecx
movzx eax, word [edx + 0x1c]
mov dword [esi + 0x20], eax
mov edi, eax
mov ebx, dword [edx + 0x1e]
mov dword [esi + 0x24], ebx
mov eax, dword [edx + 0x22]
mov dword [esi + 0x28], eax
mov eax, dword [edx + 0x26]
mov dword [esi + 0x2c], eax
mov eax, dword [edx + 0x2a]
mov dword [esi + 0x30], eax
mov eax, dword [edx + 0x2e]
mov dword [esi + 0x34], eax
mov eax, dword [edx + 0x32]
mov dword [esi + 0x38], eax
cmp ecx, 1
jne 0x596400
test ebx, ebx
jne 0x596400
cmp edi, 0x18
je 0x5963eb
cmp edi, 0x20
jne 0x596400
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060cdfa
mov esp, ebp
pop ebp
ret 4
push edx
call fcn.0061de50
mov dword [esi + 0x3c], 0
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 0xfffffffe
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0060cdfa
mov esp, ebp
pop ebp
ret 4
Function at 0x596480
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x780784]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
push 0x6ed5bc
push eax
mov dword [ebp - 0x20], ebx
call fcn.00494c20
mov esi, eax
add esp, 8
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x5964c6
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060cdfa
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebx + 0x3c]
push edi
test esi, esi
jne 0x5964da
mov esi, 0xfffffffd
mov edi, eax
jmp 0x5965d6
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x5964ec
mov edi, dword [ebp - 0x14]
lea esi, [eax - 4]
jmp 0x5965d6
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5964f1
mov eax, dword [ebx + 0x18]
sub ecx, edx
imul eax, dword [ebx + 0x14]
inc ecx
mov dword [ebp - 0x18], ecx
lea eax, [eax + eax*2]
cmp ecx, eax
jbe 0x596519
mov edi, dword [ebp - 0x14]
mov esi, 0xfffffffb
jmp 0x5965d6
mov ecx, dword [ebx + 0x20]
xor edx, edx
mov eax, dword [ebx + 0xc]
xor edi, edi
shr ecx, 3
add eax, esi
xor ebx, ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0x8040201
mov dword [ebp - 8], 0x80402010
cmp dword [ebp - 0x18], edx
jbe 0x5965b7
mov esi, dword [ebp + 0xc]
mov al, byte [ebx + esi]
test byte [ebp + edi - 0xc], al
mov eax, dword [ebp - 0x10]
mov al, byte [eax + edx]
jne 0x596566
test al, 1
je 0x596575
mov ecx, dword [ebp - 0x10]
dec al
mov byte [ecx + edx], al
mov ecx, dword [ebp - 0x1c]
jmp 0x596575
test al, 1
jne 0x596575
mov esi, dword [ebp - 0x10]
inc al
mov byte [esi + edx], al
mov esi, dword [ebp + 0xc]
inc edx
cmp ecx, 4
jne 0x59658f
mov eax, edx
and eax, 0x80000003
jns 0x596589
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 3
jne 0x59658f
inc edx
cmp edi, 7
lea eax, [ebx + 1]
cmovne eax, ebx
xor ecx, ecx
cmp edi, 7
mov ebx, eax
lea eax, [edi + 1]
cmovne ecx, eax
mov edi, ecx
mov ecx, dword [ebp - 0x1c]
cmp ebx, dword [ebp - 0x18]
jb 0x596546
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 0x3c]
jmp 0x5965ba
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x14]
push edi
push 1
push dword [eax + 4]
push esi
call fcn.0062835f
add esp, 0x10
lea esi, [eax - 1]
neg esi
sbb esi, esi
and esi, 0xfffffffa
push edi
call fcn.0061d64f
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0060cdfa
mov esp, ebp
pop ebp
ret 8

Function at 0x596620
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
mov esi, ecx
xor bh, bh
push edi
mov dword [esi + 0x204], 9
movq xmm0, qword [str.Adobe_ALM]
movq qword [esi + 0x102], xmm0
mov al, byte [0x6f15d0]
mov byte [esi + 0x10a], al
xor eax, eax
mov word [esi + 0x100], 0
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x596657
xor edi, edi
mov eax, edi
mov bl, byte [edi + esi]
cdq
idiv dword [esi + 0x204]
movzx eax, byte [edx + esi + 0x102]
add al, bl
add bh, al
movzx ecx, bh
movzx eax, byte [ecx + esi]
mov byte [edi + esi], al
inc edi
mov byte [ecx + esi], bl
cmp edi, 0x100
jl 0x596664
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x596621
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
mov esi, ecx
xor bh, bh
push edi
mov dword [esi + 0x204], 9
movq xmm0, qword [str.Adobe_ALM]
movq qword [esi + 0x102], xmm0
mov al, byte [0x6f15d0]
mov byte [esi + 0x10a], al
xor eax, eax
mov word [esi + 0x100], 0
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x596657
xor edi, edi
mov eax, edi
mov bl, byte [edi + esi]
cdq
idiv dword [esi + 0x204]
movzx eax, byte [edx + esi + 0x102]
add al, bl
add bh, al
movzx ecx, bh
movzx eax, byte [ecx + esi]
mov byte [edi + esi], al
inc edi
mov byte [ecx + esi], bl
cmp edi, 0x100
jl 0x596664
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x5966a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.005966b0

Function at 0x5966b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
test ecx, ecx
je 0x59673b
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x59673b
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x59673b
mov dl, byte [esi + 0x101]
sub ecx, edi
push ebx
mov bh, byte [esi + 0x100]
mov byte [ebp + 0xf], dl
mov dword [ebp + 8], ecx
dec eax
lea edi, [edi + 1]
mov dword [ebp + 0x10], eax
inc bh
mov al, byte [ebp + 0xf]
movzx edx, bh
mov bl, byte [edx + esi]
add al, bl
movzx ecx, al
mov byte [ebp + 0xf], al
movzx eax, byte [ecx + esi]
mov byte [edx + esi], al
mov byte [ecx + esi], bl
movzx eax, byte [edx + esi]
mov ecx, dword [ebp + 8]
add al, bl
movzx eax, al
movzx eax, byte [eax + esi]
xor al, byte [ecx + edi - 1]
mov byte [edi - 1], al
mov eax, dword [ebp + 0x10]
test eax, eax
jg 0x5966e1
mov dl, byte [ebp + 0xf]
mov al, 1
mov byte [esi + 0x100], bh
pop ebx
pop edi
mov byte [esi + 0x101], dl
pop esi
pop ebp
ret 0xc
pop edi
xor al, al
pop esi
pop ebp
ret 0xc

Function at 0x596750
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
mov esi, ecx
xor bh, bh
push edi
xor eax, eax
mov word [esi + 0x100], 0
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x596762
xor edi, edi
nop
mov eax, edi
mov bl, byte [edi + esi]
cdq
idiv dword [esi + 0x204]
movzx eax, byte [edx + esi + 0x102]
add al, bl
add bh, al
movzx ecx, bh
movzx eax, byte [ecx + esi]
mov byte [edi + esi], al
inc edi
mov byte [ecx + esi], bl
cmp edi, 0x100
jl 0x596770
pop edi
pop esi
pop ebx
ret