joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10027d30
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.0x10027d66
jmp dword [edx*4 + 0x10027e90]
mov edi, 0xa
cmp ebx, edi
jle case.0x10027d66.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 0x10027d77
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 0x10034450
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x10034462
xor eax, eax
pop edi
ret
push ebx
push esi
push edi
call fcn.10044460
mov ebx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
test ebx, ebx
mov dword [eax], esi
je 0x10034523
mov eax, dword [edi + 0x10c]
cmp eax, esi
push ebp
jne 0x100344b4
test esi, esi
jle 0x10034502
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 0x100344a0
jmp 0x10034502
mov ecx, esi
sub ecx, eax
cmp ecx, 1
mov byte [eax + edi + 0xec], 0x80
jle 0x100344db
add ecx, 0xffffffff
push ecx
lea eax, [eax + edi + 0xed]
push 0
push eax
call fcn.101135a0
add esp, 0xc
test esi, esi
jle 0x10034502
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 0x100344f0
push esi
push ebx
push ebx
push edi
call fcn.10006310
add esp, 0x10
test eax, eax
pop ebp
jne 0x10034523
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 0x10038660
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x1003872d
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x10038681
cmp al, 0x6b
jne 0x1003872d
cmp al, 0x6b
lea edx, [ecx + 1]
jne 0x100386ee
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x100386a5
mov al, byte [edx]
add edx, 1
cmp al, 0xba
je 0x100386a5
cmp al, 0xbb
jne 0x100386ce
add ecx, 1
cmp ecx, esi
jl 0x10038691
sub esi, ecx
test ecx, ecx
jne 0x100386f1
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.10005d40
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.10005d40
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x1003871a
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.10005d40
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call fcn.10113700
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.10005d40
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x10038a10
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x5c
call fcn.1010fe20
mov eax, dword [0x1017cf40]
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 0x10038a6f
call fcn.10003b00
mov dword [esp + 0x18], eax
test esi, esi
jne 0x10038a77
mov dword [esp + 0x14], eax
push eax
call fcn.10006370
mov esi, eax
lea eax, [esi + esi]
sub edi, eax
lea edx, [edi - 1]
add esp, 4
cmp ebp, edx
jle 0x10038abb
push 0x3a
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0xa0
push 4
call fcn.10005d40
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.1010f1c0
add esp, 0x5c
ret
add eax, 1
cmp dword [esp + 0x10], eax
jge 0x10038acf
push 0x40
push str..crypto_rsa_rsa_oaep.c
push 0x78
jmp 0x10038a97
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.10006cc0
add esp, 0x18
test eax, eax
je 0x10038aa6
sub edi, ebp
sub edi, 1
push edi
lea ecx, [ebx + esi]
push 0
push ecx
call fcn.101135a0
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.10113700
mov ebp, dword [esp + 0x34]
push esi
push ebp
call fcn.100061f0
add esp, 0x20
test eax, eax
jle 0x10038aa6
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 0x10038b6c
push 0x57
push str..crypto_rsa_rsa_oaep.c
push 0x41
jmp 0x10038a97
mov edx, dword [esp + 0x14]
push edx
push esi
push ebp
push edi
push eax
call fcn.10038890
add esp, 0x14
test eax, eax
jl 0x10038aa6
test edi, edi
jle 0x10038ba4
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 0x10038b93
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.10038890
add esp, 0x14
test eax, eax
jl 0x10038aa6
test esi, esi
jle 0x10038bdd
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 0x10038bd0
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.1010f1c0
add esp, 0x5c
ret
Function at 0x10060c50
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 0x10060c69
mov esi, edi
mov edi, eax
jmp 0x10060c6b
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x10060c7b
mov eax, ebx
jmp 0x10060c85
push eax
push ebx
call fcn.10027710
add esp, 8
test eax, eax
jne 0x10060c8d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x10060cab
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 0x10060c94
cmp eax, dword [esi + 4]
jge 0x10060cc2
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 0x10060cb0
mov eax, dword [esi + 4]
test eax, eax
mov dword [ebx + 4], eax
jle 0x10060ce5
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x10060ce2
sub eax, 1
test eax, eax
jg 0x10060cd2
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x10064b80
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 0x10064c64
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x10064bff
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.10064720
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 0x10064bcd
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x10064d1d
call 0x10064c11
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 0x10064cbc
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.10064850
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 0x10064c75
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x10064d1d
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.10064850
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 0x10064d18
jmp 0x10064d1d
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 0x10067f20
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 0x10068010
push esi
mov esi, dword [esp + 0x14]
lea esp, [esp]
cmp edi, 3
jl 0x10067fa2
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 0x10067ffb
movzx edx, byte [esi]
shl edx, 0x10
cmp edi, 2
jne 0x10067fb4
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 0x10067fe6
lea edx, [edi + 0x3c]
jmp 0x10067ff3
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 0x10067f40
pop esi
pop edi
mov eax, ebp
mov byte [ecx], 0
pop ebp
ret
Function at 0x1006daf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013744e
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x1017cf40]
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 0x10168974
push ecx
call fcn.10117633
mov edi, eax
add esp, 8
test edi, edi
jne 0x1006db3f
xor al, al
jmp 0x1006dc62
push 2
push 0
push edi
call fcn.10117205
add esp, 0xc
push edi
call fcn.10116e2f
add esp, 4
lea esi, [eax + 1]
push 0
push 0
push edi
call fcn.10117205
add esp, 0xc
push esi
call fcn.10117929
add esp, 4
mov ebx, eax
push esi
push 0
push ebx
call fcn.101135a0
add esp, 0xc
push edi
push esi
push 1
push ebx
call fcn.10117879
push edi
call fcn.10116eb0
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 0x1006dbad
xor ecx, ecx
jmp 0x1006dbbb
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006dbb2
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1006f560
push ebx
mov dword [ebp - 4], 0
call fcn.101176a8
and dword [ebp - 0xa8], 0xfffffe00
add esp, 4
mov dword [ebp - 0xa4], 0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.1007bc40
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.1007bd40
test al, al
lea ecx, [ebp - 0x98]
setne bl
call fcn.1006dc80
lea ecx, [ebp - 0xb0]
call fcn.1007e420
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x1006dc60
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.1006d5b0
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.1010f1c0
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.1011ab2a
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.101101bb
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
Function at 0x10071d30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1017cf40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x210]
mov dword [ebp - 0x218], 0
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x214], ebx
call fcn.101135a0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10071d90
mov ecx, 0x11
mov esi, str.MicrosoftEdgeUser_DataDefault
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x210]
call fcn.1007a220
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp word [ebp - 0x210], ax
jne 0x10071dd3
xor ecx, ecx
jmp 0x10071def
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10071de0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
mov ecx, ebx
push eax
call fcn.10073a90
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1010f1c0
mov esp, ebp
pop ebp
ret

Function at 0x10071e20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1017cf40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x210], ebx
call fcn.101135a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10071e80
push esi
mov ecx, 0x12
mov esi, str.MicrosoftEdgeUser_DataFirst_Run
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
pop esi
cmp word [ebp - 0x20c], ax
jne 0x10071eba
xor ecx, ecx
jmp 0x10071ed2
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10071ec3
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.10073a90
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.1010f1c0
mov esp, ebp
pop ebp
ret
Function at 0x100749d0
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x1017cf40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x108]
mov esi, ecx
push 0
push eax
call fcn.101135a0
add esp, 0xc
mov dword [ebp - 0x10c], 0
lea eax, [ebp - 0x108]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x10074a7b
lea eax, [ebp - 0x108]
push 0x10168a24
push eax
call fcn.10113150
add esp, 8
test eax, eax
je 0x10074a7b
push 0
push 0
push 0
mov byte [eax + 1], 0
lea eax, [ebp - 0x10c]
push 0
push eax
push 0
push 0
lea eax, [ebp - 0x108]
mov dword [esi], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x10074a7b
mov eax, dword [ebp - 0x10c]
mov dword [esi], eax
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1010f1c0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.1010f1c0
mov esp, ebp
pop ebp
ret

Function at 0x10074a90
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push 0x208
push 0
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 4], 0x208
xor esi, esi
mov dword [ebp - 8], 0x208
test edi, edi
je 0x10074b31
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov esi, eax
test esi, esi
jne 0x10074b21
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10074b21
cmp dword [ebp - 8], 0x208
ja 0x10074b04
mov eax, dword [ebp - 4]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov esi, eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test esi, esi
pop edi
setne al
pop esi
mov esp, ebp
pop ebp
ret