joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb0a1c8
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00b09974
xor eax, eax
push ebp
push 0xb0a33a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0xb0a324
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0xb0a214
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0xb0a21e
call fcn.00a147e8
jmp 0xb0a341
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00a2e9f4
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0xb0a319
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov edi, eax
cmp edi, 0xffffffff
jne 0xb0a2cc
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0xb0a2b9
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00a14164
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.00b0a180
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0xb0a34c]
cmp dl, byte [eax + 0x28]
je 0xb0a320
call fcn.00a1dca4
jmp 0xb0a320
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00a2ea14
jmp 0xb0a320
cmp edi, ebx
jge 0xb0a2e8
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00a2ea14
jmp 0xb0a21e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00a2e9f4
cmp edx, dword [esp + 4]
jne 0xb0a308
cmp eax, dword [esp]
pop edx
pop eax
jne 0xb0a21e
push ebp
call fcn.00b0a180
pop ecx
jmp 0xb0a320
push ebp
call fcn.00b0a180
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb0a341
mov eax, dword [ebp - 4]
call fcn.00b09980
ret
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xb0a350
Capabilities:
Check for time delay via gettickcount
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov esi, ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xb0a4f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00b09974
xor eax, eax
push ebp
push 0xb0a4d6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0xb0a3a3
call fcn.00a147e8
jmp 0xb0a4dd
cmp byte [ebp + 8], 0
jne 0xb0a3be
push 0
push esi
push edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
jmp 0xb0a437
xor eax, eax
mov dword [ebp - 8], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x14], eax
cmp esi, dword [ebp - 8]
jle 0xb0a437
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 8]
add dword [ebp - 0x10], eax
push 0
mov eax, esi
sub eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ebx, eax
cmp ebx, 0xffffffff
jne 0xb0a40d
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0xb0a437
push 0xa
call sub.kernel32.dll_Sleep
jmp 0xb0a410
add dword [ebp - 8], ebx
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x14]
cmp eax, 0xea60
jae 0xb0a437
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0xb0a432
call fcn.00a147e8
jmp 0xb0a4dd
cmp esi, dword [ebp - 8]
jg 0xb0a3d0
inc ebx
jne 0xb0a4c0
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0xb0a4c0
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00a14164
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0xb0a4c0
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.00a1d488
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, 0xb0a510
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x2c]
push eax
push 2
mov ecx, dword [0xb7432c]
mov dl, 1
mov eax, dword [0xb08ba4]
call fcn.00a1ddc8
call fcn.00a1473c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb0a4dd
mov eax, dword [ebp - 4]
call fcn.00b09980
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb0a4fa
lea eax, [ebp - 0x30]
call fcn.00a14dc8
ret
Function at 0xb0a55c
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xb0a6a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00b09974
xor eax, eax
push ebp
push 0xb0a689
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0xb0a5c1
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0xb0a5c1
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0xb0a673
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0xb0a5d4
call fcn.00a147e8
jmp 0xb0a690
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0xb0a673
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0xb0a673
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00a14164
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0xb0a673
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00a1d488
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0xb0a6c0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0xb7432c]
mov dl, 1
mov eax, dword [0xb08ba4]
call fcn.00a1ddc8
call fcn.00a1473c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb0a690
mov eax, dword [ebp - 4]
call fcn.00b09980
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb0a6ad
lea eax, [ebp - 0x28]
call fcn.00a14dc8
ret
Function at 0xb1353c
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0xb13698
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0xb13db8
Capabilities:
Hash data using sha256

Disassembly:
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret

Function at 0xb13e90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffecc
mov dword [esp], eax
lea edi, [esp + 0x114]
mov dword [esp + 4], edx
mov esi, 0x10
lea ebx, [esp + 0x14]
mov eax, dword [esp + 4]
mov eax, dword [eax]
call fcn.00b12f40
mov dword [ebx], eax
add dword [esp + 4], 4
add ebx, 4
dec esi
jne 0xb13eb1
mov esi, 0x30
lea ebx, [esp + 0x18]
mov eax, dword [ebx]
call fcn.00b13df0
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x34]
call fcn.00b13e14
mov edx, dword [ebx - 4]
add edx, dword [esp + 8]
add edx, dword [ebx + 0x20]
add eax, edx
mov dword [ebx + 0x3c], eax
add ebx, 4
dec esi
jne 0xb13ed2
mov esi, 8
mov eax, dword [esp]
mov edx, edi
mov ecx, dword [eax]
mov dword [edx], ecx
add edx, 4
add eax, 4
dec esi
jne 0xb13f04
mov esi, 0x40
mov ebx, 0xb6d02c
lea ebp, [esp + 0x14]
mov eax, dword [edi]
call fcn.00b13e38
mov dword [esp + 8], eax
mov eax, dword [edi]
mov edx, eax
and edx, dword [edi + 4]
and eax, dword [edi + 8]
xor edx, eax
mov eax, dword [edi + 4]
and eax, dword [edi + 8]
xor edx, eax
mov eax, edx
add eax, dword [esp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x10]
call fcn.00b13e64
mov edx, dword [edi + 0x10]
and edx, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
not ecx
and ecx, dword [edi + 0x18]
xor edx, ecx
mov dword [esp + 0x10], edx
add eax, dword [edi + 0x1c]
add eax, dword [esp + 0x10]
add eax, dword [ebx]
add eax, dword [ebp]
mov edx, dword [edi + 0x18]
mov dword [edi + 0x1c], edx
mov edx, dword [edi + 0x14]
mov dword [edi + 0x18], edx
mov edx, dword [edi + 0x10]
mov dword [edi + 0x14], edx
mov edx, dword [edi + 0xc]
add edx, eax
mov dword [edi + 0x10], edx
mov edx, dword [edi + 8]
mov dword [edi + 0xc], edx
mov edx, dword [edi + 4]
mov dword [edi + 8], edx
mov edx, dword [edi]
mov dword [edi + 4], edx
add eax, dword [esp + 0xc]
mov dword [edi], eax
add ebp, 4
add ebx, 4
dec esi
jne 0xb13f1f
mov esi, 8
mov eax, edi
mov edx, dword [esp]
mov ecx, dword [eax]
add dword [edx], ecx
add edx, 4
add eax, 4
dec esi
jne 0xb13fb8
add esp, 0x134
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0xb14100
Capabilities:
Hash data using sha256

Disassembly:
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
ret
Function at 0xb147c8
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, 0x40
mov ecx, eax
xor byte [ecx], dl
inc ecx
dec esi
jne 0xb147d0
pop esi
ret

Function at 0xb147d8
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, 0x80
mov ecx, eax
xor byte [ecx], dl
inc ecx
dec esi
jne 0xb147e0
pop esi
ret

Function at 0xb15144
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
xor edi, edi
mov dword [esp], eax
mov ebx, edx
test ebx, ebx
jle 0xb15178
mov esi, 1
mov eax, esi
mov ecx, 7
cdq
idiv ecx
mov ecx, edx
shl ecx, 2
mov eax, dword [esp]
movzx eax, byte [eax]
shl eax, cl
xor edi, eax
inc dword [esp]
inc esi
dec ebx
jne 0xb15158
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0xb15180
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
lea ebx, [ebp - 8]
mov eax, dword [0xb6d3ac]
mov dword [ebx], eax
mov eax, dword [0xb6d3b0]
mov dword [ebx + 4], eax
call fcn.00b15000
xor eax, dword [ebx]
xor edx, dword [ebx + 4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov dword [ebp - 0xc], 0xb6d3b8
mov eax, dword [ebp - 0xc]
cdq
add eax, dword [ebx]
adc edx, dword [ebx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x20]
mov dword [ebx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 4], eax
lea eax, [ebp - 0x143]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cdq
add eax, dword [ebx]
adc edx, dword [ebx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x28]
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 4], eax
push 0
call sub.kernel32.dll_Sleep_1
call fcn.00b15000
add eax, dword [ebx]
adc edx, dword [ebx + 4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x30]
mov dword [ebx], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 4], eax
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_QueryPerformanceFrequency
test eax, eax
je 0xb15230
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
xor eax, dword [ebp - 0x18]
xor edx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov dword [ebp - 0x10], pe_nt_image_headers32
lea eax, [ebp - 0x143]
xor ecx, ecx
mov edx, 0x103
call fcn.00a1377c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x143]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0xb15283
lea eax, [ebp - 0x143]
mov edx, dword [ebp - 0x10]
call fcn.00b15144
xor edx, edx
add eax, dword [ebx]
adc edx, dword [ebx + 4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x38]
mov dword [ebx], eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 4], eax
mov dword [ebp - 0x10], pe_nt_image_headers32
lea eax, [ebp - 0x143]
xor ecx, ecx
mov edx, 0x103
call fcn.00a1377c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x143]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0xb152d6
lea eax, [ebp - 0x143]
mov edx, dword [ebp - 0x10]
call fcn.00b15144
xor edx, edx
add eax, dword [ebx]
adc edx, dword [ebx + 4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x40]
mov dword [ebx], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebx + 4], eax
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
xor eax, dword [ebx]
xor edx, dword [ebx + 4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov eax, dword [ebx]
call fcn.00b14f84
mov dword [ebx], eax
mov eax, dword [ebx + 4]
call fcn.00b14fa4
mov dword [ebx + 4], eax
mov eax, dword [ebx]
mov dword [0xb6d3b8], eax
mov eax, dword [ebx + 4]
mov dword [0xb6d3bc], eax
mov byte [0xb6d3b4], 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xb160e4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0xb161c1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
lea edx, [ebp - 4]
mov eax, dword [ebp + 0xc]
call fcn.00b1608c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
mov ecx, edi
mov edx, esi
call fcn.00a150e4
mov edx, dword [ebp - 0x14]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.00b15dbc
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.00a14e60
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
mov ecx, edi
mov edx, esi
call fcn.00a150e4
mov edx, dword [ebp - 0x1c]
mov ecx, ebx
mov eax, dword [ebp - 8]
call fcn.00b15eac
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
call fcn.00a14e60
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00a15424
mov esi, ebx
test esi, esi
jle 0xb1619b
mov ebx, 1
lea eax, [ebp - 0xc]
call fcn.00a152f0
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
mov ecx, dword [ebp - 8]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0xb1617d
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.00a14e1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb161c8
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00a14dec
ret
Function at 0xb1781c
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], ecx
mov ebx, edx
cmp ebx, 0x80
jle 0xb1784a
push 0xb17974
mov ecx, 2
mov dl, 1
mov eax, dword [0xb17704]
call fcn.00b17758
call fcn.00a1473c
cmp ebx, 1
jge 0xb1786a
push 0xb1799c
mov ecx, 2
mov dl, 1
mov eax, dword [0xb17704]
call fcn.00b17758
call fcn.00a1473c
cmp dword [ebp - 4], 0
jle 0xb17879
cmp dword [ebp - 4], 0x400
jle 0xb17894
push 0xb179c0
mov ecx, 3
mov dl, 1
mov eax, dword [0xb17704]
call fcn.00b17758
call fcn.00a1473c
mov edx, dword [ebp + 8]
mov ecx, ebx
call fcn.00a12f0c
mov edx, ebx
cmp edx, 0x7f
jg 0xb178d1
mov eax, dword [ebp + 8]
lea eax, [eax + edx - 1]
mov ecx, edx
sub ecx, ebx
mov esi, dword [ebp + 8]
mov cl, byte [esi + ecx]
add cl, byte [eax]
and ecx, 0xff
mov cl, byte [ecx + 0xb6d900]
mov byte [eax + 1], cl
inc edx
inc eax
cmp edx, 0x80
jne 0xb178ac
mov ebx, dword [ebp - 4]
add ebx, 7
test ebx, ebx
jns 0xb178de
add ebx, 7
sar ebx, 3
mov ecx, dword [ebp - 4]
add ecx, 8
xor eax, eax
mov al, bl
shl eax, 3
sub ecx, eax
mov eax, 1
shl eax, cl
push eax
mov eax, 0xff
pop edx
mov ecx, edx
xor edx, edx
div ecx
mov eax, edx
mov esi, ebx
and esi, 0xff
mov edx, 0x80
sub edx, esi
mov ecx, dword [ebp + 8]
and al, byte [ecx + edx]
and eax, 0xff
mov ecx, dword [ebp + 8]
mov al, byte [eax + 0xb6d900]
mov byte [ecx + edx], al
mov edx, 0x7f
sub edx, esi
cmp edx, 0
jl 0xb17963
mov eax, dword [ebp + 8]
lea eax, [eax + edx + 1]
xor ecx, ecx
mov cl, bl
add ecx, edx
mov esi, dword [ebp + 8]
mov cl, byte [esi + ecx]
xor cl, byte [eax]
and ecx, 0xff
mov cl, byte [ecx + 0xb6d900]
mov byte [eax - 1], cl
dec edx
dec eax
cmp edx, 0xffffffff
jne 0xb1793f
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0xb181f4
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax + 4], edx
xor esi, esi
mov ebx, 0xb6da00
mov al, byte [ebx]
dec eax
xor edx, edx
mov dl, al
mov ecx, edx
and ecx, 0x1f
push ecx
mov ecx, 0x1f
pop edi
sub ecx, edi
mov edi, 1
shl edi, cl
shr edx, 5
mov eax, dword [esp]
and edi, dword [eax + edx*4]
je 0xb1826f
mov eax, esi
and eax, 0x8000001f
jns 0xb1824e
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, 0x1f
sub ecx, eax
mov eax, 1
shl eax, cl
mov edx, esi
test edx, edx
jns 0xb18265
add edx, 0x1f
sar edx, 5
mov ecx, dword [esp + 4]
or dword [ecx + edx*4], eax
inc esi
inc ebx
cmp esi, 0x38
jne 0xb18219
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0xb1827c
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax + 4], edx
xor esi, esi
mov ebx, 0xb6da48
mov al, byte [ebx]
dec eax
xor edx, edx
mov dl, al
mov ecx, edx
and ecx, 0x1f
push ecx
mov ecx, 0x1f
pop edi
sub ecx, edi
mov edi, 1
shl edi, cl
shr edx, 5
mov eax, dword [esp]
and edi, dword [eax + edx*4]
je 0xb182f7
mov eax, esi
and eax, 0x8000001f
jns 0xb182d6
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, 0x1f
sub ecx, eax
mov eax, 1
shl eax, cl
mov edx, esi
test edx, edx
jns 0xb182ed
add edx, 0x1f
sar edx, 5
mov ecx, dword [esp + 4]
or dword [ecx + edx*4], eax
inc esi
inc ebx
cmp esi, 0x30
jne 0xb182a1
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0xb18a3c
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp], eax
lea esi, [esp + 8]
mov edi, 0xb6de48
mov byte [esp + 4], 4
mov ebp, dword [esp]
add ebp, 2
mov cl, 4
mov edx, ebp
mov eax, edx
mov dword [esi], eax
mov eax, dword [esi]
movzx eax, byte [eax]
mov al, byte [edi + eax]
mov ebx, dword [esi]
mov byte [ebx], al
inc edx
dec cl
jne 0xb18a5e
add ebp, 4
dec byte [esp + 4]
jne 0xb18a5a
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0xb18a84
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp], eax
lea esi, [esp + 8]
mov edi, 0xb6df48
mov byte [esp + 4], 4
mov ebp, dword [esp]
add ebp, 2
mov cl, 4
mov edx, ebp
mov eax, edx
mov dword [esi], eax
mov eax, dword [esi]
movzx eax, byte [eax]
mov al, byte [edi + eax]
mov ebx, dword [esi]
mov byte [ebx], al
inc edx
dec cl
jne 0xb18aa6
add ebp, 4
dec byte [esp + 4]
jne 0xb18aa2
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0xb18bd4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], eax
mov byte [esp + 8], 4
mov eax, dword [esp]
add eax, 2
mov dword [esp + 0xc], eax
mov bl, 4
mov eax, dword [esp + 0xc]
lea edx, [esp + 4]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
add eax, 4
dec bl
jne 0xb18bf7
xor ebx, ebx
lea esi, [esp + 4]
mov eax, dword [esp + 0xc]
mov edi, eax
mov dl, byte [esi]
mov al, 2
call fcn.00b18b98
push eax
mov ebp, ebx
and ebp, 0xff
mov eax, ebp
inc eax
and eax, 3
mov dl, byte [esp + eax + 8]
mov al, 3
call fcn.00b18b98
pop edx
xor dl, al
mov eax, ebp
add eax, 2
and eax, 3
xor dl, byte [esp + eax + 4]
add ebp, 3
and ebp, 3
xor dl, byte [esp + ebp + 4]
mov byte [edi], dl
inc ebx
add edi, 4
inc esi
cmp bl, 4
jne 0xb18c0f
inc dword [esp + 0xc]
dec byte [esp + 8]
jne 0xb18bed
lea eax, [esp + 4]
mov edx, 4
call fcn.00b1779c
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0xb18c78
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], eax
mov byte [esp + 8], 4
mov eax, dword [esp]
add eax, 2
mov dword [esp + 0xc], eax
mov bl, 4
mov eax, dword [esp + 0xc]
lea edx, [esp + 4]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
add eax, 4
dec bl
jne 0xb18c9b
xor ebx, ebx
lea esi, [esp + 4]
mov eax, dword [esp + 0xc]
mov edi, eax
mov dl, byte [esi]
mov al, 0xe
call fcn.00b18b98
push eax
mov ebp, ebx
and ebp, 0xff
mov eax, ebp
inc eax
and eax, 3
mov dl, byte [esp + eax + 8]
mov al, 0xb
call fcn.00b18b98
pop edx
xor dl, al
push edx
mov eax, ebp
add eax, 2
and eax, 3
mov dl, byte [esp + eax + 8]
mov al, 0xd
call fcn.00b18b98
pop edx
xor dl, al
push edx
add ebp, 3
and ebp, 3
mov dl, byte [esp + ebp + 8]
mov al, 9
call fcn.00b18b98
pop edx
xor dl, al
mov byte [edi], dl
inc ebx
add edi, 4
inc esi
cmp bl, 4
jne 0xb18cb3
inc dword [esp + 0xc]
dec byte [esp + 8]
jne 0xb18c91
lea eax, [esp + 4]
mov edx, 4
call fcn.00b1779c
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0xb18d4c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
lea ebp, [esp + 0x10]
mov byte [esp + 0xc], 0
mov eax, dword [esp]
add eax, 2
mov dword [esp + 0x14], eax
xor eax, eax
mov al, byte [esp + 0xc]
add eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov edi, dword [edx + eax*4]
xor ebx, ebx
mov eax, dword [esp + 0x14]
mov esi, eax
mov eax, esi
mov dword [ebp], eax
mov edx, edi
mov eax, ebx
call fcn.00b18d38
mov edx, dword [ebp]
xor byte [edx], al
inc ebx
add esi, 4
cmp bl, 4
jne 0xb18d8a
inc byte [esp + 0xc]
inc dword [esp + 0x14]
cmp byte [esp + 0xc], 4
jne 0xb18d71
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0xb19f28
Capabilities:
Encode data using xor

Disassembly:
add esp, 0xfffffff8
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, ecx
dec eax
test eax, eax
jl 0xb19f4f
inc eax
mov edx, dword [esp + 4]
mov dl, byte [edx]
mov ecx, dword [esp]
xor byte [ecx], dl
inc dword [esp]
inc dword [esp + 4]
dec eax
jne 0xb19f3a
pop ecx
pop edx
ret