joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43fbfc
Capabilities:
Parse pe header
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 1], dl
mov esi, eax
xor eax, eax
push ebp
push 0x43fdba
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
mov eax, esi
call fcn.004049bc
push eax
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x43fd9e
push 0
push 0
push 0
push esi
call sub.kernel32.dll_SetFilePointer_1
cmp eax, 0xffffffff
je 0x43fd98
push 0
lea eax, [ebp - 8]
push eax
push 0x40
lea eax, [ebp - 0x4c]
push eax
push esi
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x43fd98
cmp word [ebp - 0x4c], 0x5a4d
jne 0x43fd98
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push esi
call sub.kernel32.dll_SetFilePointer_1
cmp eax, 0xffffffff
je 0x43fd98
push 0
lea eax, [ebp - 8]
push eax
push 0xf8
lea eax, [ebp - 0x144]
push eax
push esi
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x43fd98
cmp dword [ebp - 0x144], 0x4550
jne 0x43fd98
call sub.kernel32.dll_GetCurrentProcessId
add eax, 0x7c6
xor eax, dword [ebp - 0x13c]
mov dword [ebp - 0x13c], eax
call fcn.00402af0
mov eax, 9
call fcn.00403024
mov word [ebp - 0x100], ax
mov eax, 9
call fcn.00403024
mov word [ebp - 0xfe], ax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push esi
call sub.kernel32.dll_SetFilePointer_1
cmp eax, 0xffffffff
je 0x43fd3c
push 0
lea eax, [ebp - 8]
push eax
push 0xf8
lea eax, [ebp - 0x144]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb ebx, ebx
inc ebx
cmp byte [ebp - 1], 0
je 0x43fd98
mov eax, 0x200
call fcn.00403024
mov edi, eax
shl edi, 4
test edi, edi
jle 0x43fd98
push 2
push 0
push 0
push esi
call sub.kernel32.dll_SetFilePointer_1
cmp eax, 0xffffffff
je 0x43fd98
push edi
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x43fbd8]
call fcn.004058ac
add esp, 4
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.00406a5c
push 0
lea eax, [ebp - 8]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fdc1
lea eax, [ebp - 0xc]
mov edx, dword [0x43fbd8]
call fcn.004058b8
ret

Function at 0x442698
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x442715
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004044fc
mov eax, dword [ebp - 4]
call fcn.004047bc
mov esi, eax
test esi, esi
jle 0x4426ff
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov bl, byte [eax + edx - 1]
xor bl, byte [ebp - 5]
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004046e4
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.004047c4
inc dword [ebp - 0xc]
dec esi
jne 0x4426d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44271c
lea eax, [ebp - 0x10]
call fcn.004044fc
ret
Function at 0x444884
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x44488c
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x444a8d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push esi
call sub.kernel32.dll_GlobalFindAtomA
mov word [0x44bf5c], ax
cmp word [0x44bf5c], 0
jne 0x444a54
call fcn.00402af0
mov eax, dword [0x449d08]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
call fcn.00403024
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
mov eax, dword [0x449d08]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
call fcn.0043dae0
push dword [ebp - 0x18]
push 0x444aa8
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040487c
mov eax, dword [ebp - 4]
call fcn.00408680
test al, al
jne 0x44492a
lea eax, [ebp - 4]
mov edx, dword [0x44a054]
mov edx, dword [edx]
call fcn.00404594
lea edx, [ebp - 0xc]
mov eax, dword [0x44a120]
mov eax, dword [eax]
call fcn.00408598
mov eax, dword [ebp - 0xc]
call fcn.004047bc
cmp eax, 0x13
jle 0x444953
lea edx, [ebp - 0xc]
mov eax, 0x444ab4
call fcn.0043e9c8
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404808
push 0
mov eax, dword [ebp - 8]
call fcn.004049bc
mov edi, eax
push edi
mov eax, dword [0x44a120]
mov eax, dword [eax]
call fcn.004049bc
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x444a1c
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.0043fbfc
push esi
call sub.kernel32.dll_GlobalAddAtomA
mov word [0x44bf5c], ax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.00408564
mov eax, dword [ebp - 0x1c]
call fcn.004049bc
push eax
mov eax, edi
xor edx, edx
pop ecx
call fcn.0043ee50
test al, al
je 0x4449e4
mov ebx, 1
lea edx, [ebp - 0x20]
mov eax, 0x444ac8
call fcn.0043e9c8
mov eax, dword [ebp - 0x20]
call fcn.0043ea50
call fcn.00404368
jmp 0x444a65
lea edx, [ebp - 0x24]
mov eax, 0x444ae4
call fcn.0043e9c8
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
call fcn.0043e7b4
mov edx, dword [ebp - 0x28]
pop eax
call fcn.004047c4
mov eax, dword [ebp - 0x24]
call fcn.0043ea50
mov ax, word [0x44bf5c]
push eax
call sub.kernel32.dll_GlobalDeleteAtom
jmp 0x444a65
lea edx, [ebp - 0x2c]
mov eax, 0x444afc
call fcn.0043e9c8
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
call fcn.0043e7b4
mov edx, dword [ebp - 0x30]
pop eax
call fcn.004047c4
mov eax, dword [ebp - 0x2c]
call fcn.0043ea50
mov ax, word [0x44bf5c]
push eax
call sub.kernel32.dll_GlobalDeleteAtom
jmp 0x444a65
mov ax, word [0x44bf5c]
push eax
call sub.kernel32.dll_GlobalDeleteAtom
mov ebx, 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444a94
lea eax, [ebp - 0x30]
mov edx, 8
call fcn.00404520
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404520
ret
Function at 0x401094
Capabilities:
Allocate or change rwx memory
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
push edi
push esi
and dword [ebp - 0x28], 0
push ebx
and dword [ebp - 0x18], 0
push ebp
lea edi, [ebp - 0x18]
and dword [ebp - 0x18], 0
push edi
push edi
push 0
call dword [sym.imp.COMCTL32.dll_LBItemFromPt]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x578
jne 0x4011e0
sub edx, edx
mov dword [ebp - 4], edx
push 0
popfd
adc edx, 0x420efa
add edx, dword [ebp - 0x18]
mov dword [ebp - 0xc], edx
mov edx, ebp
mov eax, 0x1a8
neg eax
add edx, eax
mov dword [ebp - 0x10], edx
mov eax, 0x420ef9
mov dword [ebp - 0x28], eax
mov esi, dword [ebp - 0x10]
sub esi, 0xfffffff0
mov dword [ebp - 0x1c], esi
sub dword [ebp - 4], 0x28
not dword [ebp - 4]
add dword [ebp - 4], 1
push dword [ebp - 0x28]
push dword [ebp - 4]
push dword [ebp - 0xc]
lea edi, [ebp - 0x1a8]
push edi
call section..text
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + 4]
mov edi, dword [ebp - 0x10]
add esi, dword [edi]
mov dword [ebp - 0x24], esi
mov esi, 0x40
push esi
push 0x3000
push dword [ebp - 0x24]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], 0x400000
and dword [ebp - 0x18], 0
and dword [ebp - 0x1ac], 0
jmp 0x401172
mov ecx, dword [ebp - 0x1ac]
inc ecx
mov dword [ebp - 0x1ac], ecx
mov esi, dword [ebp - 0x1c]
add esi, 8
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x1ac]
mov eax, dword [esi + 8]
cmp edi, eax
jae 0x4011ae
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
push dword [ecx + 4]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
add ebx, dword [esi]
push ebx
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x18]
push edx
call section..text
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
add ecx, dword [edi + 4]
mov dword [ebp - 0x18], ecx
jmp 0x40115c
mov esi, dword [ebp - 0x20]
push esi
mov ebx, dword [ebp - 8]
mov ecx, 0x1690
add ebx, ecx
mov dword [ebp - 0x14], ebx
mov edx, dword [ebp - 0x19c]
push edx
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
add ebx, dword [edx + 4]
push ebx
mov ebx, dword [ebp - 0x14]
push ebx
push 0x8800
push dword [ebp - 0x14]
ret 4
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esp, ebp
pop ebp
ret
Function at 0x41a8aa
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00407392
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x41a8e2
xor eax, eax
jmp 0x41a90e
cmp esi, dword [ebp - 4]
je 0x41a90b
cmp dword [ebp + 0xc], 0
je 0x41a90b
push dword [edi + 0x9c]
call fcn.0041a4b8
push dword [edi + 0x9c]
mov esi, eax
call fcn.00409dcf
pop ecx
pop ecx
cmp esi, eax
je 0x41a8de
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0xc36e94
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00c36e94
ret
Function at 0x10004e2d
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 0x10004ed6
mov eax, dword [ebp - 4]
movsx edi, word [edx + eax*2]
mov dword [ebp - 0xc], edi
cmp eax, dword [ebp - 8]
jae 0x10004eec
mov eax, edi
cmp eax, dword [ebp - 0x14]
jae 0x10004eec
mov eax, dword [ebx + eax*4]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp eax, edi
jb 0x10004ea3
mov eax, dword [ebp - 0x1c]
add eax, edi
cmp dword [ebp - 0x20], eax
jb 0x10004ecb
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 0x10004eb0
sub eax, edi
mov edi, eax
call fcn.10011bb6
cmp eax, dword [ebp + 8]
je 0x10004edf
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 0x10004e76
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 0x10004ed6
xor eax, eax
jmp 0x10004ed9

Function at 0x10004ef0
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 0x10004f76
and dword [ebp - 4], 0
mov eax, dword [esi + 0x28]
mov edi, ecx
test edi, edi
jle 0x10004f76
cmp word [eax], 0x5c
jne 0x10004f6b
add eax, 2
mov cl, byte [eax]
lea ebx, [ecx - 0x61]
cmp bl, dl
ja 0x10004f30
sub cl, 0x20
cmp cl, 0x4b
jne 0x10004f6b
mov cl, byte [eax + 2]
lea ebx, [ecx - 0x61]
cmp bl, dl
ja 0x10004f42
sub cl, 0x20
cmp cl, 0x45
jne 0x10004f6b
mov cl, byte [eax + 4]
lea ebx, [ecx - 0x61]
cmp bl, dl
ja 0x10004f54
sub cl, 0x20
cmp cl, 0x52
jne 0x10004f6b
mov cl, byte [eax + 6]
lea ebx, [ecx - 0x61]
cmp bl, dl
ja 0x10004f66
sub cl, 0x20
cmp cl, 0x4e
je 0x10004f83
add eax, 2
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x10004f1b
mov esi, dword [esi]
test esi, esi
jne 0x10004f05
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [esi + 0x18]
jmp 0x10004f7e
Function at 0x10007192
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 0x1000723b
cmp byte [esp + 0x20], 2
jne 0x1000723b
mov eax, dword [esp + 0x20]
shr eax, 8
cmp al, 2
jne 0x1000723b
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000723b
push 0
push 0
mov eax, 0xddf3
mov word [esp + 0x18], ax
lea eax, [esp + 0x24]
push eax
push 4
push 0x1002b838
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 0x1000723d
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000ce60
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 + 0x1002c3c0], ecx
inc edx
cmp edx, 0x100
jb 0x1000ce63
cmp edx, 0x800
jae 0x1000cf39
lea ecx, [ecx]
mov eax, dword [edx*4 + 0x1002bfc0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x1002c3c0]
inc edx
mov dword [edx*4 + 0x1002c3bc], eax
cmp edx, 0x800
jb 0x1000cf10
mov dword [0x1002e3c0], 0x1000d840
call fcn.1000da00
test eax, eax
jne 0x1000cf56
mov dword [0x1002e3c0], 0x1000d8f0
pop ecx
ret
Function at 0x1000de80
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 0x1000dea1
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 0x1000decf
lea ebx, [ebx]
mov cl, byte [edx]
and cl, 0xfe
cmp cl, 0xe8
je 0x1000decf
inc edx
cmp edx, edi
jb 0x1000dec0
mov ecx, edx
sub ecx, ebx
mov ebx, edx
sub ecx, eax
sub ebx, eax
cmp edx, edi
jae 0x1000dfad
cmp ecx, 2
jbe 0x1000df6d
xor esi, esi
movzx ecx, byte [edx + 4]
lea eax, [ecx + 1]
test al, 0xfe
jne 0x1000df9f
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 0x1000df48
and esi, 6
add esi, esi
add esi, esi
mov ebx, eax
mov ecx, esi
shr ebx, cl
inc ebx
test bl, 0xfe
jne 0x1000df43
mov ebx, 0x100
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 0x1000deb0
shr esi, cl
test esi, esi
je 0x1000deec
cmp esi, 4
ja 0x1000df94
cmp esi, 3
je 0x1000df94
mov eax, esi
shr eax, 1
movzx ecx, byte [eax + edx + 1]
inc ecx
test cl, 0xfe
jne 0x1000deec
or esi, 8
shr esi, 1
inc ebx
jmp 0x1000deb0
mov edi, dword [ebp - 4]
or esi, 8
shr esi, 1
inc ebx
jmp 0x1000deb0
pop edi
cmp ecx, 2
jbe 0x1000dfc4
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 0x10010e0c
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
test ebx, ebx
je 0x10010e2c
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 0x10010e1f
xor edx, edx
mov byte [ebx + eax], dl
cmp ebx, edx
jbe 0x10010e7c
lea esi, [edx + eax]
cmp byte [esi], 0x5c
jne 0x10010e77
lea edi, [edx + eax + 1]
mov cl, byte [edi]
cmp cl, 0x5c
je 0x10010e6d
cmp cl, 0x72
jne 0x10010e52
mov byte [esi], 0xd
jmp 0x10010e6d
cmp cl, 0x6e
jne 0x10010e5c
mov byte [esi], 0xa
jmp 0x10010e6d
cmp cl, 0x74
jne 0x10010e66
mov byte [esi], 9
jmp 0x10010e6d
cmp cl, 0x22
jne 0x10010e77
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 0x10010e35
pop edi
pop esi
pop ebx
ret 8
Function at 0x10011bb6
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
test ecx, ecx
je 0x10011c53
test edi, edi
je 0x10011c53
mov eax, edi
shr eax, 2
xor edx, edx
lea ecx, [ecx + eax*4]
neg eax
push esi
je 0x10011bf8
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 0x10011bd5
mov eax, edi
and eax, 3
xor esi, esi
dec eax
je 0x10011c18
dec eax
je 0x10011c0f
dec eax
jne 0x10011c2e
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 0x10012095
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.100118dc
test eax, eax
je 0x100120bb
push 0x95
push 0x40
mov edx, 0x10025e30
call fcn.10010e0c
mov edx, dword [esp + 0x14]
lea esi, [edx - 2]
xor ecx, ecx
test esi, esi
jle 0x1001212c
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 0x100120c8
mov edx, dword [esp + 0x14]
cmp ecx, edx
jge 0x10012180
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 0x10012157
and ecx, 3
add ecx, ecx
mov cl, byte [eax + ecx*8]
mov byte [edi + 1], cl
mov byte [edi + 2], 0x3d
jmp 0x10012179
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 0x1001218e
mov esi, eax
call fcn.10011990
pop edi
pop esi
pop ebx
ret 8
Function at 0x1001470f
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 0x10014813
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001472c
sub eax, edx
je 0x10014813
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10014740
push ebx
lea ecx, [ebp - 8]
push ecx
sub eax, edx
push esi
call fcn.10012194
mov ebx, eax
cmp ebx, edi
je 0x10014812
cmp dword [ebp - 8], edi
je 0x1001480b
mov ecx, ebx
call fcn.100146db
test eax, eax
je 0x1001480b
lea eax, [ebx + 1]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001477c
movzx ecx, byte [ebx]
sub eax, esi
lea esi, [ecx + eax + 2]
call fcn.100118dc
mov dword [ebp - 4], eax
cmp eax, edi
je 0x1001480b
xor ecx, ecx
cmp byte [ebx], cl
jbe 0x100147d0
mov eax, dword [0x100288ec]
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 [0x100288ec]
add eax, dword [ebx + 8]
mov dword [0x100288ec], eax
xor eax, dword [ebx + 0xc]
inc ecx
mov dword [0x100288ec], eax
movzx edx, byte [ebx]
cmp ecx, edx
jl 0x100147a3
mov edi, dword [ebp - 4]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100147d4
mov esi, 0x100226f0
lea eax, [ebx + 1]
movsw word es:[edi], word [esi]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100147e8
mov edi, dword [ebp - 4]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100147f5
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.10011990
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x100165e0
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 0x1001660d
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.1001d52c
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 0x10016671
mov eax, dword [esp + 0x14]
or word [eax], 4
jmp 0x1001667e
cmp ebx, 8
jl 0x1001667e
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 0x100166e0
cmp eax, 0xffffffff
je 0x100166e0
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x100166bb
call fcn.10016839
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 0x100166c3
jmp 0x100166f0
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
ret 8