joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001298b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x10028110]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100129d1
cmp word [ebx], dx
jne 0x100129d1
or byte [eax + edi + 0x28], 4
jmp 0x100129d6
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x10012b39
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x10012b19
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10012a17
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10012a4d
cmp eax, edx
jae 0x10012a5b
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x100129f2
jmp 0x10012b39
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10012b14
cmp dword [ebp - 0x18], 0
je 0x10012b14
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x10028110]
test byte [eax + edi + 0x28], 0x48
je 0x10012aea
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x10012aae
mov word [esi], cx
jmp 0x10012ae5
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x10028110]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x10028110]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x10028110]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10012b39
pop eax
cmp word [ebp - 4], ax
jne 0x10012afa
cmp esi, ebx
jne 0x10012afa
mov word [esi], ax
jmp 0x10012b36
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100127e0
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10012b39
push 0xd
pop eax
jmp 0x10012af5
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x10028110]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x10012b33
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10012b39
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10014cfc
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10014d99
push ebx
push esi
call fcn.10014cc5
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10014c59
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10014d46
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10014d98
push edi
push eax
call fcn.100113e7
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10014d66
call fcn.1000ffc4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10014d97
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10014c59
add esp, 0x20
test eax, eax
jne 0x10014d85
push edi
call fcn.1000ffc4
jmp 0x10014d8d
push ebx
call fcn.1000ffc4
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x10019f01
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.10019e7d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1001a070
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1001a070
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1001a025
jg 0x10019f5d
test eax, eax
je 0x1001a01b
push 1
push 0x1000
call fcn.1000ff67
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10019f80
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1001a012
push 0x8000
push ebx
call fcn.10019dae
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10019fa9
jg 0x10019fa4
cmp ecx, 0x1000
jb 0x10019fa9
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100111cb
add esp, 0x10
cmp eax, 0xffffffff
je 0x10019fee
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10019fa4
jl 0x10019fd5
test ecx, ecx
jne 0x10019f96
push dword [ebp - 0xc]
push ebx
call fcn.10019dae
push esi
call fcn.1000ffc4
add esp, 0xc
xor ebx, ebx
jmp 0x1001a07e
cmp byte [edi + 0x24], 0
je 0x1001a005
cmp dword [edi + 0x20], 5
jne 0x1001a005
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1001a010
mov ebx, dword [edi + 0x18]
jmp 0x1001a012
xor ebx, ebx
push esi
call fcn.1000ffc4
pop ecx
jmp 0x1001a07e
test ecx, ecx
jg 0x10019fe7
jl 0x1001a025
test eax, eax
jae 0x10019fe7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100127e0
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1001a045
cmp byte [edi + 0x1c], 0
je 0x10019fe7
jmp 0x1001a076
push ebx
call fcn.10015da0
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10019fe7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1001a07e
cmp byte [edi + 0x1c], 0
je 0x1001a07b
mov ebx, dword [edi + 0x18]
jmp 0x1001a07e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100127e0
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001c000
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001c02d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001c02d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x5327e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x532805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x532878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x53283a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x53286d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x53286b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x532831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x5327fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x107b4058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.107b41a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x107b407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x107b406a
add dl, dl
jne 0x107b4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x107b40dc
xor eax, eax
add dl, dl
jne 0x107b4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x107b417d
add dl, dl
jne 0x107b40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107b40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107b40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107b40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x107b40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x107b4075
mov eax, 1
add dl, dl
jne 0x107b40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107b40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x107b40e1
sub eax, ebx
mov ebx, 1
jne 0x107b4128
mov ecx, 1
add dl, dl
jne 0x107b410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x107b4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x107b4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x107b4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x107b413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x107b414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x107b4136
cmp eax, 0x7d00
jae 0x107b416d
cmp eax, 0x500
jb 0x107b4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x107b4075
cmp eax, 0x7f
ja 0x107b4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x107b4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x107b419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x107b4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x405f20
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [ebp + 0xc]
push edx
push eax
call int.0040abf0
mov edx, dword [ebp - 4]
mov eax, dword [edi]
sub esi, edx
push esi
push eax
call dword [0x6ac120]
xor al, 1
fadd dword [eax]
add byte [ebx - 0x26c4f73c], al
mov dword [edi], eax
jle 0x405f02
lea edi, [edi + 0x4478dff]
mov dword [eax + 0x5b8b410c], esp
cld
pop edx
ret 0x8902
mov esp, dword [esi - 0x31fb38f8]
add byte [eax], al
add byte [eax], al
mov dword [edx], eax
pop edi
mov eax, ebx
pop esi
pop ebx
mov ebx, dword [ebp + eax*8 + 0x79]
nop
nop
nop
nop
nop
push 0xffffffffffffff90
nop
nop
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x410379]
fcmove st(0), st(0)
inc eax
test ecx, ecx
mov dword [0xb00394], eax
je 0x405f40
xor eax, eax
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x1c]
push edx
call fcn.0040a120
or dword [ebx], 0x14
test eax, eax
jne 0x406fd6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
xor cl, 9
inc ecx
add al, ch
sbb dword [ebp - 1], ecx
inc dword [ebp + 0x507375c0]
mov word [eax - 0x73], ss
inc ebp
cld
push eax
and bh, byte [ecx]
out dx, eax
dec ebx
push esi
push edx
sal byte [edi], 0xe3
mov eax, 0x4e22
pop es
in eax, 0x5d
ret
inc eax
add byte [ebx - 0x7c017430], cl
leave
push dword [ebx]
rol byte [ebx - 0x510df73c], 0xf7
pop esi
dec ecx
cmp edx, ecx
setnp byte [eax + eax + 0x67ab0000]
adc eax, 0x1818a8c8
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
xchg eax, edi
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x7a]
xor byte [ebp + 0x5a], al
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x48], ecx
mov esi, 0x4508cf55
or al, 0x8b
loop 0x407022
cmp dword [ebp + 0xa8840f], edi
add byte [eax], al
mov dword [ebp + 0xe], ebx
add al, 0x55
push ebp
sbb al, 0x6a
xchg ebx, eax
push edx
iretd
Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x3a074aa2
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0xcc974db
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0xbbf058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xbbf1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xbbf07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbbf06a
add dl, dl
jne 0xbbf089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbbf0dc
xor eax, eax
add dl, dl
jne 0xbbf096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbbf17d
add dl, dl
jne 0xbbf0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbbf0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbbf0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbbf0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xbbf0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xbbf075
mov eax, 1
add dl, dl
jne 0xbbf0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbbf0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbbf0e1
sub eax, ebx
mov ebx, 1
jne 0xbbf128
mov ecx, 1
add dl, dl
jne 0xbbf10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbbf119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbbf105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbbf075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xbbf13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbbf14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbbf136
cmp eax, 0x7d00
jae 0xbbf16d
cmp eax, 0x500
jb 0xbbf168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbbf075
cmp eax, 0x7f
ja 0xbbf170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbbf075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xbbf19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xbbf075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0xaa48dc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0xaa4940
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00a15048
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00a19db0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaa4947
lea eax, [ebp - 0xc]
call fcn.00a14dc8
ret

