joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48bc8c
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.0048ba40
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x48bca8
mov bl, 0x1c
mov esi, str.91__
lea edi, [ebp - 0x41]
movzx edx, byte [esi]
mov eax, dword [ebp - 8]
call fcn.0048ba40
mov byte [edi], al
movzx edx, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.0048ba40
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x48bcc4
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.0048bc20
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x48bcee
mov bl, 1
mov eax, 0x4fa2b0
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x48bd27
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x48bd34
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x48bd13
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x48bd5e
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.0048baa8
jmp 0x48bd85
movzx eax, 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.0048baa8
mov bl, 0x20
lea eax, [ebp - 0xa1]
movzx edx, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x48bd8d
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 0x48bd46
mov bl, 0x40
mov esi, 0x4fa2f0
lea eax, [ebp - 0x3e1]
movzx edx, byte [esi]
cmp dl, 0x20
ja 0x48bdf3
movzx edx, dl
movzx edx, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x48be00
movzx edx, dl
movzx edx, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x48bddc
mov bl, 1
lea esi, [ebp - 0x3e1]
movzx ecx, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.0048ba68
inc ebx
inc esi
cmp bl, 0x41
jne 0x48be0e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x48c96c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, ecx
mov dword [esp], edx
mov esi, eax
movzx edx, byte [esi]
mov byte [esp + 4], dl
shl edx, 7
and dl, 0xff
movzx eax, byte [esi + 1]
movzx ecx, al
shr ecx, 1
or dl, cl
mov byte [esp + 5], dl
shl eax, 6
and al, 0xff
movzx edx, byte [esi + 2]
movzx ecx, dl
shr ecx, 2
or al, cl
mov byte [esp + 6], al
shl edx, 5
and dl, 0xff
movzx eax, byte [esi + 3]
movzx ecx, al
shr ecx, 3
or dl, cl
mov byte [esp + 7], dl
shl eax, 4
and al, 0xff
movzx edx, byte [esi + 4]
shr edx, 4
or al, dl
mov byte [esp + 8], al
movzx eax, byte [esi + 4]
add eax, eax
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 5]
shr edx, 5
or al, dl
mov byte [esp + 9], al
movzx eax, byte [esi + 5]
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [esp + 0xa], al
movzx eax, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [esp + 0xb], al
mov ebp, 8
lea eax, [esp + 4]
mov edx, 1
xor esi, esi
mov ecx, edx
movzx ebx, byte [eax]
shl ebx, cl
mov ecx, ebx
xor ecx, esi
and ecx, 1
mov esi, ecx
inc edx
cmp edx, 8
jne 0x48ca1d
movzx edx, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec ebp
jne 0x48ca18
mov eax, edi
xor ecx, ecx
mov edx, 8
call fcn.00405818
push 1
mov eax, edi
call fcn.004057ac
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.0048bc8c
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x493ddc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, eax
mov byte [esp], 0
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, 1
jmp 0x493dfd
inc edi
mov eax, esi
call fcn.00405338
cmp edi, eax
jg 0x493e0f
cmp byte [esi + edi - 1], 0x20
je 0x493dfc
mov eax, esi
test eax, eax
je 0x493e1a
sub eax, 4
mov eax, dword [eax]
cmp eax, edi
jl 0x493edc
cmp byte [esi + edi - 1], 0x2e
je 0x493f00
jmp 0x493edc
cmp byte [esi + edi - 1], 0x2e
jne 0x493e84
inc dword [esp + 4]
cmp dword [esp + 4], 3
jg 0x493f00
cmp dword [esp + 8], 0xff
jg 0x493f00
xor eax, eax
mov dword [esp + 8], eax
mov ebp, esi
test ebp, ebp
je 0x493e68
sub ebp, 4
mov ebp, dword [ebp]
cmp ebp, edi
jg 0x493e70
mov bl, 1
jmp 0x493e7e
movzx eax, byte [esi + edi]
add al, 0xd0
sub al, 0xa
setb bl
xor bl, 1
test bl, bl
jne 0x493f00
jmp 0x493edb
movzx eax, byte [esi + edi - 1]
add al, 0xd0
sub al, 0xa
jae 0x493ea9
mov eax, dword [esp + 8]
add eax, eax
lea eax, [eax + eax*4]
movzx edx, byte [esi + edi - 1]
add eax, edx
sub eax, 0x30
mov dword [esp + 8], eax
jmp 0x493edb
inc edi
mov eax, esi
call fcn.00405338
cmp edi, eax
jg 0x493ebb
cmp byte [esi + edi - 1], 0x20
je 0x493ea8
mov dword [esp + 0xc], esi
cmp dword [esp + 0xc], 0
je 0x493ed3
mov eax, dword [esp + 0xc]
sub eax, 4
mov eax, dword [eax]
mov dword [esp + 0xc], eax
cmp edi, dword [esp + 0xc]
jle 0x493f00
jmp 0x493eeb
inc edi
mov eax, esi
call fcn.00405338
cmp edi, eax
jle 0x493e32
cmp dword [esp + 4], 3
jne 0x493f00
cmp dword [esp + 8], 0xff
jg 0x493f00
mov byte [esp], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ae774
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ae87f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x69c], 0
je 0x4ae7c7
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x4ae7c7
inc eax
xor edx, edx
mov ecx, dword [ebp - 0xc]
lea esi, [ecx + edx]
movzx ecx, byte [ebx + 0x69c]
xor byte [esi], cl
inc edx
dec eax
jne 0x4ae7b4
lea edx, [ebp - 4]
mov ecx, dword [ebp - 8]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xd8]
mov esi, eax
mov dl, 9
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x94]
test al, al
je 0x4ae861
inc dword [0x4fa7dc]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x44]
mov edx, 8
mov eax, ebx
call fcn.0040c65c
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0x11
mov eax, dword [ebx + 0x4b4]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x1c], 0
mov eax, dword [0x4fa7dc]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x40]
mov ecx, 5
mov eax, 0x4ae89c
call fcn.0040dc1c
mov ecx, dword [ebp - 0x10]
mov dl, 9
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x90]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae886
lea eax, [ebp - 0x44]
call fcn.00405bb4
lea eax, [ebp - 0x10]
call fcn.00405bb4
ret
Function at 0x4c5370
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

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]
add eax, eax
add eax, eax
mov ecx, 3
cdq
idiv ecx
mov edx, eax
add edx, 4
mov ecx, esi
xor eax, eax
call fcn.004058b0
cmp byte [ebp - 1], 0
jne 0x4c53d0
mov eax, esi
call fcn.004057ac
movzx edx, 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
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x4c53ea
sub al, 2
jb 0x4c53f1
jmp 0x4c53f6
mov ebx, 2
jmp 0x4c53f6
mov ebx, 1
mov eax, esi
call fcn.004057ac
mov byte [eax + ebx - 1], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x4c54da
test edi, edi
jle 0x4c5452
mov eax, esi
call fcn.004057ac
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.004057ac
mov byte [eax + ebx - 1], 0
jmp 0x4c54ce
test edi, edi
jge 0x4c5498
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, esi
call fcn.004057ac
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 0x4c54ce
mov eax, esi
call fcn.004057ac
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and dl, 0x3f
mov ecx, dword [esi]
movzx ecx, byte [ecx + ebx - 1]
or dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
inc dword [ebp - 0x10]
mov eax, esi
call fcn.004057ac
mov byte [eax + ebx - 1], 0
mov edi, 2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x4c540e
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x4c54eb
sub al, 2
jb 0x4c5525
jmp 0x4c556d
cmp edi, 2
jne 0x4c54f1
dec ebx
mov eax, ebx
sub eax, 2
jl 0x4c556d
inc eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov eax, esi
call fcn.004057ac
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x4fa80c]
movzx edx, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4c5501
jmp 0x4c556d
cmp edi, 2
jne 0x4c552b
dec ebx
test ebx, ebx
jle 0x4c5568
mov dword [ebp - 0x14], ebx
mov edi, 1
mov eax, esi
call fcn.004057ac
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x4fa810]
movzx edx, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4c5537
jmp 0x4c5568
inc ebx
mov eax, esi
call fcn.004057ac
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x4c555b
mov eax, esi
xor ecx, ecx
mov edx, ebx
call fcn.00405818
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4c6c2c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405bac
mov eax, dword [ebp + 0x10]
call fcn.00405bac
mov eax, dword [ebp + 0xc]
call fcn.00405bac
xor eax, eax
push ebp
push 0x4c6eae
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.0040b9d8
mov edx, dword [ebp - 0x50]
mov eax, 0x4c6ecc
call fcn.00406670
dec eax
jne 0x4c6cc5
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4bc6c4]
call fcn.004bcbf4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x4910d8]
call fcn.004a3688
mov edx, eax
mov esi, dword [ebp - 0xc]
mov eax, esi
call fcn.004c5b58
mov eax, esi
call fcn.004c5b4c
call fcn.004a7a78
jmp 0x4c6cd6
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4bb7d4]
call fcn.004bcbf4
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4c6e72
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4fa820], 0
je 0x4c6d43
mov eax, dword [ebp - 0xc]
add eax, 0x90
mov edx, dword [0x4fa820]
call fcn.00405bc4
lea edx, [ebp - 0x54]
mov eax, dword [0x4fa824]
call fcn.0040c428
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0xc]
add eax, 0x94
call fcn.00405bc4
mov eax, dword [ebp - 0xc]
add eax, 0xa8
mov edx, dword [0x4fa828]
call fcn.00405bc4
mov eax, dword [ebp - 0xc]
add eax, 0xac
mov edx, dword [0x4fa82c]
call fcn.00405bc4
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x40
call fcn.00403638
push 0x20
lea eax, [ebp - 0x4c]
push eax
push 0x59
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
lea eax, [ebp - 8]
lea edx, [ebp - 0x4c]
mov ecx, 0x20
call fcn.00405dac
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x40
call fcn.00403638
push 0x20
lea eax, [ebp - 0x4c]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
push dword [ebp - 8]
push 0x4c6eec
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x4c]
mov ecx, 0x20
call fcn.00405dac
push dword [ebp - 0x58]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00406164
push 0
push 0
mov eax, ebx
call fcn.004257f8
cmp dword [ebp + 0xc], 0
je 0x4c6dde
mov eax, dword [ebp - 0xc]
add eax, 0xfc
mov edx, dword [ebp + 0xc]
call fcn.00405bc4
cmp dword [ebp + 0x10], 0
je 0x4c6df4
mov eax, dword [ebp - 0xc]
add eax, 0x16c
mov edx, dword [ebp + 0x10]
call fcn.00405bc4
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [eax + 0x37c], edx
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x1a0], ebx
mov eax, dword [ebp - 0xc]
add eax, 0x118
mov edx, dword [ebp - 8]
call fcn.00405bc4
mov eax, dword [ebp - 0xc]
add eax, 0xec
mov edx, dword [ebp - 4]
call fcn.00405bc4
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x188], edi
xor eax, eax
push ebp
push 0x4c6e52
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.004c524c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c6e5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6e79
mov eax, dword [ebp - 0xc]
call fcn.00403d70
ret
Function at 0x4d1020
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405bac
xor eax, eax
push ebp
push 0x4d126f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0040b9d8
mov edx, dword [ebp - 0x5c]
mov eax, 0x4d1290
call fcn.00406670
dec eax
jne 0x4d10a8
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4bc6c4]
call fcn.004bcbf4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x4910d8]
call fcn.004a3688
mov edx, eax
mov ebx, dword [ebp - 0x18]
mov eax, ebx
call fcn.004c5b58
mov eax, ebx
call fcn.004c5b4c
call fcn.004a7a78
jmp 0x4d10b9
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4bb7d4]
call fcn.004bcbf4
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4d1240
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x40
call fcn.00403638
push 0x20
lea eax, [ebp - 0x58]
push eax
push 0x59
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
lea eax, [ebp - 8]
lea edx, [ebp - 0x58]
mov ecx, 0x20
call fcn.00405dac
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x40
call fcn.00403638
push 0x20
lea eax, [ebp - 0x58]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
push dword [ebp - 8]
push 0x4d12b0
lea eax, [ebp - 0x60]
lea edx, [ebp - 0x58]
mov ecx, 0x20
call fcn.00405dac
push dword [ebp - 0x60]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00406164
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x37c], edx
mov eax, dword [ebp - 0x18]
add eax, 0x118
mov edx, dword [ebp - 8]
call fcn.00405bc4
mov eax, dword [ebp - 0x18]
add eax, 0xec
mov edx, dword [ebp - 4]
call fcn.00405bc4
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x188], edx
xor eax, eax
push ebp
push 0x4d119c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
call fcn.004c5238
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d121e
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x12c]
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1247
mov eax, dword [ebp - 0x18]
call fcn.00403d70
ret
Function at 0x4d1304
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, eax
mov ebp, edx
xor ebx, ebx
xor edi, edi
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
test eax, eax
jle 0x4d139e
movzx edx, byte [esi + ebx]
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [ebp + edi], dl
movzx edx, byte [esi + ebx]
and dl, 3
movzx edx, dl
shl edx, 4
movzx ecx, byte [esi + ebx + 1]
shr ecx, 4
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
push edx
pop edx
mov byte [ebp + edi + 1], dl
movzx edx, byte [esi + ebx + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx ecx, byte [esi + ebx + 2]
shr ecx, 6
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
push edx
pop edx
mov byte [ebp + edi + 2], dl
movzx edx, byte [esi + ebx + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [ebp + edi + 3], dl
add edi, 4
add ebx, 3
dec eax
jne 0x4d1323
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x4d13b4
dec edx
je 0x4d13e9
jmp 0x4d143a
movzx eax, byte [esi + ebx]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [ebp + edi], al
movzx eax, byte [esi + ebx]
and al, 3
movzx eax, al
shl eax, 4
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [ebp + edi + 1], al
mov byte [ebp + edi + 2], 0x3d
mov byte [ebp + edi + 3], 0x3d
jmp 0x4d143a
movzx eax, byte [esi + ebx]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [ebp + edi], al
movzx eax, byte [esi + ebx]
and al, 3
movzx eax, al
shl eax, 4
movzx edx, byte [esi + ebx + 1]
shr edx, 4
add eax, edx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [ebp + edi + 1], al
movzx eax, byte [esi + ebx + 1]
and al, 0xf
movzx eax, al
add eax, eax
add eax, eax
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [ebp + edi + 2], al
mov byte [ebp + edi + 3], 0x3d
mov eax, dword [esp]
add eax, 2
mov ecx, 3
cdq
idiv ecx
add eax, eax
add eax, eax
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4d14ac
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], ecx
mov edi, eax
mov dword [esp + 8], edx
xor esi, esi
xor ebp, ebp
xor eax, eax
mov edx, dword [esp]
test edx, edx
jns 0x4d14cb
add edx, 3
sar edx, 2
test edx, edx
jle 0x4d15d9
mov dword [esp + 0xc], edx
mov edx, 4
lea eax, [esp + 4]
movzx ecx, byte [edi + esi]
cmp ecx, 0x3d
jg 0x4d1500
je 0x4d1543
sub ecx, 0x2b
je 0x4d1539
sub ecx, 4
je 0x4d153e
dec ecx
sub ecx, 0xa
jb 0x4d152b
jmp 0x4d1546
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x4d1512
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x4d151d
jmp 0x4d1546
movzx ecx, byte [edi + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x4d1546
movzx ecx, byte [edi + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x4d1546
movzx ecx, byte [edi + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x4d1546
mov byte [eax], 0x3e
jmp 0x4d1546
mov byte [eax], 0x3f
jmp 0x4d1546
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x4d14e3
movzx eax, byte [esp + 4]
add eax, eax
add eax, eax
movzx edx, byte [esp + 5]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp], al
lea eax, [ebp + 1]
movzx edx, byte [esp + 6]
cmp dl, 0xff
je 0x4d1597
cmp byte [esp + 7], 0xff
jne 0x4d1597
movzx eax, byte [esp + 5]
shl eax, 4
movzx edx, dl
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
lea eax, [ebp + 2]
inc ebp
jmp 0x4d15ce
cmp dl, 0xff
je 0x4d15ce
movzx eax, byte [esp + 5]
shl eax, 4
movzx edx, dl
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
mov eax, dword [esp + 8]
movzx edx, byte [esp + 6]
shl edx, 6
or dl, byte [esp + 7]
mov byte [eax + ebp + 2], dl
lea eax, [ebp + 3]
add ebp, 2
inc ebp
dec dword [esp + 0xc]
jne 0x4d14da
add esp, 0x10
pop ebp
pop edi
pop esi
ret

Function at 0x4d2018
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x4d2039
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
movzx ebx, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x4d2026
pop edi
pop esi
pop ebx
ret

Function at 0x4d3060
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
movzx ebx, dl
dec ebx
test ebx, ebx
jb 0x4d30b4
inc ebx
xor edx, edx
mov ecx, edx
add ecx, ecx
add ecx, ecx
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x5001c0]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x5005c0]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x5009c0]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x500dc0]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x4d306e
pop edi
pop esi
pop ebx
ret
Function at 0x4d3bbc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405bac
xor eax, eax
push ebp
push 0x4d3d57
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
xor edx, edx
call fcn.00405c18
xor eax, eax
push ebp
push 0x4d3c28
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x420b74]
call fcn.00425cb4
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d3cd0
xor eax, eax
push ebp
push 0x4d3d28
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00425a9c
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.004257f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3d2f
mov eax, dword [ebp - 0x14]
call fcn.00403d70
cmp dword [ebp - 8], 0
je 0x4d3d27
mov eax, dword [ebp - 8]
call fcn.00405c50
push eax
call sub.kernel32.dll_DeleteFileW
ret

Function at 0x4d3ea4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, edx
mov ebx, eax
mov dl, 1
mov eax, dword [0x420c90]
call fcn.00403d40
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4d3f43
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
mov eax, ebx
call fcn.004257f8
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00425a9c
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 4]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
dec eax
test eax, eax
jl 0x4d3f04
inc eax
xor byte [ebx], 0x27
inc ebx
dec eax
jne 0x4d3efd
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004257f8
mov ecx, 0x4d3f60
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.004d3a40
mov dword [ebp - 4], eax
push 0
push 0
mov eax, esi
call fcn.004257f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3f4a
mov eax, dword [ebp - 8]
call fcn.00403d70
ret