joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bced0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x543c6b
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x128], eax
push esi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x134]
mov dword fs:[0], eax
lea eax, [esp + 0x28]
push eax
push 0x104
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0x28]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4bcf36
sub eax, edx
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004790e0
mov dword [esp + 8], 0x4691e8
lea edx, [esp + 8]
push edx
mov ecx, esi
mov dword [esp + 0x140], 0
call fcn.004b5e20
cmp dword [esp + 0x24], 0x10
mov dword [esp + 8], 0x469080
jb 0x4bcf89
mov eax, dword [esp + 0x10]
push eax
call fcn.005265f5
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00526a8a
add esp, 0x138
ret
Function at 0x4beac0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
mov ebx, dword [esp + 0x20]
push esi
push edi
mov edi, dword [esp + 0x24]
mov esi, ecx
test edi, edi
je 0x4beb4c
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x4beb4c
cdq
and edx, 0xf
add eax, edx
push ebp
mov ebp, eax
sar ebp, 4
test ebp, ebp
jle 0x4beb4b
mov eax, dword [esi]
xor eax, dword [edi]
mov ecx, dword [edi + 4]
xor ecx, dword [esi + 4]
mov edx, dword [edi + 8]
xor edx, dword [esi + 8]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xc]
xor eax, dword [esi + 0xc]
mov dword [esp + 0x14], ecx
push esi
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
call fcn.004be2d0
mov edx, dword [esi]
mov dword [ebx], edx
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [ebx + 0xc], edx
dec ebp
add edi, 0x10
add ebx, 0x10
test ebp, ebp
jg 0x4beaf7
pop ebp
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00526a8a
add esp, 0x14
ret 0xc

Function at 0x4beb60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
mov ebx, dword [esp + 0x24]
push esi
push edi
mov edi, dword [esp + 0x28]
mov esi, ecx
test edi, edi
je 0x4bec0e
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x4bec0e
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov dword [esp + 0xc], eax
test eax, eax
jle 0x4bec0e
push ebp
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.004be6c0
mov ebp, dword [esi + 0xc]
xor dword [esp + 0x20], ebp
mov ebp, dword [edi]
mov eax, dword [esp + 0x14]
xor eax, dword [esi]
mov ecx, dword [esp + 0x18]
xor ecx, dword [esi + 4]
mov edx, dword [esp + 0x1c]
xor edx, dword [esi + 8]
mov dword [esi], ebp
mov ebp, dword [edi + 4]
mov dword [esi + 4], ebp
mov ebp, dword [edi + 8]
mov dword [esi + 8], ebp
mov ebp, dword [edi + 0xc]
mov dword [esi + 0xc], ebp
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x20]
mov dword [ebx + 8], edx
dec eax
mov dword [ebx + 0xc], ecx
add ebx, 0x10
add edi, 0x10
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], eax
test eax, eax
jg 0x4beba1
pop ebp
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00526a8a
add esp, 0x18
ret 0xc
Function at 0x4bec30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
mov esi, dword [esp + 0x38]
mov ebx, ecx
test esi, esi
je 0x4bed6c
mov ecx, dword [esp + 0x40]
test ecx, ecx
jle 0x4bed6c
mov eax, ecx
cdq
and edx, 0xf
push edi
add eax, edx
mov edi, ecx
sar eax, 4
and edi, 0xf
cmp eax, 1
jle 0x4bec91
and ecx, 0xfffffff0
sub ecx, 0x10
push ecx
push ebp
mov dword [esp + 0x18], ecx
push esi
mov ecx, ebx
call fcn.004beac0
mov eax, dword [esp + 0x10]
add esi, eax
add ebp, eax
mov eax, dword [esi]
xor eax, dword [ebx]
mov ecx, dword [esi + 4]
xor ecx, dword [ebx + 4]
mov edx, dword [esi + 8]
xor edx, dword [ebx + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
xor eax, dword [ebx + 0xc]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], edx
push ecx
mov edx, ecx
push edx
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.004be2d0
test edi, edi
je 0x4bed37
push edi
add esi, 0x10
lea eax, [esp + 0x28]
push esi
push eax
call fcn.00526df0
push edi
lea ecx, [esp + 0x24]
push ecx
lea edx, [ebp + 0x10]
push edx
call fcn.00526df0
add esp, 0x18
xor eax, eax
test edi, edi
jle 0x4becfe
mov cl, byte [esp + eax + 0x24]
xor byte [esp + eax + 0x14], cl
inc eax
cmp eax, edi
jl 0x4becf1
push ebx
lea edx, [esp + 0x18]
push edx
mov ecx, ebx
call fcn.004be2d0
mov eax, dword [ebx]
mov dword [ebp], eax
mov ecx, dword [ebx + 4]
mov dword [ebp + 4], ecx
mov edx, dword [ebx + 8]
mov dword [ebp + 8], edx
mov eax, dword [ebx + 0xc]
pop edi
pop esi
mov dword [ebp + 0xc], eax
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00526a8a
add esp, 0x28
ret 0xc
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov dword [ebp], ecx
mov ecx, dword [ebp - 4]
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x14]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x18]
mov dword [ebp - 0x10], edx
mov edx, dword [esp + 0x20]
mov dword [ebp + 0xc], ecx
mov ecx, dword [esp + 0x1c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
pop edi
mov ecx, dword [esp + 0x30]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00526a8a
add esp, 0x28
ret 0xc
Function at 0x4bed80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov ebx, dword [esp + 0x30]
push ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 8], ecx
test ebx, ebx
je 0x4bee85
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x4bee85
push esi
mov esi, eax
and esi, 0xf
jne 0x4bedbd
mov esi, 0x10
cmp eax, 0x20
push edi
jle 0x4bede5
mov edx, esi
sub edx, 0x10
neg edx
sbb edx, edx
and edx, 0xfffffff0
add edx, 0x20
and eax, 0xfffffff0
sub eax, edx
mov edi, eax
push edi
push ebp
push ebx
call fcn.004beb60
add ebx, edi
add ebp, edi
push esi
lea eax, [ebx + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00526df0
mov edi, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x24]
push edx
push ebx
mov ecx, edi
call fcn.004be6c0
xor eax, eax
test esi, esi
jle 0x4bee1d
mov edi, edi
mov cl, byte [esp + eax + 0x14]
xor byte [esp + eax + 0x24], cl
inc eax
cmp eax, esi
jl 0x4bee10
push esi
lea edx, [esp + 0x28]
push edx
lea eax, [ebp + 0x10]
push eax
call fcn.00526df0
add esp, 0xc
test esi, esi
je 0x4bee83
mov ecx, 0x10
sub ecx, esi
push ecx
lea edx, [esp + esi + 0x28]
push edx
lea eax, [esp + esi + 0x1c]
push eax
call fcn.00526df0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov edx, ecx
push edx
mov ecx, edi
call fcn.004be6c0
mov eax, dword [edi]
xor eax, dword [esp + 0x14]
mov dword [ebp], eax
mov ecx, dword [edi + 4]
xor ecx, dword [esp + 0x18]
mov dword [ebp + 4], ecx
mov edx, dword [edi + 8]
xor edx, dword [esp + 0x1c]
mov dword [ebp + 8], edx
mov eax, dword [edi + 0xc]
xor eax, dword [esp + 0x20]
mov dword [ebp + 0xc], eax
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
pop ebp
pop ebx
xor ecx, esp
call fcn.00526a8a
add esp, 0x28
ret 0xc
Function at 0x4beea0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
mov ebx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x2c]
push edi
mov edi, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], ecx
test ebx, ebx
je 0x4befde
test ecx, ecx
jle 0x4befde
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
push ebp
mov ebp, eax
sar ebp, 4
test ebp, ebp
jle 0x4bef3e
lea eax, [esp + 0x18]
push eax
push edi
mov ecx, edi
call fcn.004be2d0
mov ecx, dword [ebx]
xor ecx, dword [esp + 0x18]
dec ebp
mov dword [esi], ecx
mov edx, dword [ebx + 4]
xor edx, dword [esp + 0x1c]
add esi, 0x10
mov dword [esi - 0xc], edx
mov eax, dword [ebx + 8]
xor eax, dword [esp + 0x20]
add ebx, 0x10
mov dword [esi - 8], eax
mov ecx, dword [ebx - 4]
xor ecx, dword [esp + 0x24]
mov dword [esi - 4], ecx
mov edx, dword [esi - 0x10]
mov dword [edi], edx
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov ecx, dword [esi - 8]
mov dword [edi + 8], ecx
mov edx, dword [esi - 4]
mov dword [edi + 0xc], edx
test ebp, ebp
jg 0x4beee5
mov ecx, dword [esp + 0x10]
mov ebp, ecx
and ebp, 0xf
je 0x4befdd
lea eax, [esp + 0x18]
push eax
push edi
mov ecx, edi
call fcn.004be2d0
xor ecx, ecx
test ebp, ebp
jle 0x4bef85
lea edx, [esp + 0x18]
sub ebx, edx
mov edx, esi
lea eax, [esp + 0x18]
mov dword [esp + 0x14], ebx
sub edx, eax
jmp 0x4bef74
mov ebx, dword [esp + 0x14]
lea eax, [esp + ecx + 0x18]
mov bl, byte [ebx + eax]
xor bl, byte [eax]
inc ecx
cmp ecx, ebp
mov byte [edx + eax], bl
jl 0x4bef70
add esi, ebp
mov ebp, dword [esp + 0x10]
cmp ebp, 0x10
jge 0x4befc6
mov ebx, 0x10
sub ebx, ebp
push ebx
lea ecx, [edi + ebp]
push ecx
push edi
call fcn.00529380
push ebp
sub esi, ebp
push esi
add edi, ebx
push edi
call fcn.00526df0
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00526a8a
add esp, 0x1c
ret 0xc
mov edx, dword [esi - 0x10]
mov dword [edi], edx
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov ecx, dword [esi - 8]
mov dword [edi + 8], ecx
mov edx, dword [esi - 4]
mov dword [edi + 0xc], edx
pop ebp
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00526a8a
add esp, 0x1c
ret 0xc
Function at 0x4bf000
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov ebx, dword [esp + 0x38]
push ebp
mov ebp, dword [esp + 0x38]
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, ecx
test esi, esi
je 0x4bf142
test ebx, ebx
jle 0x4bf142
cmp ebx, 0x10
jge 0x4bf064
mov eax, 0x10
sub eax, ebx
push eax
mov dword [esp + 0x14], eax
lea eax, [ebx + edi]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00526df0
mov edx, dword [esp + 0x1c]
push ebx
lea eax, [esp + edx + 0x24]
push esi
push eax
call fcn.00526df0
add esp, 0x18
jmp 0x4bf084
mov ecx, dword [ebx + esi - 0x10]
mov edx, dword [ebx + esi - 0xc]
mov eax, dword [ebx + esi - 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + esi - 4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov eax, ebx
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov dword [esp + 0x10], eax
test eax, eax
jle 0x4bf0f4
lea edx, [esp + 0x24]
push edx
push edi
mov ecx, edi
call fcn.004be2d0
mov eax, dword [esi]
mov dword [edi], eax
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov edx, dword [esi + 8]
mov dword [edi + 8], edx
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov ecx, dword [esi]
xor ecx, dword [esp + 0x24]
add ebp, 0x10
mov dword [ebp - 0x10], ecx
mov edx, dword [esi + 4]
xor edx, dword [esp + 0x28]
add esi, 0x10
mov dword [ebp - 0xc], edx
mov eax, dword [esi - 8]
xor eax, dword [esp + 0x2c]
mov dword [ebp - 8], eax
mov ecx, dword [esi - 4]
xor ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
dec eax
mov dword [ebp - 4], ecx
mov dword [esp + 0x10], eax
test eax, eax
jg 0x4bf097
and ebx, 0xf
je 0x4bf127
lea edx, [esp + 0x24]
push edx
push edi
mov ecx, edi
call fcn.004be2d0
xor ecx, ecx
test ebx, ebx
jle 0x4bf127
lea eax, [esp + 0x24]
mov edx, eax
sub esi, eax
sub ebp, edx
lea eax, [esp + ecx + 0x24]
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc ecx
cmp ecx, ebx
mov byte [eax + ebp], dl
jl 0x4bf116
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [edi], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00526a8a
add esp, 0x28
ret 0xc
Function at 0x4bf160
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x28
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
mov ebp, ecx
mov edx, dword [ebp + 0x100]
sub edx, 6
push esi
push edi
test edx, edx
jle 0x4bf18d
mov esi, dword [esp + 0x3c]
mov ecx, edx
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
xor ecx, ecx
xor eax, eax
test edx, edx
jle 0x4bf1d3
jmp 0x4bf1a0
cmp esi, dword [ebp + 0x100]
jg 0x4bf302
cmp eax, edx
jge 0x4bf1c7
cmp ecx, 4
jge 0x4bf1ca
mov ebx, dword [esp + eax*4 + 0x14]
lea edi, [ecx + esi*4 + 4]
inc eax
inc ecx
cmp eax, edx
mov dword [ebp + edi*4], ebx
jl 0x4bf1b0
cmp ecx, 4
jne 0x4bf1cf
inc esi
xor ecx, ecx
cmp eax, edx
jl 0x4bf1a0
cmp esi, dword [ebp + 0x100]
jg 0x4bf302
mov dword [esp + 0x10], 0x460b38
jmp 0x4bf1f0
movzx edi, byte [esp + edx*4 + 0x11]
mov al, byte [esp + 0x14]
xor al, byte [edi + 0x45d938]
mov byte [esp + 0x14], al
movzx edi, byte [esp + edx*4 + 0x12]
movzx ebx, byte [edi + 0x45d938]
xor byte [esp + 0x15], bl
movzx edi, byte [esp + edx*4 + 0x13]
movzx ebx, byte [edi + 0x45d938]
xor byte [esp + 0x16], bl
movzx edi, byte [esp + edx*4 + 0x10]
movzx ebx, byte [edi + 0x45d938]
mov edi, dword [esp + 0x10]
xor al, byte [edi]
xor byte [esp + 0x17], bl
inc edi
mov byte [esp + 0x14], al
mov dword [esp + 0x10], edi
mov eax, 1
cmp edx, 8
je 0x4bf260
cmp edx, eax
jle 0x4bf2c1
mov edi, dword [esp + eax*4 + 0x10]
xor dword [esp + eax*4 + 0x14], edi
inc eax
cmp eax, edx
jl 0x4bf250
jmp 0x4bf2c1
mov edi, dword [esp + eax*4 + 0x10]
xor dword [esp + eax*4 + 0x14], edi
inc eax
cmp eax, 4
jl 0x4bf260
movzx eax, byte [esp + 0x20]
movzx eax, byte [eax + 0x45d938]
xor byte [esp + 0x24], al
movzx eax, byte [esp + 0x21]
movzx eax, byte [eax + 0x45d938]
xor byte [esp + 0x25], al
movzx eax, byte [esp + 0x22]
movzx eax, byte [eax + 0x45d938]
xor byte [esp + 0x26], al
movzx eax, byte [esp + 0x23]
movzx eax, byte [eax + 0x45d938]
xor byte [esp + 0x27], al
mov eax, 5
mov edi, dword [esp + eax*4 + 0x10]
xor dword [esp + eax*4 + 0x14], edi
inc eax
cmp eax, 8
jl 0x4bf2b3
xor eax, eax
test edx, edx
jle 0x4bf2f6
cmp esi, dword [ebp + 0x100]
jg 0x4bf302
cmp eax, edx
jge 0x4bf2ea
cmp ecx, 4
jge 0x4bf2ed
mov ebx, dword [esp + eax*4 + 0x14]
lea edi, [ecx + esi*4 + 4]
inc eax
inc ecx
cmp eax, edx
mov dword [ebp + edi*4], ebx
jl 0x4bf2d3
cmp ecx, 4
jne 0x4bf2f2
inc esi
xor ecx, ecx
cmp eax, edx
jl 0x4bf2c7
cmp esi, dword [ebp + 0x100]
jle 0x4bf1f0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00526a8a
add esp, 0x28
ret 4
Function at 0x4bf320
Capabilities:
Encode data using xor

Disassembly:
mov edx, 1
cmp dword [ecx + 0x100], edx
jle 0x4bf40d
push esi
lea eax, [ecx + 0x22]
push edi
jmp 0x4bf340
movzx esi, byte [eax + 1]
mov esi, dword [esi*4 + 0x460738]
movzx edi, byte [eax - 1]
xor esi, dword [edi*4 + 0x45ff38]
movzx edi, byte [eax]
xor esi, dword [edi*4 + 0x460338]
movzx edi, byte [eax - 2]
xor esi, dword [edi*4 + 0x45fb38]
inc edx
mov dword [eax - 2], esi
movzx esi, byte [eax + 5]
mov esi, dword [esi*4 + 0x460738]
movzx edi, byte [eax + 4]
xor esi, dword [edi*4 + 0x460338]
movzx edi, byte [eax + 3]
xor esi, dword [edi*4 + 0x45ff38]
movzx edi, byte [eax + 2]
xor esi, dword [edi*4 + 0x45fb38]
add eax, 0x10
mov dword [eax - 0xe], esi
movzx esi, byte [eax - 7]
mov esi, dword [esi*4 + 0x460738]
movzx edi, byte [eax - 8]
xor esi, dword [edi*4 + 0x460338]
movzx edi, byte [eax - 9]
xor esi, dword [edi*4 + 0x45ff38]
movzx edi, byte [eax - 0xa]
xor esi, dword [edi*4 + 0x45fb38]
mov dword [eax - 0xa], esi
movzx esi, byte [eax - 3]
movzx edi, byte [eax - 4]
mov esi, dword [esi*4 + 0x460738]
xor esi, dword [edi*4 + 0x460338]
movzx edi, byte [eax - 5]
xor esi, dword [edi*4 + 0x45ff38]
movzx edi, byte [eax - 6]
xor esi, dword [edi*4 + 0x45fb38]
mov dword [eax - 6], esi
cmp edx, dword [ecx + 0x100]
jl 0x4bf340
pop edi
pop esi
ret

Function at 0x4c02b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
mov eax, dword [ecx]
test edx, edx
je 0x4c02dc
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
movzx edi, byte [esi]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x460f48]
dec edx
inc esi
test edx, edx
jne 0x4c02c1
pop edi
pop esi
pop ebx
mov dword [ecx], eax
ret 8
Function at 0x4c2e70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x54434c
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.00526466
xor eax, eax
mov dword [esi], 0x469494
mov byte [esi + 0xc], al
mov dword [esi + 0x10], eax
mov ecx, 0xf
mov dword [esi + 0x30], ecx
mov dword [esi + 0x2c], eax
mov ebx, 0x469080
mov byte [esi + 0x1c], al
mov dword [esp + 0x3c], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x50], ecx
mov dword [esi + 0x4c], eax
mov byte [esi + 0x3c], al
mov dword [esi + 0x34], ebx
mov dword [esi + 0x70], ecx
mov dword [esi + 0x6c], eax
mov byte [esi + 0x5c], al
mov dword [esi + 0x54], ebx
lea edi, [esi + 0x74]
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x18], eax
mov byte [edi + 8], al
mov dword [edi], ebx
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x40], 4
call fcn.004df400
add esp, 4
push eax
mov ecx, edi
mov byte [esp + 0x40], 5
call fcn.004b5e20
cmp dword [esp + 0x30], 0x10
mov dword [esp + 0x14], ebx
jb 0x4c2f32
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.005265f5
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret

Function at 0x4c3380
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x544454
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.005264e7
xor eax, eax
mov dword [esi], 0x469494
mov edx, 0xf
mov dword [esi + 0x30], edx
mov dword [esi + 0x2c], eax
mov ecx, 0x469080
mov byte [esi + 0x1c], al
mov dword [esp + 0x18], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x50], edx
mov dword [esi + 0x4c], eax
mov byte [esi + 0x3c], al
mov dword [esi + 0x34], ecx
mov dword [esi + 0x70], edx
mov dword [esi + 0x6c], eax
mov byte [esi + 0x5c], al
mov dword [esi + 0x54], ecx
mov dword [esi + 0x90], edx
mov dword [esi + 0x8c], eax
mov byte [esi + 0x7c], al
mov dword [esi + 0x74], ecx
push edi
mov ecx, esi
mov byte [esp + 0x1c], 4
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
call fcn.004c3290
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4cc430
Capabilities:
Encode data using xor
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push edi
mov edi, ecx
mov al, byte [edi + 0x1bc]
xor ebx, ebx
cmp al, bl
jne 0x4cc5ce
push esi
push 0x100
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.00526600
add esp, 0xc
push 0xff
lea ecx, [esp + 0x14]
push ecx
push 0x46ca40
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
cmp esi, ebx
je 0x4cc5cb
cmp esi, 0x20
jae 0x4cc5cb
mov ecx, 0x46ca38
lea eax, [esp + 0x10]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4cc4c0
cmp dl, bl
je 0x4cc4bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4cc4c0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4cc4a0
xor eax, eax
jmp 0x4cc4c5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4cc5cb
mov ecx, 0x46ca30
lea eax, [esp + 0x10]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4cc4f6
cmp dl, bl
je 0x4cc4f2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4cc4f6
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4cc4d6
xor eax, eax
jmp 0x4cc4fb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4cc5cb
push 8
lea edx, [esp + 0x14]
push 0x46ca24
push edx
call fcn.0052865a
add esp, 0xc
test eax, eax
jne 0x4cc57f
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push 0x46ca18
push ecx
mov dword [esp + 0x18], ebx
call fcn.00529f8d
add esp, 0xc
cmp eax, 1
jne 0x4cc55d
mov edx, dword [esp + 0xc]
lea eax, [edx + 1]
and eax, 0x800000ff
jns 0x4cc550
dec eax
or eax, 0xffffff00
inc eax
movzx ax, byte [eax + 0x461708]
movzx ebx, ax
jmp 0x4cc59f
xor eax, eax
cmp esi, ebx
jbe 0x4cc5a6
movsx ecx, byte [esp + eax + 0x10]
movzx edx, bx
xor ecx, edx
movzx cx, byte [ecx + 0x461708]
inc eax
movzx ebx, cx
cmp eax, esi
jb 0x4cc563
jmp 0x4cc59f
xor eax, eax
cmp esi, ebx
jbe 0x4cc5a6
movsx edx, byte [esp + eax + 0x10]
movzx ecx, bx
xor edx, ecx
movzx dx, byte [edx + 0x461708]
inc eax
movzx ebx, dx
cmp eax, esi
jb 0x4cc585
xor eax, eax
cmp ax, bx
jne 0x4cc5ab
mov ebx, 0xff
pop esi
mov byte [edi + 0x1bc], bl
pop edi
mov al, bl
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00526a8a
add esp, 0x108
ret
xor al, al
pop esi
mov ecx, dword [esp + 0x10c]
pop edi
pop ebx
xor ecx, esp
call fcn.00526a8a
add esp, 0x108
ret

Function at 0x4cd640
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x545178
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x46cbe0
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x14], 0
test eax, eax
je 0x4cd68c
cmp dword [esi + 0x30], 0
je 0x4cd68c
push eax
call fcn.00526d54
add esp, 4
mov ecx, esi
mov dword [esi + 0x3c], 0
mov dword [esi + 0x30], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004eda30
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret