joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454e20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
movzx eax, byte [eax + 0xf]
mov ecx, eax
mov dword [ebp - 4], 0
shr ecx, 4
and eax, 0xf
mov dword [ebp - 0x14], ecx
add eax, eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*8 + 8]
mov esi, edx
mov ebx, dword [ecx + eax*8]
and esi, 0xf
mov edi, dword [ecx + eax*8 + 4]
mov ecx, dword [ecx + eax*8 + 0xc]
mov eax, ebx
shrd edx, ecx, 4
shrd ebx, edi, 4
or dword [ebp - 4], edx
mov edx, dword [esi*4 + 0x749510]
xor esi, esi
shr ecx, 4
xor esi, ebx
mov ebx, dword [ebp + 0xc]
shl eax, 0x1c
or eax, ecx
shr edi, 4
mov ecx, dword [ebp - 0x14]
xor edx, edi
mov edi, dword [ebp - 4]
add ecx, ecx
xor edx, dword [ebx + ecx*8 + 4]
xor esi, dword [ebx + ecx*8]
xor edi, dword [ebx + ecx*8 + 8]
xor eax, dword [ebx + ecx*8 + 0xc]
mov dword [ebp - 0x10], edx
mov edx, 0xe
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp + 8]
mov ebx, esi
shl ebx, 0x1c
xor esi, esi
mov dword [ebp - 4], 0
movzx edx, byte [edx + ecx]
mov ecx, edx
and edx, 0xf
shr ecx, 4
add edx, edx
mov dword [ebp - 0x18], ecx
mov ecx, edi
shrd edi, eax, 4
and ecx, 0xf
shr eax, 4
or esi, edi
or ebx, eax
xor edi, edi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], ebx
mov ebx, dword [ecx*4 + 0x749510]
mov ecx, dword [ebp - 0xc]
shrd ecx, eax, 4
xor edi, ecx
shr eax, 4
mov ecx, dword [ebp + 0xc]
xor ebx, eax
mov eax, dword [ebp - 8]
xor eax, dword [ecx + edx*8 + 0xc]
xor edi, dword [ecx + edx*8]
xor esi, dword [ecx + edx*8 + 8]
xor ebx, dword [ecx + edx*8 + 4]
mov ecx, esi
mov dword [ebp - 8], eax
and ecx, 0xf
mov edx, dword [ebp - 8]
mov eax, edi
shrd esi, edx, 4
shrd edi, ebx, 4
or dword [ebp - 4], esi
xor esi, esi
mov ecx, dword [ecx*4 + 0x749510]
xor esi, edi
mov edi, dword [ebp - 4]
shr edx, 4
shl eax, 0x1c
or eax, edx
shr ebx, 4
mov edx, dword [ebp - 0x18]
xor ecx, ebx
mov ebx, dword [ebp + 0xc]
add edx, edx
xor esi, dword [ebx + edx*8]
xor ecx, dword [ebx + edx*8 + 4]
xor edi, dword [ebx + edx*8 + 8]
xor eax, dword [ebx + edx*8 + 0xc]
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
jns 0x454ea8
mov edx, dword [ebp + 8]
bswap edi
bswap esi
bswap ecx
mov dword [edx + 0xc], edi
pop edi
mov dword [edx + 4], esi
bswap eax
pop esi
mov dword [edx], ecx
mov dword [edx + 8], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a470
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, dword [eax]
lea edx, [eax + 8]
mov edi, dword [eax + 4]
mov dword [ebp - 4], edx
jbe 0x45a4d0
push ebx
mov ebx, dword [ebp + 0x14]
sub dword [ebp + 0x10], ebx
mov eax, dword [ebp - 4]
lea ecx, [esi + 1]
movzx esi, cl
lea ebx, [ebx + 1]
mov edx, dword [edx + esi*4]
lea ecx, [edx + edi]
movzx edi, cl
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + edi*4]
mov dword [eax + esi*4], ecx
add ecx, edx
mov dword [eax + edi*4], edx
mov edx, eax
mov eax, dword [ebp + 0x10]
movzx ecx, cl
mov cl, byte [edx + ecx*4]
xor cl, byte [eax + ebx - 1]
sub dword [ebp + 0xc], 1
mov byte [ebx - 1], cl
jne 0x45a491
mov eax, dword [ebp + 8]
pop ebx
mov dword [eax + 4], edi
pop edi
mov dword [eax], esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45e460
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x60
push 0
push esi
call fcn.007074c0
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov eax, 1
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
pop ebp
ret
Function at 0x460a90
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x70
push 0
push esi
call fcn.007074c0
add esp, 0xc
mov dword [esi], 0xc1059ed8
mov dword [esi + 4], 0x367cd507
mov eax, 1
mov dword [esi + 8], 0x3070dd17
mov dword [esi + 0xc], 0xf70e5939
mov dword [esi + 0x10], 0xffc00b31
mov dword [esi + 0x14], 0x68581511
mov dword [esi + 0x18], 0x64f98fa7
mov dword [esi + 0x1c], 0xbefa4fa4
mov dword [esi + 0x6c], 0x1c
pop esi
pop ebp
ret

Function at 0x460b00
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x9f9d14]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
test eax, eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x9fae54
push 0x70
cmovne edi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.007074c0
push dword [ebp + 0xc]
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0x6a09e667
push esi
push eax
mov dword [ebp - 0x70], 0xbb67ae85
mov dword [ebp - 0x6c], 0x3c6ef372
mov dword [ebp - 0x68], 0xa54ff53a
mov dword [ebp - 0x64], 0x510e527f
mov dword [ebp - 0x60], 0x9b05688c
mov dword [ebp - 0x5c], 0x1f83d9ab
mov dword [ebp - 0x58], 0x5be0cd19
mov dword [ebp - 8], 0x20
call fcn.00460f10
lea eax, [ebp - 0x74]
push eax
push edi
call fcn.00460bb0
lea eax, [ebp - 0x74]
push 0x70
push eax
call fcn.00453b00
mov ecx, dword [ebp - 4]
add esp, 0x28
mov eax, edi
xor ecx, ebp
pop edi
pop esi
call fcn.007059ee
mov esp, ebp
pop ebp
ret

Function at 0x460e90
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x70
push 0
push esi
call fcn.007074c0
add esp, 0xc
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov eax, 1
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x6c], 0x20
pop esi
pop ebp
ret
Function at 0x461f90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00462060

Function at 0x461fa0
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 0x4625f0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
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], 0x40
mov eax, 1
pop ebp
ret
Function at 0x47eb40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x9f9d14]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x30], eax
test esi, esi
jne 0x47eb89
push dword [ebp + 0x20]
push eax
push ecx
call fcn.0043bb60
add esp, 0xc
lea eax, [esi + 1]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.007059ee
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x20]
xor eax, eax
push edi
mov dword [ebp - 0x38], ebx
cmp byte [esi + 0x1c], al
jne 0x47ebc2
cmp byte [esi + 0x1a], al
je 0x47eba3
movzx edi, byte [esi + 0x19]
jmp 0x47eba5
xor edi, edi
push dword [esi + 4]
call fcn.0043c770
add esp, 4
lea ecx, [edi + eax]
cmp ebx, ecx
jae 0x47ebbe
push 0xc3
jmp 0x47ec2f
mov eax, ebx
sub eax, ecx
push eax
push dword [ebp - 0x34]
lea eax, [ebp - 0x24]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push esi
call fcn.0047eef0
movzx ebx, byte [esi + 0x18]
add esp, 0x18
mov dword [ebp - 0x3c], eax
mov al, byte [esi + 0x1f]
mov byte [ebp - 0x25], al
test al, al
je 0x47ec05
movzx ecx, byte [esi + 0x19]
lea eax, [ebp - 0x14]
mov edi, ebx
sub edi, ecx
push edi
push 0
push eax
mov dword [ebp - 0x2c], edi
call fcn.007074c0
mov eax, edi
jmp 0x47ec18
push ebx
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.007079f0
mov eax, ebx
mov dword [ebp - 0x2c], eax
movzx edi, byte [esi + 0x19]
add esp, 0xc
cmp byte [esi + 0x1a], 0
je 0x47ec79
cmp dword [ebp + 0x20], edi
jae 0x47ec55
push 0xdd
push str.e:_b_build_slavedart_sdk_windows_be_build_sdk_third_party_boringssl_src_ssl_ssl_aead_ctx.c
push 0x70
push 0
push 0x10
call fcn.0044e080
add esp, 0x14
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.007059ee
mov esp, ebp
pop ebp
ret
push edi
push dword [ebp - 0x30]
lea ecx, [ebp - 0x14]
add eax, ecx
push eax
call fcn.007079f0
mov edx, dword [ebp - 0x30]
add esp, 0xc
mov eax, dword [ebp + 0x20]
add edx, edi
sub eax, edi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x38], eax
jmp 0x47ec8e
push edi
push dword [ebp - 0x34]
lea ecx, [ebp - 0x14]
add eax, ecx
push eax
call fcn.007079f0
mov edx, dword [ebp - 0x30]
add esp, 0xc
mov eax, dword [ebp - 0x2c]
add eax, edi
cmp byte [ebp - 0x25], 0
mov dword [ebp - 0x2c], eax
je 0x47ecb2
xor ecx, ecx
test ebx, ebx
je 0x47ecb2
mov al, byte [esi + ecx + 0xc]
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, ebx
jb 0x47eca2
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x38]
push ecx
push edx
push eax
lea eax, [ebp - 0x14]
push eax
push ecx
lea eax, [ebp - 0x40]
push eax
push edx
lea eax, [esi + 4]
push eax
call fcn.0043c620
add esp, 0x28
test eax, eax
je 0x47ec42
push dword [ebp - 0x40]
push dword [ebp - 0x30]
push dword [ebp - 0x44]
call fcn.0043bb60
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 1
pop edi
pop ebx
pop esi
call fcn.007059ee
mov esp, ebp
pop ebp
ret
Function at 0x47ed10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x9f9d14]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
push ebx
mov ebx, dword [ebp + 0x28]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x3c], edi
test esi, esi
jne 0x47ed87
cmp ebx, dword [ebp + 0x14]
jbe 0x47ed75
push 0x106
push str.e:_b_build_slavedart_sdk_windows_be_build_sdk_third_party_boringssl_src_ssl_ssl_aead_ctx.c
push 0x79
push 0
push 0x10
call fcn.0044e080
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.007059ee
mov esp, ebp
pop ebp
ret
push ebx
push edx
push eax
call fcn.00706e00
add esp, 0xc
mov dword [edi], ebx
jmp 0x47eed0
push ebx
push ecx
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push dword [ebp + 0x18]
push eax
push esi
call fcn.0047eef0
movzx edi, byte [esi + 0x18]
add esp, 0x18
cmp byte [esi + 0x1f], 0
mov dword [ebp - 0x38], eax
je 0x47edbd
movzx ecx, byte [esi + 0x19]
lea eax, [ebp - 0x14]
sub edi, ecx
push edi
push 0
push eax
call fcn.007074c0
jmp 0x47edcb
push edi
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.007079f0
movzx eax, byte [esi + 0x19]
add esp, 0xc
push eax
lea eax, [ebp - 0x14]
add eax, edi
cmp byte [esi + 0x1b], 0
je 0x47edfc
push eax
call fcn.0045a410
add esp, 8
test eax, eax
jne 0x47ee08
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.007059ee
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x2c]
push eax
call fcn.007079f0
add esp, 0xc
movzx edx, byte [esi + 0x19]
add edi, edx
mov dword [ebp - 0x2c], 0
cmp byte [esi + 0x1a], 0
je 0x47ee77
cmp dword [ebp + 0x14], edx
jae 0x47ee2a
push 0x132
jmp 0x47ed4f
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
add eax, ebx
cmp ecx, eax
jae 0x47ee52
lea eax, [edx + ecx]
cmp dword [ebp - 0x30], eax
jae 0x47ee52
push 0x136
push str.e:_b_build_slavedart_sdk_windows_be_build_sdk_third_party_boringssl_src_ssl_ssl_aead_ctx.c
push 0xbd
jmp 0x47ed56
movzx eax, byte [esi + 0x18]
push edx
lea edx, [ebp - 0x14]
add eax, edx
push eax
push ecx
call fcn.007079f0
movzx ecx, byte [esi + 0x19]
add esp, 0xc
mov eax, dword [ebp + 0x14]
add dword [ebp - 0x28], ecx
sub eax, ecx
mov dword [ebp - 0x2c], ecx
jmp 0x47ee7a
mov eax, dword [ebp + 0x14]
cmp byte [esi + 0x1f], 0
mov dword [ebp - 0x34], eax
je 0x47ee9d
movzx edx, byte [esi + 0x18]
xor ecx, ecx
test edx, edx
je 0x47ee9d
nop dword [eax]
mov al, byte [esi + ecx + 0xc]
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, edx
jb 0x47ee90
push dword [ebp - 0x38]
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [ebp - 0x30]
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
push edi
push eax
push dword [ebp - 0x34]
lea eax, [esi + 4]
push ebx
push dword [ebp - 0x28]
push eax
call fcn.0043c6b0
add esp, 0x28
test eax, eax
je 0x47ed62
mov eax, dword [ebp - 0x2c]
add dword [ebx], eax
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.007059ee
mov esp, ebp
pop ebp
ret
Function at 0x52ce90
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x52cec2
mov eax, dword [edi + 4]
mov al, byte [ecx + eax - 1]
cmp al, 0x5b
je 0x52cec2
cmp al, 0x7b
je 0x52cec2
cmp al, 0x3a
je 0x52cec2
cmp al, 0x2c
je 0x52cec2
push 0x2c
lea ecx, [edi + 4]
call fcn.00705100
add edi, 4
push 0x22
mov ecx, edi
call fcn.00705100
mov ecx, dword [ebp + 0xc]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
sub ecx, edx
mov dword [ebp - 8], edx
mov dword [ebp + 0xc], ecx
test edx, edx
jle 0x52cf8e
mov eax, dword [ebp + 8]
lea ecx, [edx - 1]
inc eax
mov dword [ebp - 4], eax
mov eax, 0xaaaaaaab
mul ecx
mov ecx, dword [ebp - 4]
push ebx
mov ebx, edx
shr ebx, 1
inc ebx
nop dword [eax]
movzx esi, byte [ecx - 1]
movzx eax, byte [ecx]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 1]
shl esi, 8
mov ecx, edi
or esi, eax
mov eax, esi
shr eax, 0x12
movzx eax, byte [eax + 0x964ff8]
push eax
call fcn.00705100
mov eax, esi
mov ecx, edi
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + 0x964ff8]
push eax
call fcn.00705100
mov eax, esi
mov ecx, edi
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + 0x964ff8]
push eax
call fcn.00705100
and esi, 0x3f
mov ecx, edi
movzx eax, byte [esi + 0x964ff8]
push eax
call fcn.00705100
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
sub ebx, 1
jne 0x52cf10
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
pop ebx
cmp ecx, 1
jne 0x52cfca
mov eax, dword [ebp + 8]
mov ecx, edi
movzx esi, byte [edx + eax]
shl esi, 0x10
mov eax, esi
shr eax, 0x12
movzx eax, byte [eax + 0x964ff8]
push eax
call fcn.00705100
shr esi, 0xc
mov ecx, edi
and esi, 0x3f
movzx eax, byte [esi + 0x964ff8]
push eax
call fcn.00705100
push 0x3d
jmp 0x52d01c
cmp ecx, 2
jne 0x52d02c
mov eax, dword [ebp + 8]
mov ecx, edi
movzx esi, byte [edx + eax]
movzx eax, byte [edx + eax + 1]
shl esi, 8
or esi, eax
shl esi, 8
mov eax, esi
shr eax, 0x12
movzx eax, byte [eax + 0x964ff8]
push eax
call fcn.00705100
mov eax, esi
mov ecx, edi
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + 0x964ff8]
push eax
call fcn.00705100
shr esi, 6
and esi, 0x3f
movzx eax, byte [esi + 0x964ff8]
push eax
mov ecx, edi
call fcn.00705100
push 0x3d
mov ecx, edi
call fcn.00705100
push 0x22
mov ecx, edi
call fcn.00705100
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x53b880
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
sub esp, 0x10
push esi
mov esi, ecx
test edx, edx
je 0x53b921
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 4]
mov eax, dword [ecx - 1]
and eax, 0xffff0000
cmp eax, 0x4a0000
jne 0x53b8da
mov edi, dword [ebp + 0xc]
add edi, 0xb
add edi, ecx
test edx, edx
jle 0x53b920
movzx eax, byte [edi]
lea edi, [edi + 1]
add eax, dword [esi]
imul ecx, eax, 0x401
mov eax, ecx
shr eax, 6
xor eax, ecx
mov dword [esi], eax
sub edx, 1
jne 0x53b8b6
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], 0
lea eax, [ecx - 1]
mov dword [ebp - 8], eax
lea eax, [ecx + edx]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], eax
call fcn.0056afd0
test al, al
je 0x53b920
nop
mov eax, dword [esi]
add eax, dword [ebp - 0xc]
imul ecx, eax, 0x401
mov eax, ecx
shr eax, 6
xor eax, ecx
lea ecx, [ebp - 0x10]
mov dword [esi], eax
call fcn.0056afd0
test al, al
jne 0x53b900
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x553360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
xor ecx, ecx
test esi, esi
jle 0x55338c
push edi
mov edi, dword [ebp + 8]
movzx edx, byte [ecx + edi]
inc ecx
add edx, eax
imul edx, edx, 0x401
mov eax, edx
shr eax, 6
xor eax, edx
cmp ecx, esi
jl 0x553373
pop edi
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
mov ecx, 1
imul eax, eax, 0x8001
pop esi
and eax, 0x3fffffff
cmove eax, ecx
pop ebp
ret

Function at 0x5533f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, dword [eax + 3]
movzx ecx, word [eax + 1]
sar ebx, 1
cmp ecx, 0x4a
je 0x553496
cmp ecx, 0x4c
je 0x55348f
push edi
cmp ecx, 0x4b
jne 0x55341e
lea edi, [eax + 0xb]
jmp 0x553423
mov eax, dword [eax + 0xb]
mov edi, dword [eax]
xor eax, eax
mov dword [ebp + 8], edi
xor esi, esi
test ebx, ebx
jle 0x55348c
nop
movzx ecx, word [edi + esi*2]
mov edx, ecx
and edx, 0xfffffc00
cmp edx, 0xd800
jne 0x553478
lea edx, [ebx - 1]
cmp esi, edx
jge 0x553478
movzx edi, word [edi + esi*2 + 2]
mov edx, edi
and edx, 0xfffffc00
cmp edx, 0xdc00
jne 0x553475
and ecx, 0x3ff
and edi, 0x3ff
add ecx, 0x40
shl ecx, 0xa
add ecx, edi
inc esi
mov edi, dword [ebp + 8]
add eax, ecx
inc esi
imul ecx, eax, 0x401
mov eax, ecx
shr eax, 6
xor eax, ecx
cmp esi, ebx
jl 0x553430
pop edi
jmp 0x5534b9
mov eax, dword [eax + 0xb]
mov esi, dword [eax]
jmp 0x553499
lea esi, [eax + 0xb]
xor eax, eax
xor edx, edx
test ebx, ebx
jle 0x5534b9
movzx ecx, byte [edx + esi]
inc edx
add ecx, eax
imul ecx, ecx, 0x401
mov eax, ecx
shr eax, 6
xor eax, ecx
cmp edx, ebx
jl 0x5534a1
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
mov ecx, 1
imul eax, eax, 0x8001
pop esi
pop ebx
and eax, 0x3fffffff
cmove eax, ecx
pop ebp
ret
Function at 0x553580
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
xor ecx, ecx
test esi, esi
jle 0x5535ab
push edi
mov edi, dword [ebp + 8]
mov edx, dword [edi + ecx*4]
inc ecx
add edx, eax
imul edx, edx, 0x401
mov eax, edx
shr eax, 6
xor eax, edx
cmp ecx, esi
jl 0x553593
pop edi
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
mov ecx, 1
imul eax, eax, 0x8001
pop esi
and eax, 0x3fffffff
cmove eax, ecx
pop ebp
ret

Function at 0x5864c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0xc
call fcn.00705727
add esp, 4
test eax, eax
je 0x5864e5
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
jmp 0x5864e7
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push 0x586530
push 0x80000
push 0
call fcn.0070f85e
add esp, 0x18
cmp eax, 0xffffffff
je 0x586518
test eax, eax
je 0x586518
push eax
call dword [0x72a09c]
xor eax, eax
mov esp, ebp
pop ebp
ret
call fcn.0070ce81
mov eax, dword [eax]
mov esp, ebp
pop ebp
ret
Function at 0x5cc290
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
mov edi, dword [ebp + 0x1c]
cmp dword [edi], 0
jne 0x5cc2a8
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [ebp + 0x10]
mov edx, dword [ecx]
push esi
mov esi, dword [ebp + 8]
cmp dword [eax + 0x48], 0
sete al
movzx eax, al
push eax
push 0
push esi
push edi
call dword [edx + 0x10]
cmp byte [edi + 0x24], 0
je 0x5cc2d3
pop esi
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0x1c
mov dl, byte [esi + 0x15]
xor cl, cl
test dl, dl
mov dword [edi + 0x1c], 0
push ebx
mov eax, 0xff
mov dword [edi + 0x20], 0
mov ebx, 0xffff
cmove eax, ebx
xor esi, esi
mov dword [ebp - 8], eax
mov eax, dword [edi]
test eax, eax
jle 0x5cc45d
xor eax, eax
mov dword [ebp - 0x14], 1
test dl, dl
sete al
xor ebx, ebx
xor edx, edx
lea eax, [eax*8 + 8]
mov dword [ebp - 0x18], eax
lea eax, [edi + 4]
mov dword [ebp - 4], eax
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
nop
movzx eax, word [eax]
test al, al
movzx ecx, cl
cmovne ecx, dword [ebp - 0x14]
and eax, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov ecx, esi
add esi, dword [ebp - 0x18]
shl eax, cl
or ebx, eax
mov eax, dword [ebp - 4]
mov dword [edi + 0x1c], ebx
movzx eax, word [eax + 2]
and eax, dword [ebp - 8]
shl eax, cl
mov ecx, dword [ebp - 0x10]
or edx, eax
mov eax, dword [ebp - 4]
add eax, 6
mov dword [edi + 0x20], edx
sub dword [ebp - 0xc], 1
mov dword [ebp - 4], eax
jne 0x5cc330
mov dword [ebp - 0x18], edx
test cl, cl
je 0x5cc45d
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edi, dword [edi]
cmp dword [ecx + 0x14], edi
mov esi, dword [eax + 0x10]
mov edi, dword [ebp + 0x1c]
je 0x5cc3b6
mov eax, dword [edi]
mov edx, dword [esi]
push eax
mov al, byte [ebp + 0x14]
xor al, 1
movzx eax, al
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 8]
push dword [ecx]
mov ecx, esi
call dword [edx + 0x80]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edi, dword [edi]
mov byte [ebp + 0x17], 1
cmp edi, 1
jne 0x5cc3df
cmp byte [eax + 0x15], 0
mov edi, 0xff
mov eax, 0xffff
cmove edi, eax
mov eax, edi
and eax, ebx
cmp eax, edi
mov ebx, eax
setne al
jmp 0x5cc403
cmp edi, 2
jne 0x5cc3f7
cmp byte [eax + 0x15], 0
je 0x5cc3f7
movzx eax, bx
cmp eax, 0xffff
setne al
jmp 0x5cc403
movzx eax, byte [ebp + 0x17]
xor edi, edi
cmp ebx, 0xffffffff
cmove eax, edi
cmp byte [ebp + 0x20], 0
je 0x5cc433
push dword [ebp + 0x18]
test al, al
mov ecx, esi
mov eax, dword [esi]
je 0x5cc424
push ebx
push edx
call dword [eax + 0x24]
pop ebx
pop esi
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 0x1c
push edx
call dword [eax + 0x20]
pop ebx
pop esi
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 0x1c
push dword [ecx + 8]
test al, al
mov ecx, esi
mov eax, dword [esi]
je 0x5cc44e
push ebx
push edx
call dword [eax + 0x44]
pop ebx
pop esi
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 0x1c
push edx
call dword [eax + 0x40]
pop ebx
pop esi
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 0x1c
pop ebx
pop esi
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0x1c