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

Disassembly:
mov eax, 4
call fcn.10117200
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.10117200
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.1011a970
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 0x10018f60
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x10018fa9
mov al, byte [edx]
test al, al
je 0x10018fa9
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 0x10018f77
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x10034490
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x100344a2
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 0x10034563
mov eax, dword [edi + 0x10c]
cmp eax, esi
push ebp
jne 0x100344f4
test esi, esi
jle 0x10034542
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 0x100344e0
jmp 0x10034542
mov ecx, esi
sub ecx, eax
cmp ecx, 1
mov byte [eax + edi + 0xec], 0x80
jle 0x1003451b
add ecx, 0xffffffff
push ecx
lea eax, [eax + edi + 0xed]
push 0
push eax
call fcn.1011a970
add esp, 0xc
test esi, esi
jle 0x10034542
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 0x10034530
push esi
push ebx
push ebx
push edi
call fcn.10006320
add esp, 0x10
test eax, eax
pop ebp
jne 0x10034563
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 0x100386c0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x1003878d
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x100386e1
cmp al, 0x6b
jne 0x1003878d
cmp al, 0x6b
lea edx, [ecx + 1]
jne 0x1003874e
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x10038705
mov al, byte [edx]
add edx, 1
cmp al, 0xba
je 0x10038705
cmp al, 0xbb
jne 0x1003872e
add ecx, 1
cmp ecx, esi
jl 0x100386f1
sub esi, ecx
test ecx, ecx
jne 0x10038751
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 0x1003877a
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.1011aad0
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 0x10038a70
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x5c
call fcn.10117200
mov eax, dword [0x10184f40]
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 0x10038acf
call fcn.10003b00
mov dword [esp + 0x18], eax
test esi, esi
jne 0x10038ad7
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 0x10038b1b
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.10116580
add esp, 0x5c
ret
add eax, 1
cmp dword [esp + 0x10], eax
jge 0x10038b2f
push 0x40
push str..crypto_rsa_rsa_oaep.c
push 0x78
jmp 0x10038af7
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 0x10038b06
sub edi, ebp
sub edi, 1
push edi
lea ecx, [ebx + esi]
push 0
push ecx
call fcn.1011a970
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.1011aad0
mov ebp, dword [esp + 0x34]
push esi
push ebp
call fcn.10006200
add esp, 0x20
test eax, eax
jle 0x10038b06
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 0x10038bcc
push 0x57
push str..crypto_rsa_rsa_oaep.c
push 0x41
jmp 0x10038af7
mov edx, dword [esp + 0x14]
push edx
push esi
push ebp
push edi
push eax
call fcn.100388f0
add esp, 0x14
test eax, eax
jl 0x10038b06
test edi, edi
jle 0x10038c04
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 0x10038bf3
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.100388f0
add esp, 0x14
test eax, eax
jl 0x10038b06
test esi, esi
jle 0x10038c3d
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 0x10038c30
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.10116580
add esp, 0x5c
ret
Function at 0x10060cd0
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 0x10060ce9
mov esi, edi
mov edi, eax
jmp 0x10060ceb
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x10060cfb
mov eax, ebx
jmp 0x10060d05
push eax
push ebx
call fcn.10027720
add esp, 8
test eax, eax
jne 0x10060d0d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x10060d2b
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 0x10060d14
cmp eax, dword [esi + 4]
jge 0x10060d42
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 0x10060d30
mov eax, dword [esi + 4]
test eax, eax
mov dword [ebx + 4], eax
jle 0x10060d65
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x10060d62
sub eax, 1
test eax, eax
jg 0x10060d52
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x1006db80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013e7fe
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x10184f40]
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 0x1016f998
push ecx
call fcn.1011e9e3
mov edi, eax
add esp, 8
test edi, edi
jne 0x1006dbcf
xor al, al
jmp 0x1006dcf2
push 2
push 0
push edi
call fcn.1011e5b5
add esp, 0xc
push edi
call fcn.1011e1df
add esp, 4
lea esi, [eax + 1]
push 0
push 0
push edi
call fcn.1011e5b5
add esp, 0xc
push esi
call fcn.1011ed5a
add esp, 4
mov ebx, eax
push esi
push 0
push ebx
call fcn.1011a970
add esp, 0xc
push edi
push esi
push 1
push ebx
call fcn.1011ec29
push edi
call fcn.1011e260
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 0x1006dc3d
xor ecx, ecx
jmp 0x1006dc4b
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006dc42
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1006f630
push ebx
mov dword [ebp - 4], 0
call fcn.1011ea58
and dword [ebp - 0xa8], 0xfffffe00
add esp, 4
mov dword [ebp - 0xa4], 0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.100812b0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x70]
call fcn.1006f730
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.100813b0
test al, al
lea ecx, [ebp - 0x98]
setne bl
call fcn.1006dd10
lea ecx, [ebp - 0xb0]
call fcn.10083a90
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x1006dcf0
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.1006d640
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.10116580
mov esp, ebp
pop ebp
ret
Function at 0x100702f0
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 0x100703bf
mov eax, dword [ebp + 8]
mov dword [eax], ebx
lea eax, [ebp - 8]
push eax
call fcn.10121f5b
add esp, 4
test eax, eax
je 0x10070343
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 0x10070386
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 0x10070371
sub ebx, 1
jne 0x10070360
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 0x100703b6
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 0x100703a3
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1011759b
int3

Function at 0x100703d0
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 0x10070414
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x10]
push ecx
push eax
call esi
test eax, eax
je 0x10070414
mov ecx, dword [ebp - 0x10]
jmp 0x1007041d
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 0x100704d2
mov eax, dword [ebp - 4]
test eax, eax
je 0x100704d2
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 0x100704c9
cmp dword [ebp - 8], 0x4a
ja 0x100704c9
cmp dword [ebp - 0xc], 1
jne 0x100704c9
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 0x100704c9
cmp dword [ebp - 8], eax
je 0x100704c9
cmp dword [ebp - 0xc], 1
jne 0x100704c9
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 0x10074ca0
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10184f40]
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.1011a970
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 0x10074d4b
lea eax, [ebp - 0x108]
push 0x1016fa48
push eax
call fcn.1011a520
add esp, 8
test eax, eax
je 0x10074d4b
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 0x10074d4b
mov eax, dword [ebp - 0x10c]
mov dword [esi], eax
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10116580
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.10116580
mov esp, ebp
pop ebp
ret

Function at 0x10074d60
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 0x10074e01
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 0x10074df1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10074df1
cmp dword [ebp - 8], 0x208
ja 0x10074dd4
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
Function at 0x10074e10
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
mov eax, dword [0x10184f40]
xor eax, esp
mov dword [esp + 0x420], eax
push esi
push 0x208
lea eax, [esp + 0x14]
mov esi, ecx
push 0
push eax
call fcn.1011a970
push 0x208
lea eax, [esp + 0x228]
mov dword [esp + 0x1c], 0x104
push 0
push eax
call fcn.1011a970
add esp, 0x18
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x10074ee1
push ecx
lea edx, [esp + 0x21c]
lea ecx, [esp + 0x14]
call fcn.10074d60
add esp, 4
test al, al
je 0x10074ee1
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
test eax, eax
je 0x10074ee1
mov edx, dword [esp + 8]
cmp dword [edx], 0
je 0x10074ee1
mov ecx, edx
sub esi, edx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x10074eb5
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
pop esi
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.10116580
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x424]
xor al, al
pop esi
xor ecx, esp
call fcn.10116580
mov esp, ebp
pop ebp
ret
Function at 0x10076500
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013f328
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x10184f40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
lea ecx, [ebp - 0x5c]
call fcn.10076af0
push 0xa
push str.Bookmarks
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
call fcn.10074860
push str..bak
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x2c]
call fcn.10079370
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x10076568
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x10076584
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.1006f8c0
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x100765a1
mov eax, dword [edx]
jmp 0x100765a3
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x100765af
xor ecx, ecx
jmp 0x100765bd
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100765b4
sub ecx, edi
push ecx
push esi
mov ecx, edx
call fcn.1006f630
lea ecx, [ebp - 0x2c]
call fcn.10079b30
add esp, 0x18
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x100765dd
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.10079ec0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x10076600
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.1006f8c0
xor eax, eax
mov dword [ebp - 0x18], 7
cmp dword [ebp - 0x30], 0x10
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x1c], 0
cmovae edx, dword [ebp - 0x44]
cmp dword [ebp - 0x48], 8
mov word [ebp - 0x2c], ax
cmovae ecx, dword [ebp - 0x5c]
push ecx
push ebx
call fcn.1006e8a0
mov ecx, dword [ebp - 0x30]
add esp, 8
mov esi, eax
cmp ecx, 0x10
jb 0x1007664b
inc ecx
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
call fcn.1006d640
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp eax, 8
jb 0x10076672
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.1006f8c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10116580
mov esp, ebp
pop ebp
ret