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

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
push eax
mov ebx, ecx
call fcn.004a9af0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov esi, eax
mov eax, dword [esi]
mov edi, edx
sub edi, eax
lea eax, [eax + ecx + 2]
add esp, 4
dec edi
cmp edx, eax
jae 0x495b17
push 0xffffe003
call fcn.004207c0
add esp, 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
mov eax, edi
sub eax, ecx
mov dword [esp + 0x18], eax
add eax, ebp
push ecx
mov dword [esp + 0x14], eax
test ebx, ebx
jne 0x495b3f
push eax
call fcn.00493950
add esp, 8
test eax, eax
je 0x495b49
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push ebx
push eax
call fcn.0040dc50
add esp, 0xc
mov ecx, dword [esi + 4]
call ecx
mov ebx, eax
test ebx, ebx
jne 0x495b6c
push 0xffffe013
call fcn.004207c0
add esp, 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
mov edx, dword [esi + 0x10]
push ebx
call edx
mov eax, dword [esi + 0x14]
push 8
push 0x57b314
push ebx
call eax
mov ecx, dword [esi]
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 0x14]
push ecx
push edx
push ebx
call eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 0x14]
push ecx
push edx
push ebx
call eax
mov ecx, dword [esi]
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [edi + ebp]
push eax
mov eax, dword [esi + 0x18]
push ebx
call eax
mov ecx, dword [esi + 0xc]
push 1
push ebx
call ecx
mov edx, dword [esp + 0x58]
add esp, 0x40
dec edx
push edx
push 0
push ebp
call fcn.00412eb0
mov eax, dword [esp + 0x1c]
push edi
mov byte [eax - 1], 1
call fcn.00420e30
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x495b54
mov ecx, dword [esi]
push ecx
lea eax, [edi + ebp]
push eax
mov eax, dword [esp + 0x34]
push edi
push ebx
call fcn.00494f10
xor eax, eax
add esp, 0x10
mov dword [esp + 0x14], eax
test edi, edi
jbe 0x495c15
mov dl, byte [ebx + eax]
xor byte [eax + ebp], dl
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, edi
jb 0x495c02
push ebx
call fcn.00420770
and byte [ebp], 0x7f
mov eax, dword [esp + 0x28]
add esp, 4
pop edi
pop esi
mov byte [eax + ebp - 1], 0xbc
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x4a0f20
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
mov bl, byte [edx + 0x100]
push esi
mov esi, eax
mov al, byte [edx + 0x101]
mov byte [esp + 0xb], al
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x18], eax
jae 0x4a0f57
push 0xffffe003
call fcn.004207c0
add esp, 4
pop esi
or eax, 0xffffffff
pop ebx
add esp, 8
ret
test eax, eax
jbe 0x4a0fb3
mov ecx, dword [esp + 0x1c]
sub ecx, esi
push ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
push edi
jmp 0x4a0f70
mov al, byte [esp + 0x13]
inc bl
movzx ecx, bl
lea edi, [ecx + edx]
mov cl, byte [edi]
add al, cl
mov byte [esp + 0x13], al
movzx eax, al
lea ebp, [eax + edx]
mov al, byte [ebp]
mov byte [edi], al
add al, cl
mov byte [ebp], cl
movzx ecx, al
movzx eax, byte [ecx + edx]
mov ecx, dword [esp + 0x14]
xor al, byte [ecx + esi]
inc esi
sub dword [esp + 0x20], 1
mov byte [esi - 1], al
jne 0x4a0f70
mov eax, dword [esp + 0x28]
pop edi
pop ebp
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov al, byte [esp + 0xb]
pop esi
mov byte [edx + 0x100], bl
mov byte [edx + 0x101], al
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x4a2be0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push ebp
push esi
test ecx, ecx
je 0x4a2d03
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4a2d03
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x4a2d03
cmp ebp, 0x80
ja 0x4a2d03
mov ebx, dword [esp + 0x24]
cmp ebx, 0x80
ja 0x4a2d03
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4a2c81
cmp eax, 1
jne 0x4a2d03
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4a2d03
mov dword [esi + 0x88], 0x4a2930
mov dword [esi + 0x8c], 0x4a2a20
movzx edx, word [eax]
mov word [esi + 0x80], dx
movzx edx, word [eax + 2]
mov word [esi + 0x82], dx
movzx edx, word [eax + 4]
mov word [esi + 0x84], dx
mov ax, word [eax + 6]
mov word [esi + 0x86], ax
jmp 0x4a2c95
mov dword [esi + 0x88], 0x4a27d0
mov dword [esi + 0x8c], 0x4a2880
push edi
push ebp
push ecx
push esi
call fcn.0040dc50
mov cl, byte [esi + ebp - 1]
mov eax, 0x80
sub eax, ebp
add esp, 0xc
mov edi, esi
test eax, eax
jle 0x4a2cc8
mov dl, byte [edi]
add dl, cl
movzx ecx, dl
mov cl, byte [ecx + 0x5805a8]
mov byte [edi + ebp], cl
dec eax
inc edi
test eax, eax
jg 0x4a2cb2
mov eax, esi
sub eax, ebx
movzx edx, byte [eax + 0x80]
mov cl, byte [edx + 0x5805a8]
sub eax, 0xffffff80
mov byte [eax], cl
dec eax
lea edx, [eax + ebx]
cmp eax, esi
jb 0x4a2cfc
movzx edi, byte [edx]
movzx ecx, cl
xor ecx, edi
mov cl, byte [ecx + 0x5805a8]
mov byte [eax], cl
dec eax
dec edx
cmp eax, esi
jae 0x4a2ce6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0xffffe005
call fcn.004207c0
add esp, 4
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret

Function at 0x4a2d90
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push 0x128
push 0
push esi
call fcn.00412eb0
lea edi, [esi + 0x100]
add esp, 0xc
mov ecx, 8
mov esi, 0x580898
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
ret

Function at 0x4a5a40
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x130
mov eax, dword [0x59a024]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
mov ebx, dword [esp + 0x138]
push ebp
mov ebp, dword [esp + 0x140]
push esi
push edi
push 0x128
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00412eb0
mov ecx, 8
mov esi, 0x580898
lea edi, [esp + 0x120]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x158]
push ecx
lea edx, [esp + 0x24]
push ebp
push edx
call fcn.004a57e0
push 0x20
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ebx
push ecx
call fcn.004a58a0
mov ecx, dword [esp + 0x164]
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00409b58
add esp, 0x130
ret

Function at 0x4a5c60
Capabilities:
Hash data using sha512

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push 0x2c8
push 0
push esi
call fcn.00412eb0
lea edi, [esi + 0x280]
add esp, 0xc
mov ecx, 0x10
mov esi, 0x580b58
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
ret
Function at 0x4a7150
Capabilities:
Hash data using sha512

Disassembly:
sub esp, 0x2d0
mov eax, dword [0x59a024]
xor eax, esp
mov dword [esp + 0x2cc], eax
push ebx
mov ebx, dword [esp + 0x2d8]
push ebp
mov ebp, dword [esp + 0x2e0]
push esi
push edi
push 0x2c8
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00412eb0
mov ecx, 0x10
mov esi, 0x580b58
lea edi, [esp + 0x2a0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x2f8]
push ecx
lea edx, [esp + 0x24]
push ebp
push edx
call fcn.004a6e10
push 0x40
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ebx
push ecx
call fcn.004a6ed0
mov ecx, dword [esp + 0x304]
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00409b58
add esp, 0x2d0
ret

Function at 0x4a71e0
Capabilities:
Hash data using sha384

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push 0x2c8
push 0
push esi
call fcn.00412eb0
lea edi, [esi + 0x280]
add esp, 0xc
mov ecx, 0x10
mov esi, 0x580b98
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
ret

Function at 0x4a7260
Capabilities:
Hash data using sha384

Disassembly:
sub esp, 0x2d0
mov eax, dword [0x59a024]
xor eax, esp
mov dword [esp + 0x2cc], eax
push ebx
mov ebx, dword [esp + 0x2d8]
push ebp
mov ebp, dword [esp + 0x2e0]
push esi
push edi
push 0x2c8
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00412eb0
mov ecx, 0x10
mov esi, 0x580b98
lea edi, [esp + 0x2a0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x2f8]
push ecx
lea edx, [esp + 0x24]
push ebp
push edx
call fcn.004a6e10
push 0x30
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ebx
push ecx
call fcn.004a6ed0
mov ecx, dword [esp + 0x304]
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00409b58
add esp, 0x2d0
ret

Function at 0x4a86b0
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0xa8
mov eax, dword [0x59a024]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xb0]
xor ecx, ecx
push esi
mov esi, dword [esp + 0xb0]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0xb8]
push ecx
push eax
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x5c], 0x67452301
mov dword [esp + 0x60], 0xefcdab89
mov dword [esp + 0x64], 0x98badcfe
mov dword [esp + 0x68], 0x10325476
mov dword [esp + 0x6c], 0xc3d2e1f0
call fcn.004a8580
push 0x14
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push esi
push ecx
call fcn.004a8620
mov ecx, dword [esp + 0xc4]
add esp, 0x1c
pop esi
xor ecx, esp
xor eax, eax
call fcn.00409b58
add esp, 0xa8
ret
Function at 0x4a90c0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x60
mov eax, dword [0x59a024]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x70]
push ecx
push eax
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x1c], 0x67452301
mov dword [esp + 0x20], 0xefcdab89
mov dword [esp + 0x24], 0x98badcfe
mov dword [esp + 0x28], 0x10325476
call fcn.004a8f10
push 0x10
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push esi
push ecx
call fcn.004a8fc0
mov ecx, dword [esp + 0x7c]
add esp, 0x1c
pop esi
xor ecx, esp
xor eax, eax
call fcn.00409b58
add esp, 0x60
ret

Function at 0x4a9840
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x44
mov eax, dword [0x59a024]
xor eax, esp
mov dword [esp + 0x40], eax
cmp dword [esp + 0x58], 0
mov eax, dword [esp + 0x4c]
push ebp
mov ebp, dword [esp + 0x54]
push esi
mov esi, dword [esp + 0x50]
je 0x4a988e
mov ecx, dword [eax]
shr ecx, 1
cmp dword [esp + 0x5c], ecx
jae 0x4a988e
push 0xffffe005
call fcn.004207c0
add esp, 4
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00409b58
add esp, 0x44
ret
test esi, esi
je 0x4a986d
mov dword [esi + 8], 0
mov dword [esi + 4], eax
mov edx, dword [eax + 4]
push edi
call edx
mov dword [esi], eax
test eax, eax
je 0x4a9904
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x60]
cmp edi, dword [ecx + 0x1c]
jbe 0x4a9942
push eax
mov eax, dword [ecx + 0x10]
call eax
mov edx, dword [esp + 0x64]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov ecx, dword [ecx + 0x14]
push edx
push ebp
push eax
call ecx
mov edx, dword [esi + 4]
push 0x40
lea eax, [esp + 0x74]
push eax
mov eax, dword [esi]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [edx + 0x18]
push eax
call ecx
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x80]
add esp, 0x20
cmp edi, dword [ecx]
je 0x4a993e
push 0xffffe001
call fcn.004207c0
add esp, 4
push 0x40
lea edx, [esp + 0x10]
push 0
push edx
call fcn.00412eb0
mov eax, dword [esi]
add esp, 0xc
test eax, eax
je 0x4a9929
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0xc]
push 1
push eax
call edx
add esp, 8
pop edi
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00409b58
add esp, 0x44
ret
lea ebp, [esp + 0xc]
mov eax, dword [ecx + 0x1c]
push ebx
push eax
lea ecx, [esi + 0xc]
push 0x36
push ecx
call fcn.00412eb0
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x1c]
push eax
lea ebx, [esi + 0x8c]
push 0x5c
push ebx
call fcn.00412eb0
add esp, 0x18
test edi, edi
jbe 0x4a9984
mov eax, ebx
mov ecx, ebp
movzx edx, byte [ecx]
xor byte [eax - 0x80], dl
movzx edx, byte [ecx]
xor byte [eax], dl
inc ecx
inc eax
sub edi, 1
jne 0x4a9972
mov ecx, dword [esp + 0x50]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.00409b58
add esp, 0x44
ret
Function at 0x4ab0c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [ecx]
push esi
push edi
mov edi, edx
mov edx, dword [edi + 8]
add edx, 4
mov dword [esp + 0x10], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push 0
push edx
push eax
or esi, 0xffffffff
push ecx
mov dword [esp + 0x24], esi
call fcn.004a99a0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x4ab20b
mov ecx, dword [esp + 0x2c]
push ebp
push 0
push ecx
call fcn.00412eb0
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x18], eax
cmp eax, ebp
ja 0x4ab119
mov dword [esp + 0x18], ebp
mov edx, dword [esp + 0x18]
push edx
call fcn.00420e30
mov esi, eax
add esp, 4
test esi, esi
je 0x4ab1e0
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push ecx
push esi
call fcn.0040dc50
mov eax, dword [esp + 0x34]
mov ecx, dword [edi + 8]
mov edx, eax
shr edx, 0x18
mov byte [esi + ecx], dl
mov ecx, dword [edi + 8]
mov edx, eax
shr edx, 0x10
mov byte [ecx + esi + 1], dl
mov ecx, dword [edi + 8]
mov edx, eax
shr edx, 8
mov byte [ecx + esi + 2], dl
mov edx, dword [edi + 8]
add esp, 0xc
cmp dword [esp + 0x24], 0
mov byte [edx + esi + 3], al
mov dword [esp + 0x1c], 0
jle 0x4ab1e0
mov edi, edi
push ebx
call fcn.004a99f0
mov eax, dword [esp + 0x14]
push eax
push esi
push ebx
call fcn.004a9a20
push ebp
lea ecx, [esp + 0x24]
push ecx
push esi
push ebx
call fcn.004a9a40
mov edi, eax
add esp, 0x20
mov dword [esp + 0x14], edi
test edi, edi
jne 0x4ab1e4
mov eax, dword [esp + 0x2c]
mov ecx, ebp
test ebp, ebp
je 0x4ab1cf
mov edi, esi
sub edi, eax
lea ebx, [ebx]
mov dl, byte [edi + eax]
xor byte [eax], dl
dec ecx
inc eax
test ecx, ecx
jne 0x4ab1c0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
jl 0x4ab180
jmp 0x4ab1e4
mov edi, dword [esp + 0x14]
push 1
push ebx
call fcn.004a9800
add esp, 8
test esi, esi
je 0x4ab201
mov eax, dword [esp + 0x18]
push eax
push esi
call fcn.00420790
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4ac7f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa0
lea eax, [esp + 0x7c]
mov dword [esp + 0x38], eax
push esi
lea ecx, [esp + 0x8c]
lea edx, [esp + 0x98]
lea eax, [esp + 8]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
push edi
lea ecx, [esp + 0x18]
lea edx, [esp + 0x5c]
lea eax, [esp + 0x68]
push 0x800
mov dword [esp + 0x40], 0x130
mov dword [esp + 0x48], 0x131
mov dword [esp + 0x50], 0x132
mov dword [esp + 0x58], 0xce53436a
mov dword [esp + 0x28], 0xce534370
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 0xce53436c
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], 0xce53436d
mov dword [esp + 0x3c], eax
call fcn.00420f60
mov edx, dword [esp + 0xb8]
push 4
lea ecx, [esp + 0x44]
push ecx
mov esi, eax
push edx
push esi
mov dword [esp + 0x1c], esi
call fcn.004843b0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x4aca1f
cmp dword [esp + 0x10], eax
je 0x4ac8ac
cmp dword [esp + 0x14], eax
jne 0x4ac8b6
mov edi, 0xd0
jmp 0x4aca1f
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x94]
push ecx
push esi
mov dword [esp + 0x84], 0
call fcn.004aa040
add esp, 0xc
test eax, eax
je 0x4ac91a
call fcn.004207d0
cmp eax, 0xffffe005
je 0x4ac910
cmp eax, 0xffffe00a
je 0x4ac906
xor edx, edx
cmp eax, 0xffffe013
setne dl
lea edx, [edx*4 + 2]
mov edi, edx
jmp 0x4aca1f
mov edi, 0xc0
jmp 0x4aca1f
mov edi, 0xd1
jmp 0x4aca1f
push ebx
mov ebx, dword [esp + 0xb4]
push ebp
mov ebp, dword [esp + 0xb4]
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebp
lea edx, [esp + 0x94]
push edx
push esi
mov esi, ebx
call fcn.004ac5e0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x4aca1d
mov edi, dword [esp + 0x10]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x9c]
push ecx
push edi
call fcn.004aa040
add esp, 0xc
test eax, eax
je 0x4ac9ad
call fcn.004207d0
cmp eax, 0xffffe005
je 0x4ac9a6
cmp eax, 0xffffe00a
je 0x4ac99f
xor edx, edx
cmp eax, 0xffffe013
setne dl
lea edx, [edx*4 + 2]
mov edi, edx
jmp 0x4aca1d
mov edi, 0xc0
jmp 0x4aca1d
mov edi, 0xd1
jmp 0x4aca1d
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebp
lea edx, [esp + 0x94]
push edx
lea esi, [ebx + 0x18]
push edi
call fcn.004ac5e0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x4aca1d
mov eax, dword [ebx]
mov edx, dword [esi]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
xor esi, esi
mov edi, edi
mov eax, dword [esp + esi*8 + 0x30]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov eax, dword [esp + esi*8 + 0x2c]
push ecx
mov ecx, dword [esp + 0xc0]
push edx
push eax
push ecx
call fcn.00484590
add esp, 0x10
test eax, eax
jne 0x4aca39
inc esi
cmp esi, 3
jb 0x4ac9f0
xor edi, edi
pop ebp
pop ebx
mov edx, dword [esp + 8]
push 1
push edx
call fcn.00420960
add esp, 8
mov eax, edi
pop edi
pop esi
add esp, 0xa0
ret
mov edi, eax
jmp 0x4aca1d
Function at 0x4ad290
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 4]
push ebx
push ebp
push esi
mov eax, edx
mov esi, edx
shr eax, 1
and esi, 1
add eax, esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x1c], ecx
sub ecx, eax
xor ebp, ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 8]
push edi
add ecx, edx
push eax
or ebx, 0xffffffff
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ecx
call fcn.00420e30
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
cmp edi, ebp
je 0x4ad36a
mov ebp, dword [esp + 0x48]
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push ebp
push esi
push edx
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x2c]
push ecx
push 2
call fcn.004ad0a0
add esp, 0x18
test eax, eax
jne 0x4ad358
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push ebp
lea edx, [esp + 0x14]
push edx
push eax
push ecx
lea edx, [esp + 0x38]
push edx
push 3
call fcn.004ad0a0
mov edi, dword [esp + 0x2c]
add esp, 0x18
test eax, eax
jne 0x4ad358
cmp dword [esi + 8], eax
jbe 0x4ad356
mov ecx, dword [esi + 4]
mov dl, byte [eax + edi]
xor byte [ecx + eax], dl
add ecx, eax
inc eax
cmp eax, dword [esi + 8]
jb 0x4ad345
xor ebx, ebx
test edi, edi
je 0x4ad36a
mov eax, dword [esp + 0x18]
push eax
push edi
call fcn.00420790
add esp, 8
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x24
ret

Function at 0x4ae130
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x59a024]
xor eax, esp
mov dword [esp + 0x104], eax
lea eax, [esp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, 0x104
ja 0x4ae19d
test eax, eax
je 0x4ae19d
lea eax, [esp]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ae164
sub eax, edx
je 0x4ae19d
cmp byte [esp + eax - 1], 0x5c
lea eax, [esp + eax - 1]
jne 0x4ae17c
mov byte [eax], cl
lea ecx, [esp]
push ecx
call fcn.00420ef0
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00409b58
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.00409b58
add esp, 0x108
ret
Function at 0x4b5360
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov edx, dword [esp + 0x18]
push ebx
push ebp
mov ebp, dword [esp + 0x14]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0xc], eax
mov dword [ebp], 0
mov dword [ebp + 8], edx
test edx, edx
jbe 0x4b53e2
mov ecx, dword [esp + 0x18]
push esi
push edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
xor esi, esi
xor ecx, ecx
test edi, edi
jbe 0x4b53c9
mov edx, dword [esp + 0x10]
mov edi, edi
mov eax, ecx
xor eax, dword [esp + 0x24]
inc ecx
lea ebp, [eax - 1]
shr ebp, 0x1f
not eax
shr eax, 0x1f
and ebp, eax
neg ebp
and ebp, dword [edx]
add edx, 4
or esi, ebp
cmp ecx, edi
jb 0x4b53a0
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [eax + ebx*4], esi
lea eax, [edi*4]
add dword [esp + 0x10], eax
inc ebx
cmp ebx, edx
jb 0x4b5392
pop edi
pop esi
push ebp
call fcn.004b0380
add esp, 4
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret

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

Disassembly:
add edx, 0xfffffffc
mov dword [eax], 0
test edx, edx
jle 0x4b6c23
mov ecx, dword [esp + 4]
push esi
lea esi, [edx - 1]
shr esi, 2
inc ecx
inc esi
lea ebx, [ebx]
movzx edx, byte [ecx - 1]
xor byte [eax], dl
movzx edx, byte [ecx]
xor byte [eax + 1], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 2], dl
movzx edx, byte [ecx + 2]
xor byte [eax + 3], dl
add ecx, 4
sub esi, 1
jne 0x4b6c00
pop esi
ret
Function at 0x4b9a50
Capabilities:
Get disk information
Get disk size
Get hostname
Get memory capacity

Disassembly:
sub esp, 0x1c8
mov eax, dword [0x59a024]
xor eax, esp
mov dword [esp + 0x1c4], eax
lea eax, [esp + 0x44]
push 0x14
push eax
call fcn.004b9950
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.00493690
add esp, 0x10
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea eax, [esp + 0x24]
push 0x20
push eax
call fcn.00493690
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
lea ecx, [esp]
push 4
push ecx
mov dword [esp + 8], eax
call fcn.00493690
add esp, 8
lea edx, [esp]
push edx
lea eax, [esp + 0x48]
push eax
mov dword [esp + 8], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x4b9ae4
mov ecx, dword [esp]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.00493690
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push 4
push eax
call fcn.00493690
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [esp]
push 4
push ecx
mov dword [esp + 8], eax
call fcn.00493690
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [esp]
push 4
push edx
mov dword [esp + 8], eax
call fcn.00493690
add esp, 8
push 0x100
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
push 0x80
lea ecx, [esp + 0x15c]
push ecx
push 0
mov byte [esp + 0x164], 0
mov byte [esp + 0x64], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea eax, [esp + 0x144]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b9b72
sub eax, edx
push eax
lea edx, [esp + 0x148]
push edx
call fcn.00493690
lea eax, [esp + 0x28]
push 4
push eax
call fcn.00493690
lea ecx, [esp + 0x20]
push 4
push ecx
call fcn.00493690
lea edx, [esp + 0x34]
push 4
push edx
call fcn.00493690
lea eax, [esp + 0x64]
add esp, 0x20
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b9bb7
sub eax, edx
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00493690
add esp, 8
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x4b9c21
lea edx, [esp + 4]
push 4
push edx
call fcn.00493690
lea eax, [esp + 0x10]
push 4
push eax
call fcn.00493690
lea ecx, [esp + 0x1c]
push 4
push ecx
call fcn.00493690
lea edx, [esp + 0x2c]
push 4
push edx
call fcn.00493690
add esp, 0x20
lea eax, [esp + 0x44]
push 0x14
push eax
call fcn.004b9950
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.00493690
mov ecx, dword [esp + 0x1d4]
add esp, 0x10
xor ecx, esp
call fcn.00409b58
add esp, 0x1c8
ret
Function at 0x4bc810
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0xac]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
lea esi, [eax + 7]
shr esi, 3
lea ebx, [esi*8]
sub ebx, eax
test edi, edi
jne 0x4bc84b
push 0xffffe003
mov dword [ebp], esi
call fcn.004207c0
add esp, 4
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
cmp dword [esp + 0x18], esi
jb 0x4bc834
push ebp
push edi
push ecx
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.004bc6a0
add esp, 0xc
test eax, eax
jne 0x4bc844
cmp dword [ebp], eax
jbe 0x4bc884
jmp 0x4bc870
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx + eax + 0xb0]
xor byte [eax + edi], dl
inc eax
cmp eax, dword [ebp]
jb 0x4bc870
test ebx, ebx
je 0x4bc896
mov al, 1
mov ecx, ebx
shl al, cl
dec al
not al
and byte [esi + edi - 1], al
pop esi
pop ebp
xor eax, eax
pop ebx
ret