joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4231a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x14]
push esi
call fcn.00423c70
push eax
push dword [ebp + 8]
call fcn.004235a0
mov ecx, eax
add esp, 0xc
mov dword [ebp - 4], ecx
test ecx, ecx
jne 0x4231cb
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
push ebx
push edi
mov edi, dword [ebp + 0x10]
cmp edi, 0xffffffff
jne 0x4231e9
mov edi, edx
lea ebx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x4231e0
sub edi, ebx
push ecx
push edi
push 1
push edx
call fcn.00548884
mov ebx, eax
add esp, 0x10
cmp ebx, edi
je 0x423292
push esi
call fcn.00423a30
add esp, 4
test eax, 0x1000
jne 0x423271
push esi
call fcn.00423a30
and eax, 0xf
add esp, 4
cmp al, 6
ja 0x423292
push esi
call fcn.00423a30
and eax, 0xf
add esp, 4
cmp al, 5
jbe 0x423271
push esi
call fcn.00423a30
add esp, 4
test eax, 0x1300
jne 0x423271
push esi
call fcn.00423a30
push dword [ebp + 0x14]
mov esi, eax
and esi, 0xc90000
or esi, 0x360000
shr esi, 0x10
call fcn.00423a30
and eax, 0xf
add esp, 8
cmp dword [esi*4 + 0x601b40], eax
jl 0x423292
mov esi, dword [ebp + 0x14]
push ebx
push edi
push dword [ebp + 8]
push str.failed_fwrite__s__sz__d__returned__d
push esi
call fcn.00423a30
add esp, 4
or eax, 0x360000
push eax
call fcn.004241a0
add esp, 0x14
push dword [ebp - 4]
call fcn.005484a6
add esp, 4
sub ebx, edi
neg ebx
sbb ebx, ebx
pop edi
mov eax, ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x423330
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 0x10000
call fcn.005414d5
mov esi, dword [ebp + 8]
mov ebx, eax
lea eax, [ebp - 0x44]
mov dword [ebp - 4], ebx
push eax
push esi
or edi, 0xffffffff
call fcn.0053c550
add esp, 0xc
test eax, eax
jne 0x423413
push 0x56e9c4
push esi
call fcn.0053bdf0
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
je 0x423413
push 0x56eb38
push dword [ebp + 0xc]
call fcn.0053bdf0
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4233f8
mov edi, dword [ebp - 0x2c]
mov ecx, edi
mov ebx, dword [ebp - 0x28]
or ecx, ebx
je 0x4233ee
nop
test ebx, ebx
jl 0x4233b5
jg 0x4233ae
cmp edi, 0x10000
jbe 0x4233b5
mov esi, 0x10000
jmp 0x4233b7
mov esi, edi
push dword [ebp - 8]
push esi
push 1
push dword [ebp - 4]
call fcn.00541e3c
add esp, 0x10
cmp eax, esi
jne 0x4233f2
push dword [ebp - 0xc]
push esi
push 1
push dword [ebp - 4]
call fcn.00548884
add esp, 0x10
cmp eax, esi
jne 0x4233f2
mov eax, esi
cdq
sub edi, eax
mov eax, edi
sbb ebx, edx
or eax, ebx
jne 0x4233a0
xor edi, edi
jmp 0x4233f5
or edi, 0xffffffff
mov ebx, dword [ebp - 4]
push dword [ebp - 8]
call fcn.005484a6
mov eax, dword [ebp - 0xc]
add esp, 4
test eax, eax
je 0x423413
push eax
call fcn.005484a6
add esp, 4
push ebx
call fcn.005414d0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423730
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push fcn.004221a0
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 4]
sub eax, 4
push eax
call fcn.00420780
mov dword [ebp - 4], eax
add esp, 0xc
mov eax, dword [0x5fd8bc]
test eax, eax
jne 0x423884
push esi
push str.TEMP
call fcn.0053b460
add esp, 4
test eax, eax
jne 0x42381a
push 0x56ea00
call fcn.0053b460
add esp, 4
test eax, eax
jne 0x42381a
push dword [ebp - 4]
call fcn.00422210
mov eax, dword [ebp - 4]
add esp, 4
push dword [eax]
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
test esi, esi
je 0x4237d0
push esi
push dword [ebp - 4]
call fcn.00422230
mov ecx, dword [ebp - 4]
add esp, 8
push dword [ecx]
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [ebp - 4]
push dword [eax]
push 0x5fd8bc
call fcn.004219a0
jmp 0x423825
push 0x56ea04
call fcn.0053b460
add esp, 4
test eax, eax
je 0x423888
mov dl, byte [eax]
movzx ecx, dl
test byte [ecx*2 + 0x5dfba8], 4
je 0x423888
cmp byte [eax + 1], 0x3a
jne 0x423888
movsx eax, dl
push eax
push str._c:_Temp
push 0x5fd8bc
call fcn.004218d0
add esp, 0xc
jmp 0x423828
push eax
push 0x5fd8bc
call fcn.00421840
add esp, 8
lea eax, [ebp - 0x3c]
push eax
push dword [0x5fd8bc]
call fcn.0053c550
add esp, 8
pop esi
test eax, eax
jne 0x423853
movzx eax, word [ebp - 0x36]
test eax, eax
je 0x423853
and eax, 0xf000
cmp eax, 0x4000
je 0x42387f
push dword [0x5fd8bc]
push str.creating_temp_directory__s
push 0x360004
call fcn.004241a0
push 0x1ff
push dword [0x5fd8bc]
call fcn.0053b9d0
add esp, 0x14
test eax, eax
jne 0x423897
mov eax, dword [0x5fd8bc]
mov esp, ebp
pop ebp
ret
push str.failed_to_get_temp_directory
push 0x360000
call fcn.00424700
push str.failed_to_create_temp_directory
push 0x360000
call fcn.00424700
int3
Function at 0x424b40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
push edi
push 2
call fcn.00541bde
mov edi, dword [ebp + 0x10]
add esp, 4
mov ecx, edi
mov ebx, edi
sar ecx, 0x10
and ebx, 0xf
movzx ecx, cl
mov esi, eax
lea eax, [ebp - 0x100]
mov dword [ebp + 0x10], ecx
cmp dword [ecx*4 + 0x601b40], ebx
jge 0x424b86
test edi, 0x300
je 0x424c83
cmp dword [0x601f40], 0
je 0x424bb2
call fcn.00424f80
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00537ca0
mov cx, word [0x56ebb8]
add esp, 8
mov word [eax], cx
inc eax
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx + ecx*2]
push dword [ecx*4 + 0x5edc5c]
push eax
call fcn.00537ca0
movzx ecx, word [0x56ebb8]
mov word [eax], cx
inc eax
push dword [ebx*4 + 0x5ed040]
push eax
call fcn.00537ca0
movzx ecx, word [0x56ebb4]
mov ebx, eax
mov word [ebx], cx
mov cl, byte [0x56ebb6]
mov byte [ebx + 2], cl
add ebx, 2
lea ecx, [ebp - 1]
sub ecx, ebx
push ecx
push dword [ebp + 0xc]
push ebx
call fcn.00537b60
add esp, 0x1c
lea ecx, [ebp - 1]
push esi
push 1
cmp eax, ecx
jae 0x424c28
mov byte [eax], 0xa
lea ecx, [ebp - 0x100]
sub eax, ecx
inc eax
push eax
mov eax, ecx
push eax
call fcn.00548884
add esp, 0x10
jmp 0x424c4e
lea eax, [ebp - 0x100]
sub ebx, eax
push ebx
push eax
call fcn.00548884
push esi
push dword [ebp + 0xc]
call fcn.00547f61
push esi
push 0x56e880
call fcn.00547f61
add esp, 0x20
mov eax, dword [0x5ed874]
cmp eax, 0xffffffff
jne 0x424c6c
push esi
call fcn.0053b3e0
push eax
call fcn.0053b960
add esp, 8
mov dword [0x5ed874], eax
test eax, eax
mov ecx, 0x2000
cmovne edi, ecx
test ecx, edi
je 0x424c83
push esi
call fcn.00548a6a
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436b00
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
push esi
push edi
push 0x439160
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 4]
sub eax, 4
push eax
call fcn.00420780
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov dword [ebp - 0x38], 0x57092c
mov dword [ebp - 0x34], 0x570934
mov dword [ebp - 0x30], str.except
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x40], xmm0
test edi, edi
je 0x436c75
xor esi, esi
mov eax, edi
mov dword [ebp - 0xc], esi
xor ebx, ebx
cmp dword [eax], ebx
jbe 0x436c60
xor ecx, ecx
lea edx, [ebp - 0x144]
cmp eax, dword [ebp + 0x14]
cmovne edx, ecx
cmp eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x18], edx
cmovne ecx, ebx
cmp eax, edi
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x144]
cmovne ecx, ebx
add eax, 4
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], eax
mov edi, dword [eax]
lea eax, [ebp - 0x40]
push eax
push edx
push dword [ebp - 0x10]
mov dword [ebp - 0x140], edi
push dword [ebp - 0x14]
mov dword [ebp - 0x144], 1
push 1
call dword [sym.imp.WS2_32.dll_select]
push eax
call fcn.0053b370
add esp, 4
test eax, eax
jns 0x436c44
push 0x601860
call fcn.00429170
mov ecx, dword [0x60187c]
add esp, 4
mov edx, dword [0x60188c]
xor esi, esi
test ecx, ecx
jle 0x436c13
mov eax, dword [edx + esi*4]
test eax, eax
je 0x436c13
cmp dword [eax + 0x60], edi
je 0x436c13
inc esi
cmp esi, ecx
jl 0x436c02
cmp esi, ecx
je 0x436c1d
cmp dword [edx + esi*4], 0
jne 0x436c20
or esi, 0xffffffff
push 0x601860
call fcn.00429180
push esi
mov esi, dword [ebp - 0xc]
push edi
push ebx
push dword [ebp + esi - 0x38]
push str._s__d__osfd_d_vfd_d_
push dword [ebp - 8]
call fcn.00421580
add esp, 0x1c
mov ecx, dword [ebp + esi - 0x28]
inc ebx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 4], eax
cmp ebx, dword [ecx]
jb 0x436bb1
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + esi - 0x24]
add esi, 4
mov dword [ebp - 0xc], esi
test eax, eax
jne 0x436b73
mov eax, dword [ebp - 8]
push 0x57095c
push eax
call fcn.00421e30
mov eax, dword [ebp - 8]
add esp, 8
push dword [eax]
push str.vsock_select__:_a_member_of_fd_set_was_invalid:__s
push 0x360000
call fcn.00424700
int3
Function at 0x48df40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
push dword [ebp + 8]
call fcn.004cfd80
push 0x62
push esi
mov edi, eax
mov ebx, 1
call fcn.0053f150
add esp, 0x10
mov ecx, 0x11
test eax, eax
cmove ebx, ecx
test edi, edi
jne 0x48dfe6
push 0x48
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.004575d0
push 0x590718
push esi
push 0x594700
push dword [ebp + 8]
push str.fopen_
push 5
call fcn.00456c10
add esp, 0x2c
call fcn.005414b2
cmp dword [eax], 2
je 0x48dfc2
call fcn.005414b2
cmp dword [eax], 6
je 0x48dfc2
lea eax, [edi + 2]
lea ecx, [edi + 0x51]
jmp 0x48dfcc
mov eax, 0x80
mov ecx, 0x4f
push ecx
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_bio_bss_file.c
push eax
push 0x6d
push 0x20
call fcn.004575d0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push 0x594678
call fcn.0044fca0
mov esi, eax
add esp, 4
test esi, esi
jne 0x48e009
push edi
call fcn.005484a6
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push 0
push esi
call fcn.0044f610
push edi
push ebx
push 0x6a
push esi
call fcn.0044f640
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x49aa00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0x10
lea eax, [edx + 0xf]
lea ecx, [esi + 0xf]
cmp esi, eax
ja 0x49aa41
cmp ecx, edx
jb 0x49aa41
push edi
mov ecx, esi
sub edx, esi
mov edi, 0x10
nop word [eax + eax]
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edi, 1
jne 0x49aa30
pop edi
jmp 0x49aa4e
movups xmm1, xmmword [esi]
movups xmm0, xmmword [edx]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
push 0x10
push esi
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push esi
push dword [eax + 4]
call fcn.0044ec60
add esp, 0x14
pop esi
test eax, eax
je 0x49aa78
cmp dword [ebp - 4], 0x10
jne 0x49aa78
mov eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x49abc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x49ac23
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x49ac23
push ebx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
cmp edx, eax
mov ebx, eax
cmovb ebx, edx
xor ecx, ecx
test ebx, ebx
je 0x49abf6
mov al, byte [ecx + esi]
xor byte [edi + ecx + 0x10], al
inc ecx
cmp ecx, ebx
jb 0x49abe7
mov eax, dword [edi + 0xc]
cmp edx, eax
jbe 0x49ac21
sub edx, eax
mov eax, 0x10
cmp edx, eax
cmova edx, eax
xor ecx, ecx
test edx, edx
je 0x49ac21
nop dword [eax]
mov eax, dword [edi + 0xc]
add eax, ecx
mov al, byte [eax + esi]
xor byte [edi + ecx + 0x30], al
inc ecx
cmp ecx, edx
jb 0x49ac10
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x4b0f70
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov cl, byte [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
add ebx, esi
push edi
mov edi, dword [ebp + 8]
movzx eax, cl
add edi, esi
and eax, 1
test esi, esi
je 0x4b0fae
movzx edx, byte [ebx - 1]
lea ebx, [ebx - 1]
movzx ecx, cl
lea edi, [edi - 1]
xor edx, ecx
mov cl, byte [ebp + 0x14]
add eax, edx
mov byte [edi], al
shr eax, 8
sub esi, 1
jne 0x4b0f90
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4bcf30
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x4bd034
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4bd034
call fcn.005414b2
mov dword [eax], 0
mov eax, dword [ebx]
test eax, eax
jne 0x4bd05e
mov edi, esi
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4bcf66
sub edi, ecx
je 0x4bd049
cmp edi, 0x7ffffffc
ja 0x4bd049
push 0x244
call fcn.005414d5
add esp, 4
mov dword [ebx], eax
test eax, eax
jne 0x4bcfa9
call fcn.005414b2
mov dword [eax], 0xc
xor eax, eax
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
push 0x244
push 0
push eax
call fcn.0053f280
add esp, 0xc
cmp byte [edi + esi - 1], 0x2a
je 0x4bd009
lea eax, [edi + 3]
call fcn.0053e940
mov edx, esp
mov ecx, edx
sub ecx, esi
nop
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x4bcfd0
mov al, byte [edx + edi - 1]
cmp al, 0x2f
je 0x4bcffe
cmp al, 0x5c
je 0x4bcffe
mov ax, word [0x5b1180]
mov word [edx + edi], ax
mov al, byte [0x5b1182]
mov byte [edx + edi + 2], al
jmp 0x4bd007
mov eax, 0x2a
mov word [edx + edi], ax
mov esi, edx
push dword [ebx]
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, dword [ebx]
mov dword [ecx + 0x140], eax
mov eax, dword [ebx]
cmp dword [eax + 0x140], 0xffffffff
jne 0x4bd06f
push eax
call fcn.005414d0
add esp, 4
mov dword [ebx], 0
call fcn.005414b2
mov dword [eax], 0x16
xor eax, eax
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.005414b2
mov dword [eax], 2
xor eax, eax
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
push eax
push dword [eax + 0x140]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4bd03f
mov ecx, dword [ebx]
push 0xff
lea eax, [ecx + 0x2c]
push eax
lea eax, [ecx + 0x144]
push eax
call fcn.00551270
mov eax, dword [ebx]
add esp, 0xc
mov byte [eax + 0x243], 0
mov eax, dword [ebx]
add eax, 0x144
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4cfc70
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
push esi
test eax, eax
je 0x4cfc8d
test byte [eax + 0x5c], 2
mov ebx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jne 0x4cfc92
mov ebx, 0x5ba200
mov esi, dword [ebp + 0x14]
test esi, esi
jle 0x4cfd65
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
inc edi
movzx eax, byte [edi - 1]
cmp esi, 3
jl 0x4cfcf3
movzx ecx, byte [edi]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 1]
shl eax, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + ebx]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + ebx]
mov byte [edx + 1], cl
mov ecx, eax
shr ecx, 6
and ecx, 0x3f
and eax, 0x3f
movzx ecx, byte [ecx + ebx]
mov byte [edx + 2], cl
mov cl, byte [eax + ebx]
lea eax, [edx + 3]
jmp 0x4cfd3d
shl eax, 0x10
cmp esi, 2
jne 0x4cfd03
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + ebx]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
inc edx
and ecx, 0x3f
mov dword [ebp + 0xc], edx
movzx ecx, byte [ecx + ebx]
mov byte [edx], cl
cmp esi, 1
jne 0x4cfd29
mov al, 0x3d
jmp 0x4cfd32
shr eax, 6
and eax, 0x3f
mov al, byte [eax + ebx]
mov byte [edx + 1], al
mov cl, 0x3d
mov eax, dword [ebp + 0xc]
add eax, 2
mov byte [eax], cl
lea edx, [eax + 1]
mov ecx, dword [ebp - 4]
sub esi, 3
add ecx, 4
add edi, 3
mov dword [ebp - 4], ecx
test esi, esi
jg 0x4cfca5
pop edi
pop esi
mov byte [edx], 0
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
mov byte [eax], cl
mov eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x4d4b00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004d4cf0

Function at 0x4d4b10
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0x30
mov eax, 1
pop ebp
ret
Function at 0x4db020
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 0x80
mov esi, 0x400
mov edx, edi
mov byte [ebx], 0
cmp dword [ebp + 0xc], edx
mov ecx, esi
cmovle edx, dword [ebp + 0xc]
test eax, eax
cmovg ecx, eax
cmp ecx, esi
cmovg ecx, esi
mov dword [ebp + 0xc], ecx
test edx, edx
jle 0x4db071
sub dword [ebp + 0x10], ebx
mov ecx, ebx
mov ebx, dword [ebp + 0x10]
mov esi, edx
nop
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub esi, 1
jne 0x4db060
mov ebx, dword [ebp + 8]
movzx esi, byte [edx + ebx - 1]
cmp edx, edi
jge 0x4db09c
mov ecx, ebx
nop dword [eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 1]
add eax, esi
movzx eax, al
mov al, byte [eax + 0x5bcb20]
mov byte [edx + ebx], al
inc edx
movzx esi, al
cmp edx, edi
jl 0x4db080
mov ecx, dword [ebp + 0xc]
mov edx, 0xff
lea eax, [ecx + 7]
neg ecx
sar eax, 3
and ecx, 7
sub edi, eax
mov dword [ebp + 8], eax
movzx eax, byte [edi + ebx]
lea esi, [edi + ebx]
sar edx, cl
and edx, eax
mov al, byte [edx + 0x5bcb20]
movzx ecx, al
mov byte [esi], al
test edi, edi
je 0x4db0eb
mov edx, dword [ebp + 8]
movzx eax, byte [esi + edx - 1]
lea esi, [esi - 1]
xor eax, ecx
mov al, byte [eax + 0x5bcb20]
movzx ecx, al
mov byte [esi], al
sub edi, 1
jne 0x4db0d1
lea esi, [ebx + 0xfc]
mov edi, 0x40
lea edx, [ebx + 0x7e]
nop dword [eax]
movzx ecx, byte [edx + 1]
lea esi, [esi - 4]
movzx eax, byte [edx]
lea edx, [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [esi + 4], ecx
sub edi, 1
jne 0x4db100
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4dc760
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004dc980
add esp, 0xc
test eax, eax
js 0x4dc972
mov eax, dword [esi + 0xf0]
push ebx
push edi
xor ebx, ebx
lea edi, [eax*4]
test edi, edi
jle 0x4dc7e9
mov eax, dword [ebp + 0x10]
lea esi, [esi + edi*4]
add esi, 8
add eax, 8
nop
mov edx, dword [eax - 8]
lea eax, [eax + 0x10]
mov ecx, dword [esi - 8]
lea esi, [esi - 0x10]
mov dword [eax - 0x18], ecx
add ebx, 4
mov ecx, dword [esi + 0xc]
sub edi, 4
mov dword [esi + 8], edx
mov edx, dword [eax - 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov edx, dword [eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [eax - 0xc], ecx
mov dword [esi + 0x14], edx
cmp ebx, edi
jl 0x4dc7a0
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0xf0]
mov ebx, 1
cmp eax, ebx
jle 0x4dc96e
lea edi, [esi + 4]
nop dword [eax]
movzx eax, byte [edi + 0xd]
lea edi, [edi + 0x10]
mov edx, dword [edi - 4]
inc ebx
movzx ecx, byte [eax*4 + 0x5bd020]
mov eax, edx
shr eax, 0x18
mov ecx, dword [ecx*4 + 0x5be420]
movzx eax, byte [eax*4 + 0x5bd020]
xor ecx, dword [eax*4 + 0x5bdc20]
movzx eax, byte [edi - 2]
movzx eax, byte [eax*4 + 0x5bd020]
xor ecx, dword [eax*4 + 0x5be020]
movzx eax, dl
mov edx, dword [edi]
movzx eax, byte [eax*4 + 0x5bd020]
xor ecx, dword [eax*4 + 0x5be820]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi - 4], ecx
movzx ecx, byte [eax*4 + 0x5bd020]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5be020]
movzx eax, byte [eax*4 + 0x5bd020]
xor ecx, dword [eax*4 + 0x5be420]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x5bd020]
xor ecx, dword [eax*4 + 0x5bdc20]
movzx eax, dl
mov edx, dword [edi + 4]
movzx eax, byte [eax*4 + 0x5bd020]
xor ecx, dword [eax*4 + 0x5be820]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi], ecx
movzx ecx, byte [eax*4 + 0x5bd020]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5be020]
movzx eax, byte [eax*4 + 0x5bd020]
xor ecx, dword [eax*4 + 0x5be420]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x5bd020]
xor ecx, dword [eax*4 + 0x5bdc20]
movzx eax, dl
mov edx, dword [edi + 8]
movzx eax, byte [eax*4 + 0x5bd020]
xor ecx, dword [eax*4 + 0x5be820]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi + 4], ecx
movzx ecx, byte [eax*4 + 0x5bd020]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5be020]
movzx eax, byte [eax*4 + 0x5bd020]
xor ecx, dword [eax*4 + 0x5be420]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x5bd020]
xor ecx, dword [eax*4 + 0x5bdc20]
movzx eax, dl
movzx eax, byte [eax*4 + 0x5bd020]
xor ecx, dword [eax*4 + 0x5be820]
mov dword [edi + 8], ecx
cmp ebx, dword [esi + 0xf0]
jl 0x4dc800
pop edi
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x4decf0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [eax + 0xf]
mov ecx, eax
and eax, 0xf
add eax, eax
and ecx, 0xfffffff0
push edi
mov ebx, dword [esi + eax*8 + 8]
mov edi, dword [esi + eax*8]
mov edx, dword [esi + eax*8 + 4]
mov eax, dword [esi + eax*8 + 0xc]
add esi, ecx
mov ecx, ebx
mov dword [ebp - 0xc], ebx
and ecx, 0xf
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x5bedf8]
mov dword [ebp - 4], ecx
mov ecx, edi
shrd ecx, edx, 4
shl edi, 0x1c
xor ebx, ecx
shr edx, 4
mov ecx, dword [ebp - 4]
xor ebx, dword [esi]
xor ecx, edx
xor ecx, dword [esi + 4]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0xc]
shrd ecx, eax, 4
mov dword [ebp - 8], ebx
xor ecx, dword [esi + 8]
shr eax, 4
or eax, edi
mov dword [ebp - 0xc], ecx
xor eax, dword [esi + 0xc]
mov esi, 0xe
mov dword [ebp - 0x14], esi
nop dword [eax]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [esi + ecx]
xor esi, esi
mov edi, ecx
and ecx, 0xf
shl ecx, 4
and edi, 0xfffffff0
add edx, ecx
mov ecx, dword [ebp - 0xc]
shrd dword [ebp - 0xc], eax, 4
and ecx, 0xf
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 4]
shr eax, 4
mov ebx, dword [ecx*4 + 0x5bedf8]
mov ecx, dword [ebp - 8]
shrd ecx, edx, 4
shr edx, 4
xor esi, ecx
mov ecx, dword [ebp - 8]
xor ebx, edx
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x10]
shl ecx, 0x1c
or ecx, eax
mov dword [ebp - 8], 0
xor esi, dword [edx]
xor ebx, dword [edx + 4]
xor ecx, dword [edx + 0xc]
mov dword [ebp - 0x10], esi
xor esi, esi
or esi, dword [ebp - 0xc]
xor esi, dword [edx + 8]
mov edx, dword [ebp + 0xc]
mov eax, esi
and eax, 0xf
shrd esi, ecx, 4
shr ecx, 4
mov eax, dword [eax*4 + 0x5bedf8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
shrd eax, ebx, 4
xor dword [ebp - 8], eax
mov eax, dword [ebp - 4]
shr ebx, 4
xor eax, ebx
mov ebx, dword [ebp - 8]
xor eax, dword [edi + edx + 4]
xor ebx, dword [edi + edx]
xor edx, edx
mov dword [ebp - 4], eax
or edx, esi
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
shl eax, 0x1c
or eax, ecx
mov dword [ebp - 8], ebx
mov ecx, dword [ebp + 0xc]
xor edx, dword [edi + ecx + 8]
xor eax, dword [edi + ecx + 0xc]
sub esi, 1
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
jns 0x4ded70
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 4]
bswap ebx
bswap ecx
bswap edx
bswap eax
pop edi
mov dword [esi + 4], ebx
mov dword [esi], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret