joyce8/EMBER2024-capa huggingface dataset:
Function at 0x70d419d8
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [ecx + 0x48]
and ecx, 0x40000
jmp 0x70d41a26
mov ecx, dword [ecx + 0x48]
and ecx, 0x20000
jmp 0x70d41a26
mov eax, dword [esp + 4]
mov edx, 0x365
cmp eax, edx
jbe 0x70d6d566
mov edx, 0x4e4
cmp eax, edx
ja 0x70d6d6bf
je 0x70d41a40
sub eax, 0x36a
je 0x70d6d6b1
sub eax, 0x3a
je 0x70d419cd
sub eax, 4
je 0x70d3cb00
sub eax, 0xd
je 0x70d41a35
dec eax
jne 0x70d6d68d
mov ecx, dword [ecx + 0x48]
and ecx, 0x100000
xor eax, eax
or ecx, eax
jne 0x70d6d723
xor eax, eax
ret 4
mov ecx, dword [ecx + 0x48]
and ecx, 0x80000
jmp 0x70d41a26
mov ecx, dword [ecx + 0x48]
and ecx, 1
jmp 0x70d41a26
je 0x70d6d67b
add edx, 0xfffffff4
cmp eax, edx
ja 0x70d6d611
je 0x70d6d606
sub eax, 0x1b5
je 0x70d6d5fb
sub eax, 0x10f
je 0x70d6d5ed
sub eax, 0x1d
je 0x70d6d5df
sub eax, 0x26
je 0x70d6d5d1
sub eax, 0x4b
je 0x70d6d5c3
dec eax
dec eax
je 0x70d6d5b5
sub eax, 3
jne 0x70d41a30
mov ecx, dword [ecx + 0x4c]
and ecx, 0x2000000
jmp 0x70d6d684
mov ecx, dword [ecx + 0x4c]
and ecx, 0x4000000
jmp 0x70d6d684
mov ecx, dword [ecx + 0x4c]
and ecx, 0x40000000
jmp 0x70d6d684
mov ecx, dword [ecx + 0x4c]
and ecx, 0x8000000
jmp 0x70d6d684
mov ecx, dword [ecx + 0x4c]
and ecx, 0x10000000
jmp 0x70d6d684
mov ecx, dword [ecx + 0x4c]
and ecx, 0x20000000
jmp 0x70d6d684
mov ecx, dword [ecx + 0x4c]
and ecx, 0x80000000
jmp 0x70d6d684
mov ecx, dword [ecx + 0x4c]
and ecx, 0x1000000
jmp 0x70d6d684
sub eax, 0x35c
je 0x70d6d670
dec eax
je 0x70d6d665
dec eax
je 0x70d6d65a
dec eax
je 0x70d6d64f
dec eax
je 0x70d6d644
dec eax
je 0x70d6d639
dec eax
jne 0x70d41a30
mov ecx, dword [ecx + 0x4c]
and ecx, 0x20000
jmp 0x70d6d684
mov ecx, dword [ecx + 0x4c]
and ecx, 0x40000
jmp 0x70d6d684
mov ecx, dword [ecx + 0x4c]
and ecx, 0x80000
jmp 0x70d6d684
mov ecx, dword [ecx + 0x4c]
and ecx, 0x100000
jmp 0x70d6d684
mov ecx, dword [ecx + 0x4c]
and ecx, 0x200000
jmp 0x70d6d684
mov ecx, dword [ecx + 0x4c]
and ecx, 0x400000
jmp 0x70d6d684
mov ecx, dword [ecx + 0x4c]
and ecx, 0x800000
jmp 0x70d6d684
mov ecx, dword [ecx + 0x4c]
and ecx, 0x10000
xor eax, eax
or eax, ecx
jmp 0x70d41a2a
sub eax, 0x12c
je 0x70d6d6a6
dec eax
jne 0x70d41a30
mov ecx, dword [ecx + 0x48]
and ecx, 4
jmp 0x70d41a26
mov ecx, dword [ecx + 0x48]
and ecx, 2
jmp 0x70d41a26
mov ecx, dword [ecx + 0x48]
and ecx, 0x10000
jmp 0x70d41a26
sub eax, 0x4e5
je 0x70d6d718
dec eax
je 0x70d6d70d
dec eax
je 0x70d6d702
dec eax
je 0x70d6d6f7
dec eax
je 0x70d6d6e9
sub eax, 0x68
jne 0x70d41a30
mov ecx, dword [ecx + 0x48]
and ecx, 0x200000
jmp 0x70d41a26
mov ecx, dword [ecx + 0x48]
and ecx, 0x80
jmp 0x70d41a26
mov ecx, dword [ecx + 0x48]
and ecx, 0x40
jmp 0x70d41a26
mov ecx, dword [ecx + 0x48]
and ecx, 0x20
jmp 0x70d41a26
mov ecx, dword [ecx + 0x48]
and ecx, 0x10
jmp 0x70d41a26
mov ecx, dword [ecx + 0x48]
and ecx, 8
jmp 0x70d41a26
xor eax, eax
inc eax
jmp 0x70d41a32
Function at 0x70d4a5fd
Capabilities:
Query or enumerate registry value

Disassembly:
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop edi
pop esi
leave
ret
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x70d4a501
push ebp
mov ebp, esp
sub esp, 0x424
push esi
push edi
lea eax, [ebp - 4]
push eax
push 9
xor edi, edi
push edi
push 0x70d63b00
push 0x80000002
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x70d4a501
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 4]
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, edi
jne 0x70d4a505
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x70d4a505
imul eax, eax, 0x210
push eax
call fcn.70d0152c
cmp eax, edi
mov dword [esi + 0xc], eax
je 0x70d4a505
mov dword [ebp - 8], edi
push ebx
mov eax, 0x104
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, edi
jne 0x70d4a4f7
inc dword [ebp - 8]
mov eax, dword [ebp - 0x14]
dec eax
cmp eax, edi
jl 0x70d4a6c7
cmp word [ebp + eax*2 - 0x21c], 0x2c
je 0x70d4a74c
dec eax
jns 0x70d4a6b5
mov eax, dword [0x70e7a4a8]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x21c]
push eax
call fcn.70d090ac
cmp eax, edi
je 0x70d4a673
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
imul ecx, ecx, 0x210
mov dword [ecx + edx + 0x20c], eax
xor eax, eax
cmp dword [ebp - 0xc], edi
jbe 0x70d4a71f
mov cx, word [ebp + eax*2 - 0x424]
cmp cx, 0x2c
je 0x70d4a71f
mov edx, dword [esi + 0x10]
mov ebx, dword [esi + 0xc]
imul edx, edx, 0x108
add edx, eax
inc eax
mov word [ebx + edx*2], cx
cmp eax, dword [ebp - 0xc]
jb 0x70d4a6f9
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
imul ecx, ecx, 0x108
add ecx, eax
mov word [edx + ecx*2], di
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
imul ecx, ecx, 0x210
mov dword [ecx + edx + 0x208], eax
inc dword [esi + 0x10]
jmp 0x70d4a673
mov word [ebp + eax*2 - 0x21c], di
jmp 0x70d4a6c7
Function at 0x70d4a9f3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
push ebx
push esi
push 8
mov esi, ecx
call fcn.70d0152c
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 4], eax
je 0x70d4aab3
push edi
mov dword [eax], ebx
mov eax, dword [esi + 4]
push 0x45
mov dword [eax + 4], ebx
xor edi, edi
xor eax, eax
pop ecx
mov word [ebp + eax - 0x22c], cx
inc edi
lea eax, [edi + edi]
xor ecx, ecx
mov cx, word [eax + 0x70d63af0]
cmp cx, bx
jne 0x70d4aa24
call dword [sym.imp.KERNEL32.dll_GetACP]
test eax, eax
jbe 0x70d4aa5d
xor edx, edx
push 0xa
pop ecx
div ecx
add edx, 0x30
mov word [ebp + ebx*2 - 0x24], dx
inc ebx
cmp ebx, 5
jl 0x70d4aa44
dec ebx
js 0x70d4aa70
mov ax, word [ebp + ebx*2 - 0x24]
mov word [ebp + edi*2 - 0x22c], ax
inc edi
jmp 0x70d4aa5d
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push 9
push eax
mov word [ebp + edi*2 - 0x22c], ax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x22c]
push eax
push 0x80000001
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x70d750d7
cmp dword [ebp - 4], 0
pop edi
jne 0x70d751b4
pop esi
pop ebx
leave
ret
mov eax, 0x104
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x22c]
push eax
xor edi, edi
push edi
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x434]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, edi
mov dword [ebp - 0x18], eax
jne 0x70d751a2
cmp dword [ebp - 0xc], edi
je 0x70d75149
push 0x70e5c688
lea eax, [ebp - 0x434]
push eax
call fcn.70d01962
test eax, eax
jne 0x70d75149
lea eax, [ebp - 0x22c]
push eax
mov ecx, esi
mov dword [ebp - 0xc], edi
call fcn.70daac25
cmp eax, edi
je 0x70d751a2
mov ecx, dword [esi + 4]
mov dword [ecx], eax
jmp 0x70d751a2
mov eax, dword [0x70e7a4a8]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x434]
push eax
call fcn.70d090ac
mov ebx, eax
cmp ebx, edi
je 0x70d751a2
lea eax, [ebp - 0x22c]
push eax
mov ecx, esi
call fcn.70daac25
mov edi, eax
test edi, edi
je 0x70d751a2
push 0xc
call fcn.70d0152c
test eax, eax
je 0x70d751a2
mov dword [eax], ebx
mov dword [eax + 4], edi
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
test edx, edx
jne 0x70d75199
mov dword [ecx + 4], eax
and dword [eax + 8], edx
jmp 0x70d751a2
mov dword [eax + 8], edx
mov ecx, dword [esi + 4]
mov dword [ecx + 4], eax
inc dword [ebp - 8]
cmp dword [ebp - 0x18], 0
je 0x70d750d7
jmp 0x70d4aaa8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x70d4aab3
Function at 0x70d4ad7c
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
xor esi, esi
cmp dword [0x70e7b788], esi
jne 0x70d4ad96
mov ax, word [0x70e7a6f4]
pop esi
leave
ret
push 0x400
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
cmp dword [0x70e7a018], esi
mov dword [0x70e7a6f4], eax
je 0x70d4adc6
push 0x14
lea ecx, [ebp - 0x34]
push ecx
push 0x1014
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], esi
je 0x70d7d13e
movzx eax, word [ebp - 0x34]
sub eax, 0x31
jne 0x70d7d194
mov dword [0x70e7a6f8], 1
mov dword [0x70e7b788], esi
jmp 0x70d4ad8d
lea eax, [ebp - 8]
push eax
push 0x20019
push esi
push 0x70d8a69c
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x70d4adcf
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0x70d8a690
push dword [ebp - 8]
mov word [ebp - 0x34], si
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x70d7d186
mov dword [ebp - 4], esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x70d4adcf
dec eax
je 0x70d7d1a2
mov dword [0x70e7a6f8], esi
jmp 0x70d4ade6
mov dword [0x70e7a6f8], 2
jmp 0x70d4ade6

Function at 0x70d4c1c3
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov dword [0x70e7a6fc], ecx
mov dword [0x70e7ab24], edi
call ebx
mov dword [0x70e7a700], eax
jmp 0x70d4c1f2
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
xor edi, edi
cmp dword [0x70e7a164], edi
mov dword [0x70e7ab24], edi
je 0x70d4c1f6
call ebx
sub eax, dword [0x70e7a700]
cmp eax, 0x7530
sbb eax, eax
inc eax
mov dword [esp + 8], eax
jne 0x70d4c1fb
pop edi
pop ebx
pop ecx
ret
call fcn.70d4c7cb
cmp dword [0x70e7b794], edi
je 0x70d7d9e9
cmp dword [0x70e7ab24], edi
je 0x70d4c1ba
mov eax, dword [0x70e7a164]
xor ecx, ecx
cmp eax, edi
je 0x70d4c1ae
mov edx, dword [eax + 0x40]
cmp edx, ecx
ja 0x70d4c226
mov eax, dword [eax + 0x4c]
jmp 0x70d4c216
mov ecx, edx
jmp 0x70d4c221
push esi
push 0x20000
push 0x70e84050
mov esi, 0x70e65150
push esi
push 0x80000002
call fcn.70ddcaa5
push 0x40000
push 0x70e8404c
push esi
push 0x80000001
call fcn.70ddcaa5
pop esi
jmp 0x70d4c207

Function at 0x70d546d3
Capabilities:
Create thread

Disassembly:
push ebx
push edi
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edi, eax
cmp edi, ebx
je 0x70d6d19b
push esi
mov esi, 0x70e7a478
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov dword [0x70e7a4f8], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x70e7a4f4
push ebx
push ebx
push 0x70d0b61e
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [0x70e7a490], eax
pop esi
je 0x70d6d19b
xor eax, eax
mov dword [0x70e7a4dc], 1
inc eax
pop edi
pop ebx
ret
call fcn.70d0b6aa
xor eax, eax
jmp 0x70d54735
Function at 0x70d55d77
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x640
push esi
push edi
lea eax, [ebp - 8]
push eax
xor esi, esi
cmp dword [0x70e7a018], esi
mov edi, ecx
push 1
mov dword [ebp - 0x14], edi
push esi
je 0x70d74bbd
push dword [0x70e7a190]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x70d55eac
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 8]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x70d74bd3
push esi
push 0x70d5c670
mov ecx, edi
call fcn.70d56146
cmp dword [ebp - 0x10], esi
jbe 0x70d55e7c
push ebx
mov ebx, 0x104
mov edi, 0x103
cmp dword [ebp - 0xc], edi
je 0x70d55e78
cmp dword [0x70e7a018], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], 0x208
je 0x70d74be4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x640]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, edi
mov dword [ebp - 0xc], eax
je 0x70d55e78
cmp eax, esi
jne 0x70d55e6d
cmp dword [0x70e7a018], esi
je 0x70d74c10
mov ecx, dword [ebp - 0x14]
push esi
lea eax, [ebp - 0x334]
push eax
call fcn.70d56146
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jb 0x70d55df9
mov edi, dword [ebp - 0x14]
pop ebx
cmp dword [edi], esi
je 0x70d55ea3
cmp dword [ebp + 8], esi
je 0x70d55e9c
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push dword [ebp - 8]
call fcn.70d08cda
mov ecx, dword [edi + 0xc]
push eax
call fcn.70d565e6
mov dword [edi + 0x14], 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret 4
push dword [0x70e7cdb4]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x70d55dad
mov eax, dword [edi + 4]
shl eax, 3
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], esi
jmp 0x70d55ddd
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
jmp 0x70d55e46
xor eax, eax
push ebx
mov ecx, 0x82
lea edi, [ebp - 0x334]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x334]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x12c]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x18], eax
jmp 0x70d55e5d
Function at 0x70d9a789
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
mov eax, dword [ebp + 8]
je 0x70d9a7bb
push esi
mov esi, dword [ebp + 0x10]
xor edx, edx
mov dl, byte [eax]
shr esi, 8
xor edx, dword [ebp + 0x10]
and edx, 0xff
mov edx, dword [edx*4 + 0x70e5c000]
xor edx, esi
inc eax
dec ecx
mov dword [ebp + 0x10], edx
jne 0x70d9a797
pop esi
mov eax, dword [ebp + 0x10]
pop ebp
ret 0xc
Function at 0x70da49b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [eax]
push 9
pop edx
mov dword [ebp + 8], ecx
lea ecx, [eax + 2]
mov ax, word [ebp + 8]
xor ax, word [ecx]
inc ecx
inc ecx
dec edx
jne 0x70da49d0
pop ebp
ret 4

Function at 0x70daafd1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
push ebx
push edi
push 8
mov ebx, ecx
call fcn.70d0152c
xor edi, edi
cmp eax, edi
mov dword [ebx + 4], eax
je 0x70dab190
mov dword [eax], edi
mov eax, dword [ebx + 4]
push esi
mov dword [eax + 4], edi
xor esi, esi
mov al, 0x45
mov byte [ebp + esi - 0x120], al
mov al, byte [esi + 0x70e5c5e9]
inc esi
test al, al
jne 0x70daafff
call dword [sym.imp.KERNEL32.dll_GetACP]
test eax, eax
jbe 0x70dab03d
xor edx, edx
push 0xa
pop ecx
div ecx
add dl, 0x30
mov byte [ebp + edi - 0x10], dl
inc edi
cmp edi, 5
jl 0x70dab017
jmp 0x70dab03d
mov al, byte [ebp + edi - 0x10]
mov byte [ebp + esi - 0x120], al
inc esi
dec edi
jns 0x70dab031
and byte [ebp + esi - 0x120], 0
lea ecx, [ebp - 4]
push ecx
xor eax, eax
push 9
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x120]
push eax
push 0x80000001
mov dword [ebp - 0x14], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x70dab180
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x120]
push eax
xor edi, edi
push edi
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 8]
mov esi, 0x104
push dword [ebp - 4]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, edi
mov dword [ebp - 0x10], eax
jne 0x70dab173
push esi
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.70d9b4fb
test eax, eax
je 0x70dab078
push esi
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.70d9b4fb
test eax, eax
je 0x70dab078
cmp dword [ebp - 0x14], edi
je 0x70dab11a
push 0x70e5c688
lea eax, [ebp - 0x42c]
push eax
call fcn.70d01962
test eax, eax
jne 0x70dab11a
lea eax, [ebp - 0x634]
push eax
mov ecx, ebx
mov dword [ebp - 0x14], edi
call fcn.70daac25
cmp eax, edi
je 0x70dab173
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
jmp 0x70dab173
mov eax, dword [0x70e7a4a8]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x42c]
push eax
call fcn.70d090ac
mov edi, eax
test edi, edi
je 0x70dab173
lea eax, [ebp - 0x634]
push eax
mov ecx, ebx
call fcn.70daac25
mov esi, eax
test esi, esi
je 0x70dab173
push 0xc
call fcn.70d0152c
test eax, eax
je 0x70dab173
mov dword [eax], edi
mov dword [eax + 4], esi
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 4]
test edx, edx
jne 0x70dab16a
mov dword [ecx + 4], eax
and dword [eax + 8], edx
jmp 0x70dab173
mov dword [eax + 8], edx
mov ecx, dword [ebx + 4]
mov dword [ecx + 4], eax
inc dword [ebp - 8]
cmp dword [ebp - 0x10], 0
je 0x70dab078
cmp dword [ebp - 4], 0
pop esi
je 0x70dab190
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
leave
ret
Function at 0x70dab19f
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push ebx
push esi
mov esi, dword [0x70e7a16c]
xor eax, eax
inc eax
xor ebx, ebx
add esi, 0x20
cmp dword [esi], 0xbfbfbfbf
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
jne 0x70dab208
lea ecx, [ebp - 0x10]
push ecx
push eax
push ebx
push dword [0x70e7cdb4]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x70dab208
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x70dab20e
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
pop ebx
leave
ret
mov eax, dword [esi + 4]
add esi, 8
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], esi
jbe 0x70dab28f
push edi
mov eax, 0x104
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 8]
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
je 0x70dab28b
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xc], eax
jae 0x70dab28b
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov ecx, eax
lea edi, [ebp - 0x12c]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x70dab28b
add dword [ebp - 0x14], eax
add dword [ebp - 0xc], eax
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x1c]
jb 0x70dab220
jmp 0x70dab28e
mov dword [ebp - 4], ebx
pop edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], ebx
je 0x70dab208
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xc], eax
jne 0x70dab208
xor eax, eax
inc eax
jmp 0x70dab20a
Function at 0x70db7318
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [ebp + 0x18]
and al, 2
sub al, 2
neg al
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
sbb eax, eax
inc eax
xor ebx, ebx
cmp esi, ebx
mov edi, eax
je 0x70db7343
neg eax
sbb eax, eax
and eax, 0x16
add eax, esi
jmp 0x70db7345
xor eax, eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.70db7190
cmp eax, ebx
mov dword [ebp + 0x18], eax
je 0x70db7458
cmp edi, ebx
je 0x70db7458
add dword [ebp + 0x18], 0x16
cmp esi, ebx
je 0x70db7458
lea eax, [ebp - 0x6c]
mov byte [esi], 0xd7
mov byte [esi + 1], 0xcd
mov byte [esi + 2], 0xc6
mov byte [esi + 3], 0x9a
push eax
mov byte [esi + 4], bl
mov byte [esi + 5], bl
push 0x6c
push dword [ebp + 8]
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
mov byte [esi + 0x12], bl
mov byte [esi + 0x13], bl
call sub.GDI32.dll_GetEnhMetaFileHeader
test eax, eax
je 0x70db741a
fild dword [ebp - 0x24]
fidiv dword [ebp - 0x1c]
fmul dword [0x70d66958]
fiadd dword [ebp - 0x20]
fidiv dword [ebp - 0x18]
fmul dword [0x70d66958]
fmul dword [0x70d5bf74]
fild dword [ebp - 0x54]
fmul st(1)
call fcn.70d03254
fild dword [ebp - 0x50]
mov byte [esi + 6], al
mov byte [esi + 7], ah
fmul st(1)
call fcn.70d03254
fild dword [ebp - 0x4c]
mov byte [esi + 8], al
mov byte [esi + 9], ah
fmul st(1)
call fcn.70d03254
fild dword [ebp - 0x48]
mov byte [esi + 0xa], al
mov byte [esi + 0xb], ah
fmul st(1)
call fcn.70d03254
fmul dword [0x70d66930]
mov byte [esi + 0xc], al
mov byte [esi + 0xd], ah
call fcn.70d03254
mov byte [esi + 0xe], al
mov byte [esi + 0xf], ah
jmp 0x70db743d
mov byte [esi + 6], bl
mov byte [esi + 7], bl
mov byte [esi + 8], bl
mov byte [esi + 9], bl
mov byte [esi + 0xa], 0xd0
mov byte [esi + 0xb], 7
mov byte [esi + 0xc], 0xd0
mov byte [esi + 0xd], 7
mov byte [esi + 0xe], 0x60
mov byte [esi + 0xf], bl
lea edx, [esi + 0x14]
cmp esi, edx
mov ecx, esi
mov dword [ebp + 8], ebx
mov ax, bx
jae 0x70db7455
xor ax, word [ecx]
inc ecx
inc ecx
cmp ecx, edx
jb 0x70db744c
mov word [ecx], ax
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x70dbfef3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push edi
lea eax, [ebp - 4]
push eax
push 9
xor edi, edi
push edi
push 0x70e5de50
push 0x80000002
mov dword [0x70e7a64c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x70dc003a
call fcn.70d08907
cmp eax, edi
je 0x70dbff34
mov eax, dword [eax + 8]
cmp eax, edi
mov dword [ebp - 0x14], eax
jne 0x70dbff42
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x70dc003a
push ebx
mov dword [ebp - 0xc], edi
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x68]
push eax
push edi
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0xc]
mov dword [ebp - 8], 8
push dword [ebp - 4]
mov dword [ebp - 0x10], 0x20
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, edi
mov dword [ebp - 0x18], eax
jne 0x70dc0023
cmp dword [ebp - 8], 6
mov esi, dword [ebp - 0x1e]
mov word [ebp - 0x1e], di
je 0x70dbffa7
cmp dword [ebp - 8], 7
jne 0x70dc0023
cmp word [ebp - 0x1c], 0x30
jb 0x70dc0023
cmp word [ebp - 0x1c], 0x36
ja 0x70dc0023
cmp si, 0x31
jb 0x70dc0023
cmp si, 0x39
ja 0x70dc0023
push 0x70e5de44
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x70dc0023
cmp dword [ebp - 8], 7
jne 0x70dbffdf
movzx ecx, word [ebp - 0x1c]
movzx eax, si
lea eax, [eax + eax*4]
lea esi, [ecx + eax*2 - 0x211]
jmp 0x70dbffe5
movzx esi, si
sub esi, 0x31
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x68]
push eax
call fcn.70d090ac
mov ebx, eax
cmp ebx, edi
je 0x70dc0023
cmp dword [0x70e7a64c], edi
jne 0x70dc001b
push 0x40
call fcn.70d0152c
mov edi, eax
test edi, edi
mov dword [0x70e7a64c], edi
je 0x70dc002f
push 0x10
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
xor edi, edi
mov eax, dword [0x70e7a64c]
mov dword [eax + esi*4], ebx
inc dword [ebp - 0xc]
cmp dword [ebp - 0x18], edi
je 0x70dbff47
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop edi
leave
ret

Function at 0x70dc0978
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x70dc09a3
xor eax, eax
jmp 0x70dc09cd
push edi
mov edi, dword [ebp + 0x10]
push esi
lea eax, [ebp + 8]
push eax
push edi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x70dc09c3
cmp edi, dword [ebp + 8]
jne 0x70dc09c3
xor esi, esi
inc esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc