joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101ab6c3
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 0x101ab760
push ebx
push esi
call fcn.101ab68c
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.101aa69e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x101ab70d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x101ab75f
push edi
push eax
call fcn.101a4439
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x101ab72d
call fcn.101a4055
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x101ab75e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.101aa69e
add esp, 0x20
test eax, eax
jne 0x101ab74c
push edi
call fcn.101a4055
jmp 0x101ab754
push ebx
call fcn.101a4055
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 0x101ab763
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x101ab774
pop esi
ret
push ebx
push edi
push esi
call fcn.101ab68c
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.101a4439
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x101ab79c
push ebx
push esi
push edi
call fcn.1018f2d0
add esp, 0xc
push 0
call fcn.101a4055
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x101abb6c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.101ab7b1

Function at 0x101adda6
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.101a10ac
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x101ade15
cmp esi, dword [ebp - 4]
je 0x101ade10
cmp dword [ebp + 0xc], 0
je 0x101ade10
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x101added
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.101ad8f8
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x101ade17
xor eax, eax
inc eax
jmp 0x101ade17
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x101ade7c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x101f80c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.101a10ac
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.101a10ac
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x101adef3
cmp word [ecx], dx
je 0x101adef3
mov eax, dword [0x101bfd74]
push edi
dec eax
push eax
push 0x101bfc60
call fcn.101ade1b
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x101adf66
cmp word [eax], dx
je 0x101adf66
mov eax, dword [edi]
test eax, eax
je 0x101adf17
cmp word [eax], dx
je 0x101adf17
lea eax, [ebp - 0x10]
push eax
call fcn.101ad7fe
jmp 0x101adf20
lea eax, [ebp - 0x10]
push eax
call fcn.101ad899
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x101adf90
mov eax, dword [0x101bfc5c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x101bf950
call fcn.101ade1b
add esp, 0xc
test al, al
je 0x101adf90
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x101adf5b
cmp word [eax], di
je 0x101adf5b
lea eax, [ebp - 0x10]
push eax
call fcn.101ad7fe
pop ecx
jmp 0x101adf92
lea eax, [ebp - 0x10]
push eax
call fcn.101ad899
jmp 0x101adf58
mov eax, dword [edi]
test eax, eax
je 0x101adf7d
cmp word [eax], dx
je 0x101adf7d
lea eax, [ebp - 0x10]
push eax
call fcn.101ad7b3
pop ecx
jmp 0x101adf90
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x101ae05b
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.101adca0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x101ae05b
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x101ae05b
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x101ae05b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x101adfe8
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.101a5bc2
test ebx, ebx
je 0x101ae056
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.101a5bc2
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x101ae05b
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x101ae05b
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.101b1924
add esp, 0x10
xor eax, eax
inc eax
jmp 0x101ae05d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1018daa9
leave
ret
Function at 0x101b0735
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101f80c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x101b0778
call fcn.1019a197
mov dword [eax], 0xf
call fcn.1019a1aa
mov dword [eax], 0xd
call fcn.10192ec6
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1018daa9
leave
ret
test eax, eax
jne 0x101b077f
inc eax
jmp 0x101b076c
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x101b076a
xor eax, eax
cmp ecx, 1
setne al
jmp 0x101b076c
Function at 0x101b2104
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.101b2080
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x101b2273
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x101b2273
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x101b2228
jg 0x101b2160
test eax, eax
je 0x101b221e
push 1
push 0x1000
call fcn.101a31d6
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x101b2183
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x101b2215
push 0x8000
push ebx
call fcn.101b1fb1
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x101b21ac
jg 0x101b21a7
cmp ecx, 0x1000
jb 0x101b21ac
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.101a3e39
add esp, 0x10
cmp eax, 0xffffffff
je 0x101b21f1
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 0x101b21a7
jl 0x101b21d8
test ecx, ecx
jne 0x101b2199
push dword [ebp - 0xc]
push ebx
call fcn.101b1fb1
push esi
call fcn.101a4055
add esp, 0xc
xor ebx, ebx
jmp 0x101b2281
cmp byte [edi + 0x24], 0
je 0x101b2208
cmp dword [edi + 0x20], 5
jne 0x101b2208
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x101b2213
mov ebx, dword [edi + 0x18]
jmp 0x101b2215
xor ebx, ebx
push esi
call fcn.101a4055
pop ecx
jmp 0x101b2281
test ecx, ecx
jg 0x101b21ea
jl 0x101b2228
test eax, eax
jae 0x101b21ea
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.101a75b8
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x101b2248
cmp byte [edi + 0x1c], 0
je 0x101b21ea
jmp 0x101b2279
push ebx
call fcn.101a83a9
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x101b21ea
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 0x101b2281
cmp byte [edi + 0x1c], 0
je 0x101b227e
mov ebx, dword [edi + 0x18]
jmp 0x101b2281
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.101a75b8
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x101b37f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x101b381d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x101b381d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10004c76
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [esi + 0x3c]
and dword [ebp - 0x10], 0
and dword [ebp - 4], 0
lea ecx, [eax + esi + 0x78]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
push ebx
mov dword [ebp - 0x18], eax
add eax, esi
mov ebx, dword [eax + 0x1c]
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x20]
push edi
mov edi, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
add edx, esi
add ecx, esi
add ebx, esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], eax
test edi, edi
je 0x10004d1f
mov eax, dword [ebp - 4]
movsx edi, word [edx + eax*2]
mov dword [ebp - 0xc], edi
cmp eax, dword [ebp - 8]
jae 0x10004d35
mov eax, edi
cmp eax, dword [ebp - 0x14]
jae 0x10004d35
mov eax, dword [ebx + eax*4]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp eax, edi
jb 0x10004cec
mov eax, dword [ebp - 0x1c]
add eax, edi
cmp dword [ebp - 0x20], eax
jb 0x10004d14
mov eax, dword [ebp - 4]
mov ecx, dword [ecx + eax*4]
add ecx, esi
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10004cf9
sub eax, edi
mov edi, eax
call fcn.10011b4d
cmp eax, dword [ebp + 8]
je 0x10004d28
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x10004cbf
mov eax, dword [ebp - 0x10]
pop edi
pop ebx
leave
ret 4
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebx + eax*4]
add ebx, esi
mov dword [ebp - 0x10], ebx
jmp 0x10004d1f
xor eax, eax
jmp 0x10004d22

Function at 0x10004d39
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
push ebx
push esi
mov esi, dword [eax + 0xc]
push edi
mov dl, 0x19
movzx ecx, word [esi + 0x24]
test cx, cx
je 0x10004dbf
and dword [ebp - 4], 0
mov eax, dword [esi + 0x28]
mov edi, ecx
test edi, edi
jle 0x10004dbf
cmp word [eax], 0x5c
jne 0x10004db4
add eax, 2
mov cl, byte [eax]
lea ebx, [ecx - 0x61]
cmp bl, dl
ja 0x10004d79
sub cl, 0x20
cmp cl, 0x4b
jne 0x10004db4
mov cl, byte [eax + 2]
lea ebx, [ecx - 0x61]
cmp bl, dl
ja 0x10004d8b
sub cl, 0x20
cmp cl, 0x45
jne 0x10004db4
mov cl, byte [eax + 4]
lea ebx, [ecx - 0x61]
cmp bl, dl
ja 0x10004d9d
sub cl, 0x20
cmp cl, 0x52
jne 0x10004db4
mov cl, byte [eax + 6]
lea ebx, [ecx - 0x61]
cmp bl, dl
ja 0x10004daf
sub cl, 0x20
cmp cl, 0x4e
je 0x10004dcc
add eax, 2
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x10004d64
mov esi, dword [esi]
test esi, esi
jne 0x10004d4e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [esi + 0x18]
jmp 0x10004dc7
Function at 0x10006fa3
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
lea eax, [esp + 0x20]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1000704c
cmp byte [esp + 0x20], 2
jne 0x1000704c
mov eax, dword [esp + 0x20]
shr eax, 8
cmp al, 2
jne 0x1000704c
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000704c
push 0
push 0
mov eax, 0xddf3
mov word [esp + 0x18], ax
lea eax, [esp + 0x24]
push eax
push 4
push 0x1002b87c
push 0x10
lea eax, [esp + 0x24]
push eax
push 0xc8000006
push esi
mov dword [esp + 0x30], 0x25a207b9
mov dword [esp + 0x36], 0xe98e4660
mov dword [esp + 0x3a], 0x748ce576
mov word [esp + 0x3e], 0x3e06
call dword [sym.imp.WS2_32.dll_]
push esi
mov ebx, eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
test ebx, ebx
sete al
jmp 0x1000704e
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ecx
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x1002c400], ecx
inc edx
cmp edx, 0x100
jb 0x1000cc53
cmp edx, 0x800
jae 0x1000cd29
lea ecx, [ecx]
mov eax, dword [edx*4 + 0x1002c000]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x1002c400]
inc edx
mov dword [edx*4 + 0x1002c3fc], eax
cmp edx, 0x800
jb 0x1000cd00
mov dword [0x1002e400], 0x1000d630
call fcn.1000d7f0
test eax, eax
jne 0x1000cd46
mov dword [0x1002e400], 0x1000d6e0
pop ecx
ret
Function at 0x1000dc70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 8
push ebx
push esi
mov esi, dword [ecx]
xor ebx, ebx
and esi, 7
cmp eax, 5
jae 0x1000dc91
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
mov edi, dword [ebp + 8]
sub eax, 4
add edi, eax
mov dword [ebp - 4], edi
lea ecx, [ecx]
mov eax, dword [ebp + 8]
lea edx, [ebx + eax]
cmp edx, edi
jae 0x1000dcbf
lea ebx, [ebx]
mov cl, byte [edx]
and cl, 0xfe
cmp cl, 0xe8
je 0x1000dcbf
inc edx
cmp edx, edi
jb 0x1000dcb0
mov ecx, edx
sub ecx, ebx
mov ebx, edx
sub ecx, eax
sub ebx, eax
cmp edx, edi
jae 0x1000dd9d
cmp ecx, 2
jbe 0x1000dd5d
xor esi, esi
movzx ecx, byte [edx + 4]
lea eax, [ecx + 1]
test al, 0xfe
jne 0x1000dd8f
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or eax, ecx
lea edi, [ebx + 5]
mov ebx, edi
sub eax, edi
mov dword [ebp - 8], ebx
test esi, esi
je 0x1000dd38
and esi, 6
add esi, esi
add esi, esi
mov ebx, eax
mov ecx, esi
shr ebx, cl
inc ebx
test bl, 0xfe
jne 0x1000dd33
mov ebx, pe_nt_image_headers32
shl ebx, cl
dec ebx
xor eax, ebx
sub eax, edi
mov ebx, dword [ebp - 8]
xor esi, esi
mov edi, dword [ebp - 4]
mov ecx, eax
shr ecx, 8
mov byte [edx + 1], al
mov byte [edx + 2], cl
mov ecx, eax
shr eax, 0x18
shr ecx, 0x10
and al, 1
neg al
mov byte [edx + 3], cl
mov byte [edx + 4], al
jmp 0x1000dca0
shr esi, cl
test esi, esi
je 0x1000dcdc
cmp esi, 4
ja 0x1000dd84
cmp esi, 3
je 0x1000dd84
mov eax, esi
shr eax, 1
movzx ecx, byte [eax + edx + 1]
inc ecx
test cl, 0xfe
jne 0x1000dcdc
or esi, 8
shr esi, 1
inc ebx
jmp 0x1000dca0
mov edi, dword [ebp - 4]
or esi, 8
shr esi, 1
inc ebx
jmp 0x1000dca0
pop edi
cmp ecx, 2
jbe 0x1000ddb4
mov edx, dword [ebp + 0xc]
xor esi, esi
mov dword [edx], esi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
shr esi, cl
mov eax, ebx
mov dword [edx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10010d9d
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
test ebx, ebx
je 0x10010dbd
mov esi, edx
mov ecx, eax
sub esi, eax
mov edi, ebx
mov dl, byte [esi + ecx]
xor dl, byte [esp + 0x14]
mov byte [ecx], dl
inc ecx
dec edi
jne 0x10010db0
xor edx, edx
mov byte [ebx + eax], dl
cmp ebx, edx
jbe 0x10010e0d
lea esi, [edx + eax]
cmp byte [esi], 0x5c
jne 0x10010e08
lea edi, [edx + eax + 1]
mov cl, byte [edi]
cmp cl, 0x5c
je 0x10010dfe
cmp cl, 0x72
jne 0x10010de3
mov byte [esi], 0xd
jmp 0x10010dfe
cmp cl, 0x6e
jne 0x10010ded
mov byte [esi], 0xa
jmp 0x10010dfe
cmp cl, 0x74
jne 0x10010df7
mov byte [esi], 9
jmp 0x10010dfe
cmp cl, 0x22
jne 0x10010e08
mov byte [esi], cl
mov ecx, ebx
sub ecx, edx
lea esi, [edx + eax + 2]
rep movsb byte es:[edi], byte [esi]
inc edx
cmp edx, ebx
jb 0x10010dc6
pop edi
pop esi
pop ebx
ret 8
Function at 0x10011b4d
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
test ecx, ecx
je 0x10011bea
test edi, edi
je 0x10011bea
mov eax, edi
shr eax, 2
xor edx, edx
lea ecx, [ecx + eax*4]
neg eax
push esi
je 0x10011b8f
mov esi, dword [ecx + eax*4]
imul esi, esi, 0xcc9e2d51
rol esi, 0xf
imul esi, esi, 0x1b873593
xor edx, esi
rol edx, 0xd
imul edx, edx, 5
add edx, 0xe6546b64
inc eax
jne 0x10011b6c
mov eax, edi
and eax, 3
xor esi, esi
dec eax
je 0x10011baf
dec eax
je 0x10011ba6
dec eax
jne 0x10011bc5
movzx esi, byte [ecx + 2]
shl esi, 0x10
movzx eax, byte [ecx + 1]
shl eax, 8
xor esi, eax
movzx eax, byte [ecx]
xor eax, esi
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor edx, eax
xor edx, edi
mov eax, edx
shr eax, 0x10
xor eax, edx
imul eax, eax, 0x85ebca6b
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul ecx, ecx, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
pop esi
ret
xor eax, eax
ret
Function at 0x1001409d
Capabilities:
Encode data using base64

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
push 0x41
pop esi
mov edi, eax
call fcn.10011870
test eax, eax
je 0x100140c3
push 0x94
push 0x40
mov edx, 0x10025ed0
call fcn.10010d9d
mov edx, dword [esp + 0x14]
lea esi, [edx - 2]
xor ecx, ecx
test esi, esi
jle 0x10014134
movzx edx, byte [ebx + ecx]
shr edx, 2
mov dl, byte [edx + eax]
mov byte [edi], dl
movsx esi, byte [ebx + ecx]
movzx edx, byte [ebx + ecx + 1]
shr edx, 4
and esi, 3
shl esi, 4
or edx, esi
mov dl, byte [edx + eax]
mov byte [edi + 1], dl
movsx edx, byte [ebx + ecx + 1]
movzx esi, byte [ebx + ecx + 2]
and edx, 0xf
shl edx, 2
shr esi, 6
or edx, esi
mov dl, byte [edx + eax]
mov byte [edi + 2], dl
movsx edx, byte [ebx + ecx + 2]
and edx, 0x3f
mov dl, byte [edx + eax]
mov byte [edi + 3], dl
mov edx, dword [esp + 0x14]
add ecx, 3
add edx, 0xfffffffe
add edi, 4
cmp ecx, edx
jl 0x100140d0
mov edx, dword [esp + 0x14]
cmp ecx, edx
jge 0x10014188
lea esi, [ecx + ebx]
movzx ebx, byte [esi]
shr ebx, 2
mov bl, byte [ebx + eax]
dec edx
mov byte [edi], bl
cmp ecx, edx
movsx ecx, byte [esi]
jne 0x1001415f
and ecx, 3
add ecx, ecx
mov cl, byte [eax + ecx*8]
mov byte [edi + 1], cl
mov byte [edi + 2], 0x3d
jmp 0x10014181
movzx edx, byte [esi + 1]
and ecx, 3
shl ecx, 4
shr edx, 4
or ecx, edx
mov cl, byte [ecx + eax]
mov byte [edi + 1], cl
movsx ecx, byte [esi + 1]
and ecx, 0xf
mov cl, byte [eax + ecx*4]
mov byte [edi + 2], cl
add edi, 3
mov byte [edi], 0x3d
inc edi
mov byte [edi], 0
test eax, eax
je 0x10014196
mov esi, eax
call fcn.10011924
pop edi
pop esi
pop ebx
ret 8
Function at 0x100146ba
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
mov esi, eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
cmp esi, edi
je 0x100147be
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100146d7
sub eax, edx
je 0x100147be
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100146eb
push ebx
lea ecx, [ebp - 8]
push ecx
sub eax, edx
push esi
call fcn.1001419c
mov ebx, eax
cmp ebx, edi
je 0x100147bd
cmp dword [ebp - 8], edi
je 0x100147b6
mov ecx, ebx
call fcn.10014686
test eax, eax
je 0x100147b6
lea eax, [ebx + 1]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10014727
movzx ecx, byte [ebx]
sub eax, esi
lea esi, [ecx + eax + 2]
call fcn.10011870
mov dword [ebp - 4], eax
cmp eax, edi
je 0x100147b6
xor ecx, ecx
cmp byte [ebx], cl
jbe 0x1001477b
mov eax, dword [0x10028938]
xor edx, edx
push 0x19
pop esi
div esi
mov eax, dword [ebp - 4]
add dl, 0x61
mov byte [ecx + eax], dl
mov eax, dword [0x10028938]
add eax, dword [ebx + 8]
mov dword [0x10028938], eax
xor eax, dword [ebx + 0xc]
inc ecx
mov dword [0x10028938], eax
movzx edx, byte [ebx]
cmp ecx, edx
jl 0x1001474e
mov edi, dword [ebp - 4]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001477f
mov esi, 0x100227c4
lea eax, [ebx + 1]
movsw word es:[edi], word [esi]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10014793
mov edi, dword [ebp - 4]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100147a0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, ebx
call fcn.10011924
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x10016560
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov esi, eax
xor edi, edi
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x1001658d
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push edi
push eax
mov dword [esi + 0x6af6c], edi
call fcn.1001d4a8
mov eax, ebx
movzx ecx, word [eax*8 + 0x10022282]
mov dword [esi + 0x6af98], ecx
movzx ecx, word [eax*8 + 0x10022280]
mov dword [esi + 0x6af9c], ecx
movzx ecx, word [eax*8 + 0x10022284]
mov dword [esi + 0x6afa0], ecx
movzx eax, word [eax*8 + 0x10022286]
add esp, 0xc
mov dword [esi + 0x6af94], eax
cmp ebx, 2
jg 0x100165f1
mov eax, dword [esp + 0x14]
or word [eax], 4
jmp 0x100165fe
cmp ebx, 8
jl 0x100165fe
mov eax, dword [esp + 0x14]
or word [eax], 2
push 0x10000
lea ebx, [esi + 0x1af70]
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
mov dword [esi + 0x6af90], eax
cmp eax, edi
je 0x10016660
cmp eax, 0xffffffff
je 0x10016660
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x1001663b
call fcn.100167b9
mov dword [esi + 0x6af7c], edi
xor eax, eax
movzx ecx, byte [ebx + eax]
shl edi, 5
xor edi, ecx
and edi, 0x7fff
inc eax
mov dword [esi + 0x6af7c], edi
cmp eax, 2
jb 0x10016643
jmp 0x10016670
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
ret 8