joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437de0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, dword [ebp + 8]
xor esi, esi
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0xc]
push ecx
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0
mov byte [ebp - 8], 0
mov byte [ebp - 7], 5
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x437e45
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
push edi
mov dword [ebp - 0x14], eax
cmp dword [ebx], esi
jbe 0x437e6f
lea edi, [ebx + 4]
mov edx, dword [edi]
mov eax, dword [ebp - 0x10]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x437e8d
inc esi
add edi, 8
cmp esi, dword [ebx]
jb 0x437e53
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x437e7a
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x437e9b
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret

Function at 0x438090
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ebp - 4]
push ecx
or edx, 1
push edx
push 0
push eax
mov eax, dword [esi]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4380f1
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov esi, dword [esi + 8]
push ecx
mov ecx, dword [ebp - 4]
push edx
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 4]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x438180
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
push 0
lea ecx, [ebp - 4]
push ecx
push 0
or edx, 0x20006
push edx
push 0
push 0
push 0
push eax
mov eax, dword [esi]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4381ec
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov esi, dword [esi + 8]
push ecx
mov ecx, dword [ebp - 4]
push edx
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x438260
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ebp - 4]
push ecx
or edx, 2
push edx
push 0
push eax
mov eax, dword [esi]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4382b3
mov esi, dword [esi + 8]
mov ecx, dword [ebp - 4]
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [ebp - 4]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x438e20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a8
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
xor ecx, ecx
push 0x18e
push ecx
lea edx, [ebp - 0x3a2]
push edx
mov dword [ebp - 0x3a8], eax
mov word [ebp - 0x3a4], cx
call fcn.0051d250
add esp, 0xc
lea eax, [ebp - 0x3a4]
push eax
push 0xc7
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x438e83
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
push edi
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x212]
push edx
mov word [ebp - 0x214], cx
call fcn.0051d250
mov eax, dword [0x561044]
mov cx, word [0x561048]
add esp, 0xc
mov dword [ebp - 0xc], eax
mov word [ebp - 8], cx
lea edi, [ebp - 0x3a4]
push esi
lea esp, [esp]
mov dx, word [edi]
push 0x104
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov word [ebp - 0xc], dx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x438f30
lea eax, [ebp - 0x214]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x438ef0
sub eax, edx
sar eax, 1
mov esi, eax
mov edx, 0x5c
mov word [ebp + esi*2 - 0x214], dx
inc esi
push esi
lea ecx, [ebp - 0x214]
push ecx
xor eax, eax
push ebx
mov word [ebp + esi*2 - 0x214], ax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x438f53
lea esp, [esp]
mov dx, word [edi]
add edi, 2
test dx, dx
jne 0x438f30
cmp word [edi], dx
jne 0x438ec0
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
lea eax, [ebx + esi*2]
push eax
mov eax, dword [ebp - 0x3a8]
lea ecx, [ebp - 0xc]
push ecx
push 0x561038
push edx
push eax
call fcn.00436ed0
mov ecx, dword [ebp - 4]
add esp, 0x14
pop esi
pop edi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
Function at 0x438fd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x870
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp esi, edi
jne 0x439005
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
push 0x400
push esi
call fcn.0051f6df
add esp, 8
cmp eax, 0x400
jge 0x438ff2
push 0x800
lea ecx, [ebp - 0x806]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x808], ax
call fcn.0051d250
push 0x400
push esi
lea edx, [ebp - 0x808]
push 0x401
push edx
call fcn.0051f901
add esp, 0x1c
lea eax, [ebp - 0x814]
push eax
push 0x8b
mov dword [ebp - 0x814], edi
mov dword [ebp - 0x80c], edi
mov dword [ebp - 0x810], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, eax
cmp esi, edi
je 0x4391b6
mov edx, dword [ebp - 0x814]
lea ecx, [ebp - 0x80c]
push ecx
push 1
push 2
push edi
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov esi, eax
cmp esi, edi
je 0x439185
lea eax, [ebp - 0x810]
push eax
push str.S_1_16_8192
call sub.ADVAPI32.dll_ConvertStringSidToSidW
mov esi, eax
cmp esi, edi
je 0x439185
mov eax, dword [ebp - 0x810]
mov dword [ebp - 0x818], edi
push eax
mov dword [ebp - 0x818], 0x20
mov dword [ebp - 0x81c], eax
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov edx, dword [ebp - 0x80c]
add eax, 8
push eax
lea ecx, [ebp - 0x81c]
push ecx
push 0x19
push edx
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
mov esi, eax
cmp esi, edi
je 0x439185
xor eax, eax
push 0x40
mov dword [ebp - 0x828], eax
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x820], eax
lea eax, [ebp - 0x86c]
push edi
push eax
mov dword [ebp - 0x82c], edi
mov dword [ebp - 0x870], edi
call fcn.0051d250
add esp, 0xc
lea ecx, [ebp - 0x82c]
push ecx
mov ecx, dword [ebp - 0x80c]
lea edx, [ebp - 0x870]
push edx
push ebx
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x808]
push eax
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
mov eax, dword [ebp - 0x82c]
cmp eax, edi
je 0x439176
push eax
call ebx
mov eax, dword [ebp - 0x828]
cmp eax, edi
je 0x43918b
push eax
call ebx
jmp 0x43918b
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x810]
cmp eax, edi
je 0x43919c
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x80c]
cmp eax, edi
je 0x4391a9
push eax
call ebx
mov eax, dword [ebp - 0x814]
cmp eax, edi
je 0x4391b6
push eax
call ebx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
Function at 0x4393d0
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x439583
test edi, edi
je 0x439583
test ebx, ebx
je 0x439583
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0051d250
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x61a]
push eax
mov word [ebp - 0x61c], dx
call fcn.0051d250
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x412]
push edx
mov word [ebp - 0x414], cx
call fcn.0051d250
add esp, 0x24
push 0x104
lea eax, [ebp - 0x61c]
push eax
push str._appdata_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp dword [ebp + 0x14], 2
push ebx
push edi
lea edx, [ebp - 0x414]
push esi
jne 0x4394d9
mov ecx, dword [str._s_sExtensions_s]
push ecx
push 0x104
push edx
call fcn.00436ed0
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x61c]
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x439583
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov ecx, dword [str...Local_s_sUser_DataDefaultExtensions_s]
push ecx
push 0x104
push edx
call fcn.00436ed0
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x61c]
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4394c6
push 0x208
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0051d250
push 0x208
lea edx, [ebp - 0x414]
push 0
push edx
call fcn.0051d250
mov eax, dword [str...Local_SettingsApplication_Data_s_sUser_DataDefaultExtensions_s]
push ebx
push edi
push esi
push eax
lea ecx, [ebp - 0x414]
push 0x104
push ecx
call fcn.00436ed0
add esp, 0x30
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x20c]
push edx
jmp 0x4394b8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
Function at 0x43aa10
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5797f8
push 0x51d580
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x594ccc]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x1c]
mov dword [ebp - 4], 0
test esi, esi
je 0x43ab72
cmp word [esi], 0
je 0x43ab72
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43aa70
sub eax, edx
sar eax, 1
cmp eax, 0x104
ja 0x43ab72
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43ab72
xor eax, eax
mov word [ebp - 0x81c], ax
push 0x7fe
push eax
lea ecx, [ebp - 0x81a]
push ecx
call fcn.0051d250
push esi
push 0x561180
push 0x3ff
lea edx, [ebp - 0x81c]
push edx
call fcn.00436ed0
push 0x3c
push 0
lea eax, [ebp - 0x858]
push eax
call fcn.0051d250
add esp, 0x28
mov dword [ebp - 0x858], 0x3c
lea ecx, [ebp - 0x81c]
mov dword [ebp - 0x848], ecx
mov dword [ebp - 0x84c], str.open
mov dword [ebp - 0x844], edi
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x83c], edx
mov dword [ebp - 0x854], 0x440
lea eax, [ebp - 0x858]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
cmp dword [ebp + 0x18], 0
je 0x43ab3b
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x820]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test ebx, ebx
je 0x43ab4d
push ebx
mov edx, dword [ebp - 0x820]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test esi, esi
je 0x43ab5e
mov eax, dword [ebp - 0x820]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x43ab7b
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
Function at 0x43aba0
Capabilities:
Delete registry key
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x994
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x43acdc
test ebx, ebx
je 0x43acdc
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43abd0
sub eax, edx
sar eax, 1
cmp eax, 0x64
ja 0x43acdc
mov eax, ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43abf0
sub eax, edx
sar eax, 1
cmp eax, 0x40
ja 0x43acdc
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp word [0x596e20], cx
jne 0x43ac39
push 0x208
push 0x596e20
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.Drivers
push 0x596e20
push 0x596e20
call esi
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x992]
push ecx
mov word [ebp - 0x994], ax
call fcn.0051d250
add esp, 0xc
push edi
push 0x596e20
lea edx, [ebp - 0x994]
push edx
call esi
mov ecx, 0x11
mov esi, str.SYSTEMCurrentControlSetServices_
lea edi, [ebp - 0x194]
rep movsd dword es:[edi], dword [esi]
push 0x14a
lea eax, [ebp - 0x14e]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.0051d250
push ebx
lea ecx, [ebp - 0x194]
push 0xc8
push ecx
call fcn.0051fc95
lea edx, [ebp - 0x994]
push edx
call fcn.0042daf0
add esp, 0x1c
cmp dword [ebp + 0x10], 0
pop esi
je 0x43acc7
lea eax, [ebp - 0x194]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret

Function at 0x43b110
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x3f
lea eax, [ebp - 0x7b]
push 0
push eax
mov edi, ecx
mov byte [ebp - 0x7c], 0
call fcn.0051d250
mov esi, dword [ebp + 8]
add esp, 0xc
xor eax, eax
lea ecx, [ecx]
mov ecx, eax
shr ecx, 3
movsx edx, byte [ecx + esi]
mov ecx, eax
and ecx, 7
shl edx, cl
inc eax
sar edx, 7
and dl, 1
mov byte [ebp + eax - 0x7d], dl
cmp eax, 0x40
jb 0x43b140
push 0x37
lea eax, [ebp - 0x3b]
push 0
push eax
mov byte [ebp - 0x3c], 0
call fcn.0051d250
add esp, 0xc
xor eax, eax
jmp 0x43b180
movsx ecx, byte [eax + 0x55fa98]
movzx edx, byte [ebp + ecx - 0x7d]
movsx ecx, byte [eax + 0x55fa99]
mov byte [ebp + eax - 0x3c], dl
movzx edx, byte [ebp + ecx - 0x7d]
movsx ecx, byte [eax + 0x55fa9a]
mov byte [ebp + eax - 0x3b], dl
movzx edx, byte [ebp + ecx - 0x7d]
movsx ecx, byte [eax + 0x55fa9b]
mov byte [ebp + eax - 0x3a], dl
movzx edx, byte [ebp + ecx - 0x7d]
mov byte [ebp + eax - 0x39], dl
add eax, 4
cmp eax, 0x38
jl 0x43b180
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, edi
call fcn.0042f4b0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0051d23b
mov esp, ebp
pop ebp
ret 8
Function at 0x441530
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x8c]
push ecx
push edi
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x85], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x44157d
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
push ebx
push esi
call fcn.0051e9bc
add esp, 4
mov ebx, eax
push ebx
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x441625
lea edx, [ebp - 0x8c]
push edx
lea eax, [ebp - 0x98]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x441625
mov esi, dword [ebp - 0x90]
test esi, esi
je 0x441625
mov eax, dword [ebp - 0x98]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
push str.StringFileInfo_04x_04xFileDescription
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.00436fa0
add esp, 0x14
lea ecx, [ebp - 0x8c]
push ecx
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x84]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x441625
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp + 0x10]
push ecx
push edx
push esi
call fcn.00436bb0
test eax, eax
jl 0x441625
mov byte [ebp - 0x85], 1
push ebx
call fcn.0051e865
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x85]
add esp, 4
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0051d23b
mov esp, ebp
pop ebp
ret

Function at 0x4416e0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push 0
push eax
mov esi, ecx
mov ecx, dword [esi]
push str.DefaultScope
push str.SOFTWAREMicrosoftInternet_ExplorerSearchScopes
push ecx
call fcn.004384b0
add esp, 0x14
test al, al
jne 0x44170c
xor al, al
pop esi
pop ebp
ret 4
mov edx, dword [esi]
push str.SOFTWAREMicrosoftInternet_ExplorerUser_Preferences
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x441723
cmp eax, 2
jne 0x441705
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x441730
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push 0x100
push eax
push str.DefaultScope
push str.SOFTWAREMicrosoftInternet_ExplorerSearchScopes
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004384b0
add esp, 0x14
test al, al
jne 0x44175b
xor al, al
pop ebp
ret
push str.SOFTWAREMicrosoftInternet_ExplorerUser_Preferences
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x441774
cmp eax, 2
jne 0x441757
mov al, 1
pop ebp
ret
Function at 0x441e30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
cmp eax, esi
je 0x441e93
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 8]
or ecx, 0x20019
push ecx
push eax
push edx
lea ecx, [ebp - 0xc]
call fcn.00415210
mov esi, dword [ebp - 0xc]
test eax, eax
jne 0x441e93
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push eax
push esi
mov dword [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x441e93
cmp dword [ebp - 8], 4
jne 0x441e93
mov bl, 1
jmp 0x441e95
xor bl, bl
test esi, esi
je 0x441ea0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x441fe0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor eax, eax
push 0x208
mov esi, ecx
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.0051d250
mov eax, dword [ebx]
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0
push eax
push edi
mov dword [ebp - 0x218], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [esi]
xor edx, edx
mov word [ebp - 8], dx
mov ecx, dword [esi - 0xc]
lea edx, [ecx + ecx + 2]
mov dword [ebp - 0x214], edx
test eax, eax
jne 0x4420a1
mov ecx, esi
lea eax, [ebp - 0x210]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x442086
test dx, dx
je 0x442082
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x442086
add eax, 4
add ecx, 4
test dx, dx
jne 0x442060
xor eax, eax
jmp 0x44208b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4420a1
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebx]
push eax
push esi
push 1
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
Function at 0x448620
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
cmp byte [esi + 0x418], 0
jne 0x4487b5
push ebx
lea ebx, [esi + 0x41c]
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x418], 0
je 0x44865f
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
push edi
xor eax, eax
push eax
push 0x28
push esi
xor ecx, ecx
xor edx, edx
lea edi, [esi + 0x20c]
push eax
mov dword [esi + 0x208], eax
mov dword [esi + 0x414], eax
mov word [esi], cx
mov word [edi], dx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4486a1
push str.:windows_
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x44872e
xor ebx, ebx
call fcn.004d92f0
test al, al
jne 0x448718
mov eax, dword [ebp + 8]
test eax, eax
je 0x448718
push eax
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0xc], eax
cmp dword [0x583498], eax
je 0x44870c
test eax, eax
je 0x44870c
lea ecx, [ebp + 8]
push ecx
push 8
push eax
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x44870c
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push edx
push esi
push eax
mov dword [ebp - 8], 0x104
call dword [sym.imp.USERENV.dll_GetUserProfileDirectoryW]
test eax, eax
je 0x448702
mov ebx, 1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xc]
call fcn.00442600
test ebx, ebx
jne 0x44872b
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x448740
push 0x104
sub eax, edx
push edi
sar eax, 1
push esi
mov dword [esi + 0x208], eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x44876d
cmp eax, 0x104
jb 0x448772
xor eax, eax
mov word [edi], ax
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x448783
xor ecx, ecx
mov word [edi], cx
mov eax, edi
lea edx, [eax + 2]
jmp 0x448790
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x448790
sub eax, edx
sar eax, 1
push ebx
mov dword [esi + 0x414], eax
mov byte [esi + 0x418], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4