joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4af5a0
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x4f0094
mov ecx, dword [esp]
lea edx, [esp + 0xc]
xor ebx, ebx
mov bl, byte [edi]
mov bl, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x4af5bf
mov esi, 1
mov edx, 0x4f019c
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
shl ecx, 2
xor ebx, ebx
mov bl, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
xor ebx, ebx
mov bl, byte [esp + eax + 0x11]
add edi, ebx
xor ebx, ebx
mov bl, byte [esp + eax + 0xd]
shl ebx, 3
movzx ebp, byte [esp + eax + 0xe]
shl ebp, 2
add ebx, ebp
movzx ebp, byte [esp + eax + 0xf]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x10]
add ebx, eax
mov dword [esp + 8], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x4af639
dec ebx
je 0x4af65d
dec ebx
je 0x4af681
dec ebx
je 0x4af6a4
jmp 0x4af6bd
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 8
and ebx, 0xff
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4af6bd
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 4
and ebx, 0xff
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4af6bd
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 2
and ebx, 0xff
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4af6bd
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x4af626
inc esi
add edx, 0x40
cmp esi, 9
jne 0x4af5db
mov esi, 0x20
mov eax, 0x4f00c4
mov edx, dword [esp + 4]
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x4af6e2
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4af71c
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
xor eax, eax
mov al, dl
mov bl, byte [eax + 0x4f014b]
test bl, bl
jbe 0x4af74d
lea eax, [esi + 0x3e0]
call fcn.004af6fc
lea eax, [esi + 0x3fc]
call fcn.004af6fc
dec bl
jne 0x4af733
mov cl, 0x30
mov edi, 0x4f011c
mov eax, dword [esp]
mov dl, byte [edi]
cmp dl, 0x1c
ja 0x4af76f
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x4af77e
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x4af757
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4af78c
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov bl, 1
lea esi, [ebp - 0x421]
mov eax, edi
mov edx, ebx
call fcn.004af534
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x4af7a8
mov bl, 0x1c
mov esi, 0x4f00e4
lea edi, [ebp - 0x41]
mov dl, byte [esi]
mov eax, dword [ebp - 8]
call fcn.004af534
mov byte [edi], al
mov dl, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.004af534
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x4af7c4
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.004af71c
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x4af7ec
mov bl, 1
mov eax, 0x4f0014
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x4af825
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x4af832
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x4af811
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x4af85c
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.004af5a0
jmp 0x4af884
xor eax, eax
mov al, byte [ebp - 9]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d1]
lea ecx, [ebp - 0x61]
lea eax, [ebp - 0x81]
call fcn.004af5a0
mov bl, 0x20
lea eax, [ebp - 0xa1]
mov dl, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x4af88c
push esi
lea esi, [ebp - 0x81]
lea edi, [ebp - 0xa1]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x61]
lea edi, [ebp - 0x81]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 9]
add esi, 0x30
cmp byte [ebp - 9], 0x11
jne 0x4af844
mov bl, 0x40
mov esi, 0x4f0054
lea eax, [ebp - 0x3e1]
mov dl, byte [esi]
cmp dl, 0x20
ja 0x4af8f2
and edx, 0xff
mov dl, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x4af901
and edx, 0xff
mov dl, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x4af8da
mov bl, 1
lea esi, [ebp - 0x3e1]
mov cl, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.004af55c
inc ebx
inc esi
cmp bl, 0x41
jne 0x4af90f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b2bf4
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, ecx
mov dword [esp], edx
mov ebp, eax
xor esi, esi
mov ebx, dword [esp]
jmp 0x4b2c08
inc ebx
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
test edx, edx
jg 0x4b2c07
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
shl eax, 2
mov ebx, eax
mov eax, edi
mov edx, ebx
call fcn.004049b8
xor ebx, ebx
cmp esi, dword [esp]
jge 0x4b2d71
inc ebx
mov eax, edi
call fcn.00404884
mov dl, byte [ebp + esi]
and dl, 0xfc
and edx, 0xff
shr edx, 2
mov dl, byte [edx + 0x4f0364]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 1]
cmp eax, dword [esp]
jge 0x4b2d29
inc ebx
mov eax, edi
call fcn.00404884
mov dl, byte [ebp + esi]
and dl, 3
and edx, 0xff
shl edx, 4
mov cl, byte [ebp + esi + 1]
and cl, 0xf0
and ecx, 0xff
shr ecx, 4
add edx, ecx
mov dl, byte [edx + 0x4f0364]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 2]
cmp eax, dword [esp]
jge 0x4b2cf8
inc ebx
mov eax, edi
call fcn.00404884
mov dl, byte [ebp + esi + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov cl, byte [ebp + esi + 2]
and cl, 0xc0
and ecx, 0xff
shr ecx, 6
add edx, ecx
mov dl, byte [edx + 0x4f0364]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00404884
mov dl, byte [ebp + esi + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x4f0364]
mov byte [eax + ebx - 1], dl
jmp 0x4b2d65
inc ebx
mov eax, edi
call fcn.00404884
mov dl, byte [ebp + esi + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov dl, byte [edx + 0x4f0364]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00404884
mov byte [eax + ebx - 1], 0x3d
jmp 0x4b2d65
inc ebx
mov eax, edi
call fcn.00404884
mov dl, byte [ebp + esi]
and dl, 3
and edx, 0xff
shl edx, 4
mov dl, byte [edx + 0x4f0364]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00404884
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.00404884
mov byte [eax + ebx - 1], 0x3d
add esi, 3
cmp esi, dword [esp]
jl 0x4b2c39
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4b2fcc
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebp, ecx
mov dword [esp], edx
mov esi, eax
mov dl, byte [esi]
mov byte [esp + 4], dl
shl edx, 7
and dl, 0xff
mov al, byte [esi + 1]
xor ecx, ecx
mov cl, al
shr ecx, 1
or dl, cl
mov byte [esp + 5], dl
shl eax, 6
and al, 0xff
mov dl, byte [esi + 2]
xor ecx, ecx
mov cl, dl
shr ecx, 2
or al, cl
mov byte [esp + 6], al
shl edx, 5
and dl, 0xff
mov al, byte [esi + 3]
xor ecx, ecx
mov cl, al
shr ecx, 3
or dl, cl
mov byte [esp + 7], dl
shl eax, 4
and al, 0xff
xor edx, edx
mov dl, byte [esi + 4]
shr edx, 4
or al, dl
mov byte [esp + 8], al
mov al, byte [esi + 4]
shl eax, 3
and al, 0xff
xor edx, edx
mov dl, byte [esi + 5]
shr edx, 5
or al, dl
mov byte [esp + 9], al
mov al, byte [esi + 5]
shl eax, 2
and al, 0xff
xor edx, edx
mov dl, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [esp + 0xa], al
mov al, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [esp + 0xb], al
mov edi, 8
lea eax, [esp + 4]
mov edx, 1
xor esi, esi
mov ecx, edx
xor ebx, ebx
mov bl, byte [eax]
shl ebx, cl
mov ecx, ebx
xor ecx, esi
and ecx, 1
mov esi, ecx
inc edx
cmp edx, 8
jne 0x4b3078
mov dl, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec edi
jne 0x4b3073
mov eax, ebp
mov edx, 8
call fcn.004049b8
push 1
mov eax, ebp
call fcn.00404884
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.004af78c
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4b4c5c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4b4c65
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4b4e15
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004b4fa4
xor eax, eax
push ebp
push 0x4b4df3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x4b4cb4
call fcn.00403db0
jmp 0x4b4dfa
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 8
je 0x4b4d82
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x4b4d08
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x4b4d08
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004b4c10
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004046ec
mov eax, dword [ebp - 0xc]
push eax
mov edi, dword [ebp - 4]
mov cl, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x4b4d41
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004b4c10
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004046ec
mov eax, dword [ebp - 0x14]
call fcn.0040482c
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x4b4ddd
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004b4c10
push dword [ebp - 0x20]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
push 0x4b4e30
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.004046ec
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004b4c30
jmp 0x4b4ddd
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x4b4da4
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x4b4da4
push ebx
mov edi, dword [ebp - 4]
mov cl, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x4b4dba
mov eax, ebx
call fcn.0040482c
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x4b4ddd
lea eax, [ebp - 0x24]
mov ecx, 0x4b4e30
mov edx, ebx
call fcn.00404678
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004b4c30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4dfa
mov eax, dword [ebp - 4]
call fcn.004b4fb0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4e1c
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.00404390
ret

Function at 0x4b590c
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004b63d8
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x4c95c4
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
shl eax, 2
mov ecx, 3
cdq
idiv ecx
mov edx, eax
add edx, 4
mov ecx, esi
xor eax, eax
call fcn.00404a1c
cmp byte [ebp - 1], 0
jne 0x4c9622
mov eax, esi
call fcn.00404884
mov dl, byte [ebp - 0xc]
dec edx
and dl, 0x3f
add dl, 0x21
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 2
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
mov edi, 2
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov al, byte [ebp - 1]
sub al, 1
jb 0x4c963b
sub al, 2
jb 0x4c9642
jmp 0x4c9647
mov ebx, 2
jmp 0x4c9647
mov ebx, 1
mov eax, esi
call fcn.00404884
mov byte [eax + ebx - 1], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x4c9729
test edi, edi
jle 0x4c96a3
mov eax, esi
call fcn.00404884
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shl eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and eax, edx
mov ecx, edi
shr eax, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
sub edi, 6
inc ebx
mov eax, esi
call fcn.00404884
mov byte [eax + ebx - 1], 0
jmp 0x4c971d
test edi, edi
jge 0x4c96e9
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, esi
call fcn.00404884
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shr eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
and al, byte [edx + ecx]
mov ecx, edi
shl al, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
mov eax, 8
sub eax, edi
mov edi, eax
inc dword [ebp - 0x10]
jmp 0x4c971d
mov eax, esi
call fcn.00404884
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dl, byte [edx + ecx]
and dl, 0x3f
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
or dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
inc dword [ebp - 0x10]
mov eax, esi
call fcn.00404884
mov byte [eax + ebx - 1], 0
mov edi, 2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x4c965f
mov al, byte [ebp - 1]
sub al, 1
jb 0x4c9739
sub al, 2
jb 0x4c9772
jmp 0x4c97b9
cmp edi, 2
jne 0x4c973f
dec ebx
mov eax, ebx
sub eax, 2
jl 0x4c97b9
inc eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov eax, esi
call fcn.00404884
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x4f04a0]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4c974f
jmp 0x4c97b9
cmp edi, 2
jne 0x4c9778
dec ebx
test ebx, ebx
jle 0x4c97b4
mov dword [ebp - 0x14], ebx
mov edi, 1
mov eax, esi
call fcn.00404884
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x4f04a4]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4c9784
jmp 0x4c97b4
inc ebx
mov eax, esi
call fcn.00404884
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x4c97a7
mov eax, esi
mov edx, ebx
call fcn.004049b8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4c9e08
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], edx
mov esi, eax
mov edi, 0x4f04bc
cmp dword [esp], 0
je 0x4c9efa
mov ebx, esi
mov eax, dword [esp]
mov ebp, 3
xor edx, edx
div ebp
lea eax, [eax + eax*2]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add esi, eax
cmp esi, ebx
je 0x4c9e91
xor eax, eax
mov al, byte [ebx]
shl eax, 8
inc ebx
xor edx, edx
mov dl, byte [ebx]
or eax, edx
shl eax, 8
inc ebx
xor edx, edx
mov dl, byte [ebx]
or eax, edx
inc ebx
mov edx, eax
and edx, 0x3f
mov dl, byte [edi + edx]
mov byte [ecx + 3], dl
shr eax, 6
mov edx, eax
and edx, 0x3f
mov dl, byte [edi + edx]
mov byte [ecx + 2], dl
shr eax, 6
mov edx, eax
and edx, 0x3f
mov dl, byte [edi + edx]
mov byte [ecx + 1], dl
shr eax, 6
mov al, byte [edi + eax]
mov byte [ecx], al
add ecx, 4
cmp esi, ebx
jne 0x4c9e42
mov eax, dword [esp]
sub eax, dword [esp + 4]
dec eax
je 0x4c9ea0
dec eax
je 0x4c9ec4
jmp 0x4c9efa
xor eax, eax
mov al, byte [ebx]
shl eax, 4
mov edx, eax
and edx, 0x3f
mov dl, byte [edi + edx]
mov byte [ecx + 1], dl
shr eax, 6
mov al, byte [edi + eax]
mov byte [ecx], al
mov byte [ecx + 2], 0x3d
mov byte [ecx + 3], 0x3d
jmp 0x4c9efa
xor eax, eax
mov al, byte [ebx]
inc ebx
shl eax, 8
xor edx, edx
mov dl, byte [ebx]
or eax, edx
shl eax, 2
mov edx, eax
and edx, 0x3f
mov dl, byte [edi + edx]
mov byte [ecx + 2], dl
shr eax, 6
mov edx, eax
and edx, 0x3f
mov dl, byte [edi + edx]
mov byte [ecx + 1], dl
shr eax, 6
mov al, byte [edi + eax]
mov byte [ecx], al
mov byte [ecx + 3], 0x3d
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4cb004
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, edx
push esp
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.004045dc
add esp, 0x10c
pop ebx
ret

Function at 0x4ce750
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040482c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4ce769
test al, 0x10
jne 0x4ce76d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4ce774
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040482c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4ce78d
test al, 0x10
je 0x4ce791
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x4ce970
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4cea32
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404a78
mov dl, 1
mov eax, dword [0x43aca8]
call fcn.0043ae14
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cea15
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 4]
call fcn.0043aeb4
xor ecx, ecx
mov edx, 0x4cea48
mov eax, dword [ebp - 4]
call fcn.0043aff8
test al, al
je 0x4ce9f7
lea ecx, [ebp - 8]
mov edx, 0x4cea94
mov eax, dword [ebp - 4]
call fcn.0043b3a0
lea eax, [ebp - 8]
mov edx, 0x4ceaa4
call fcn.00404634
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00404bcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cea1c
mov eax, dword [ebp - 4]
call fcn.0043ae84
mov eax, dword [ebp - 4]
call fcn.00403538
ret
Function at 0x4d1614
Capabilities:
Inspect section memory permissions

Disassembly:
xor edx, edx
test byte [eax + 0x34c], 1
je 0x4d1627
or edx, 0x10000000
jmp 0x4d162d
or edx, 0x20000000
test byte [eax + 0x34c], 2
je 0x4d163e
or edx, 0x40000000
jmp 0x4d1644
or edx, 0x80000000
test byte [eax + 0x34c], 4
je 0x4d1652
or edx, 1
jmp 0x4d1655
or edx, 1
test byte [eax + 0x34c], 8
je 0x4d1663
or edx, 2
jmp 0x4d1666
or edx, 2
test byte [eax + 0x34c], 0x10
je 0x4d1674
or edx, 4
jmp 0x4d1677
or edx, 4
test byte [eax + 0x34c], 0x20
je 0x4d1685
or edx, 6
jmp 0x4d1688
or edx, 6
test byte [eax + 0x34c], 0x40
je 0x4d1696
or edx, 8
jmp 0x4d1699
or edx, 8
push edx
mov eax, dword [eax + 0x240]
push eax
call sub.shlwapi.dll_SHAutoComplete
ret

Function at 0x4dd120
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, eax
mov eax, ebx
call fcn.0040436c
mov dword [ebp - 4], 0x10
xor eax, eax
push ebp
push 0x4dd15e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x15]
push eax
call sub.kernel32.dll_GetComputerNameA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dd16f
mov edx, ebx
lea eax, [ebp - 0x15]
call fcn.00409a08
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4dd180
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040436c
mov dword [ebp - 8], 0xff
mov eax, dword [ebp - 8]
call fcn.00402804
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4dd1dd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_GetUserNameA
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404564
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd1e4
mov eax, dword [ebp - 4]
call fcn.00402824
ret
Function at 0x4dd3cc
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4dd4f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040436c
mov dword [ebp - 0x10], 0x1400
mov eax, dword [ebp - 0x10]
call fcn.00402804
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x41969c]
call fcn.00403508
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4dd4d9
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x4dd43c
call fcn.00403db0
jmp 0x4dd4e0
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebx + 0x190]
test esi, esi
jbe 0x4dd475
lea ecx, [ebp - 0x14]
mov edx, esi
lea eax, [ebx + 0x194]
call fcn.004dd350
mov edx, dword [ebp - 0x14]
mov eax, 0x4dd50c
call fcn.00404970
test eax, eax
jne 0x4dd475
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4dd43f
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4dd49f
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x90]
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040462c
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004049b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd4e0
lea eax, [ebp - 0x14]
call fcn.0040436c
mov eax, dword [ebp - 0xc]
call fcn.00402824
lea eax, [ebp - 8]
call fcn.0040e8f8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd4fd
lea eax, [ebp - 0x14]
call fcn.0040436c
ret