joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100eb38
Capabilities:
Set registry value

Disassembly:
push 0
push 1
push 0x590
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret
mov edi, edi
push esi
mov esi, ecx
call fcn.0100ebca
test eax, eax
je 0x100da94
push 0x40000042
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x100da94
call fcn.0100bebf
test eax, eax
je 0x10255d5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x100daa6
push 1
call dword [sym.imp.USER32.dll_LockSetForegroundWindow]
push 0
push 0
push 0x590
push dword [esi + 4]
mov dword [esi + 0x43c], 1
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 1
push 0xf3
push 0x130
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
pop esi
jmp fcn.0100ed3a
push 0
push 1
push 0x590
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x321
push 0x320
mov ecx, esi
call fcn.01030289
pop esi
ret

Function at 0x100ebca
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x100ec1c
push 0x100bde0
push SysReAllocString
mov esi, ecx
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
call fcn.0100bebf
test eax, eax
je 0x10255b4
cmp dword [ebp - 4], 2
sbb eax, eax
neg eax
pop esi
leave
ret
mov eax, dword [ebp - 4]
sub eax, 0
je 0x10255cd
dec eax
jne 0x10255c6
mov ecx, esi
call fcn.0100ed3a
xor eax, eax
jmp 0x100ec16
xor eax, eax
inc eax
jmp 0x100ec16
Function at 0x100ece1
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push edi
xor edi, edi
cmp ecx, edi
mov byte [ebp - 1], 0
je 0x100ed22
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x100ed22
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_IsOS]
mov dword [ecx], edi
push 0x17
mov dword [eax], edi
call esi
test eax, eax
jne 0x100ed2a
push 0x16
call esi
test eax, eax
jne 0x100ed2a
push 0x15
call esi
test eax, eax
jne 0x100ed2a
pop esi
mov al, byte [ebp - 1]
pop edi
leave
ret 8
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
jmp 0x102267b
test eax, eax
je 0x100ed21
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push ebx
push 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], edi
pop edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x1022a38
push 0x10229d0
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
mov dword [ebp - 0xc], edi
call esi
test eax, eax
jne 0x10226d4
cmp dword [ebp - 8], eax
je 0x10226d4
mov eax, dword [ebp + 8]
mov dword [eax], 0x10229c0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x10229ac
jmp 0x10227a6
and dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x1022984
push 0x1022910
push ebx
mov dword [ebp - 0xc], edi
call esi
test eax, eax
jne 0x1022706
cmp dword [ebp - 0x10], edi
jne 0x1022706
cmp dword [ebp - 8], eax
jne 0x10227aa
push 0x15
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
jne 0x10227aa
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x1022900
push 0x1022890
mov ebx, SysReAllocString
push ebx
mov dword [ebp - 0xc], edi
call esi
test eax, eax
jne 0x102273e
cmp dword [ebp - 8], eax
je 0x10227aa
and dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x1022880
push 0x1022808
push ebx
mov dword [ebp - 0xc], edi
call esi
test eax, eax
jne 0x1022765
cmp dword [ebp - 8], eax
je 0x10227aa
call fcn.0102b411
test al, al
jne 0x10227aa
and dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x10229d0
push ebx
mov dword [ebp - 0xc], edi
call esi
test eax, eax
jne 0x1022794
cmp dword [ebp - 8], eax
je 0x10227aa
mov eax, dword [ebp + 8]
mov dword [eax], 0x10227f0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x10227b0
mov byte [ebp - 1], 1
pop ebx
jmp 0x100ed21

Function at 0x100ed3a
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0x100ec1c
push 0x100bde0
push SysReAllocString
mov dword [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
leave
ret
Function at 0x100ee4f
Capabilities:
Enumerate files on windows
Get common file path
Get program files directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0x1046080]
push esi
push 0x220
xor esi, esi
push esi
mov dword [ebp - 4], eax
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
je 0x100eefc
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push 0x26
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x100eefc
push edi
push 0x20
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov edi, eax
cmp edi, esi
je 0x100eefb
lea eax, [ebp - 0x20c]
push eax
mov word [edi], si
mov esi, 0x104
push esi
lea eax, [ebp - 0x61c]
push eax
call fcn.0100660f
lea ecx, [ebp - 0x20c]
mov eax, edi
sub eax, ecx
sar eax, 1
push 0x100ef08
mov ecx, esi
sub ecx, eax
push ecx
push edi
call fcn.01006409
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x102604c
pop edi
mov ecx, dword [ebp - 4]
pop esi
call fcn.01001aff
leave
ret
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.0100660f
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x840]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.0101e2e9
test byte [ebp - 0x86c], 0x10
je 0x10260a2
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10260cf
push 0x10260f4
push 5
lea eax, [ebp - 0x414]
push eax
push 0x1033027
push 0x14
push dword [0x10460dc]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_292]
cmp eax, 5
je 0x10260e5
lea eax, [ebp - 0x86c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x102604c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x100eefb
Function at 0x100f010
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
mov edi, ecx
xor esi, esi
push 0x1d
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], esi
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
jne 0x100f140
cmp dword [edi + 0x54c], esi
je 0x100f140
push 0x222
push esi
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
jne 0x100f140
push 0x40000073
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x100f140
push ebx
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0xc], 1
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
mov ebx, 0x100f21c
push ebx
mov edi, 0x100f190
push edi
mov dword [ebp - 4], 8
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
jne 0x10250f5
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push 0x20019
push edi
mov dword [ebp - 0x10], esi
call dword [sym.imp.SHLWAPI.dll_SHRegOpenUSKeyW]
test eax, eax
jne 0x100f13f
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x100f184
push dword [ebp - 0x10]
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHRegQueryUSValueW]
test eax, eax
je 0x100f147
push 0x3c
pop ebx
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x100f158
push edi
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
je 0x100f14e
mov ecx, dword [ebp - 0x14]
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0100f23f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jg 0x100f136
mov dword [ebp - 0xc], esi
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHRegCloseUSKey]
pop ebx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret
cmp dword [ebp - 8], esi
je 0x100f0f1
jmp 0x100f133
mov ebx, dword [ebp - 8]
cmp ebx, esi
jle 0x100f136
jmp 0x100f110
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x10251d8
push 0x1025160
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1025131
cmp dword [ebp - 8], esi
je 0x1025131
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
jmp 0x1025143
mov ecx, dword [ebp - 0x14]
push 0xffffffffffffffe2
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0100f23f
push 2
push 8
lea eax, [ebp - 0x20]
push eax
push esi
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
jmp 0x100f0b3
Function at 0x101082d
Capabilities:
Query or enumerate registry value

Disassembly:
mov esi, dword [esi + 0xe4]
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
push edi
push 2
push edi
push esi
call dword [eax + 0x14]
test eax, eax
jl 0x1010892
push edi
push edi
push edi
push edi
push 0x1010810
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
push dword [ebp - 4]
mov edi, eax
neg edi
sbb edi, edi
inc edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1010892
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0xec]
xor edi, edi
xor ebx, ebx
cmp dword [eax], edi
jle 0x1010877
push ebx
push eax
call dword [fcn.01006794]
push eax
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x1013346
mov eax, dword [esi + 0xec]
inc ebx
cmp ebx, dword [eax]
jl 0x1010852
mov eax, dword [esi + 0xe4]
mov ecx, dword [eax]
push edi
push edi
push dword [ebp + 8]
push 2
push eax
call dword [ecx + 0xc]
test eax, eax
jge 0x10107ca
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
xor eax, eax
inc eax
jmp 0x1010894

Function at 0x1010ace
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1046080]
push ebx
xor ebx, ebx
push 0x40000047
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], ebx
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x1010bc4
cmp dword [0x10466c4], ebx
jne 0x1010bc4
lea eax, [ebp - 0x208]
push eax
push 1
push ebx
push 0x1010bf0
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1010bc4
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x1010be0
push ebx
push dword [ebp - 0x208]
mov dword [ebp - 0x210], 0x1fe
call esi
test eax, eax
jne 0x1010b82
cmp dword [ebp - 0x214], 1
jne 0x1010b82
push 7
lea eax, [ebp - 0x204]
push eax
call fcn.01010c5f
test eax, eax
jne 0x102263d
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x1010bd8
push ebx
push dword [ebp - 0x208]
mov dword [ebp - 0x210], 0x1fe
call esi
test eax, eax
je 0x102264c
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x20c]
pop ebx
call fcn.01001aff
leave
ret
mov dword [ebp - 0x20c], 1
jmp 0x1010b82
xor esi, esi
inc esi
cmp dword [ebp - 0x214], esi
jne 0x1010bb7
push esi
lea eax, [ebp - 0x204]
push eax
call fcn.01010c5f
test eax, eax
je 0x1010bb7
mov dword [ebp - 0x20c], esi
jmp 0x1010bb7
Function at 0x1010c5f
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x1046080]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
xor edi, edi
push eax
mov dword [ebp - 0x210], edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1010cda
mov dword [ebp - 0x214], edi
push esi
call fcn.0100e6f4
test eax, eax
jne 0x1010cd9
cmp word [ebx], di
mov esi, ebx
jne 0x102259d
cmp word [esi], di
jne 0x1010cee
mov dword [ebp - 0x214], 1
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x10225c8
cmp dword [ebp - 0x214], edi
lea ebx, [esi + 2]
je 0x1010c9c
pop esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop ebx
call fcn.01001aff
leave
ret 8
mov word [esi], di
jmp 0x1010cbf
mov ax, word [esi]
cmp ax, 0x20
je 0x1010cb0
cmp ax, 0x2c
je 0x1010cb0
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp word [esi], di
je 0x1010cb0
jmp 0x102259d
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x24c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x250]
push eax
mov dword [ebp - 0x250], 0x3c
mov dword [ebp - 0x240], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x102262c
push ebx
push 0x1030
push 0x20c
push 0x203
push eax
push dword [0x10460dc]
call sub.SHELL32.dll_ShellMessageBoxW
add esp, 0x18
jmp 0x1022636
mov dword [ebp - 0x210], 1
xor edi, edi
jmp 0x1010cce

Function at 0x1011355
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x100e783
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x101137d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret
Function at 0x101291e
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x1046080]
and dword [ebp - 0x24c], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0xe
pop ecx
mov dword [ebp - 4], eax
xor eax, eax
push 0x43
lea edi, [ebp - 0x248]
rep stosd dword es:[edi], eax
mov esi, 0x106
push esi
lea eax, [ebp - 0x210]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_Ordinal_653]
cmp eax, 0xffffffff
je 0x1022fa6
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetArgsW]
mov esi, eax
xor edi, edi
cmp word [esi], di
jne 0x1022fc1
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
mov dword [ebp - 0x238], esi
xor esi, esi
inc esi
cmp dword [ebp + 0xc], edi
lea eax, [ebp - 0x210]
mov dword [ebp - 0x24c], 0x3c
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x248], 0x40
je 0x10129cf
mov dword [ebp - 0x248], 0x440
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1012a0e
cmp dword [ebp - 0x214], edi
je 0x10129fd
cmp dword [ebp + 0x10], edi
jne 0x1022fca
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01001aff
leave
ret 0xc
xor eax, eax
jmp 0x10129ff
push ebx
push esi
lea eax, [ebp - 0x210]
push eax
call fcn.0100660f
test eax, eax
jge 0x101296a
jmp 0x1012a0e
mov word [esi - 2], di
jmp 0x1012984
push 0x4ff
push 0xffffffffffffffff
push dword [ebp - 0x214]
push edi
call fcn.010214bb
jmp 0x10129f1
Function at 0x1013599
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1046080]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push esi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x40]
push eax
mov esi, 0xf003f
push esi
push 0
push 0x1013620
push SysReAllocString
call ebx
test eax, eax
jne 0x10135fb
push edi
lea eax, [ebp - 0x54]
push eax
push esi
push 0
mov edi, 0x1013608
push edi
push dword [ebp - 0x40]
call ebx
test eax, eax
jne 0x1022dbd
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.01001aff
leave
ret
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push esi
push 0
mov ebx, 0x10112c0
push ebx
push 0
push edi
push dword [ebp - 0x40]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
call edi
test eax, eax
jne 0x10135f1
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
xor eax, eax
push eax
push esi
push eax
push ebx
push eax
push 0x1020ef0
push dword [ebp - 0x50]
call edi
test eax, eax
jne 0x1022e76
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44]
push eax
xor eax, eax
push eax
push esi
push eax
push ebx
push eax
push 0x1022eb8
push dword [ebp - 0x48]
call edi
test eax, eax
jne 0x1022e6d
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueW]
push 8
pop ecx
push 0x20
lea eax, [ebp - 0x3c]
push eax
push 1
push 0x1020edc
push dword [ebp - 0x44]
mov esi, 0x1022e98
lea edi, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
call ebx
push 6
pop ecx
push 0x18
lea eax, [ebp - 0x1c]
push eax
push 1
push 0x1029c50
push dword [ebp - 0x44]
mov esi, 0x1022e80
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
call ebx
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x50]
jmp 0x10135eb

Function at 0x101387e
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.010138a2
test eax, eax
jne 0x1022b5e
pop ebx
leave
ret 8
mov eax, dword [ebp + 0xc]
push esi
push edi
xor esi, esi
push 7
mov dword [ebp - 0x20], eax
pop ecx
xor eax, eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
lea edi, [ebp - 0x1c]
push ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.SHLWAPI.dll_PathGetArgsW]
mov dword [ebp - 0x28], eax
cmp word [eax], si
je 0x1022b9e
mov word [eax - 2], si
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
jmp 0x1013898
Function at 0x1013bb8
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1046080]
push ebx
xor ebx, ebx
cmp dword [0x1047468], ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], ebx
jne 0x1013c31
push esi
push 7
xor esi, esi
call fcn.0100f86d
test eax, eax
je 0x102824e
call fcn.010193f2
cmp ax, bx
mov word [0x10474bc], ax
je 0x1013c1c
push 0x10
lea ecx, [ebp - 0x30]
push ecx
movzx eax, ax
push 0x58
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1013c1c
test byte [ebp - 0x21], 8
jne 0x1028233
xor eax, eax
cmp esi, ebx
sete al
inc eax
push eax
push 0x1047468
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop esi
cmp dword [0x1047468], 1
je 0x10282f3
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [0x1047468], 1
pop edi
sete al
pop ebx
call fcn.01001aff
leave
ret 4
xor eax, eax
mov ax, word [0x10474bc]
push eax
call fcn.0103cc89
test eax, eax
jne 0x10282eb
jmp 0x1013c1c
push 5
call fcn.0100f86d
test eax, eax
je 0x1013c1c
push 0x4a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x1013c1c
lea eax, [ebp - 0x38]
push eax
push 0x20019
push ebx
push 0x102830c
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1013c1c
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push 0x1028309
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0xc
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x38]
mov byte [ebp - 5], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0103cb8d
test eax, eax
je 0x1013c1c
mov eax, dword [ebp - 0x34]
and eax, 0x3ff
cmp eax, 1
je 0x10282e5
cmp eax, 0xd
jne 0x1013c1c
mov word [0x10474bc], ax
xor esi, esi
inc esi
jmp 0x1013c1c
cmp edi, ebx
je 0x1013c3e
mov ax, word [0x10474bc]
mov word [edi], ax
jmp 0x1013c3e

Function at 0x10141f6
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1046080]
push 0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0x103e
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x1014250
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x1027f23
push 1
push 0
push 0x101425c
push 0x100bde0
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
mov ecx, dword [ebp - 4]
call fcn.01001aff
leave
ret
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x1d4]
lea eax, [ebp - 0x20c]
push 0x1027f68
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
push 1
push 0
push 0x101425c
lea eax, [ebp - 0x20c]
push eax
jmp 0x101424a
Function at 0x10150db
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1015177
add dword [ebp - 4], 2
push edi
push dword [ebp - 4]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, esi
mov dword [ebp - 8], edi
je 0x1015176
lea eax, [ebp - 4]
push eax
push edi
push esi
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x101516d
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_StrChrW]
push 0x3b
mov esi, edi
push edi
call ebx
mov edi, eax
test edi, edi
je 0x101515e
and word [edi], 0
cmp word [esi], 0
je 0x1015156
push esi
push dword [ebp + 0x10]
call fcn.01015181
lea esi, [edi + 2]
push 0x3b
push esi
jmp 0x101513b
cmp word [esi], ax
pop ebx
je 0x101516d
push esi
push dword [ebp + 0x10]
call fcn.01015181
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
leave
ret 0xc

Function at 0x1015def
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push 0x40000056
mov edi, ecx
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x1015e4f
push 1
push eax
push 0x1015e7c
mov esi, 0x100bde0
push esi
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
mov dword [edi + 0x34], eax
je 0x1015e4b
and dword [ebp - 4], 0
push 4
pop eax
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp - 8]
push eax
add edi, 0x38
push edi
push 0
push 0x1015e58
push esi
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
pop edi
pop esi
leave
ret
and dword [edi + 0x34], 0
jmp 0x1015e4b