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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0xee37e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0xdc], ecx
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0xd4], eax
lea edi, [ebp - 0x90]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xd0], eax
xor eax, eax
push eax
movsd dword es:[edi], dword [esi]
push eax
push eax
push eax
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x90]
push 0x14
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x80], 0x1000000
call fcn.005dde3d
mov eax, dword [ebp + 0x1c]
lea esi, [ebp - 0x24]
add esp, 0x1c
mov dword [ebp - 0xc8], ebx
dec eax
lea edi, [ebp - 0x44]
mov dword [ebp - 0xbc], eax
xor edx, edx
mov byte [ebp - 0xca], dl
push 8
pop ecx
push 0x10
pop eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xc0], eax
mov eax, edx
push 0x20
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 0xc9], dl
mov dword [ebp - 0xd4], eax
pop ebx
mov ecx, dword [ebp + eax - 0xbc]
mov dword [ebp - 0xd0], ecx
test ecx, ecx
je 0x5de193
mov edx, dword [ebp - 0xd8]
lea eax, [ebp - 0xc9]
mov ecx, dword [ebp - 0xdc]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0xca]
push eax
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.005dde3d
add esp, 0x1c
lea esi, [ebp - 0xb0]
lea edi, [ebp - 0x24]
xor edx, edx
mov eax, edx
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
movups xmm0, xmmword [ebp + eax - 0x44]
movups xmm1, xmmword [ebp + eax - 0x24]
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x44], xmm1
add eax, 0x10
cmp eax, ebx
jb 0x5de16a
sub dword [ebp - 0xd0], 1
jne 0x5de11c
mov eax, dword [ebp - 0xd4]
mov edi, dword [ebp + eax - 0xc8]
lea esi, [ebp - 0x44]
push 8
add eax, 4
mov dword [ebp - 0xd4], eax
pop ecx
rep movsd dword es:[edi], dword [esi]
cmp eax, 0xc
jb 0x5de10b
push 0x44
pop ecx
lea eax, [ebp - 0x90]
mov byte [eax], dl
inc eax
sub ecx, 1
jne 0x5de1bd
mov ecx, ebx
lea eax, [ebp - 0x44]
mov byte [eax], dl
inc eax
sub ecx, 1
jne 0x5de1ca
mov ecx, ebx
lea eax, [ebp - 0x24]
mov byte [eax], dl
inc eax
sub ecx, 1
jne 0x5de1d7
lea eax, [ebp - 0xb0]
mov byte [eax], dl
inc eax
sub ebx, 1
jne 0x5de1e5
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006f3e28
leave
ret
Function at 0x5de442
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0xee37e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
xor ecx, ecx
mov dword [ebp - 0x2c], ebx
push edi
cmp dword [esi], 2
lea edi, [esi + 4]
jne 0x5de4ae
mov eax, dword [edi]
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 0x28], eax
mov ecx, ebx
lea eax, [ebp - 0x24]
push eax
push 4
lea eax, [ebp - 0x28]
push eax
push 0x20
pop edx
call fcn.005dde3d
xor edx, edx
add esp, 0x1c
and dword [ebp - 0x28], edx
mov ebx, dword [ebp - 0x28]
movzx eax, byte [ebp + edx - 0x24]
mov ecx, edx
and ecx, 3
shl ecx, 3
shl eax, cl
xor eax, ebx
inc edx
mov ebx, eax
cmp edx, 0x20
jb 0x5de48e
mov ebx, dword [ebp - 0x2c]
xor ecx, ecx
mov dword [edi], eax
cmp dword [esi], 3
jne 0x5de4d3
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
push 0x20
push edi
push 0x20
pop edx
call fcn.005dde3d
add esp, 0x1c
lea esi, [ebp - 0x24]
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006f3e28
leave
ret

Function at 0x5deeeb
Capabilities:
Hash data using sha256

Disassembly:
and dword [ecx + 0x20], 0
and dword [ecx + 0x24], 0
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
ret
Function at 0x5e15e8
Capabilities:
Hash data using sha256

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
cmp dword [0xefd1d4], 2
push esi
push edi
mov edi, edx
mov esi, ecx
jl 0x5e1628
movaps xmm0, xmmword [0xed1500]
movaps xmmword [0xf0ad30], xmm0
movaps xmm0, xmmword [0xed1450]
movaps xmmword [0xf0ad40], xmm0
push 0xf0
push 0
push esi
call fcn.006f59b0
add esp, 0xc
xor edx, edx
mov dword [esi + 0x100], edx
mov byte [esi + 0x104], dl
mov ecx, dword [esi + 0xf4]
mov eax, dword [edx + 0xdfb628]
mov dword [edx + ecx], eax
add edx, 4
cmp edx, 0x20
jl 0x5e1646
mov eax, dword [esi + 0xf4]
xor dword [eax], 0x2080020
mov eax, dword [esi + 0xf4]
xor dword [eax + 8], edi
mov ecx, dword [esi + 0xf4]
mov eax, dword [ebx + 8]
or eax, 0x2000
shl eax, 0x10
xor dword [ecx + 0xc], eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x5e2cf2
Capabilities:
Hash data using sha1

Disassembly:
and dword [ecx + 0x18], 0
and dword [ecx + 0x1c], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
ret
Function at 0x5e3505
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push ecx
push ecx
mov edx, ecx
push esi
mov esi, dword [ebx + 0xc]
push edi
mov edi, dword [ebx + 0x10]
lea eax, [edx + 0x18]
mov dword [ebp - 4], eax
movups xmm2, xmmword [edx + 8]
test esi, esi
je 0x5e3594
mov ecx, dword [ebx + 8]
mov eax, ecx
add ecx, 0x10
mov dword [ebx + 8], ecx
mov ecx, dword [edx + 4]
movups xmm3, xmmword [eax]
mov eax, ecx
shl eax, 4
add eax, dword [ebp - 4]
dec ecx
movups xmm1, xmmword [eax]
pxor xmm1, xmm3
test ecx, ecx
jle 0x5e3571
mov eax, ecx
shl eax, 4
add eax, dword [ebp - 4]
movups xmm0, xmmword [eax]
dec ecx
lea eax, [eax - 0x10]
aesdec xmm1, xmm0
test ecx, ecx
jg 0x5e3561
cmp byte [edx + 1], 0
movups xmm0, xmmword [edx + 0x18]
aesdeclast xmm1, xmm0
je 0x5e3584
pxor xmm1, xmm2
mov eax, edi
movaps xmm2, xmm3
add edi, 0x10
movups xmmword [eax], xmm1
sub esi, 1
jne 0x5e3534
pop edi
movups xmmword [edx + 8], xmm2
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
Function at 0x5e3796
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0xee37e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
xor ecx, ecx
inc ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], ecx
cmp dword [eax + 4], ecx
jle 0x5e383f
push ebx
push esi
lea ebx, [eax + 0x28]
push edi
mov dword [ebp - 0x20], ebx
lea eax, [ebx + 2]
xor esi, esi
mov dword [ebp - 0x24], eax
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x18], 4
add ebx, esi
mov edi, eax
movzx eax, byte [edi + 1]
movzx ecx, byte [edi - 1]
mov dl, byte [esi + eax*4 + 0xf0b150]
movzx eax, byte [edi - 2]
xor dl, byte [esi + ecx*4 + 0xf0be50]
xor dl, byte [esi + eax*4 + 0xf0ad50]
movzx eax, byte [edi]
lea edi, [edi + 4]
xor dl, byte [esi + eax*4 + 0xf0cf70]
sub dword [ebp - 0x18], 1
mov byte [ebx], dl
lea ebx, [ebx + 4]
jne 0x5e37d9
mov eax, dword [ebp - 0x24]
inc esi
cmp esi, 4
jl 0x5e37cb
mov ebx, dword [ebp - 0x20]
lea esi, [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov edi, ebx
mov eax, dword [ebp - 0x28]
inc ecx
add ebx, 0x10
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp ecx, dword [eax + 4]
jl 0x5e37c3
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006f3e28
leave
ret
Function at 0x5f4305
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jle 0x5f4349
mov edx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
sub edi, edx
mov eax, dword [edi + edx]
mov ecx, eax
and ecx, 0xff00
add ecx, 0xff
xor ecx, eax
and eax, 0xff00ff00
and ecx, 0xff00ff
sub eax, 0xffff01
xor ecx, eax
mov dword [edx], ecx
lea edx, [edx + 4]
sub esi, 1
jne 0x5f4319
pop edi
pop esi
pop ebp
ret

Function at 0x5f434c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
push ebx
push edi
mov edi, dword [ebp + 0x14]
mov ebx, dword [edi - 4]
jle 0x5f43ae
mov eax, dword [ebp + 8]
sub eax, edi
mov dword [ebp + 8], eax
push esi
mov edx, dword [eax + edi]
mov eax, ebx
mov esi, edx
and eax, 0xffff00ff
and esi, 0xffff00ff
mov ecx, edx
add esi, eax
and ecx, 0xff00
movzx eax, bx
and edx, 0xff00ff00
add ecx, eax
and ebx, 0xff00ffff
mov eax, dword [ebp + 8]
xor esi, ecx
and esi, 0xff00ff
add ebx, edx
xor ebx, esi
sub dword [ebp + 0x10], 1
mov dword [edi], ebx
lea edi, [edi + 4]
jne 0x5f4366
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x5f43b2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jle 0x5f441c
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
sub eax, ebx
sub dword [ebp + 0x14], ebx
push esi
push edi
mov dword [ebp + 0xc], eax
mov edi, dword [eax + ebx]
mov eax, edi
mov edx, dword [ebx]
and eax, 0xffff00ff
mov esi, edx
mov ecx, edx
and esi, 0xffff00ff
and ecx, 0xff00
add esi, eax
and edx, 0xff00ff00
movzx eax, di
and edi, 0xff00ffff
add ecx, eax
add edi, edx
mov eax, dword [ebp + 0x14]
xor esi, ecx
and esi, 0xff00ff
xor esi, edi
sub dword [ebp + 0x10], 1
mov dword [eax + ebx], esi
lea ebx, [ebx + 4]
mov eax, dword [ebp + 0xc]
jne 0x5f43cc
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x5f4abc
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jle 0x5f4b02
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
sub ebx, esi
mov edx, dword [ebx + esi]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, eax
shl ecx, 0x10
or ecx, eax
mov eax, edx
and eax, 0xffff00ff
add ecx, eax
xor ecx, edx
and ecx, 0xff00ff
xor ecx, edx
mov dword [esi], ecx
lea esi, [esi + 4]
sub edi, 1
jne 0x5f4ad1
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x5f5012
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
lea ebx, [esi + eax*4]
cmp esi, ebx
jae 0x5f505a
push edi
mov edi, dword [ebp + 0x10]
mov edx, dword [esi]
mov ecx, edx
shr ecx, 0x10
mov eax, edx
shr eax, 0xc
add esi, 4
xor cl, al
mov eax, edx
shr eax, 0x10
and cl, 0xf
xor cl, al
mov eax, edx
shr eax, 0x1c
and dl, 0xf0
or al, dl
mov byte [edi], cl
mov byte [edi + 1], al
lea edi, [edi + 2]
cmp esi, ebx
jb 0x5f5028
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x5f505e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
lea ebx, [esi + eax*4]
cmp esi, ebx
jae 0x5f50b0
push edi
mov edi, dword [ebp + 0x10]
mov edx, dword [esi]
mov ecx, edx
shr ecx, 0x10
mov eax, edx
shr eax, 0xd
add esi, 4
xor cl, al
mov eax, edx
and cl, 7
shr eax, 0x10
xor cl, al
mov eax, edx
mov byte [edi], cl
mov ecx, edx
shr ecx, 5
lea edi, [edi + 2]
shr eax, 3
xor cl, al
shr edx, 5
and cl, 0x1f
xor cl, dl
mov byte [edi - 1], cl
cmp esi, ebx
jb 0x5f5074
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x6a7907
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 0x28], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x20], esi
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
mov al, byte [ecx + 0x15]
test al, al
jg 0x6a7b4e
mov cl, byte [ecx + 0x14]
jne 0x6a793f
test cl, cl
jns 0x6a7b4e
mov eax, dword [edi + 4]
xor ebx, ebx
mov dword [ebp - 0x30], eax
test eax, eax
je 0x6a7b4a
mov eax, dword [ebp + 0x14]
add eax, 0xe5
mov dword [ebp - 0x34], eax
mov edx, dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.006dc39a
pop ecx
test eax, eax
js 0x6a7b43
xor dword [ebp - 0x28], eax
jne 0x6a7b16
mov ecx, dword [ebp + 0x10]
lea edi, [ebx - 2]
and dword [ebp - 0x1c], 0
lea esi, [edi + 1]
and dword [ebp - 8], 0
and dword [ebp - 4], 0
imul esi, dword [ecx + 8]
imul edi, dword [ecx + 8]
push 8
pop eax
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 8]
add esi, dword [ecx + 0xc]
add edi, dword [ecx + 0xc]
invalid
scasd eax, dword es:[edi]

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push 0x2c
push ebx
lea eax, [esi + 4]
mov dword [esi], ebx
push eax
call fcn.006f59b0
or dword [esi + 0x14], 0xffffffff
lea eax, [esi + 0x30]
add esp, 0xc
mov word [esi + 0x10], bx
mov byte [esi + 0x18], bl
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
push 0x2c
push ebx
push eax
call fcn.006f59b0
mov eax, dword [ebp + 0xc]
add esp, 0xc
or dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x5c], eax
mov word [esi + 0x3c], bx
mov byte [esi + 0x44], bl
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x60], ecx
add ecx, 0x84
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], ebx
call fcn.006b3c68
mov ebx, 0xe05c28
mov ecx, ebx
mov edi, ebx
cmp dword [eax], 0
cmovne ecx, dword [eax]
cmp dword [ecx + 0x10], 0xc
cmovae edi, dword [ecx + 0xc]
mov ecx, edi
mov dword [esi + 0x6c], edi
call fcn.00633ae4
cmp eax, 0x10003
jb 0x6af605
push edi
lea ecx, [edi + 0xe]
call fcn.0068c0b8
mov ebx, eax
mov eax, dword [ebp + 0x10]
xor edx, edx
mov dword [esi + 0x70], ebx
inc edx
mov eax, dword [eax + 0x30]
or dword [esi + 0x80], 0xffffffff
and dword [esi + 0x84], 0
mov dword [esi + 0x74], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x7c], eax
mov eax, 0x100
mov dword [esi + 0x78], edx
mov dword [esi + 0x88], 6
movzx ecx, byte [edi + 4]
imul ecx, eax
movzx eax, byte [edi + 5]
mov byte [esi + 0x8d], dl
mov byte [esi + 0x8e], dl
mov byte [esi + 0x8f], 0
add cx, ax
mov dword [esi + 0x90], edx
mov ecx, esi
setne al
mov byte [esi + 0x8c], al
call fcn.006af67a
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x6ba8eb
Capabilities:
Check http status code

Disassembly:
cmp edx, 0xc8
jb 0x6ba8f6
mov eax, edx
ret
mov eax, ecx
and eax, 0xffffff00
cmp eax, 0xe00
jne 0x6ba93f
test edx, edx
jne 0x6ba9f7
mov eax, 0xeb1
cmp ecx, eax
ja 0x6ba9b0
je 0x6ba9d6
add eax, 0xffffff86
cmp ecx, eax
ja 0x6ba999
je 0x6ba9a6
sub ecx, 0xe31
je 0x6ba9a6
sub ecx, 3
je 0x6ba9a6
sub ecx, 1
je 0x6ba9a6
sub ecx, 1
je 0x6ba9a6
mov eax, edx
cmp edx, 0x1a
ja 0x6baa4f
je case.0x6baa6b.27
cmp edx, 0x12
ja 0x6baa34
je case.0x6baa6b.30
cmp edx, 0xe
ja 0x6baa19
je 0x6baa13
sub eax, 3
je 0x6baa0d
sub eax, 7
je 0x6baa72
sub eax, 1
je 0x6baa13
dec eax
sub eax, 1
jne case.default.0x6baa6b
mov eax, 0xd6
ret
sub ecx, 0xe47
je 0x6ba9a6
sub ecx, 5
jmp 0x6ba933
mov edx, 0xe8
jmp case.default.0x6baa6b
mov eax, 0xebb
cmp ecx, eax
ja 0x6ba9e0
je 0x6ba9d6
sub ecx, 0xeb4
je 0x6ba9d6
sub ecx, 1
je 0x6ba9d6
sub ecx, 1
je 0x6ba9d6
sub ecx, 1
jne 0x6ba93f
mov edx, 0xe6
jmp case.default.0x6baa6b
sub ecx, 0xebc
je 0x6ba9ed
sub ecx, 0x10
jmp 0x6ba9cb
mov edx, 0xdc
jmp 0x6ba93f
cmp ecx, 0xe3a
jne 0x6ba93f
mov edx, 0xde
jmp case.default.0x6baa6b
mov eax, 0xde
ret
mov eax, 0xe4
ret
mov eax, edx
sub eax, 0xf
je case.0x6baa6b.30
sub eax, 1
je case.0x6baa6b.30
sub eax, 1
jne case.default.0x6baa6b
mov eax, 0xdc
ret
mov eax, edx
sub eax, 0x13
je case.0x6baa6b.30
sub eax, 1
je case.0x6baa6b.30
sub eax, 1
je case.0x6baa6b.30
sub eax, 1
je case.0x6baa6b.30
sub eax, 1
jmp 0x6baa1e
mov edx, eax
cmp eax, 0x6b
ja 0x6baa78
je 0x6baa72
lea ecx, [eax - 0x1b]
cmp ecx, 9
ja case.default.0x6baa6b
movzx eax, byte [ecx + 0x6baaa7]
jmp dword [eax*4 + 0x6baa9f]
mov eax, 0xe8
ret
mov eax, edx
sub eax, 0x76
je case.0x6baa6b.30
sub eax, 4
je case.0x6baa6b.27
sub eax, 7
je case.0x6baa6b.30
dec eax
sub eax, 1
je case.0x6baa6b.30
sub eax, 1
jne case.default.0x6baa6b
mov eax, 0xe6
ret
Function at 0x6dff0f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
mov eax, ecx
push edi
xor edi, edi
mov dword [ebp - 4], eax
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x6dff32
xor eax, eax
jmp 0x6e0068
push ebx
lea ebx, [edx - 4]
or ecx, 0xffffffff
add ebx, eax
mov dword [ebp - 0x14], ebx
lea edx, [edi + eax]
cmp edx, ebx
jae 0x6dff55
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x6dff52
inc edx
cmp edx, ebx
jb 0x6dff45
mov eax, dword [ebp - 4]
mov edi, edx
sub edi, eax
mov eax, edi
sub eax, ecx
cmp edx, ebx
jae 0x6e0050
cmp eax, 3
jbe 0x6dff8c
xor esi, esi
mov al, byte [edx + 4]
mov ecx, edi
mov dword [ebp - 0x10], ecx
test al, al
je 0x6dffc8
cmp al, 0xff
je 0x6dffc8
and esi, 3
xor eax, eax
add esi, esi
or esi, 1
inc eax
jmp 0x6e0049
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x6dff6c
cmp byte [esi + 0xe71f98], 0
je 0x6dffb5
movzx eax, byte [esi + 0xe71fa0]
mov ecx, edx
sub ecx, eax
mov al, byte [ecx + 4]
test al, al
je 0x6dffb5
cmp al, 0xff
jne 0x6dff6c
and esi, 3
mov ecx, edi
add esi, esi
or esi, 1
inc edi
mov eax, dword [ebp - 4]
jmp 0x6dff3e
movzx ebx, al
movzx eax, byte [edx + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 1]
shl ebx, 8
or ebx, eax
sub ebx, edi
sub ebx, 5
mov dword [ebp - 0xc], ebx
test esi, esi
je 0x6e0021
movzx eax, byte [esi + 0xe71fa0]
shl eax, 3
push 0x18
pop ecx
sub ecx, eax
mov dword [ebp - 8], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x6e0010
cmp al, 0xff
jne 0x6e0021
xor ebx, ebx
push 0x20
pop ecx
sub ecx, dword [ebp - 8]
inc ebx
shl ebx, cl
dec ebx
xor ebx, dword [ebp - 0xc]
jmp 0x6dffe6
mov ecx, dword [ebp - 0x10]
mov eax, ebx
shr eax, 0x18
and al, 1
mov byte [edx + 1], bl
neg al
mov byte [edx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 3], al
mov eax, ebx
mov ebx, dword [ebp - 0x14]
shr eax, 8
push 5
mov byte [edx + 2], al
pop eax
add edi, eax
jmp 0x6dffc0
lea ecx, [eax - 1]
shl esi, cl
xor ecx, ecx
and esi, 7
cmp eax, 3
mov eax, dword [ebp + 0xc]
cmova esi, ecx
pop ebx
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x6f473c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x6f477b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x6f477b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x6f477b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x6f477b
cmp dword [ecx + 0x74], 0xe
jbe 0x6f477b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x703ab1
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0xee37e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0xcc842c
push esi
call fcn.0070e7d7
pop ecx
pop ecx
test eax, eax
jne 0x703adf
xor al, al
jmp 0x703b5c
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.007037f4
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x703b19
push dword [ebp - 0x210]
call fcn.00702f96
xor al, al
jmp 0x703b5a
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x703b1f
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x703b3f
push edx
call fcn.007039e7
pop ecx
test al, al
je 0x703b0a
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x703b4d
mov bl, 1
push dword [ebp - 0x210]
call fcn.00702f96
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.006f3e28
leave
ret
Function at 0x708541
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00722ce0
mov eax, dword [0xee37e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0070962c
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x708583
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x7086df
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00722a90
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0xefbd50]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.007069e4
mov ecx, dword [esi*4 + 0xefbd50]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x7086d8
cmp eax, dword [edi + ecx + 0x24]
jne 0x7086d8
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x7086d8
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.007069e4
add esp, 0x14
test edx, edx
jl 0x7086d8
jg 0x70864e
test eax, eax
jb 0x7086d8
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x7086d8
jl 0x708668
cmp dword [ebp - 0x1008], eax
ja 0x7086d8
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x708686
test ebx, ebx
je 0x7086bf
cmp ecx, edi
jae 0x7086bf
mov al, byte [ecx]
cmp al, 0xd
jne 0x7086a0
lea eax, [edi - 1]
cmp ecx, eax
jae 0x7086ac
cmp byte [ecx + 1], 0xa
jne 0x7086ac
inc ecx
jmp 0x7086ac
movzx eax, al
movsx eax, byte [eax + 0xee38e8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x708686
cmp edx, ebx
jne 0x708686
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x7086dd
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.006f3e28
leave
ret