joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475940
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5889a0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5d406c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00405450
movzx eax, al
test eax, eax
je 0x475999
mov byte [ebp - 0xf], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405310
mov al, byte [ebp - 0xf]
jmp 0x475a8e
mov dword [ebp - 0x14], 3
mov byte [ebp - 0xe], 1
mov byte [ebp - 0xd], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x18], 0
jle 0x4759e7
push 0
push 1
push str.https:__www.baidu.com
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
jne 0x4759df
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4759a8
mov byte [ebp - 0xd], 1
jmp 0x4759e7
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x475a76
push 0
push str.https:__
lea ecx, [ebp + 8]
call fcn.00412250
cmp eax, dword [0x5bda84]
jne 0x475a5b
push 0
push 0x5baf20
lea ecx, [ebp + 8]
call fcn.00412250
cmp eax, dword [0x5bda84]
jne 0x475a5b
lea ecx, [ebp + 8]
push ecx
push 0x5baf10
lea edx, [ebp - 0x3c]
push edx
call fcn.0040acf0
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp + 8]
call fcn.00405350
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00405310
push 0
push 1
lea ecx, [ebp + 8]
call fcn.00405300
push eax
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
jne 0x475a76
mov byte [ebp - 0xe], 0
mov dl, byte [ebp - 0xe]
mov byte [ebp - 0x10], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405310
mov al, byte [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4885c0
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0x9e3779b9
mov dword [ebp - 0x10], 0
jmp 0x4885f7
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x10
jge 0x48867a
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
shl eax, 4
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp + 0x10]
add eax, dword [ecx + edx]
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
xor eax, edx
mov ecx, dword [ebp - 8]
shr ecx, 5
mov edx, 4
shl edx, 0
mov esi, dword [ebp + 0x10]
add ecx, dword [esi + edx]
xor eax, ecx
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
shl eax, 4
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 0x10]
add eax, dword [edx + ecx]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
xor eax, ecx
mov edx, dword [ebp - 4]
shr edx, 5
mov ecx, 4
imul ecx, ecx, 3
mov esi, dword [ebp + 0x10]
add edx, dword [esi + ecx]
xor eax, edx
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
jmp 0x4885ee
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x488690
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0x9e3779b9
mov ecx, dword [ebp - 0x14]
shl ecx, 4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0
jmp 0x4886d0
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x10
jge 0x48875b
mov eax, dword [ebp - 4]
shl eax, 4
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 0x10]
add eax, dword [edx + ecx]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
xor eax, ecx
mov edx, dword [ebp - 4]
shr edx, 5
mov ecx, 4
imul ecx, ecx, 3
mov esi, dword [ebp + 0x10]
add edx, dword [esi + ecx]
xor eax, edx
mov edx, dword [ebp - 8]
sub edx, eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shl eax, 4
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp + 0x10]
add eax, dword [ecx + edx]
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
xor eax, edx
mov ecx, dword [ebp - 8]
shr ecx, 5
mov edx, 4
shl edx, 0
mov esi, dword [ebp + 0x10]
add ecx, dword [esi + edx]
xor eax, ecx
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
jmp 0x4886c7
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov dword [edx], eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x488800
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x492a10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x200]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x208]
mov byte [ebp - 1], cl
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
jmp 0x492a58
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 0x10]
cmp dword [ebp - 8], eax
jae 0x492adf
movzx ecx, byte [ebp - 8]
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + ecx]
movzx ecx, byte [ebp - 1]
add ecx, eax
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 8]
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + edx]
mov byte [ebp - 2], cl
movzx edx, byte [ebp - 1]
movzx eax, byte [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0xc]
mov dl, byte [esi + edx]
mov byte [ecx + eax], dl
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
mov dl, byte [ebp - 2]
mov byte [ecx + eax], dl
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
mov eax, dword [ebp - 0xc]
movzx edx, byte [eax + edx]
movzx eax, byte [ebp - 1]
mov esi, dword [ebp - 0xc]
movzx eax, byte [esi + eax]
add edx, eax
movzx edx, dl
mov eax, dword [ebp - 0xc]
movzx edx, byte [eax + edx]
xor ecx, edx
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov byte [eax], cl
jmp 0x492a4f
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x200], edx
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 1]
mov byte [eax + 0x208], cl
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x492b00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x204]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
add edx, 0x100
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x209]
mov byte [ebp - 1], cl
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
jmp 0x492b4e
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 0x10]
cmp dword [ebp - 8], eax
jae 0x492bd5
movzx ecx, byte [ebp - 8]
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + ecx]
movzx ecx, byte [ebp - 1]
add ecx, eax
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 8]
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + edx]
mov byte [ebp - 2], cl
movzx edx, byte [ebp - 1]
movzx eax, byte [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0xc]
mov dl, byte [esi + edx]
mov byte [ecx + eax], dl
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
mov dl, byte [ebp - 2]
mov byte [ecx + eax], dl
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
mov eax, dword [ebp - 0xc]
movzx edx, byte [eax + edx]
movzx eax, byte [ebp - 1]
mov esi, dword [ebp - 0xc]
movzx eax, byte [esi + eax]
add edx, eax
movzx edx, dl
mov eax, dword [ebp - 0xc]
movzx edx, byte [eax + edx]
xor ecx, edx
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov byte [eax], cl
jmp 0x492b45
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x204], edx
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 1]
mov byte [eax + 0x209], cl
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x492ef0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov byte [ebp - 2], 0
jmp 0x492f03
mov al, byte [ebp - 2]
add al, 1
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 2]
cmp ecx, 4
jge 0x492f69
mov byte [ebp - 1], 0
jmp 0x492f1b
mov dl, byte [ebp - 1]
add dl, 1
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
cmp eax, 4
jge 0x492f67
movzx ecx, byte [ebp - 2]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx*4]
movzx ecx, byte [ebp - 1]
movzx edx, byte [ebp + 8]
shl edx, 2
movzx esi, byte [ebp - 2]
shl esi, 2
lea edx, [esi + edx*4]
movzx esi, byte [ebp - 1]
add esi, dword [ebp + 0x10]
movzx edx, byte [esi + edx]
movzx eax, byte [eax + ecx]
xor eax, edx
movzx ecx, byte [ebp - 1]
movzx edx, byte [ebp - 2]
mov esi, dword [ebp + 0xc]
lea edx, [esi + edx*4]
mov byte [edx + ecx], al
jmp 0x492f12
jmp 0x492efb
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 2], 0
jmp 0x492f82
mov al, byte [ebp - 2]
add al, 1
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 2]
cmp ecx, 4
jge 0x492fd0
mov byte [ebp - 1], 0
jmp 0x492f9a
mov dl, byte [ebp - 1]
add dl, 1
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
cmp eax, 4
jge 0x492fce
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*4]
movzx ecx, byte [ebp - 2]
movzx edx, byte [eax + ecx]
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*4]
movzx ecx, byte [ebp - 2]
mov dl, byte [edx + 0x5bce20]
mov byte [eax + ecx], dl
jmp 0x492f91
jmp 0x492f7a
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 2], 0
jmp 0x493f52
mov al, byte [ebp - 2]
add al, 1
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 2]
cmp ecx, 4
jge 0x493fa0
mov byte [ebp - 1], 0
jmp 0x493f6a
mov dl, byte [ebp - 1]
add dl, 1
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
cmp eax, 4
jge 0x493f9e
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*4]
movzx ecx, byte [ebp - 2]
movzx edx, byte [eax + ecx]
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*4]
movzx ecx, byte [ebp - 2]
mov dl, byte [edx + 0x5bcd20]
mov byte [eax + ecx], dl
jmp 0x493f61
jmp 0x493f4a
mov esp, ebp
pop ebp
ret

Function at 0x494320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 1], 0
jmp 0x494332
mov al, byte [ebp - 1]
add al, 1
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
cmp ecx, 0x10
jge 0x49435f
movzx edx, byte [ebp - 1]
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ecx + eax]
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
xor edx, eax
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 8]
mov byte [ecx + eax], dl
jmp 0x49432a
mov esp, ebp
pop ebp
ret
Function at 0x495320
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a375
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push esi
push edi
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x18]
mov ebx, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
push eax
push 0
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x13], 0
mov byte [ebp - 0xf], 0
mov dword [ebp - 0x18], 0
call ebx
mov esi, dword [ebp - 0x18]
push esi
call fcn.004a0398
mov edi, eax
add esp, 4
test edi, edi
je 0x49538f
push esi
push 0
push edi
call fcn.00530990
add esp, 0xc
mov byte [edi], 0
jmp 0x495391
xor edi, edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 2
test edi, edi
je 0x4953f5
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push edi
call ebx
test eax, eax
jne 0x4953f5
mov byte [ebp - 4], 0xc
mov esi, edi
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x14]
lea ecx, [esi + 8]
call fcn.00495030
mov ecx, eax
cmp ecx, 1
je 0x4953d5
test ecx, ecx
jne 0x4953ed
mov ax, word [esi + 0x198]
mov ebx, dword [esi + 0x194]
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x10], ax
test ecx, ecx
je 0x4953f8
mov esi, dword [esi]
test esi, esi
jne 0x4953c2
jmp 0x4953f8
mov ebx, dword [ebp - 0x14]
push 0x200
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00530990
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
push eax
movzx eax, byte [ebp - 0x10]
push eax
mov eax, ebx
shr eax, 0x18
push eax
mov eax, ebx
shr ebx, 8
shr eax, 0x10
movzx eax, al
push eax
movzx eax, bl
push eax
movzx eax, byte [ebp - 0x14]
push eax
lea eax, [ebp - 0x220]
push str._02X__02X__02X__02X__02X__02X
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [ebp + 8]
xor eax, eax
add esp, 0x2c
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x220], ax
jne 0x49546d
xor ecx, ecx
jmp 0x495485
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x495476
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
call fcn.00405d60
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xf
test edi, edi
je 0x4954b3
push edi
mov byte [ebp - 4], 0xf
call fcn.004a0163
add esp, 4
mov byte [ebp - 4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x496030
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x2c], 0
mov esi, ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 8], esi
cmp dword [edi + 0x14], 0x10
jb 0x496057
mov eax, dword [edi]
jmp 0x496059
mov eax, edi
push dword [edi + 0x10]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 0xf
push eax
mov dword [ebp - 0x10], 0
mov byte [ebp - 0x20], 0
call fcn.00406180
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x496188
cmp dword [eax + 0x14], 0x10
jb 0x496093
mov eax, dword [eax]
mov dword [ebp + 8], eax
xor bh, bh
xor eax, eax
nop word [eax + eax]
mov byte [ebp + eax - 0x134], al
inc eax
cmp eax, 0x100
jb 0x4960a0
mov edi, dword [ebp + 8]
xor esi, esi
mov word [ebp - 0x34], 0
nop word [eax + eax]
mov eax, esi
mov bl, byte [ebp + esi - 0x134]
xor edx, edx
div ecx
lea ecx, [ebp - 0x134]
movzx eax, byte [edx + edi]
add al, bl
add bh, al
movzx eax, bh
add ecx, eax
movzx eax, byte [ecx]
mov byte [ebp + esi - 0x134], al
inc esi
mov byte [ecx], bl
mov ecx, dword [ebp - 0x24]
cmp esi, 0x100
jb 0x4960c0
mov edi, dword [ebp - 0x28]
lea ebx, [ebp - 0x20]
cmp dword [ebp - 0xc], 0x10
cmovae ebx, dword [ebp - 0x20]
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x496111
mov edi, dword [edi]
mov esi, dword [ebp - 8]
test eax, eax
je 0x496188
mov dl, byte [ebp - 0x34]
sub edi, ebx
mov esi, eax
nop
inc dl
lea ebx, [ebx + 1]
mov byte [ebp - 0x34], dl
movzx eax, dl
lea edx, [ebp - 0x134]
add edx, eax
mov al, byte [ebp - 0x33]
add al, byte [edx]
mov byte [ebp - 0x33], al
mov cl, byte [edx]
movzx eax, al
movzx eax, byte [ebp + eax - 0x134]
mov byte [edx], al
movzx eax, byte [ebp - 0x33]
mov byte [ebp + eax - 0x134], cl
movzx ecx, byte [ebp - 0x33]
mov dl, byte [ebp - 0x34]
movzx eax, dl
movzx ecx, byte [ebp + ecx - 0x134]
add cl, byte [ebp + eax - 0x134]
movzx eax, cl
movzx eax, byte [ebp + eax - 0x134]
xor al, byte [edi + ebx - 1]
mov byte [ebx - 1], al
sub esi, 1
jne 0x496120
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x20]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov ecx, esi
push eax
mov byte [esi], 0
call fcn.004065e0
mov eax, dword [ebp - 0xc]
cmp eax, 0x10
jb 0x4961b9
inc eax
lea ecx, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
call fcn.004067d0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4962b0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a589
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
push esi
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
push edi
mov byte [ebx], 0
mov dword [ebp - 4], 0
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], 1
test edi, edi
je 0x496480
nop dword [eax]
mov al, byte [edx]
dec edi
mov byte [ebp + esi - 0x14], al
inc edx
mov ch, byte [ebp - 0x12]
inc esi
mov ah, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x20], edx
mov byte [ebp - 0xe], ch
mov byte [ebp + 0xb], ah
mov byte [ebp - 0xd], cl
cmp esi, 3
jne 0x4963aa
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, ah
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, ah
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
xor esi, esi
nop word [eax + eax]
cmp dword [0x79cd7c], 0x10
mov ecx, 0x79cd68
movzx eax, byte [ebp + esi - 0x18]
cmovae ecx, dword [0x79cd68]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
push 1
call fcn.00413e70
inc esi
cmp esi, 4
jl 0x496370
mov edx, dword [ebp - 0x20]
xor esi, esi
mov ah, byte [ebp + 0xb]
mov cl, byte [ebp - 0xd]
mov ch, byte [ebp - 0xe]
test edi, edi
jne 0x496310
mov dword [ebp + 8], esi
test esi, esi
je 0x496480
mov edi, 3
cmp esi, edi
jge 0x4963ed
mov ecx, edi
xor eax, eax
sub ecx, esi
lea edi, [ebp - 0x14]
mov edx, ecx
add edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ch, byte [ebp - 0x12]
mov edi, 3
mov ah, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, ah
shr al, 4
and ah, 0xf
shl cl, 4
add cl, al
shl ah, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add ah, al
mov byte [ebp - 0x15], ch
mov byte [ebp - 0x16], ah
lea eax, [esi + 1]
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x496463
xor edi, edi
mov esi, eax
nop dword [eax]
cmp dword [0x79cd7c], 0x10
mov ecx, 0x79cd68
movzx eax, byte [ebp + edi - 0x18]
cmovae ecx, dword [0x79cd68]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
push 1
call fcn.00413e70
inc edi
cmp edi, esi
jl 0x496430
mov esi, dword [ebp + 8]
mov edi, 3
cmp esi, 3
jge 0x496480
sub edi, esi
nop word [eax + eax]
push 0x3d
push 1
mov ecx, ebx
call fcn.00413e70
sub edi, 1
jne 0x496470
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x497040
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
mov ebx, ecx
lea esi, [edx + 1]
push edi
mov dword [ebp - 0x24], ebx
xor edi, edi
nop word [eax + eax]
movzx edx, byte [esi - 1]
lea esi, [esi + 4]
movzx eax, byte [esi - 4]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 3]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 2]
shl edx, 8
or edx, eax
mov dword [ebp + edi*4 - 0x128], edx
inc edi
cmp edi, 0x10
jb 0x497060
cmp edi, 0x40
jae 0x4970df
mov ebx, 0x40
lea eax, [ebp + edi*4 - 0x130]
sub ebx, edi
mov edx, dword [eax]
lea eax, [eax + 4]
mov esi, dword [eax - 0x38]
mov edi, edx
mov ecx, edx
rol edi, 0xf
rol ecx, 0xd
xor edi, ecx
shr edx, 0xa
xor edi, edx
mov ecx, esi
mov edx, esi
ror ecx, 7
rol edx, 0xe
xor edx, ecx
shr esi, 3
xor edx, esi
add edi, edx
add edi, dword [eax - 0x3c]
add edi, dword [eax - 0x18]
mov dword [eax + 4], edi
sub ebx, 1
jne 0x4970a2
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x50]
xor edx, edx
mov dword [ebp - 0x28], eax
mov edi, eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x58]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x6c]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
nop dword [eax]
mov esi, ebx
mov eax, ebx
rol eax, 7
mov ecx, ebx
ror esi, 0xb
not ecx
and ecx, dword [ebp - 0xc]
xor esi, eax
mov eax, ebx
ror eax, 6
xor esi, eax
mov eax, dword [ebp - 8]
and eax, ebx
xor ecx, eax
mov eax, edi
add esi, ecx
rol eax, 0xa
add esi, dword [edx + 0x5bd238]
add esi, dword [ebp + edx - 0x128]
mov edx, edi
add esi, dword [ebp - 0x1c]
ror edx, 0xd
xor edx, eax
mov eax, edi
ror eax, 2
xor edx, eax
mov eax, dword [ebp - 0x10]
mov ecx, eax
and eax, edi
xor ecx, edi
and ecx, dword [ebp - 4]
xor ecx, eax
mov eax, dword [ebp - 0xc]
add edx, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov ecx, edi
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x14]
lea edi, [edx + esi]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x20]
add ebx, esi
mov eax, dword [ebp - 4]
add edx, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], edx
cmp edx, 0x100
jb 0x497120
mov eax, dword [ebp - 0x28]
add eax, edi
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x24]
pop edi
pop esi
add dword [ebx + 0x54], ecx
mov dword [ebx + 0x50], eax
mov eax, dword [ebp - 4]
add dword [ebx + 0x58], eax
mov eax, dword [ebp - 0x14]
add dword [ebx + 0x5c], eax
mov eax, dword [ebp - 0x18]
add dword [ebx + 0x60], eax
mov eax, dword [ebp - 8]
add dword [ebx + 0x64], eax
mov eax, dword [ebp - 0xc]
add dword [ebx + 0x68], eax
mov eax, dword [ebp - 0x1c]
add dword [ebx + 0x6c], eax
pop ebx
mov esp, ebp
pop ebp
ret