Function at 0xab8eec
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0xab8f1a
mov eax, ebx
call fcn.00ab99a0
cmp dword [ebx + 0x40], 0
je 0xab8f13
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0xab8f8b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0xab8f7d
cmp dword [ebx + 8], 0
je 0xab8f3c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0xab8f4e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0xab8f7d
cmp dword [ebx + 8], 0
je 0xab8f2f
cmp eax, 3
je 0xab8f61
dec eax
jne 0xab8f2f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0xab8f2f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0xab8f2f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0xab8fa9
cmp dword [ebx + 0x14], 0xcc
je 0xab8fa9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00ab8fb4
pop ebx
ret

Function at 0xad1300
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ebx, 0xe
mov eax, 0xb61298
xor edx, edx
mov dl, byte [eax]
mov ecx, 0x1f
sub ecx, edx
mov edx, 1
shl edx, cl
or esi, edx
inc eax
dec ebx
jne 0xad130e
xor ebx, ebx
mov ecx, 0xb60e98
mov eax, ebx
mov edx, 8
test al, 1
je 0xad133e
shr eax, 1
xor eax, esi
jmp 0xad1340
shr eax, 1
dec edx
jne 0xad1334
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0xad132d
pop esi
pop ebx
ret
Function at 0xad1354
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, edx
mov esi, eax
mov ebp, 0xb60e98
test esi, esi
je 0xad1369
test edi, edi
jg 0xad1370
xor eax, eax
jmp 0xad1478
mov ebx, 0xdbc66688
cmp dword [0xb60e94], 0
je 0xad1383
call fcn.00ad1300
xor ebx, 0xffffffff
cmp edi, 8
jl 0xad1453
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jge 0xad138f
test edi, edi
je 0xad1473
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [ebp + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
jne 0xad1457
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0xad910c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov ebx, ecx
test ebx, ebx
jle 0xad9177
mov ecx, 1
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, ecx
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
sub eax, 1
sbb edx, 0
mov al, byte [eax]
push eax
mov eax, edi
xor edx, edx
push edx
push eax
mov eax, ecx
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
sub eax, 1
sbb edx, 0
pop edx
xor dl, byte [eax]
push edx
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, ecx
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
sub eax, 1
sbb edx, 0
pop edx
mov byte [eax], dl
inc ecx
dec ebx
jne 0xad911e
pop edi
pop esi
pop ebx
ret
Function at 0xada86c
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, eax
mov ebx, 0xb651e8
jmp fcn.0182097d
Function at 0xadb39c
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, 0xb659e8
lea ecx, [esp + 8]
mov dword [ecx], eax
mov eax, dword [esp]
mov dword [esp + 0xc], eax
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
test eax, eax
jle 0xadb460
mov edx, dword [ecx]
movzx edx, byte [edx + ebx]
shr edx, 2
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 1]
shr ebp, 4
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 1], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 2]
shr ebp, 6
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 2], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 3], dl
add esi, 4
add ebx, 3
dec eax
jne 0xadb3d4
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0xadb477
dec edx
je 0xadb4b8
jmp 0xadb515
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 2], 0x3d
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
jmp 0xadb515
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov edx, dword [ecx]
movzx edx, byte [edx + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [ecx]
mov al, byte [eax + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 2], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
mov eax, dword [esp + 4]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret