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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
xor ecx, ecx
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0xa662191
pop esi
mov eax, edx
pop ebp
ret

Function at 0xa66ad1f
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push 2
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ax, word [ebp + 0xc]
mov word [edi], ax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 2
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 2
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
leave
ret

Function at 0xa683abc
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa73b75e
mov eax, dword fs:[0]
push eax
mov eax, 0x13b4
call fcn.0a706ff0
mov eax, dword [0xa4151c0]
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, dword [ebp + 8]
lea edi, [ebp - 0x28]
mov ebx, dword [ebp + 0xc]
xor eax, eax
push 6
pop ecx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0a66b155
pop ecx
test al, al
jne 0xa683b27
push esi
call fcn.0a66b228
push eax
push 0xa5962ac
push 1
call fcn.0a64e702
add esp, 0x10
jmp 0xa683bda
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.0a66b2b7
pop ecx
pop ecx
test eax, eax
je 0xa683b45
push esi
call fcn.0a66b228
push eax
push 0xa5962d0
jmp 0xa683b18
push 0xa
lea eax, [ebp - 0x13bc]
push ebx
push eax
call fcn.0a68c3af
mov eax, dword [ebp - 0x13b8]
sub eax, dword [ebp - 0x13bc]
push 0x18
pop ecx
cdq
idiv ecx
and dword [ebp - 4], 0
push eax
push 0xa596300
push 7
call fcn.0a64e702
mov edi, dword [ebp - 0x13b8]
add esp, 0x18
mov esi, dword [ebp - 0x13bc]
mov ebx, 0xa552598
jmp 0xa683b98
push esi
mov ecx, ebx
call fcn.0a68294f
add esi, 0x18
cmp esi, edi
jne 0xa683b8d
call fcn.0a70604c
or dword [ebp - 0x2c], 0xffffffff
lea ecx, [ebp - 0x13b0]
push 0x6c078965
push eax
call fcn.0a6856fa
lea eax, [ebp - 0x13b0]
mov ecx, 0xa596118
push eax
push ebx
lea eax, [ebp - 0x13c0]
push eax
call fcn.0a682919
lea ecx, [ebp - 0x13bc]
call fcn.0a634b9b
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.0a7068c0
leave
ret 8
Function at 0xa6848f5
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
lea edi, [esi + 0x9c4]
mov esi, 0xe3
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ecx, eax
lea edi, [edx + 4]
mov ebx, dword [edi]
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0xa68490e
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ecx, eax
lea edi, [edx + 4]
mov ebx, dword [edi]
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0xa684958
mov esi, dword [ebp - 4]
pop edi
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
and dword [esi], 0
mov dword [esi + 0x9c0], eax
pop esi
pop ebx
leave
ret

Function at 0xa6849d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea edx, [ecx + 8]
mov esi, 0x270
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0xa6849d9
pop esi
ret

Function at 0xa6856fa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor edx, eax
imul edx, dword [ebp + 0xc]
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jb 0xa685711
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
ret 8
Function at 0xa685e30
Capabilities:
Check for software breakpoints

Disassembly:
push 0x24c
mov eax, 0xa73b986
call fcn.0a706933
mov ebx, ecx
mov esi, dword [ebp + 8]
mov ecx, esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], 1
call fcn.0a685dcc
and dword [ebp - 4], 0
push edi
mov dword [ebp - 0x254], 1
call fcn.0a68b403
pop ecx
test al, al
jne 0xa685f96
lea eax, [ebp - 0x250]
push eax
call fcn.0a6c69f7
push 0x20
pop eax
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.0a6c6b18
mov eax, edi
cdq
push edx
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.0a6c6b3a
push closesocket
lea eax, [ebp - 0x250]
push edi
push eax
call fcn.0a6c6ade
add esp, 0x24
lea eax, [ebp - 0x250]
push eax
call fcn.0a6c69be
lea eax, [ebp - 0x250]
push eax
call fcn.0a6c6a80
pop ecx
pop ecx
cmp eax, 0x214
jne 0xa685f16
cmp byte [esi + 0x1d], 0
jne 0xa685f16
lea eax, [ebp - 0x250]
push 0
push eax
call fcn.0a6c6a8e
pop ecx
pop ecx
test eax, eax
je 0xa685f0d
cmp dword [eax], 0x9f
jne 0xa685f0d
cmp word [eax + 4], 0x10
jne 0xa685f0d
movzx eax, word [eax + 0x18]
jmp 0xa685f0f
xor eax, eax
mov dword [esi + 0x18], eax
mov byte [esi + 0x1d], 1
lea eax, [ebp - 0x250]
push eax
call fcn.0a6c6a80
pop ecx
cmp eax, 0x202
jne 0xa685f77
cmp byte [esi + 0x1c], 0
jne 0xa685f77
lea eax, [ebp - 0x250]
push 0
push eax
call fcn.0a6c6a8e
pop ecx
pop ecx
cmp dword [eax], 0x9f
jne 0xa685f77
push 0x20
pop ecx
cmp word [eax + 4], cx
jne 0xa685f77
mov edi, dword [eax + 0x18]
push edi
call fcn.0a68b449
pop ecx
test al, al
jne 0xa685f77
push edi
mov ecx, ebx
call fcn.0a685fe3
test al, al
je 0xa685f77
push edi
mov ecx, esi
call fcn.0a67f262
mov byte [esi + 0x1c], 1
mov eax, dword [ebp - 0x108]
cmp byte [eax], 0xcc
je 0xa685f96
cmp byte [esi + 0x1d], 0
je 0xa685ebd
cmp byte [esi + 0x1c], 0
je 0xa685ebd
mov eax, esi
call fcn.0a7068e2
ret 8
Function at 0xa686a1b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x230
mov eax, 0xa73ba5a
call fcn.0a706933
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x234]
push eax
push 1
xor ebx, ebx
mov dword [ebp - 0x238], esi
push ebx
push 0xa596888
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xa686b1c
mov edi, 0x208
lea eax, [ebp - 0x218]
push edi
push ebx
push eax
call fcn.0a708a10
add esp, 0xc
mov dword [ebp - 0x238], edi
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push 0xa5968b4
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0a63e5d1
cmp dword [ebp - 0x21c], 7
lea eax, [ebp - 0x230]
mov ecx, dword [ebp - 0x220]
cmova eax, dword [ebp - 0x230]
push 0x5c
pop edx
mov dword [ebp - 4], ebx
cmp word [eax + ecx*2 - 2], dx
je 0xa686b01
cmp dword [ebp - 0x21c], 7
lea eax, [ebp - 0x230]
cmova eax, dword [ebp - 0x230]
cmp word [eax + ecx*2 - 2], 0x2f
je 0xa686b01
push edx
lea ecx, [ebp - 0x230]
call fcn.0a6655ef
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.0a6809c5
lea ecx, [ebp - 0x230]
call fcn.0a63e654
jmp 0xa686b33
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, esi
call fcn.0a7068e2
ret

Function at 0xa687505
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
mov edx, ecx
push esi
mov esi, dword [ebp + 8]
cmp dword [ebp + 0xc], ecx
jbe 0xa68752e
movsx eax, byte [esi + edx]
add eax, ecx
imul ecx, eax, 0x401
mov eax, ecx
shr eax, 6
xor ecx, eax
inc edx
cmp edx, dword [ebp + 0xc]
jb 0xa687515
imul ecx, ecx, 9
pop esi
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
pop ebp
ret

Function at 0xa688a5d
Capabilities:
Accept command line arguments

Disassembly:
push 0x28
mov eax, 0xa7373b7
call fcn.0a706933
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, ebx
mov edi, eax
call fcn.0a68893f
test edi, edi
je 0xa688afa
xor esi, esi
cmp dword [ebp - 0x2c], esi
jle 0xa688af3
push dword [edi + esi*4]
lea ecx, [ebp - 0x28]
call fcn.0a63e5d1
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
cmova eax, dword [ebp - 0x28]
cmp word [eax], 0x2d
jne 0xa688ae1
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmova ecx, dword [ebp - 0x28]
lea eax, [ecx + eax*2]
mov ecx, ebx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
add eax, 2
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0a68882a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0a63e654
inc esi
cmp esi, dword [ebp - 0x2c]
jl 0xa688a91
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
call fcn.0a7068e2
ret
Function at 0xa688e6f
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
lea ecx, [ebp + 8]
call fcn.0a68b8e3
test al, al
je 0xa688ebc
push dword [ebp + 0x10]
lea ecx, [ebp + 8]
push dword [ebp + 0xc]
call fcn.0a68b5bc
mov edi, eax
test edi, edi
je 0xa688ebc
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 0x14]
mov dword [edi], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, 1
jmp 0xa688ebe
xor al, al
pop edi
leave
ret

Function at 0xa688ef1
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 0x1c]
mov ecx, esi
call fcn.0a6315cf
cmp byte [ebx], 0
je 0xa688f7c
cmp byte [ebx + 1], 0
jne 0xa688f7c
cmp byte [ebp + 8], 0
push edi
mov byte [ebx + 1], 1
lea edi, [ebx + 0x18]
je 0xa688f29
push edi
push 0x40
push 5
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebx + 4]
cmp byte [ebx + 0x15], 0
mov eax, dword [ecx]
mov dword [ebx + 0x10], eax
mov al, byte [ecx + 4]
mov byte [ebx + 0x14], al
setne al
add al, 0xe8
mov byte [ecx], al
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 4]
sub eax, 5
cmp byte [ebp + 8], 0
mov dword [ecx + 1], eax
je 0xa688f68
cmp byte [ebp + 0xc], 0
jne 0xa688f68
push edi
push dword [edi]
push 5
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 5
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
push esi
call fcn.0a704a3d
pop ecx
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8

Function at 0xa688f90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp + 0xc]
push 0x90
push dword [ebp + 8]
call fcn.0a708a10
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
leave
ret
Function at 0xa6890db
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 0x1c]
mov ecx, esi
call fcn.0a6315cf
cmp byte [ebx], 0
je 0xa689149
cmp byte [ebx + 1], 0
je 0xa689149
cmp byte [ebp + 8], 0
push edi
mov byte [ebx + 1], 0
lea edi, [ebx + 0x18]
je 0xa689113
push edi
push 0x40
push 5
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [ebp + 8], 0
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0x10]
mov dword [ecx], eax
mov al, byte [ebx + 0x14]
mov byte [ecx + 4], al
je 0xa689135
push edi
push dword [edi]
push 5
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 5
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
push esi
call fcn.0a704a3d
pop ecx
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4

Function at 0xa68c843
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0xa738ba7
call fcn.0a706900
mov esi, ecx
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.0a68c951
xor ebx, ebx
lea edi, [esi + 4]
push edi
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push 0xa68c7ec
push ebx
push ebx
call fcn.0a716682
add esp, 0x20
mov dword [esi], eax
test eax, eax
je 0xa68c887
call fcn.0a7068ce
ret 4
push 6
mov dword [edi], ebx
call fcn.0a704b87
int3

Function at 0xa68d9bf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
inc ebx
mov dword [ebp - 4], esi
lea eax, [esi + 0x10]
mov dword [esi + 8], edi
mov dword [esi + 0xc], edx
mov esi, eax
push dword [ebp + 0x14]
mov ecx, edx
xor eax, eax
push dword [ebp + 0x10]
shr ecx, 0x1e
xor eax, edx
xor ecx, edi
push eax
push ecx
call fcn.0a7071e0
mov edi, eax
mov eax, 0x138
add edi, ebx
mov dword [esi], edi
lea esi, [esi + 8]
adc edx, 0
inc ebx
mov dword [esi - 4], edx
cmp ebx, eax
jb 0xa68d9df
mov esi, dword [ebp - 4]
pop edi
mov dword [esi], eax
pop esi
pop ebx
leave
ret 0x10

Function at 0xa68e0ed
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 4], esi
test eax, eax
je 0xa68e125
cmp word [eax], si
je 0xa68e125
push esi
lea ecx, [ebp - 4]
push ecx
push esi
push 0xf003f
push esi
push esi
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0xa68e150
mov ecx, dword [ebp - 4]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
mov esi, eax
test ecx, ecx
je 0xa68e14e
cmp ecx, dword [ebp + 8]
je 0xa68e14e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0xa68e1c9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
mov eax, dword [0xa4151c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x84]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
push 0x20
push ecx
push 0xffffffffffffffff
push eax
push ebx
push 0xfde9
call esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push 0xffffffffffffffff
push edi
push ebx
push 0xfde9
call esi
lea eax, [ebp - 0xa90]
push eax
push 0x20019
push ebx
push 0xa596888
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0xa68e23d
push 0xa596d14
jmp 0xa68e2e2
lea eax, [ebp - 0xa94]
mov dword [ebp - 0xa94], 0x208
push eax
lea eax, [ebp - 0x28c]
push eax
push ebx
push ebx
push 0xa596d30
push dword [ebp - 0xa90]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xa90]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0xa68e2dd
mov eax, dword [ebp - 0xa94]
cmp eax, 1
jb 0xa68e2dd
shr eax, 1
je 0xa68e2a4
cmp word [ebp + ebx*2 - 0x28c], 0x2f
jne 0xa68e29f
push 0x5c
pop ecx
mov word [ebp + ebx*2 - 0x28c], cx
inc ebx
cmp ebx, eax
jb 0xa68e289
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28c]
push eax
push 0xa596d60
lea eax, [ebp - 0xa8c]
push 0x800
push eax
call fcn.0a68e0a3
lea eax, [ebp - 0xa8c]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0a68de8f
add esp, 0x1c
jmp 0xa68e2f2
push 0xa596d44
push 2
call fcn.0a70c680
pop ecx
push eax
call fcn.0a68e333
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0a7068c0
leave
ret

Function at 0xa68e383
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0xa4151c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xb
mov ebx, ecx
lea edi, [ebp - 0x34]
pop ecx
mov esi, 0xa596d94
rep movsd dword es:[edi], dword [esi]
push 0x30
pop eax
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor edi, edi
mov word [ebp - 0xa], ax
jmp 0xa68e3ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0xa68e3d5
mov ax, word [ebp - 0xa]
cmp ax, 0x39
jae 0xa68e41c
inc ax
mov word [ebp - 0xa], ax
jmp 0xa68e3ef
cmp eax, 0xe7
jne 0xa68e41c
push 0x2710
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0xa68e41c
push edi
push edi
push 3
push edi
push edi
push 0xc0000000
lea eax, [ebp - 0x34]
push eax
call esi
mov dword [ebx + 4], eax
cmp eax, 0xffffffff
je 0xa68e3b8
mov byte [ebx], 1
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0a7068c0
leave
ret
xor al, al
jmp 0xa68e40d
Function at 0xa6915a3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
xor ecx, ecx
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 2
jb 0xa6915af
pop esi
mov eax, edx
pop ebp
ret

Function at 0xa6915c6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
xor ecx, ecx
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 8
jb 0xa6915d2
pop esi
mov eax, edx
pop ebp
ret

Function at 0xa69483a
Capabilities:
Hash data using fnv

Disassembly:
push 0x24
mov eax, 0xa738537
call fcn.0a706933
mov esi, dword [ebp + 8]
xor edi, edi
push 0xa599918
mov ecx, esi
call fcn.0a694991
test al, al
je 0xa69488e
lea eax, [ebp - 0x29]
push eax
push 0xffffffffffffffff
push 4
push esi
lea ecx, [ebp - 0x28]
call fcn.0a66632f
push 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 4], edi
push edi
push eax
call fcn.0a694a4d
add esp, 0xc
lea ecx, [ebp - 0x28]
mov esi, eax
mov edi, edx
call fcn.0a6311b0
mov eax, esi
jmp 0xa6948e3
cmp dword [esi + 0x14], 0xf
jbe 0xa694896
mov esi, dword [esi]
mov ebx, 0x5ef961ba
mov edi, 0x47f5817a
jmp 0xa6948d5
inc esi
cmp cl, 0x5c
jne 0xa6948ad
add cl, 0xd3
jmp 0xa6948b8
mov al, cl
sub al, 0x41
cmp al, 0x19
ja 0xa6948b8
add cl, 0x20
movzx eax, cl
push 0x100
cdq
push 0x1b3
xor edx, edi
xor eax, ebx
push edx
push eax
call fcn.0a7071e0
mov ebx, eax
mov edi, edx
mov cl, byte [esi]
test cl, cl
jne 0xa6948a2
and edi, 0x7fffffff
mov eax, ebx
mov edx, edi
call fcn.0a7068e2
ret 4
Function at 0xa6b71cf
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0xa6b71de
push 0x10
pop eax
pop ebp
ret
xor ecx, ecx
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
mov dword [eax + 0x1c], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
xor eax, eax
pop ebp
ret
Function at 0xa6b8bbb
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0a6beda9
Function at 0xa6b97e6
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0xa4151c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0xf8], eax
movzx edx, byte [esi + 0xa5d1c78]
mov eax, edx
shr edx, 3
and eax, 7
mov ecx, dword [eax*4 + 0xa5d1bf8]
movzx eax, byte [edx + edi]
and eax, ecx
cmp eax, ecx
sete al
mov byte [ebp + esi - 0x3c], al
inc esi
cmp esi, 0x38
jb 0xa6b980a
xor esi, esi
cmp word [ebp + 0xc], 1
jne 0xa6b9847
push 0xf
pop ecx
sub ecx, esi
add ecx, ecx
jmp 0xa6b984a
lea ecx, [esi + esi]
and dword [ebp + ecx*4 - 0xf0], 0
and dword [ebp + ecx*4 - 0xf4], 0
xor eax, eax
movzx edx, byte [esi + 0xa5d1cb0]
cmp edx, 0x1c
jae 0xa6b986e
mov bl, byte [ebp + edx - 0x3c]
jmp 0xa6b9872
mov bl, byte [ebp + edx - 0x58]
mov byte [ebp + eax - 0x74], bl
inc eax
inc edx
cmp eax, 0x1c
jb 0xa6b9863
cmp eax, 0x38
jae 0xa6b98a5
movzx edx, byte [esi + 0xa5d1cb0]
add edx, eax
cmp edx, 0x38
jae 0xa6b9896
mov bl, byte [ebp + edx - 0x3c]
jmp 0xa6b989a
mov bl, byte [ebp + edx - 0x58]
mov byte [ebp + eax - 0x74], bl
inc eax
inc edx
cmp eax, 0x38
jb 0xa6b988b
xor edx, edx
movzx eax, byte [edx + 0xa5d1cc0]
mov edi, edx
cmp byte [ebp + eax - 0x74], 0
je 0xa6b98c5
mov eax, dword [edi*4 + 0xa5d1c18]
or dword [ebp + ecx*4 - 0xf4], eax
movzx eax, byte [edx + 0xa5d1cd8]
cmp byte [ebp + eax - 0x74], 0
je 0xa6b98e1
mov eax, dword [edi*4 + 0xa5d1c18]
or dword [ebp + ecx*4 - 0xf0], eax
inc edx
cmp edx, 0x18
jb 0xa6b98a7
inc esi
cmp esi, 0x10
jb 0xa6b9837
pop edi
pop esi
pop ebx
push dword [ebp - 0xf8]
lea eax, [ebp - 0xf4]
push eax
call fcn.0a6b94a0
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0a7068c0
leave
ret

Function at 0xa6b9914
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0xa6b9923
push 0x10
pop eax
pop ebp
ret
xor ecx, ecx
mov dword [eax + 8], 0xf3bcc908
mov dword [eax + 0x48], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0xc], 0x6a09e667
mov dword [eax + 0x10], 0x84caa73b
mov dword [eax + 0x14], 0xbb67ae85
mov dword [eax + 0x18], 0xfe94f82b
mov dword [eax + 0x1c], 0x3c6ef372
mov dword [eax + 0x20], 0x5f1d36f1
mov dword [eax + 0x24], 0xa54ff53a
mov dword [eax + 0x28], 0xade682d1
mov dword [eax + 0x2c], 0x510e527f
mov dword [eax + 0x30], 0x2b3e6c1f
mov dword [eax + 0x34], 0x9b05688c
mov dword [eax + 0x38], 0xfb41bd6b
mov dword [eax + 0x3c], 0x1f83d9ab
mov dword [eax + 0x40], 0x137e2179
mov dword [eax + 0x44], 0x5be0cd19
xor eax, eax
pop ebp
ret
Function at 0xa6bae36
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0xa6bae45
push 0x10
pop eax
pop ebp
ret
xor ecx, ecx
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0x28], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
xor eax, eax
pop ebp
ret