joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f8ba0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x75e7a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
add ecx, ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [esi]
push edi
mov dword [ebp - 0x24], esi
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8]
mov dword [ebp - 0x20], eax
mov eax, 1
mov dword [ebp - 0x2c], eax
nop dword [eax]
push eax
push str.sqlite_stat_d
lea eax, [ebp - 0x1c]
push eax
push 0x18
call fcn.004c51e0
mov edi, dword [esi]
lea ebx, [ebp - 0x1c]
add esp, 0x10
mov dword [ebp - 0x28], edi
nop dword [eax]
xor esi, esi
cmp dword [edi + 0x14], esi
jle 0x4f8cac
nop dword [eax + eax]
mov eax, esi
mov ecx, esi
xor eax, 1
cmp esi, 2
cmovl ecx, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
test eax, eax
je 0x4f8c48
mov edx, ecx
mov ecx, dword [edi + 0x10]
add edx, edx
mov edi, dword [ecx + edx*8]
sub edi, eax
movzx edx, byte [eax]
movzx ecx, byte [edi + eax]
cmp edx, ecx
jne 0x4f8c8a
test edx, edx
jne 0x4f8c9c
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x28]
mov eax, dword [edi + 0x10]
add ecx, ecx
push 0
push ebx
mov eax, dword [eax + ecx*8 + 0xc]
add eax, 8
push eax
call fcn.004dc9c0
add esp, 0xc
mov eax, dword [eax + 8]
test eax, eax
je 0x4f8ca2
push dword [ebp - 0x34]
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push dword [ebp - 0x38]
push eax
push dword [ebp - 0x20]
push str.DELETE_FROM__Q._s_WHERE__s_Q
push esi
call fcn.0050c0a0
add esp, 0x18
jmp 0x4f8d2a
movzx ecx, byte [ecx + 0x6d6be8]
movzx edx, byte [edx + 0x6d6be8]
sub edx, ecx
jne 0x4f8c9f
inc eax
jmp 0x4f8c33
mov edi, dword [ebp - 0x28]
inc esi
cmp esi, dword [edi + 0x14]
jl 0x4f8c10
mov edx, str.sqlite_master
sub edx, ebx
movzx ecx, byte [ebx]
movzx eax, byte [edx + ebx]
cmp ecx, eax
jne 0x4f8ce1
test ecx, ecx
jne 0x4f8cf3
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4f8cf6
neg ecx
sbb ecx, ecx
test ecx, ecx
jne 0x4f8d27
mov ebx, str.sqlite_temp_master
jmp 0x4f8c00
movzx eax, byte [eax + 0x6d6be8]
movzx ecx, byte [ecx + 0x6d6be8]
sub ecx, eax
jne 0x4f8d27
inc ebx
jmp 0x4f8cb3
test ecx, ecx
je 0x4f8d27
mov esi, ecx
mov edx, eax
sub esi, eax
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4f8d12
test ecx, ecx
je 0x4f8cd7
inc edx
jmp 0x4f8d00
movzx eax, byte [eax + 0x6d6be8]
movzx ecx, byte [ecx + 0x6d6be8]
sub ecx, eax
jne 0x4f8cd3
inc edx
jmp 0x4f8d00
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 4
jle 0x4f8be0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00612996
mov esp, ebp
pop ebp
ret
Function at 0x503320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
xor edi, edi
cmp dword [esi + 0x14], ebx
jle 0x503396
mov edx, dword [ebp + 0x10]
mov esi, dword [esi + 0x10]
mov eax, edi
xor eax, 1
mov ecx, edi
cmp edi, 2
cmovl ecx, eax
add ecx, ecx
mov eax, dword [esi + ecx*8 + 0xc]
mov dword [ebp - 4], eax
test edx, edx
je 0x503372
mov esi, dword [esi + ecx*8]
mov eax, edx
sub esi, edx
nop dword [eax]
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x50339f
test edx, edx
jne 0x5033b1
mov eax, dword [ebp - 4]
push 0
push dword [ebp + 0xc]
add eax, 0x18
push eax
call fcn.004dc9c0
add esp, 0xc
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x503396
mov esi, dword [ebp + 8]
inc edi
mov edx, dword [ebp + 0x10]
cmp edi, dword [esi + 0x14]
jl 0x503338
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, byte [ecx + 0x6d6be8]
movzx edx, byte [edx + 0x6d6be8]
sub edx, ecx
jne 0x50338a
inc eax
jmp 0x503360

Function at 0x5033c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 0x14], esi
jle 0x50345e
nop dword [eax]
mov eax, esi
mov ecx, esi
xor eax, 1
cmp esi, 2
cmovl ecx, eax
mov dword [ebp - 4], ecx
test edx, edx
je 0x503418
mov eax, edx
mov edx, ecx
mov ecx, dword [edi + 0x10]
add edx, edx
mov edi, dword [ecx + edx*8]
sub edi, dword [ebp + 0x10]
movzx edx, byte [eax]
movzx ecx, byte [edi + eax]
cmp edx, ecx
jne 0x50343d
test edx, edx
jne 0x50344f
mov ecx, dword [ebp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
add ecx, ecx
push 0
push ebx
mov eax, dword [eax + ecx*8 + 0xc]
add eax, 8
push eax
call fcn.004dc9c0
add esp, 0xc
mov eax, dword [eax + 8]
test eax, eax
jne 0x5034db
jmp 0x503455
movzx ecx, byte [ecx + 0x6d6be8]
movzx edx, byte [edx + 0x6d6be8]
sub edx, ecx
jne 0x503452
inc eax
jmp 0x503403
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
inc esi
cmp esi, dword [edi + 0x14]
jl 0x5033e0
mov edx, str.sqlite_master
sub edx, ebx
movzx ecx, byte [ebx]
movzx eax, byte [edx + ebx]
cmp ecx, eax
jne 0x503487
test ecx, ecx
jne 0x503499
mov eax, dword [edi + 0x10]
mov edx, dword [ebp + 0x10]
mov ecx, dword [eax + 0x10]
test edx, edx
jne 0x50349c
neg ecx
sbb ecx, ecx
jmp 0x5034b6
movzx eax, byte [eax + 0x6d6be8]
movzx ecx, byte [ecx + 0x6d6be8]
sub ecx, eax
jne 0x5034d9
inc ebx
jmp 0x503465
test ecx, ecx
je 0x5034d9
mov esi, ecx
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x5034c4
test ecx, ecx
jne 0x5034d6
mov edx, dword [ebp + 0x10]
test ecx, ecx
jne 0x5034d9
mov ebx, str.sqlite_temp_master
jmp 0x5033d2
movzx eax, byte [eax + 0x6d6be8]
movzx ecx, byte [ecx + 0x6d6be8]
sub ecx, eax
jne 0x5034b3
inc edx
jmp 0x5034a4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x518a20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [edi], 0
cmp dword [0x748630], 0
je 0x518a72
mov eax, dword [0x767298]
test eax, eax
je 0x518a4a
push eax
call dword [0x748680]
add esp, 4
lea eax, [ebp + 8]
push eax
push 0x14
call fcn.004e3cf0
mov eax, dword [0x767298]
add esp, 8
test eax, eax
je 0x518a6d
push eax
call dword [0x748688]
mov esi, dword [ebp + 8]
jmp 0x518a7c
mov esi, dword [ebp + 8]
jmp 0x518a7f
push 0x14
call dword [0x748650]
mov esi, eax
add esp, 4
test esi, esi
jne 0x518a8a
pop edi
lea eax, [esi + 7]
pop esi
pop ebp
ret
cmp byte [0x748634], 0
push ebx
mov ebx, dword [ebp + 0x10]
je 0x518ad5
mov eax, dword [0x748724]
test eax, eax
je 0x518aae
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x518ad5
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x518b70
push 0
push 0
mov dword [esi + 0xc], ebx
call fcn.00644bdc
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x518ae2
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x518afb
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call dword [ebp + 0xc]
add esp, 4
mov dword [esi + 0x10], eax
pop ebx
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x546a10
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
push 0xc
mov esi, ecx
call fcn.006129a7
add esp, 4
mov dword [eax], esi
mov edx, dword [esi + 4]
push 0
push 4
push eax
push 0x4aab90
push 0
mov dword [eax + 4], edx
mov edx, dword [esi + 8]
push 0
mov dword [eax + 8], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
jmp dword [sym.imp.KERNEL32.dll_SwitchToThread]

Function at 0x569080
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
test edx, edx
je 0x5690f7
push ebx
push esi
push edi
mov esi, 0x6ea49a
mov byte [edx], 0xda
mov edi, 0x6ea498
mov dword [ebp + 8], 0x33
mov ebx, 0x6ea499
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 0x5690b5
pop edi
pop esi
pop ebx
mov eax, 0x100
mov esp, ebp
pop ebp
ret
Function at 0x579e20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67b590
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x75e7a4]
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 dword [ebp - 0x12c], ecx
xor bl, bl
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
je 0x57a011
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push eax
call fcn.0063db74
add esp, 8
test eax, eax
jne 0x579e88
mov bl, 1
jmp 0x57a011
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [ebp + 0x1c], 8
lea edi, [ebp + 8]
mov esi, dword [ebp + 0x18]
cmovae edi, dword [ebp + 8]
mov byte [ebp - 4], 1
test esi, esi
je 0x57a009
push 0x100
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.00628ae0
add esp, 0xc
mov ecx, 0x6ec81c
mov edx, 0x100
movzx eax, word [ecx]
cmp ax, dx
jae 0x579f20
movzx eax, al
add ecx, 2
mov byte [ebp + eax - 0x128], 1
cmp ecx, 0x6ec820
jne 0x579ed5
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
lea ecx, [edi + ecx*2]
movzx eax, word [ecx]
cmp ax, dx
jae 0x579f13
cmp byte [ebp + eax - 0x128], 0
jne 0x579f5b
cmp ecx, edi
je 0x57a009
sub ecx, 2
jmp 0x579f01
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
lea ecx, [edi + ecx*2]
nop
movzx esi, word [ecx]
mov edx, 2
mov eax, 0x6ec81c
nop dword [eax]
cmp word [eax], si
je 0x579f5b
add eax, 2
sub edx, 1
jne 0x579f40
cmp ecx, edi
je 0x579f56
sub ecx, 2
jmp 0x579f30
or ecx, 0xffffffff
jmp 0x579f5f
sub ecx, edi
sar ecx, 1
cmp ecx, 0xffffffff
je 0x57a009
push ecx
push 0
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp + 8]
call fcn.0044b510
push eax
lea ecx, [ebp - 0x28]
call fcn.00447fc0
lea ecx, [ebp - 0x148]
call fcn.00440180
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00440240
mov esi, dword [ebp - 0x12c]
mov ecx, esi
call fcn.00579e20
cmp al, 1
jne 0x57a009
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call fcn.00640f9f
add esp, 4
test eax, eax
jne 0x579fee
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push str.Created__S
push 0
push 4
push str.AdobeGCUpdaterCFU
push dword [esi + 4]
call fcn.00471620
add esp, 0x18
mov bl, 1
jmp 0x57a009
push str.Failed_to_Create__S
push 0
push 4
push str.AdobeGCUpdaterCFU
push dword [esi + 4]
call fcn.00471620
add esp, 0x14
xor bl, bl
lea ecx, [ebp - 0x28]
call fcn.00440180
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x57a047
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x57a03d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57a067
push edx
push ecx
call fcn.006129d7
add esp, 8
mov al, bl
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.00612996
mov esp, ebp
pop ebp
ret 0x18
call fcn.006321a4
int3
Function at 0x585780
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x75e7a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x58580e
test esi, esi
je 0x58580e
push ebx
lea ecx, [ebp - 0x14]
xor bl, bl
push ecx
push 1
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5857f3
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5857f3
cmp dword [ebp - 0x10], 0
mov eax, 1
movzx ebx, bl
cmove ebx, eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00612996
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.00612996
mov esp, ebp
pop ebp
ret
Function at 0x585890
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x75e7a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x224], esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x5858e0
lea eax, [ebp - 0x21c]
push eax
push 0x20019
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x5858f2
cmp eax, 2
jne 0x585a4e
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00612996
mov esp, ebp
pop ebp
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebx + eax*2 - 2], 0x5c
lea edi, [ebx + eax*2]
mov dword [ebp - 0x220], edi
je 0x585921
mov eax, 0x5c
mov word [edi], ax
add edi, 2
xor eax, eax
mov dword [ebp - 0x220], edi
mov word [edi], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x210], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x585a2b
nop dword [eax]
xor eax, eax
mov ecx, 0x208
mov word [edi], ax
mov eax, ebx
nop dword [eax]
cmp word [eax], 0
je 0x58597e
add eax, 2
sub ecx, 1
jne 0x585970
mov eax, 0x208
mov esi, ecx
sub eax, ecx
neg esi
sbb esi, esi
and esi, eax
test ecx, ecx
je 0x5859dc
mov edx, 0x208
lea ecx, [ebx + esi*2]
sub edx, esi
je 0x5859cf
lea edi, [ebp - 0x20c]
mov eax, SysReAllocString
sub edi, ecx
nop word [eax + eax]
test eax, eax
je 0x5859c9
movzx esi, word [edi + ecx]
test si, si
je 0x5859c9
mov word [ecx], si
dec eax
add ecx, 2
sub edx, 1
jne 0x5859b0
mov edi, dword [ebp - 0x220]
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov esi, dword [ebp - 0x224]
push ebx
push esi
call fcn.00585890
add esp, 8
test al, al
je 0x585a2b
lea eax, [ebp - 0x218]
mov dword [ebp - 0x210], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x585960
xor eax, eax
mov word [edi - 2], ax
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
test eax, eax
je 0x5858e0
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.00612996
mov esp, ebp
pop ebp
ret
Function at 0x58eab0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67f23e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x75e7a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea esi, [edi + 0x30]
mov byte [ebp - 4], 1
push 0x138
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006129a7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x38]
mov byte [ebp - 4], 2
push 0x74
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006129a7
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0xf
mov byte [edi + 0x40], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0xf
mov byte [edi + 0x58], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0xf
mov byte [edi + 0x7c], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0xf
mov byte [edi + 0x94], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc0], 0xf
mov byte [edi + 0xac], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 0xf
mov byte [edi + 0xc4], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xf0], 0xf
mov byte [edi + 0xdc], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x108], 0xf
mov byte [edi + 0xf4], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0xf
mov byte [edi + 0x10c], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], 0xf
mov byte [edi + 0x124], 0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x150], 0xf
mov byte [edi + 0x13c], 0
mov dword [edi + 0x164], 0
mov dword [edi + 0x168], 0xf
mov byte [edi + 0x154], 0
mov dword [edi + 0x17c], 0
mov dword [edi + 0x180], 0xf
mov byte [edi + 0x16c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5ae3d1
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.005ae37b
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
test al, al
je 0x5ae456
push 1
push esi
call fcn.005ae37b
mov edx, dword [ebp + 0x10]
pop ecx
pop ecx
test al, al
je 0x5ae459
mov ecx, edx
mov eax, ebx
shr ecx, 2
test ecx, ecx
je 0x5ae42b
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 0x5ae413
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
shl eax, 2
sub edx, eax
jne 0x5ae43b
xor eax, eax
test ebx, ebx
sete al
jmp 0x5ae471
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 0x5ae459
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x5ae46c
sub edi, esi
mov al, byte [esi + edi]
xor al, byte [esi]
or bl, al
inc esi
sub edx, 1
jne 0x5ae45f
test bl, bl
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5ae478
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.005ae37b
mov edi, dword [ebp + 0xc]
pop ecx
pop ecx
test al, al
je 0x5ae4fb
push 1
push edi
call fcn.005ae37b
mov esi, dword [ebp + 0x10]
pop ecx
pop ecx
test al, al
je 0x5ae4fe
push 1
push esi
call fcn.005ae37b
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
test al, al
je 0x5ae501
mov edx, ecx
xor eax, eax
shr edx, 2
test edx, edx
je 0x5ae4ec
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 0x5ae4d0
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 0x5ae517
add ebx, eax
add edi, eax
add esi, eax
jmp 0x5ae501
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x5ae517
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 0x5ae509
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5ae51e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 1
push esi
call fcn.005ae37b
mov edi, dword [ebp + 0xc]
pop ecx
pop ecx
test al, al
je 0x5ae582
push 1
push edi
call fcn.005ae37b
pop ecx
pop ecx
mov ecx, dword [ebp + 0x10]
test al, al
je 0x5ae585
mov edx, ecx
xor eax, eax
shr edx, 2
test edx, edx
je 0x5ae575
mov eax, edi
mov dword [ebp - 8], edx
push ebx
sub eax, esi
mov ebx, esi
mov esi, eax
mov eax, dword [esi + ebx]
xor dword [ebx], eax
lea ebx, [ebx + 4]
sub edx, 1
jne 0x5ae561
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 8]
pop ebx
shl eax, 2
sub ecx, eax
je 0x5ae596
add esi, eax
add edi, eax
jmp 0x5ae585
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x5ae596
sub edi, esi
mov al, byte [esi + edi]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x5ae58b
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5b0117
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret

Function at 0x5b0141
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0x20
push 0x6f2ea0
push dword [ebp + 8]
call fcn.00627fe0
add esp, 0xc
pop ebp
ret
Function at 0x5b32d0
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x673368
call fcn.00613f15
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x5b33d0
cmp byte [ebx + 0x3d], 0
je 0x5b33d0
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x5b330a
xor al, al
jmp 0x5b33d2
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.005b35b0
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x5b3368
sub eax, 1
je 0x5b336c
dec eax
sub eax, 1
je 0x5b33be
xor bl, bl
jmp 0x5b33c0
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x5b33a4
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00642e90
add esp, 0x10
cmp esi, eax
jne 0x5b3364
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x5b33be
test esi, esi
jne 0x5b332e
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00448170
jmp 0x5b3328
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004405c0
mov al, bl
jmp 0x5b33d2
mov al, 1
call fcn.00613ed0
ret

Function at 0x5b8390
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
push 1
push edi
mov dword [ebp - 4], eax
mov ebx, dword [eax + 4]
call fcn.005ae37b
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
test al, al
jne 0x5b83d5
test esi, esi
je 0x5b83d5
movzx eax, byte [edi]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
push 1
xor ebx, dword [ecx*4 + 0x6f3c18]
inc edi
push edi
dec esi
call fcn.005ae37b
jmp 0x5b83ad
cmp esi, 4
jb 0x5b8420
mov ecx, esi
shr ecx, 2
xor ebx, dword [edi]
sub esi, 4
movzx eax, bl
add edi, 4
shr ebx, 8
xor ebx, dword [eax*4 + 0x6f3c18]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x6f3c18]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x6f3c18]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x6f3c18]
sub ecx, 1
jne 0x5b83df
test esi, esi
je 0x5b843c
movzx eax, byte [edi]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x6f3c18]
inc edi
sub esi, 1
jne 0x5b8424
mov eax, dword [ebp - 4]
pop edi
pop esi
mov dword [eax + 4], ebx
pop ebx
mov esp, ebp
pop ebp
ret 8