joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb0ceb58
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0b0de171
cmp dword [eax + 0xac], 0
je 0xb0cec5d
push ebx
push edi
call fcn.0b0cee76
mov edi, eax
mov ecx, esi
mov dword [ebp - 0xc], edi
call fcn.0b0de171
mov ecx, dword [eax + 0xa8]
add ecx, dword [esi]
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [ecx + 8]
sub ebx, eax
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [eax]
mov dword [ebp - 4], eax
lea eax, [ebp + 8]
push eax
push 0x40
push 4
push esi
call edi
mov eax, dword [ebp - 4]
mov dword [esi], eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 4
push esi
call edi
push 4
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0xc]
test esi, esi
je 0xb0cec14
lea eax, [ebp + 8]
push eax
push 0x40
push 4
push esi
call edi
and dword [esi], 0
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 4
push esi
call edi
push 4
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 0x14]
push eax
push 4
push ebx
push dword [ebp - 8]
call edi
mov eax, dword fs:[0x2c]
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 0x10]
push ebx
push esi
push dword [eax + ecx*4]
call fcn.0b0f3cb0
push ebx
push esi
push dword [ebp - 8]
call fcn.0b0f3cb0
mov ebx, dword [ebp - 0xc]
lea eax, [ebp - 0x14]
add esp, 0x18
push eax
push 4
push 0x18
push ebx
call edi
mov esi, dword [ebp - 0x18]
mov edi, ebx
push 6
pop ecx
rep movsd dword es:[edi], dword [esi]
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0xb0cf351
Capabilities:
Set current directory

Disassembly:
push 0x28
mov eax, 0xb11b068
call fcn.0b0f2f15
push 0xb0cf0a8
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
push 1
call dword [sym.imp.KERNEL32.dll_SetProcessDEPPolicy]
call fcn.0b0cf2b8
push ebx
call fcn.0b100709
pop ecx
mov edi, eax
mov dword [ebp - 0x24], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
imul esi, eax
not esi
xor esi, edi
push esi
call fcn.0b1006f7
lea eax, [ebp - 0x11]
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 1
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
mov dword [esp], 0xb0a6be4
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
mov dword [ebp - 0x1c], ebx
call fcn.0b1006ce
add esp, 0xc
test eax, eax
jne 0xb0cf3f5
cmp dword [ebp - 0x18], eax
je 0xb0cf3f5
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryA]
push dword [ebp - 0x18]
call fcn.0b0f7275
pop ecx
call fcn.0b0ce2f9
test al, al
jne 0xb0cf407
mov dword [ebp - 4], 2
jmp 0xb0cf422
call fcn.0b0cf22c
mov esi, eax
test esi, esi
je 0xb0cf475
call fcn.0b0ce34a
test al, al
jne 0xb0cf431
mov dword [ebp - 4], 3
cmp byte [ebp - 0x11], 0
je 0xb0cf42d
call fcn.0b0ce3a0
xor eax, eax
jmp 0xb0cf46f
mov byte [ebp - 0x11], bl
or dword [ebp - 4], 0xffffffff
call esi
jmp 0xb0cf46f
call fcn.0b0f2e89
ret
push 0xb0a6bf0
lea ecx, [ebp - 0x34]
call fcn.0b0bf639
push 0xb0b29a4
lea eax, [ebp - 0x34]
push eax
call fcn.0b0f3c3e
int3
Function at 0xb0d1d5c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0xa401080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x114], esi
mov eax, dword fs:[0x2c]
push edi
mov ecx, dword [eax]
mov eax, dword [0xb0651cc]
cmp eax, dword [ecx + 0x98]
jg 0xb0d1e5c
cmp dword [0xa41487c], ebx
jne 0xb0d1e32
lea eax, [ebp - 0x118]
push eax
push 1
push ebx
push 0xb0a6de8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xb0d1e32
mov edi, 0x104
lea eax, [ebp - 0x110]
push edi
push ebx
push eax
call fcn.0b0f4230
add esp, 0xc
mov dword [ebp - 0x114], edi
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
push ebx
push 0xb0a6e00
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0xb0d1e17
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, 0xa41486c
call fcn.0b0bfab0
mov byte [ebp - 0x114], bl
mov edx, 0xa41486c
push dword [ebp - 0x114]
mov ecx, esi
call fcn.0b0d2708
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0b0f2179
leave
ret
mov edi, 0xb0651cc
push edi
call fcn.0b0f27fa
cmp dword [0xb0651cc], 0xffffffff
pop ecx
jne 0xb0d1d9b
push 0xb11c4af
call fcn.0b0f2769
pop ecx
push edi
call fcn.0b0f27a9
pop ecx
jmp 0xb0d1d9b

Function at 0xb0d2b06
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor ebx, ebx
mov dword [0xa419f68], 0xea60
push esi
mov eax, 0x1f4
mov dword [0xa419f64], ebx
push edi
push ebx
mov dword [0xa419f60], eax
mov dword [0xa419f6c], ebx
mov dword [0xa419f70], eax
mov dword [0xa419f74], ebx
mov dword [0xa419f78], ebx
call fcn.0b100709
mov esi, eax
mov dword [0xa419f8c], edx
mov eax, 0x55555555
mov dword [0xa419f88], esi
xor edi, edi
mov dword [0xa41b308], eax
pop ecx
mov dword [0xa41b30c], eax
inc edi
push 0x5851f42d
mov ecx, edx
xor eax, eax
push 0x4c957f2d
shr ecx, 0x1e
xor eax, edx
xor ecx, esi
push eax
push ecx
call fcn.0b0f3070
mov esi, eax
mov eax, 0x138
add esi, edi
mov dword [edi*8 + 0xa419f88], esi
adc edx, ebx
mov dword [edi*8 + 0xa419f8c], edx
inc edi
cmp edi, eax
jb 0xb0d2b63
movaps xmm0, xmmword [0xb0abd90]
pop edi
pop esi
mov dword [0xa419f80], eax
mov eax, 0xa419f60
movaps xmmword [0xa41b310], xmm0
pop ebx
ret 0x10

Function at 0xb0d2d64
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0xb11b4a0
call fcn.0b0f2eac
mov esi, dword [0xb060c68]
xor edi, edi
mov al, 1
xchg byte [esi], al
push 4
call fcn.0b0f2195
mov dword [ebp - 0x10], eax
mov dword [eax], esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
push ecx
push edi
push eax
push 0xb0d3e93
push edi
push edi
call fcn.0b0ffd4a
add esp, 0x1c
mov dword [ebp - 0x18], eax
test eax, eax
je 0xb0d2dc3
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x5c]
call fcn.0b0ca1e5
cmp dword [ebp - 0x14], edi
jne 0xb0d2dbe
call fcn.0b0f2e89
ret
call fcn.0b0ffbb2
push 6
mov dword [ebp - 0x14], edi
call fcn.0b0f17c1
int3
Function at 0xb0d41cb
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0xa401080]
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, 0xb0a7300
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 0xb0d4237
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0xb0d421d
mov ax, word [ebp - 0xa]
cmp ax, 0x39
jae 0xb0d4264
inc ax
mov word [ebp - 0xa], ax
jmp 0xb0d4237
cmp eax, 0xe7
jne 0xb0d4264
push 0x2710
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0xb0d4264
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 0xb0d4200
mov byte [ebx], 1
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0b0f2179
leave
ret
xor al, al
jmp 0xb0d4255

Function at 0xb0d6df7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 4], edi
mov eax, esi
test edx, edx
je 0xb0d6e2c
cmp word [edx], di
je 0xb0d6e2c
push edi
lea eax, [ebp - 4]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0xb0d6e55
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push edi
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
mov edi, eax
test ecx, ecx
je 0xb0d6e53
cmp ecx, esi
je 0xb0d6e53
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0xb0da71f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push 4
pop edx
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0xb0917a0]
sub edx, 1
jne 0xb0da722
mov eax, ecx
ret
Function at 0xb0dacb3
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 4], ebx
lea esi, [ebx + 0x1c]
mov ecx, esi
call fcn.0b0ca17a
cmp byte [ebx], 0
je 0xb0dad36
cmp byte [ebx + 1], 0
jne 0xb0dad36
mov eax, dword [ebp - 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [ebx + 1], 1
add ebx, 0x18
push ebx
push 0x40
push 5
push dword [eax + 4]
call edi
mov edx, dword [ebp - 4]
push ebx
mov ecx, dword [edx + 4]
cmp byte [edx + 0x15], 0
mov eax, dword [ecx]
mov dword [edx + 0x10], eax
mov al, byte [ecx + 4]
mov byte [edx + 0x14], al
setne al
add al, 0xe8
mov byte [ecx], al
mov eax, dword [edx + 8]
sub eax, dword [edx + 4]
sub eax, 5
mov dword [ecx + 1], eax
push dword [ebx]
mov ebx, edx
push 5
push dword [ebx + 4]
call edi
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.0b0f0816
pop ecx
pop esi
mov eax, ebx
pop ebx
leave
ret 8

Function at 0xb0dad45
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 4], ebx
lea esi, [ebx + 0x1c]
mov ecx, esi
call fcn.0b0ca17a
cmp byte [ebx], 0
je 0xb0dadb1
cmp byte [ebx + 1], 0
je 0xb0dadb1
mov eax, dword [ebp - 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [ebx + 1], 0
add ebx, 0x18
push ebx
push 0x40
push 5
push dword [eax + 4]
call edi
mov edx, dword [ebp - 4]
push ebx
mov ecx, dword [edx + 4]
mov eax, dword [edx + 0x10]
mov dword [ecx], eax
mov al, byte [edx + 0x14]
mov byte [ecx + 4], al
push dword [ebx]
mov ebx, edx
push 5
push dword [ebx + 4]
call edi
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.0b0f0816
pop ecx
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0xb0dadc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea eax, [ebp - 4]
mov edi, edx
push eax
push 0x40
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x90
push ebx
call fcn.0b0f4230
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
pop ebx
leave
ret
Function at 0xb0db05a
Capabilities:
Accept command line arguments

Disassembly:
push 0x64
mov eax, 0xb11b765
call fcn.0b0f2edf
lea eax, [ebp - 0x68]
xor esi, esi
push eax
mov dword [ebp - 0x64], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
mov dword [ebp - 0x6c], edi
test edi, edi
je 0xb0db20c
xor ebx, ebx
cmp dword [ebp - 0x68], ebx
jle 0xb0db205
push dword [edi + ebx*4]
lea ecx, [ebp - 0x28]
call fcn.0b0db2dd
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
mov edx, dword [ebp - 0x28]
cmova eax, edx
seta byte [ebp - 0x59]
cmp word [eax], 0x2d
jne 0xb0db1ef
cmp byte [ebp - 0x59], 0
lea ecx, [ebp - 0x28]
je 0xb0db0cd
mov ecx, edx
mov eax, edx
jmp 0xb0db0d0
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0x18]
sub ecx, eax
sar ecx, 1
mov eax, edi
sub eax, ecx
mov dword [ebp - 0x60], ecx
xor ecx, ecx
inc ecx
cmp eax, ecx
cmovb ecx, eax
cmp byte [ebp - 0x59], 0
lea eax, [ebp - 0x28]
cmovne eax, edx
mov edx, dword [ebp - 0x60]
sub edi, ecx
mov dword [ebp - 0x70], edi
lea edx, [eax + edx*2]
mov eax, edi
sub eax, dword [ebp - 0x60]
lea ecx, [edx + ecx*2]
lea eax, [eax*2 + 2]
push eax
push ecx
push edx
call fcn.0b0f3cb0
add esp, 0xc
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 1
lea edi, [ebp - 0x40]
mov edx, dword [ebp - 0x70]
xor eax, eax
stosd dword es:[edi], eax
or esi, 1
push 0xf
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x64], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x30], 0
pop eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x40], 0
cmp edx, eax
jbe 0xb0db156
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x40]
push edx
call fcn.0b0bf6fc
and dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 7
lea esi, [ebp - 0x28]
lea eax, [ebp - 0x28]
cmova esi, dword [ebp - 0x28]
seta cl
test cl, cl
cmovne eax, dword [ebp - 0x28]
lea edi, [eax + edx*2]
jmp 0xb0db181
movzx eax, byte [esi]
lea ecx, [ebp - 0x40]
push eax
call fcn.0b0dce4e
add esi, 2
cmp esi, edi
jne 0xb0db172
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.0b0ddbb3
push eax
mov byte [ebp - 4], 2
call fcn.0b0db31c
lea ecx, [ebp - 0x58]
call fcn.0b0bf7fd
mov esi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x2c]
and esi, 0xfffffffe
push 0xf
pop edi
cmp eax, edi
jbe 0xb0db1e1
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], ecx
cmp eax, 0x1000
jb 0xb0db1d8
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0b0b541b
mov eax, dword [ebp - 0x60]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x64]
push eax
push ecx
call fcn.0b0f2187
pop ecx
pop ecx
and dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x6c]
mov byte [ebp - 0x40], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0b0c3129
inc ebx
cmp ebx, dword [ebp - 0x68]
jl 0xb0db094
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
call fcn.0b0f2e9d
ret
Function at 0xb0de36d
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0xa401080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x44
lea eax, [ebp - 0x15c]
mov ebx, edx
push 0
push eax
mov esi, ecx
call fcn.0b0f4230
xor eax, eax
mov dword [ebp - 0x15c], 0x44
lea edi, [ebp - 0x118]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp dword [ebx + 0x14], 0xf
jbe 0xb0de3ca
mov ebx, dword [ebx]
cmp dword [esi + 0x14], 0xf
jbe 0xb0de3d2
mov esi, dword [esi]
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x108]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [ebp - 0x114]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0xb0de40e
cmp eax, 0xffffffff
je 0xb0de40e
push eax
call esi
mov eax, dword [ebp - 0x118]
test eax, eax
je 0xb0de420
cmp eax, 0xffffffff
je 0xb0de420
push eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0b0f2179
leave
ret
Function at 0xb0de529
Capabilities:
Get common file path

Disassembly:
push 0x16c
mov eax, 0xb11bf61
call fcn.0b0f2edf
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x168], esi
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x11c]
push 0x104
push 0
mov dword [ebp - 0x16c], esi
push eax
mov dword [ebp - 0x168], 1
call fcn.0b0f4230
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0xb0de741
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x14c]
call fcn.0b0bf9d3
and dword [ebp - 4], 0
mov eax, 0x7fffffff
sub eax, dword [ebp - 0x13c]
mov ecx, dword [edi + 0x10]
cmp eax, ecx
jb 0xb0de762
cmp dword [ebp - 0x138], 0xf
lea eax, [ebp - 0x14c]
cmova eax, dword [ebp - 0x14c]
cmp dword [edi + 0x14], 0xf
jbe 0xb0de5cd
mov edi, dword [edi]
push ecx
push edi
push dword [ebp - 0x13c]
push eax
push ecx
push dword [ebp - 0x168]
mov ecx, esi
call fcn.0b0de96c
xor eax, eax
mov dword [ebp - 0x168], 7
lea edi, [ebp - 0x134]
stosd dword es:[edi], eax
push 0xf
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x124], 0
pop edi
mov dword [ebp - 0x120], edi
mov byte [ebp - 0x134], 0
lea edx, [ebp - 0x134]
mov dword [ebp - 4], 2
mov ecx, esi
call fcn.0b0dbbde
mov edx, ebx
test al, al
jne 0xb0de6b2
push ecx
mov ecx, esi
call fcn.0b0dba81
pop ecx
test al, al
jne 0xb0de663
push esi
mov edx, 0xb0a85d8
lea ecx, [ebp - 0x164]
call fcn.0b0de91a
pop ecx
push eax
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 3
call fcn.0b0c31e1
jmp 0xb0de751
mov eax, dword [ebp - 0x120]
cmp eax, edi
jbe 0xb0de71a
mov ecx, dword [ebp - 0x134]
inc eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], ecx
cmp eax, 0x1000
jb 0xb0de711
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.0b0b541b
mov eax, dword [ebp - 0x16c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x168]
jmp 0xb0de711
lea ecx, [ebp - 0x134]
call fcn.0b0c2403
test al, al
jne 0xb0de6cc
push ecx
mov edx, ebx
mov ecx, esi
call fcn.0b0dba81
pop ecx
mov eax, dword [ebp - 0x120]
cmp eax, edi
jbe 0xb0de71a
mov ecx, dword [ebp - 0x134]
inc eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x16c], ecx
cmp eax, 0x1000
jb 0xb0de711
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.0b0b541b
mov eax, dword [ebp - 0x168]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x16c]
push eax
push ecx
call fcn.0b0f2187
pop ecx
pop ecx
and dword [ebp - 0x124], 0
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x120], edi
mov byte [ebp - 0x134], 0
call fcn.0b0bf7fd
mov eax, esi
call fcn.0b0f2e9d
ret
push 0xb0a85c0
lea ecx, [ebp - 0x178]
call fcn.0b0bf639
push 0xb0b29a4
lea eax, [ebp - 0x178]
push eax
call fcn.0b0f3c3e
call fcn.0b0bf828
int3
Function at 0xb0e0b5d
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0xb0e0b6c
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

Function at 0xb0e0e8f
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0xa401080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov bx, dx
mov dword [ebp - 0xfc], eax
push edi
mov word [ebp - 0xf6], bx
mov edi, ecx
xor esi, esi
movzx edx, byte [esi + 0xb09ee10]
mov eax, edx
shr edx, 3
and eax, 7
mov ecx, dword [eax*4 + 0xb09a790]
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 0xb0e0ebc
xor esi, esi
cmp bx, 1
jne 0xb0e0ef8
push 0xf
pop ecx
sub ecx, esi
add ecx, ecx
jmp 0xb0e0efb
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 + 0xb09f050]
cmp edx, 0x1c
jae 0xb0e0f1f
mov bl, byte [ebp + edx - 0x3c]
jmp 0xb0e0f23
mov bl, byte [ebp + edx - 0x58]
mov byte [ebp + eax - 0x74], bl
inc eax
inc edx
cmp eax, 0x1c
jb 0xb0e0f14
cmp eax, 0x38
jae 0xb0e0f56
movzx edx, byte [esi + 0xb09f050]
add edx, eax
cmp edx, 0x38
jae 0xb0e0f47
mov bl, byte [ebp + edx - 0x3c]
jmp 0xb0e0f4b
mov bl, byte [ebp + edx - 0x58]
mov byte [ebp + eax - 0x74], bl
inc eax
inc edx
cmp eax, 0x38
jb 0xb0e0f3c
xor edx, edx
movzx eax, byte [edx + 0xb09e7b0]
mov edi, edx
cmp byte [ebp + eax - 0x74], 0
je 0xb0e0f76
mov eax, dword [edi*4 + 0xb096530]
or dword [ebp + ecx*4 - 0xf4], eax
movzx eax, byte [edx + 0xb09e7c8]
cmp byte [ebp + eax - 0x74], 0
je 0xb0e0f92
mov eax, dword [edi*4 + 0xb096530]
or dword [ebp + ecx*4 - 0xf0], eax
inc edx
cmp edx, 0x18
jb 0xb0e0f58
mov bx, word [ebp - 0xf6]
inc esi
cmp esi, 0x10
jb 0xb0e0ee9
mov edx, dword [ebp - 0xfc]
lea ecx, [ebp - 0xf4]
pop edi
pop esi
pop ebx
call fcn.0b0e0fc9
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0b0f2179
leave
ret
Function at 0xb0e1f17
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0xb0e1f26
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 0xb0e4426
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0xb0e4435
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 0xb0e4eb6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push esi
mov esi, edx
mov dword [ebp - 0x10], ecx
mov eax, esi
mov dword [ebp - 0x1c], eax
test esi, esi
je 0xb0e4f64
push ebx
push edi
dec esi
xor ebx, ebx
push 8
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 8]
pop eax
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 4]
dec eax
mov dword [ebp - 0x14], eax
call fcn.0b118cd4
mov edi, eax
call fcn.0b118cd4
cmp edi, eax
jne 0xb0e4f0e
xor esi, 1
call fcn.0b118cd4
cmp edi, eax
je 0xb0e4eff
mov dword [ebp - 8], esi
call fcn.0b118cd4
mov edi, eax
call fcn.0b118cd4
cmp edi, eax
jne 0xb0e4f36
mov esi, dword [ebp - 4]
xor esi, 1
call fcn.0b118cd4
cmp edi, eax
je 0xb0e4f21
mov dword [ebp - 4], esi
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 4]
cmp esi, ebx
je 0xb0e4eef
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
add ebx, ebx
or ebx, esi
mov dword [ebp - 0xc], ebx
test eax, eax
jne 0xb0e4ee8
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
mov byte [ecx], bl
inc ecx
mov dword [ebp - 0x10], ecx
test esi, esi
jne 0xb0e4ed9
mov eax, dword [ebp - 0x1c]
pop edi
pop ebx
pop esi
leave
ret