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

Disassembly:
mov eax, 4
call fcn.10115600
mov eax, dword [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov esi, dword [eax]
test esi, esi
push edi
mov edi, dword [esp + 0x2c]
je 0x1000fc0d
test ebx, ebx
je 0x1000fc0d
mov cl, byte [esi + edi]
mov ebp, dword [esp + 0x18]
xor cl, byte [ebp]
mov eax, dword [esp + 0x1c]
mov byte [eax], cl
add eax, 1
add ebp, 1
add esi, 1
sub ebx, 1
and esi, 0xf
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebp
jne 0x1000fbe0
cmp ebx, 0x10
jb 0x1000fc9b
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, edx
sub eax, edi
mov dword [esp + 0x20], eax
mov eax, ebx
shr eax, 4
mov ebp, ecx
mov dword [esp + 0x10], eax
shl eax, 4
add ecx, eax
sub ebp, edi
add edx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push edx
push edi
push eax
call dword [esp + 0x40]
mov edx, dword [esp + 0x34]
add esp, 0xc
call fcn.1000fba0
cmp esi, 0x10
jae 0x1000fc87
mov ecx, 0xf
sub ecx, esi
shr ecx, 2
lea eax, [esi + edi]
add ecx, 1
mov edx, dword [esp + 0x20]
mov edx, dword [edx + eax]
xor edx, dword [eax]
add eax, 4
sub ecx, 1
mov dword [eax + ebp - 4], edx
jne 0x1000fc72
add dword [esp + 0x20], 0x10
sub ebx, 0x10
add ebp, 0x10
xor esi, esi
sub dword [esp + 0x10], 1
jne 0x1000fc42
test ebx, ebx
je 0x1000fcee
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
push eax
push edi
push ebp
call dword [esp + 0x40]
add esp, 0xc
mov edx, ebp
call fcn.1000fba0
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea eax, [esi + edi]
sub ebp, edi
sub ecx, edi
add esi, ebx
lea esp, [esp]
mov dl, byte [eax + ebp]
xor dl, byte [eax]
sub ebx, 1
mov byte [eax + ecx], dl
add eax, 1
test ebx, ebx
jne 0x1000fcd0
mov eax, dword [esp + 0x30]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x30]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x1000fd00
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.10115600
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
test eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov dword [esp + 0x10], eax
je 0x1000fd54
test ebp, ebp
je 0x1000fd54
mov ecx, dword [esp + 0x2c]
mov dl, byte [eax + ecx]
mov esi, dword [esp + 0x18]
xor dl, byte [esi]
mov ecx, dword [esp + 0x1c]
mov byte [ecx], dl
add ecx, 1
add esi, 1
add eax, 1
sub ebp, 1
and eax, 0xf
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
jne 0x1000fd20
cmp ebp, 0x10
mov edi, dword [esp + 0x28]
mov esi, dword [edi + 0xc]
bswap esi
jb 0x1000fdc8
mov ebx, ebp
shr ebx, 4
add esi, ebx
cmp esi, ebx
jae 0x1000fd71
sub ebx, esi
xor esi, esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push edi
push eax
push ebx
push ecx
push edx
call dword [esp + 0x48]
mov eax, esi
add esp, 0x14
test esi, esi
bswap eax
mov dword [edi + 0xc], eax
jne 0x1000fdb2
mov ecx, 0xc
lea esp, [esp]
mov al, byte [ecx + edi - 1]
sub ecx, 1
add al, 1
mov byte [ecx + edi], al
jne 0x1000fdb2
test ecx, ecx
jne 0x1000fda0
shl ebx, 4
add dword [esp + 0x1c], ebx
add dword [esp + 0x18], ebx
sub ebp, ebx
cmp ebp, 0x10
jae 0x1000fd62
mov eax, dword [esp + 0x10]
test ebp, ebp
je 0x1000fe45
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
push edi
push ecx
xor eax, eax
mov dword [ebx], eax
push 1
mov dword [ebx + 4], eax
push ebx
mov dword [ebx + 8], eax
push ebx
mov dword [ebx + 0xc], eax
call dword [esp + 0x48]
add esp, 0x14
add esi, 1
bswap esi
mov dword [edi + 0xc], esi
jne 0x1000fe12
mov ecx, 0xc
lea ecx, [ecx]
mov al, byte [ecx + edi - 1]
sub ecx, 1
add al, 1
mov byte [ecx + edi], al
jne 0x1000fe12
test ecx, ecx
jne 0x1000fe00
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea eax, [edi + ebx]
sub ecx, ebx
sub esi, ebx
add edi, ebp
mov dl, byte [ecx + eax]
xor dl, byte [eax]
sub ebp, 1
mov byte [esi + eax], dl
add eax, 1
test ebp, ebp
jne 0x1000fe27
mov eax, dword [esp + 0x30]
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
pop ebx
pop ecx
ret

Function at 0x10010fb0
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x60
push 0
push esi
call fcn.10118ce0
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov eax, 1
pop esi
ret

Function at 0x10018f50
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x10018f99
mov al, byte [edx]
test al, al
je 0x10018f99
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
mov ecx, eax
imul ecx, eax
mov al, byte [edx + 1]
add edx, 1
xor esi, ecx
test al, al
jne 0x10018f67
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x10027d40
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x10]
add ecx, 0xffffffff
push edi
mov edi, dword [esi + 4]
shr ecx, 0x1f
xor edx, edi
sub ecx, 1
and edx, ecx
xor edi, edx
mov dword [esi + 4], edi
xor dword [eax + 4], edx
lea edx, [ebx - 1]
cmp edx, 9
ja case.default.0x10027d76
jmp dword [edx*4 + 0x10027ea0]
mov edi, 0xa
cmp ebx, edi
jle case.0x10027d76.10
push ebp
mov edx, dword [esi]
mov ebx, dword [edx + edi*4]
lea ebp, [edx + edi*4]
mov edx, dword [eax]
mov edx, dword [edx + edi*4]
xor edx, ebx
and edx, ecx
xor ebx, edx
mov dword [ebp], ebx
mov ebx, dword [eax]
xor dword [ebx + edi*4], edx
lea ebx, [ebx + edi*4]
add edi, 1
cmp edi, dword [esp + 0x20]
jl 0x10027d87
pop ebp
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x24]
mov edx, dword [edx + 0x24]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x24], edi
mov edi, dword [eax]
xor dword [edi + 0x24], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x20]
mov edx, dword [edx + 0x20]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x20], edi
mov edi, dword [eax]
xor dword [edi + 0x20], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x1c]
mov edx, dword [edx + 0x1c]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x1c], edi
mov edi, dword [eax]
xor dword [edi + 0x1c], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x18]
mov edx, dword [edx + 0x18]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x18], edi
mov edi, dword [eax]
xor dword [edi + 0x18], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x14]
mov edx, dword [edx + 0x14]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x14], edi
mov edi, dword [eax]
xor dword [edi + 0x14], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x10]
mov edx, dword [edx + 0x10]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x10], edi
mov edi, dword [eax]
xor dword [edi + 0x10], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0xc]
mov edx, dword [edx + 0xc]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0xc], edi
mov edi, dword [eax]
xor dword [edi + 0xc], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 8]
mov edx, dword [edx + 8]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 8], edi
mov edi, dword [eax]
xor dword [edi + 8], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 4]
mov edx, dword [edx + 4]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 4], edi
mov edi, dword [eax]
xor dword [edi + 4], edx
mov esi, dword [esi]
mov edx, dword [eax]
mov edi, dword [esi]
mov edx, dword [edx]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [esi], edi
mov eax, dword [eax]
xor dword [eax], edx
pop edi
pop esi
pop ebx
ret
Function at 0x10034470
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x10034482
xor eax, eax
pop edi
ret
push ebx
push esi
push edi
call fcn.100444d0
mov ebx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
test ebx, ebx
mov dword [eax], esi
je 0x10034543
mov eax, dword [edi + 0x10c]
cmp eax, esi
push ebp
jne 0x100344d4
test esi, esi
jle 0x10034522
mov ecx, ebx
lea eax, [edi + 0x8c]
mov ebp, esi
lea ebx, [ebx]
mov dl, byte [eax + 0x60]
xor dl, byte [eax]
add eax, 1
mov byte [ecx], dl
add ecx, 1
sub ebp, 1
jne 0x100344c0
jmp 0x10034522
mov ecx, esi
sub ecx, eax
cmp ecx, 1
mov byte [eax + edi + 0xec], 0x80
jle 0x100344fb
add ecx, 0xffffffff
push ecx
lea eax, [eax + edi + 0xed]
push 0
push eax
call fcn.10118ce0
add esp, 0xc
test esi, esi
jle 0x10034522
mov ecx, ebx
lea eax, [edi + 0xac]
mov ebp, esi
lea esp, [esp]
mov dl, byte [eax + 0x40]
xor dl, byte [eax]
add eax, 1
mov byte [ecx], dl
add ecx, 1
sub ebp, 1
jne 0x10034510
push esi
push ebx
push ebx
push edi
call fcn.10006320
add esp, 0x10
test eax, eax
pop ebp
jne 0x10034543
push esi
push ebx
call fcn.10004aa0
add esp, 8
pop esi
pop ebx
xor eax, eax
pop edi
ret
pop esi
pop ebx
mov eax, 1
pop edi
ret
Function at 0x10038690
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x1003875d
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x100386b1
cmp al, 0x6b
jne 0x1003875d
cmp al, 0x6b
lea edx, [ecx + 1]
jne 0x1003871e
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x100386d5
mov al, byte [edx]
add edx, 1
cmp al, 0xba
je 0x100386d5
cmp al, 0xbb
jne 0x100386fe
add ecx, 1
cmp ecx, esi
jl 0x100386c1
sub esi, ecx
test ecx, ecx
jne 0x10038721
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.10005d50
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x7b
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.10005d50
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x1003874a
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.10005d50
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call fcn.10118e40
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x70
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.10005d50
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x10038a40
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x5c
call fcn.10115600
mov eax, dword [0x10182f40]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x70]
push ebx
mov ebx, dword [esp + 0x64]
push ebp
mov ebp, dword [esp + 0x74]
push esi
mov esi, dword [esp + 0x88]
push edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x88]
add edi, 0xffffffff
test eax, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
jne 0x10038a9f
call fcn.10003b00
mov dword [esp + 0x18], eax
test esi, esi
jne 0x10038aa7
mov dword [esp + 0x14], eax
push eax
call fcn.10006360
mov esi, eax
lea eax, [esi + esi]
sub edi, eax
lea edx, [edi - 1]
add esp, 4
cmp ebp, edx
jle 0x10038aeb
push 0x3a
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0xa0
push 4
call fcn.10005d50
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.101149a0
add esp, 0x5c
ret
add eax, 1
cmp dword [esp + 0x10], eax
jge 0x10038aff
push 0x40
push str..crypto_rsa_rsa_oaep.c
push 0x78
jmp 0x10038ac7
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x84]
push 0
push ecx
lea eax, [ebx + 1]
mov byte [ebx], 0
push 0
lea ebx, [ebx + esi + 1]
push ebx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
push edx
push eax
call fcn.10006cb0
add esp, 0x18
test eax, eax
je 0x10038ad6
sub edi, ebp
sub edi, 1
push edi
lea ecx, [ebx + esi]
push 0
push ecx
call fcn.10118ce0
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
mov edx, ebx
sub edx, ebp
sub edx, esi
push ebp
lea eax, [edx + edi]
push ecx
push eax
mov byte [eax - 1], 1
call fcn.10118e40
mov ebp, dword [esp + 0x34]
push esi
push ebp
call fcn.10006200
add esp, 0x20
test eax, eax
jle 0x10038ad6
push 0x55
sub edi, esi
push str..crypto_rsa_rsa_oaep.c
push edi
call fcn.10002040
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
jne 0x10038b9c
push 0x57
push str..crypto_rsa_rsa_oaep.c
push 0x41
jmp 0x10038ac7
mov edx, dword [esp + 0x14]
push edx
push esi
push ebp
push edi
push eax
call fcn.100388c0
add esp, 0x14
test eax, eax
jl 0x10038ad6
test edi, edi
jle 0x10038bd4
mov ebp, dword [esp + 0x10]
mov eax, ebx
sub ebp, ebx
mov ecx, edi
mov dl, byte [eax + ebp]
xor byte [eax], dl
add eax, 1
sub ecx, 1
jne 0x10038bc3
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push eax
push edi
push ebx
lea ecx, [esp + 0x34]
push esi
push ecx
call fcn.100388c0
add esp, 0x14
test eax, eax
jl 0x10038ad6
test esi, esi
jle 0x10038c0d
lea ecx, [esp + 0x28]
mov eax, ebp
sub ecx, ebp
lea ecx, [ecx]
mov dl, byte [ecx + eax]
xor byte [eax], dl
add eax, 1
sub esi, 1
jne 0x10038c00
mov eax, dword [esp + 0x10]
push eax
call fcn.100021f0
mov ecx, dword [esp + 0x6c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.101149a0
add esp, 0x5c
ret
Function at 0x10060cf0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x10060d09
mov esi, edi
mov edi, eax
jmp 0x10060d0b
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x10060d1b
mov eax, ebx
jmp 0x10060d25
push eax
push ebx
call fcn.10027720
add esp, 8
test eax, eax
jne 0x10060d2d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x10060d4b
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, dword [edi + 4]
jl 0x10060d34
cmp eax, dword [esi + 4]
jge 0x10060d62
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, dword [esi + 4]
jl 0x10060d50
mov eax, dword [esi + 4]
test eax, eax
mov dword [ebx + 4], eax
jle 0x10060d85
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x10060d82
sub eax, 1
test eax, eax
jg 0x10060d72
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x10064c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
push ebx
cmp ecx, 0
je 0x10064ce4
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x10064c7f
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.100647a0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x10064c4d
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x10064d9d
call 0x10064c91
pop edx
lea ecx, [edx + 0x12f]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
je 0x10064d3c
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.100648d0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x10064cf5
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x10064d9d
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.100648d0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x10064d98
jmp 0x10064d9d
mov ecx, dword [esp + 0x4c]
add esp, 0x20
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10067f80
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 4]
push ebp
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
jle 0x10068070
push esi
mov esi, dword [esp + 0x14]
lea esp, [esp]
cmp edi, 3
jl 0x10068002
movzx eax, byte [esi + 2]
xor edx, edx
mov dh, byte [esi]
add ecx, 1
add ecx, 1
add ecx, 1
mov dl, byte [esi + 1]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 3], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 2], al
mov eax, edx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 1], al
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
jmp 0x1006805b
movzx edx, byte [esi]
shl edx, 0x10
cmp edi, 2
jne 0x10068014
xor eax, eax
mov ah, byte [esi + 1]
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add ecx, 1
mov byte [ecx], al
add ecx, 1
cmp edi, 1
jne 0x10068046
lea edx, [edi + 0x3c]
jmp 0x10068053
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
add ecx, 1
mov byte [ecx], 0x3d
sub edi, 3
add ecx, 1
add ebp, 4
add esi, 3
test edi, edi
jg 0x10067fa0
pop esi
pop edi
mov eax, ebp
mov byte [ecx], 0
pop ebp
ret
Function at 0x1006dab0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013c4fe
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x10182f40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x9c], edx
push 0x1016d8a8
push ecx
call fcn.1011ccd1
mov edi, eax
add esp, 8
test edi, edi
jne 0x1006daff
xor al, al
jmp 0x1006dc22
push 2
push 0
push edi
call fcn.1011c8a3
add esp, 0xc
push edi
call fcn.1011c4e8
add esp, 4
lea esi, [eax + 1]
push 0
push 0
push edi
call fcn.1011c8a3
add esp, 0xc
push esi
call fcn.1011cfc7
add esp, 4
mov ebx, eax
push esi
push 0
push ebx
call fcn.10118ce0
add esp, 0xc
push edi
push esi
push 1
push ebx
call fcn.1011cf17
push edi
call fcn.1011c569
lea edx, [ebx + 3]
mov dword [ebp - 0x14], 0xf
add esp, 0x14
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp byte [edx], 0
jne 0x1006db6d
xor ecx, ecx
jmp 0x1006db7b
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006db72
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1006f560
push ebx
mov dword [ebp - 4], 0
call fcn.1011cd46
and dword [ebp - 0xa8], 0xfffffe00
add esp, 4
mov dword [ebp - 0xa4], 0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.1007e080
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x70]
call fcn.1006f660
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 0x60]
cmovae ecx, dword [ebp - 0x70]
push ecx
push dword [ebp - 0x9c]
add eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x98]
call fcn.1007e180
test al, al
lea ecx, [ebp - 0x98]
setne bl
call fcn.1006dc40
lea ecx, [ebp - 0xb0]
call fcn.10080ed0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x1006dc20
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.1006d540
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101149a0
mov esp, ebp
pop ebp
ret
Function at 0x10070220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, ecx
push ebx
push esi
push edi
lea edi, [eax + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov esi, edx
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x100702ef
mov eax, dword [ebp + 8]
mov dword [eax], ebx
lea eax, [ebp - 8]
push eax
call fcn.101201ad
add esp, 4
test eax, eax
je 0x10070273
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 8]
lea edx, [ebx + 4]
mov dword [ebx], edi
mov ebx, dword [ebp - 4]
shr ebx, 2
test ebx, ebx
je 0x100702b6
nop word [eax + eax]
imul edi, edi, 0x343fd
xor ecx, ecx
add edi, 0x269ec3
mov dword [ebp + 0xc], edi
mov al, byte [ebp + ecx + 0xc]
inc ecx
xor al, byte [esi]
inc esi
mov byte [edx], al
inc edx
cmp ecx, 4
jb 0x100702a1
sub ebx, 1
jne 0x10070290
imul eax, edi, 0x343fd
xor ecx, ecx
add eax, 0x269ec3
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
movsx edi, al
and edi, 3
je 0x100702e6
sub edx, esi
mov al, byte [ebp + ecx + 0xc]
lea esi, [esi + 1]
xor al, byte [esi - 1]
inc ecx
mov byte [edx + esi - 1], al
cmp ecx, edi
jb 0x100702d3
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10115ea8
int3

Function at 0x10070300
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push str.kernel32
mov edi, ecx
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x10070344
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x10]
push ecx
push eax
call esi
test eax, eax
je 0x10070344
mov ecx, dword [ebp - 0x10]
jmp 0x1007034d
mov dword [ebp - 0x10], 0
xor ecx, ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
test ecx, ecx
mov edx, 0x20019
mov eax, 0x20119
cmove eax, edx
push eax
push 0
push str.SOFTWAREMicrosoftCryptography
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10070402
mov eax, dword [ebp - 4]
test eax, eax
je 0x10070402
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 8]
push ecx
push 0
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push ecx
push 0
push str.MachineGuid
push eax
mov dword [ebp - 8], 0
call esi
test eax, eax
jne 0x100703f9
cmp dword [ebp - 8], 0x4a
ja 0x100703f9
cmp dword [ebp - 0xc], 1
jne 0x100703f9
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push 0
push str.MachineGuid
push dword [ebp - 4]
call esi
test eax, eax
jne 0x100703f9
cmp dword [ebp - 8], eax
je 0x100703f9
cmp dword [ebp - 0xc], 1
jne 0x100703f9
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret