joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100780c1
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push edi
cmovae eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push ecx
push 0xf013f
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 4], 0
je 0x1007811b
push str.InprocServer32
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp + 0xc]
call fcn.100042b0
pop edi
leave
ret 0x1c

Function at 0x10078128
Capabilities:
Delete registry key

Disassembly:
push 0x60
mov eax, 0x1026508d
call fcn.10054407
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 1
call fcn.1007901f
push eax
lea ecx, [ebp - 0x6c]
call fcn.10077c22
mov esi, dword [ebp - 0x6c]
mov byte [ebp - 4], 2
jmp 0x1007825e
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10078171
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x40]
call fcn.100067f0
push str._shellexContextMenuHandlers_
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.10007ee0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10078195
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x28]
call fcn.100067f0
push str._shellexDragDropHandlers_
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.10007ee0
xor edx, edx
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push edx
cmovae eax, dword [ebp - 0x40]
push ecx
push edx
push 0xf013f
push edx
push edx
push edx
push eax
push SysReAllocString
mov dword [ebp - 0x5c], edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100781fb
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push edx
cmovae eax, dword [ebp - 0x28]
push ecx
push edx
push 0xf013f
push edx
push edx
push edx
push eax
push SysReAllocString
mov dword [ebp - 0x60], edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10078247
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
call fcn.100042b0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.100042b0
add esi, 0x18
cmp esi, dword [ebp - 0x68]
jne 0x10078167
lea ecx, [ebp - 0x6c]
call fcn.1005ceb9
lea ecx, [ebp - 0x58]
call fcn.100042b0
lea ecx, [ebp + 8]
call fcn.100042b0
call fcn.100543b1
ret 0x18
Function at 0x10078287
Capabilities:
Delete registry value

Disassembly:
push 0x20
mov eax, 0x10265040
call fcn.10054407
xor esi, esi
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 4], esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShellIconOverlayIdentifiers_
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], ax
call fcn.100034a0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
push ecx
push 0xf013f
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push esi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100782fb
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
call fcn.100042b0
lea ecx, [ebp + 8]
call fcn.100042b0
call fcn.100543b1
ret 0x18
Function at 0x100785e1
Capabilities:
Set registry value

Disassembly:
push 0x240
mov eax, 0x1026512a
call fcn.10054407
xor eax, eax
xor ebx, ebx
push 0x208
push eax
mov dword [ebp - 0x24c], eax
inc ebx
lea eax, [ebp - 0x218]
mov dword [ebp - 4], ebx
push eax
call fcn.100cd120
add esp, 0xc
mov dword [ebp - 0x21c], 7
xor eax, eax
lea ecx, [ebp - 0x230]
xor esi, esi
mov word [ebp - 0x230], ax
mov dword [ebp - 0x220], esi
push str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
call fcn.100034a0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x24c]
push ecx
push 0xf013f
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x230]
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10078715
mov dword [ebp - 0x238], eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], eax
lea eax, [ebp + 0x20]
push eax
call fcn.10022040
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x248]
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x100786ae
lea edx, [ebp - 0x218]
xor esi, esi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, si
jne 0x100786c8
sub edx, ecx
lea ecx, [ebp + 8]
sar edx, 1
cmp dword [ebp + 0x1c], 8
cmovae ecx, dword [ebp + 8]
lea eax, [edx + edx]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push esi
push ecx
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x248]
call fcn.100042b0
jmp 0x10078719
xor eax, eax
mov bl, al
lea ecx, [ebp - 0x230]
call fcn.100042b0
lea ecx, [ebp + 8]
call fcn.100042b0
lea ecx, [ebp + 0x20]
call fcn.100042b0
mov al, bl
call fcn.100543b1
ret 0x30
Function at 0x10078c77
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x102fb070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.100cd120
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x20c]
push 0x1026fb28
push eax
call fcn.1007924b
add esp, 0x18
lea eax, [ebp - 0x20c]
push esi
push esi
push eax
push str.regsvr32.exe
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
lea ecx, [ebp + 8]
setg bl
call fcn.100042b0
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.10053a94
leave
ret 0x18

Function at 0x10078faa
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x102fb070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.100cd120
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x20c]
push str._s__u___s_
push eax
call fcn.1007924b
add esp, 0x18
lea eax, [ebp - 0x20c]
push esi
push esi
push eax
push str.regsvr32.exe
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 8]
call fcn.100042b0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10053a94
leave
ret 0x18

Function at 0x10079ef9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2ef0
call fcn.10054ed0
mov eax, dword [0x102fb070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push eax
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
lea eax, [ebp - 0x7d4]
xor esi, esi
push 0x7d0
push eax
inc esi
call fcn.1001de70
add esp, 0x10
lea eax, [ebp - 0x2ee8]
push eax
push 0x20119
push 0
lea eax, [ebp - 0x7d4]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10079f5a
push 2
pop eax
jmp 0x10079fba
lea eax, [ebp - 0x2eec]
mov dword [ebp - 0x2eec], 0x2710
push eax
lea eax, [ebp - 0x2ee4]
push eax
lea eax, [ebp - 0x2ef0]
push eax
push 0
push str.PnpInstanceID
push dword [ebp - 0x2ee8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10079fac
push 4
lea eax, [ebp - 0x2ee4]
push str.pci_
push eax
call fcn.100f04e8
add esp, 0xc
neg eax
sbb eax, eax
and esi, eax
push dword [ebp - 0x2ee8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10053a94
leave
ret
Function at 0x10079fc7
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2b5c
call fcn.10054ed0
mov eax, dword [0x102fb070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x13
pop ecx
mov esi, 0x1026fba0
lea edi, [ebp - 0x54]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x2b58]
push eax
push 0x20119
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x54]
xor esi, esi
xor edi, edi
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
inc edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1007a01c
push 2
pop eax
jmp 0x1007a19b
push ebx
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x2b50]
mov dword [ebp - 0x2b50], 0x3e8
push eax
lea eax, [ebp - 0x43c]
mov ebx, esi
push eax
push esi
push dword [ebp - 0x2b58]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1007a17c
lea eax, [ebp - 0x2b54]
push eax
push 0x20119
push 0
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x2b58]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1007a150
lea eax, [ebp - 0x2b50]
mov dword [ebp - 0x2b50], 0x2710
push eax
lea eax, [ebp - 0x2b4c]
push eax
lea eax, [ebp - 0x2b5c]
push eax
push 0
push str.NetCfgInstanceId
push dword [ebp - 0x2b54]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1007a148
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2b4c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1007a0df
test dl, dl
je 0x1007a0db
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1007a0df
add eax, 2
add ecx, 2
test dl, dl
jne 0x1007a0bf
xor eax, eax
jmp 0x1007a0e3
sbb eax, eax
or eax, edi
test eax, eax
jne 0x1007a148
lea eax, [ebp - 0x2b50]
mov dword [ebp - 0x2b50], 0x2710
push eax
lea eax, [ebp - 0x2b4c]
push eax
lea eax, [ebp - 0x2b5c]
push eax
push 0
push str.MatchingDeviceId
push dword [ebp - 0x2b54]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1007a148
lea eax, [ebp - 0x2b4c]
push eax
push str.MatchingDeviceId:___s__n
call fcn.1007a92e
push 4
lea eax, [ebp - 0x2b4c]
push str.pci_
push eax
call fcn.100f04e8
add esp, 0x14
test eax, eax
je 0x1007a186
push dword [ebp - 0x2b54]
call esi
xor eax, eax
mov dword [ebp - 0x2b50], 0x3e8
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x2b50]
inc ebx
push eax
lea eax, [ebp - 0x43c]
push eax
push ebx
push dword [ebp - 0x2b58]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x1007a053
jmp 0x1007a190
push dword [ebp - 0x2b54]
call esi
xor edi, edi
push dword [ebp - 0x2b58]
call esi
mov eax, edi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10053a94
leave
ret
Function at 0x1007a5f7
Capabilities:
Get common file path
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3100
call fcn.10054ed0
mov eax, dword [0x102fb070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x108]
push esi
xor ebx, ebx
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x3100], edi
call fcn.100cd120
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.100cd120
add esp, 0x18
lea eax, [ebp - 0x108]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movsx eax, byte [ebp - 0x108]
push eax
push str.._c:
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.1001de70
add esp, 0x10
lea eax, [ebp - 0x20c]
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1007a68d
mov al, 1
jmp 0x1007a796
push 0x2710
lea eax, [ebp - 0x30ec]
mov dword [ebp - 0x30fc], ebx
push ebx
push eax
call fcn.100cd120
push 0x3e8
lea eax, [ebp - 0x9dc]
push ebx
push eax
call fcn.100cd120
push 0x3e8
lea eax, [ebp - 0x5f4]
push ebx
push eax
call fcn.100cd120
add esp, 0x24
mov dword [ebp - 0x30f0], ebx
lea eax, [ebp - 0x30fc]
mov dword [ebp - 0x30f8], ebx
mov dword [ebp - 0x30f4], ebx
push ebx
push eax
push 0x2710
lea eax, [ebp - 0x30ec]
push eax
push 0xc
lea eax, [ebp - 0x30f8]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1007a70f
mov bl, 2
jmp 0x1007a78d
lea eax, [ebp - 0x5f4]
push eax
push ebx
push dword [ebp - 0x30dc]
lea eax, [ebp - 0x30ec]
push eax
call fcn.1007a7a5
lea eax, [ebp - 0x9dc]
push eax
push 1
push dword [ebp - 0x30d4]
lea eax, [ebp - 0x30ec]
push eax
call fcn.1007a7a5
lea ecx, [ebp - 0x5f4]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007a750
sub ecx, edx
lea eax, [ebp - 0x5f4]
push ecx
push eax
mov ecx, edi
call fcn.10079e37
lea edx, [ebp - 0x9dc]
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1007a771
mov ecx, dword [ebp - 0x3100]
lea eax, [ebp - 0x9dc]
sub edx, edi
push edx
push eax
call fcn.10079e37
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10053a94
leave
ret
Function at 0x1007c4a6
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push 0x3c
mov eax, 0x1026547b
call fcn.10054407
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x1007c4c9
xor al, al
jmp 0x1007c589
lea edi, [ecx + 4]
cmp dword [edi + 0x10], 0
ja 0x1007c4ec
lea eax, [ebp - 0x40]
push eax
call fcn.1006dc21
pop ecx
push eax
mov ecx, edi
call fcn.10005380
lea ecx, [ebp - 0x40]
call fcn.100042b0
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
and dword [ebp - 0x14], 0
push edi
call fcn.10022040
xor edi, edi
lea ecx, [ebp - 0x28]
push 0x1026fd94
mov dword [ebp - 4], edi
call fcn.10007ee0
push dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
call fcn.10007ee0
test ebx, ebx
je 0x1007c534
push 0x102ddc5c
lea ecx, [ebp - 0x28]
call fcn.10007ee0
push ebx
lea ecx, [ebp - 0x28]
call fcn.10007ee0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x44]
push ecx
push 0xf003f
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], edi
cmovae eax, dword [ebp - 0x28]
push edi
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1007c57f
test esi, esi
je 0x1007c56c
push esi
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x1007c576
push edi
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
call fcn.100042b0
mov al, 1
call fcn.100543b1
ret 0xc
Function at 0x1007c865
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x102fb070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
cmp dword [esi + 0x14], ebx
ja 0x1007c8bd
lea eax, [ebp - 0x1c]
push eax
call fcn.1006dc21
pop ecx
lea ecx, [esi + 4]
push eax
call fcn.10005380
lea ecx, [ebp - 0x1c]
call fcn.100042b0
lea eax, [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x1007c8c8
mov eax, dword [eax]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x20]
push ecx
push 0xf013f
push ebx
push eax
push reloc.WS2_32.dll_closesocket
call esi
test eax, eax
je 0x1007c8eb
xor al, al
jmp 0x1007c9a4
lea eax, [ebp - 0x24]
push eax
push 0xf013f
push ebx
push str.SoftWare
push dword [ebp - 0x20]
call esi
test eax, eax
je 0x1007c90e
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1007c8e4
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x2c]
push ebx
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x24]
call esi
test eax, eax
je 0x1007c940
push dword [ebp - 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x20]
call esi
jmp 0x1007c8e4
push ebx
lea eax, [ebp - 0x28]
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1007c993
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1007c965
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push 1
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x28]
call esi
mov bl, 1
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x20]
call esi
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10053a94
leave
ret 0x10
Function at 0x1007f982
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
cmp byte [edx + 4], 0
je 0x1007f9b2
push esi
xor esi, esi
cmp dword [edx + 0x3cc], esi
jle 0x1007f9b1
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
sub edi, ecx
mov al, byte [edi + ecx]
xor byte [ecx], al
inc ecx
inc esi
cmp esi, dword [edx + 0x3cc]
jl 0x1007f9a1
pop edi
pop esi
pop ebp
ret 8

Function at 0x1007fba0
Capabilities:
Encode data using base64

Disassembly:
push 0x10
mov eax, 0x10265522
call fcn.100543d3
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov edi, ebx
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 0xf
mov byte [eax], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 1
cmp dword [ebp + 0x10], ebx
je 0x1007fd2b
mov eax, dword [ebp + 0x10]
push 3
pop esi
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
mov byte [ebp + edi - 0x14], al
inc edi
mov dl, byte [ebp - 0x13]
inc ecx
mov dword [ebp + 0xc], ecx
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x14]
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp edi, esi
jne 0x1007fc71
mov esi, dword [ebp + 8]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov edi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
cmp dword [0x102fb0e8], 0x10
mov ecx, 0x102fb0d4
movzx eax, byte [ebp + edi - 0x18]
cmovae ecx, dword [0x102fb0d4]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.10013cc0
inc edi
cmp edi, 4
jl 0x1007fc39
mov dl, byte [ebp - 0xd]
mov edi, ebx
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
push 3
pop esi
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x1007fbdb
mov dword [ebp + 0x10], edi
test edi, edi
je 0x1007fd28
mov eax, edi
cmp edi, esi
jge 0x1007fca7
cmp eax, esi
jae 0x1007fd31
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, esi
jl 0x1007fc8f
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [edi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x1007fd13
mov esi, dword [ebp + 8]
mov edi, eax
cmp dword [0x102fb0e8], 0x10
mov ecx, 0x102fb0d4
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x102fb0d4]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.10013cc0
inc ebx
cmp ebx, edi
jl 0x1007fce4
mov edi, dword [ebp + 0x10]
push 3
pop esi
cmp edi, esi
jge 0x1007fd28
sub esi, edi
mov ecx, dword [ebp + 8]
push 0x3d
call fcn.10013cc0
sub esi, 1
jne 0x1007fd19
mov eax, dword [ebp + 8]
call fcn.1005439c
ret
call fcn.10054749
int3
Function at 0x1007fdf3
Capabilities:
Check if file exists

Disassembly:
push 0x90
mov eax, 0x102655a6
call fcn.10054407
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x40], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
call fcn.1007fd64
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, dword [esi + 0x38]
sbb edx, dword [esi + 0x3c]
jne 0x1007fe43
test eax, eax
je 0x1007fe5c
push 0
push 0x3e8
push edx
push eax
call fcn.100545c0
push 0
push 0x3c
push edx
push eax
call fcn.100545c0
test edx, edx
jne 0x1007fe6d
mov byte [ebp - 0x91], dl
cmp eax, 0xb4
jbe 0x1007fe73
mov byte [ebp - 0x91], bl
mov ecx, esi
call fcn.10057ceb
test al, al
jne 0x1007fe8a
cmp byte [ebp - 0x91], al
je 0x1007ffa1
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1007ff9f
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x9c]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call fcn.1006cb06
add esp, 0xc
cmp dword [ebp - 0x9c], 0
je 0x1007ff9f
cmp dword [ebp - 0x98], 0
jbe 0x1007ff9f
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push dword [ebp - 0x98]
lea ecx, [ebp - 0x40]
mov dword [esi + 0x38], eax
push dword [ebp - 0x9c]
mov dword [esi + 0x3c], edx
call fcn.10025cd0
push 0x10
push 0x10
push 0x102de684
push 0x102de698
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1007015d
add esp, 0x18
lea ecx, [ebp - 0x40]
push eax
call fcn.10022680
lea ecx, [ebp - 0x58]
call fcn.100068e0
mov ecx, esi
call fcn.1005741c
lea ecx, [ebp - 0x90]
call fcn.10055653
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x90]
call fcn.10057da6
test al, al
je 0x1007ff92
and dword [ebp - 0x48], 0
lea ecx, [ebp - 0x58]
push 9
push str.recordset
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.10006d00
push esi
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x90]
call fcn.1005772d
lea ecx, [ebp - 0x58]
call fcn.100068e0
lea ecx, [ebp - 0x90]
call fcn.1005570e
jmp 0x1007ffa1
xor bl, bl
lea ecx, [ebp - 0x28]
call fcn.100042b0
lea ecx, [ebp - 0x40]
call fcn.100068e0
mov al, bl
call fcn.100543b1
ret