joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e7c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x40e81b
cmp byte [esi + ebx - 1], 0xa
je 0x40e7ef
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x41a7a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x40ed70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xf0
mov edi, dword [0x41a7b4]
mov esi, dword [ebp + 8]
test edi, edi
je 0x40ef30
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x41a7b4]
movzx eax, al
bt eax, esi
jae 0x40ef90
mov ecx, dword [0x41a7a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x40ee36
test byte [0x410290], 8
jne 0x40eed0
lea ebx, [esp + 0x28]
mov edi, ebx
test byte [0x4102a0], 8
jne 0x40ee80
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x40ee05
cmp esi, 3
jbe 0x40ee40
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 8], str._s:_s:_s
lea edx, [edi + 1]
mov dword [esp], eax
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x417eb8]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x40ee05
mov ecx, dword [0x41a7b4]
test ecx, ecx
je 0x40ef70
mov dword [esp], 0x4102a0
call dword [0x41a7b4]
test al, 8
je 0x40eddc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x40eddc
mov ebx, dword [0x41a7b4]
test ebx, ebx
je 0x40ef50
mov dword [esp], 0x410290
call dword [0x41a7b4]
test al, 8
je 0x40edc9
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [esp + 0x28]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mov eax, 0x10624dd3
mov dword [esp], ebx
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x40edcf
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x41a7b4
call sym._load_func.part.0
jmp 0x40ed90
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x41a7b4
call sym._load_func.part.0
jmp 0x40eeda
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x41a7b4
call sym._load_func.part.0
jmp 0x40ee8e
mov eax, 0xffffffff
jmp 0x40ee36
Function at 0x40f100
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_narrow_argv
call sym.__initialize_narrow_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___argv
mov edi, dword [eax]
call sym.__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call dbg.main
mov dword [esp], eax
call sym._exit

Function at 0x40f1c0
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call dbg.__main
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov ebx, eax
movzx eax, byte [eax]
test al, al
je 0x40f22e
xor ecx, ecx
xor edx, edx
jmp 0x40f206
cmp al, 0x5c
jne 0x40f288
add edx, 1
movzx eax, byte [ebx + 1]
add ebx, 1
test al, al
je 0x40f223
cmp al, 9
je 0x40f20e
cmp al, 0x20
jne 0x40f1f0
test ecx, ecx
je 0x40f223
xor edx, edx
jmp 0x40f1fb
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x40f220
cmp al, 0x20
je 0x40f220
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
sub esp, 4
test byte [ebp - 0x30], 1
jne 0x40f249
mov word [ebp - 0x2c], 1
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call dbg.WinMain@16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
cmp al, 0x22
jne 0x40f212
and edx, 1
jne 0x40f212
xor ecx, 1
jmp 0x40f1fb
Function at 0x42b420
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1b000]
push edi
jmp 0x42b43a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42b441
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42b430
mov eax, 1
add ebx, ebx
jne 0x42b453
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42b448
jne 0x42b464
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42b448
xor ecx, ecx
sub eax, 3
jb 0x42b478
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42b4ea
mov ebp, eax
add ebx, ebx
jne 0x42b483
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42b490
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42b4b4
inc ecx
add ebx, ebx
jne 0x42b4a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42b495
jne 0x42b4b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42b495
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42b4d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42b4c5
jmp 0x42b436
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42b4d4
add edi, ecx
jmp 0x42b436
pop esi
mov edi, esi
mov ecx, 0xa05
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42b4f2
cmp byte [edi], 6
jne 0x42b4f2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x42b4f7
lea edi, [esi + 0x29000]
mov eax, dword [edi]
or eax, eax
je 0x42b56f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x31328]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x313f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42b524
mov ecx, edi
jns 0x42b553
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x313f4]
or eax, eax
je 0x42b569
mov dword [ebx], eax
add ebx, 4
jmp 0x42b541
call dword [esi + 0x31404]
mov ebp, dword [esi + 0x313f8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42b5a3
sub esp, 0xffffff80
jmp 0x4193af
Function at 0x448580
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
push ebx
push esi
lea esi, [eax + 0x4c]
mov dword [ebp - 0xc], eax
xor bl, bl
cmp dword [esi + 0x14], 8
push edi
jb 0x44859d
mov eax, dword [esi]
jmp 0x44859f
mov eax, esi
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4485ca
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4485e9
mov eax, dword [ebp - 0x14]
mov bl, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x4485f5
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x44866b
cmp dword [ebp - 4], 0
jl 0x44866b
jg 0x448611
cmp dword [ebp - 8], 0xa00000
jb 0x44866b
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x68]
lea edi, [ebx + 0x68]
test eax, eax
je 0x448625
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x14], 8
jb 0x44862d
mov esi, dword [esi]
push 0
push 0x80
push 5
push 0
push 3
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi], eax
test eax, eax
je 0x448659
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
mov eax, dword [ebx]
mov ecx, ebx
push edi
mov eax, dword [eax]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x51c230
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 0x51c308
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 0x51c2ea
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x51c280
cmp eax, dword [ebp - 0x10]
jne 0x51c2fb
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 0x51c29f
lea eax, [edx + esi]
jmp 0x51c2cd
jbe 0x51c2d0
mov eax, dword [edi + 8]
sub eax, edx
cmp esi, eax
jbe 0x51c2b8
lea eax, [ebp - 1]
mov ecx, edi
push eax
push esi
call fcn.0051be90
jmp 0x51c2d0
sub esi, ecx
push esi
push 0
push dword [ebp - 0xc]
call fcn.005e8a30
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 0x51c2fb
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 0x531dd3
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x240
mov eax, 0x65f1bb
call fcn.005d446a
mov esi, dword [ebp + 8]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x21c], 7
mov bl, cl
mov dword [ebp - 0x220], ecx
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x24c]
mov dword [ebp - 4], ecx
push eax
push ecx
push ecx
push 0x2b
push ecx
mov dword [ebp - 0x24c], ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
lea eax, [ebp - 0x218]
push eax
js 0x531e78
push dword [ebp - 0x24c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x531e68
cmp word [ebp - 0x218], 0
jne 0x531e46
xor eax, eax
jmp 0x531e53
lea eax, [ebp - 0x218]
push eax
call fcn.00600189
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0043d370
mov bl, 1
push dword [ebp - 0x24c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor edi, edi
jmp 0x531eb8
xor edi, edi
push edi
push edi
push 0x2b
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x531eb8
cmp word [ebp - 0x218], di
jne 0x531e96
mov eax, edi
jmp 0x531ea3
lea eax, [ebp - 0x218]
push eax
call fcn.00600189
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0043d370
mov bl, 1
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x531f2e
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x531eee
lea eax, [ecx - 1]
push edi
push eax
lea ecx, [ebp - 0x230]
call fcn.0053236b
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00539910
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.00531d27
push edi
push 1
lea ecx, [ebp - 0x248]
call fcn.0043d580
mov edi, str.Adobe
push edi
call fcn.00603f70
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00443b40
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.0043d2e0
mov al, bl
call fcn.005d4425
ret

Function at 0x531f45
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x738844]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0053985d
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
pop ecx
cmovae eax, dword [ebp - 0x1c]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x531f84
test al, 0x10
jbe 0x531f84
mov bl, 1
jmp 0x531f86
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0043d2e0
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.005d2f07
mov esp, ebp
pop ebp
ret
Function at 0x532137
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x738844]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0053985d
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
pop ecx
cmovae eax, dword [ebp - 0x1c]
pop ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
push 1
lea ecx, [ebp - 0x1c]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.0043d2e0
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.005d2f07
mov esp, ebp
pop ebp
ret
Function at 0x5328e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x738844]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
push 0x6a5594
push eax
mov dword [ebp - 0x20], ebx
call fcn.0046d3b0
mov esi, eax
add esp, 8
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x532926
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005d2f07
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebx + 0x3c]
push edi
test esi, esi
jne 0x53293a
mov esi, 0xfffffffd
mov edi, eax
jmp 0x532a36
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x53294c
mov edi, dword [ebp - 0x14]
lea esi, [eax - 4]
jmp 0x532a36
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x532951
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 0x532979
mov edi, dword [ebp - 0x14]
mov esi, 0xfffffffb
jmp 0x532a36
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 0x532a17
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 0x5329c6
test al, 1
je 0x5329d5
mov ecx, dword [ebp - 0x10]
dec al
mov byte [ecx + edx], al
mov ecx, dword [ebp - 0x1c]
jmp 0x5329d5
test al, 1
jne 0x5329d5
mov esi, dword [ebp - 0x10]
inc al
mov byte [esi + edx], al
mov esi, dword [ebp + 0xc]
inc edx
cmp ecx, 4
jne 0x5329ef
mov eax, edx
and eax, 0x80000003
jns 0x5329e9
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 3
jne 0x5329ef
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 0x5329a6
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 0x3c]
jmp 0x532a1a
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x14]
push edi
push 1
push dword [eax + 4]
push esi
call fcn.00601fdf
add esp, 0x10
lea esi, [eax - 1]
neg esi
sbb esi, esi
and esi, 0xfffffffa
push edi
call fcn.005f1ef4
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005d2f07
mov esp, ebp
pop ebp
ret 8

Function at 0x532a81
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 [0x6ac3a8]
mov byte [esi + 0x10a], al
xor eax, eax
mov word [esi + 0x100], 0
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x532ab7
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 0x532ac4
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x593e30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
test edx, edx
je 0x593ea7
push ebx
push esi
push edi
mov esi, 0x6d1352
mov byte [edx], 0xda
mov edi, 0x6d1350
mov dword [ebp + 8], 0x33
mov ebx, 0x6d1351
lea eax, [edx + 3]
mov ecx, esi
sub edi, edx
sub ebx, edx
sub ecx, edx
mov dword [ebp - 4], ecx
movzx ecx, byte [esi - 1]
lea esi, [esi + 5]
xor cl, byte [edx]
lea eax, [eax + 5]
mov byte [eax - 7], cl
movzx ecx, byte [esi - 5]
xor cl, byte [edx]
mov byte [eax - 6], cl
movzx ecx, byte [edi + eax - 5]
xor cl, byte [edx]
mov byte [eax - 5], cl
movzx ecx, byte [ebx + eax - 5]
xor cl, byte [edx]
mov byte [eax - 4], cl
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + eax - 5]
xor cl, byte [edx]
sub dword [ebp + 8], 1
mov byte [eax - 3], cl
jne 0x593e65
pop edi
pop esi
pop ebx
mov eax, 0x100
mov esp, ebp
pop ebp
ret
Function at 0x5fcfc3
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x5fcffe
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5fcfe5
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x5fcff6
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x5fd000
inc edi
add eax, 0x28
shr byte [eax], 0x3b
invalid
jb 0x5fcfdb
xor eax, eax
pop edi
pop esi
ret

Function at 0x5fd238
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push esi
push dword [ebp + 8]
call fcn.005fcf48
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x5fd271
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66

Function at 0x5fd386
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x5a], 0x41
call fcn.005fcf93
push eax
push esi
push dword [ebp + 8]
call fcn.005fcf48
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.005fcf93
push eax
push esi
push dword [ebp + 8]
call fcn.005fcf48
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.005fcf83
retf

Function at 0x5fd816
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov esi, 0x25fffffc
lea eax, [ebp - 0x354]
push eax
call fcn.005fcf93
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.005fcf48
add esp, 0xc
mov dword [ebp - 0x68c], eax
invalid
xchg ebp, eax
invalid

Function at 0x5fda6b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
call fcn.005fcf93
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.005fcf48
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.005fcf83
jb 0x5fdb0a
add al, ah
invalid
movsd dword es:[edi], dword [esi]
pushfd

Function at 0x5fe30b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x5fe325
push dword [ebp + 0x14]
call fcn.005fcf48
add esp, 0xc
mov dword [ebp - 0x6c8], eax
push 0
lea eax, [ebp - 0x6e0]
push eax
push dword [ebp - 0x378]
push dword [ebp - 4]
invalid
mov ch, 0x94
call dword [eax - 1]
mov ch, 0x88
cld
invalid

Function at 0x60bb8e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0060ba04
Function at 0x6126f5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00612248

Function at 0x61b1f1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 1
push edi
call fcn.0061b19b
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
test al, al
je 0x61b276
push 1
push esi
call fcn.0061b19b
mov edx, dword [ebp + 0x10]
pop ecx
pop ecx
test al, al
je 0x61b279
mov ecx, edx
mov eax, ebx
shr ecx, 2
test ecx, ecx
je 0x61b24b
mov edx, edi
mov dword [ebp - 4], ecx
sub edx, esi
mov edi, esi
mov eax, dword [edx + edi]
xor eax, dword [edi]
lea edi, [edi + 4]
or ebx, eax
sub ecx, 1
jne 0x61b233
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
shl eax, 2
sub edx, eax
jne 0x61b25b
xor eax, eax
test ebx, ebx
sete al
jmp 0x61b291
add edi, eax
add esi, eax
mov ecx, ebx
mov eax, ebx
shr eax, 0x10
shr ecx, 0x18
or cl, al
mov eax, ebx
shr eax, 8
or cl, al
or bl, cl
jmp 0x61b279
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x61b28c
sub edi, esi
mov al, byte [esi + edi]
xor al, byte [esi]
or bl, al
inc esi
sub edx, 1
jne 0x61b27f
test bl, bl
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x61b298
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
push ebx
call fcn.0061b19b
mov edi, dword [ebp + 0xc]
pop ecx
pop ecx
test al, al
je 0x61b31b
push 1
push edi
call fcn.0061b19b
mov esi, dword [ebp + 0x10]
pop ecx
pop ecx
test al, al
je 0x61b31e
push 1
push esi
call fcn.0061b19b
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
test al, al
je 0x61b321
mov edx, ecx
xor eax, eax
shr edx, 2
test edx, edx
je 0x61b30c
mov ecx, edi
mov dword [ebp - 8], edx
mov eax, ebx
sub ecx, esi
sub eax, esi
mov ebx, esi
mov edi, eax
mov eax, dword [ecx + ebx]
xor eax, dword [ebx]
mov dword [edi + ebx], eax
lea ebx, [ebx + 4]
sub edx, 1
jne 0x61b2f0
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 8]
shl eax, 2
sub ecx, eax
je 0x61b337
add ebx, eax
add edi, eax
add esi, eax
jmp 0x61b321
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x61b337
sub edi, esi
sub ebx, esi
mov al, byte [esi + edi]
xor al, byte [esi]
mov byte [esi + ebx], al
inc esi
sub ecx, 1
jne 0x61b329
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret