joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e78b
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x5c2460]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x100
push eax
lea eax, [esp + 0x74]
mov edi, ecx
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x43e7cd
xor al, al
jmp 0x43e8c9
mov esi, 0x54048c
push esi
call fcn.004049e1
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00405941
lea eax, [esp + 0x70]
push eax
call fcn.004049e1
pop ecx
push eax
lea eax, [esp + 0x74]
mov ecx, edi
push eax
call fcn.004152a1
push str.SoftwareClientsStartMenuInternet
lea ecx, [esp + 0x14]
call fcn.004058f0
call fcn.00444406
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x74]
mov ebx, 0x53fe1c
mov esi, eax
push ebx
call fcn.004049e1
pop ecx
push eax
push ebx
push ecx
mov ecx, esi
call fcn.00435c7a
push eax
lea ecx, [esp + 0x44]
call fcn.004075a4
push 0xffffffffffffffff
xor esi, esi
lea ecx, [esp + 0x44]
push esi
push edi
call fcn.00415344
push eax
lea ecx, [esp + 0x2c]
call fcn.004075a4
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.00415344
xor edi, edi
lea ecx, [esp + 0x28]
push esi
inc edi
push edi
call fcn.0040536f
push esi
push edi
lea ecx, [esp + 0x48]
call fcn.0040536f
push esi
push edi
lea ecx, [esp + 0x60]
call fcn.0040536f
cmp dword [esp + 0x24], 8
mov eax, dword [esp + 0x10]
jae 0x43e898
lea eax, [esp + 0x10]
push 0x20019
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x34]
call fcn.0045b490
cmp dword [esp + 0x28], esi
lea ecx, [esp + 0x28]
setne bl
call fcn.0045b550
push esi
push edi
lea ecx, [esp + 0x18]
call fcn.0040536f
mov al, bl
mov ecx, dword [esp + 0x274]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00501d03
mov esp, ebp
pop ebp
ret

Function at 0x43ec4a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
call fcn.00464040
cmp eax, 3
jge 0x43ec5e
xor al, al
jmp 0x43ec9e
push 0x38
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x3c
push 0
push eax
call fcn.005091d0
mov eax, dword [ebp + 8]
add esp, 0xc
and dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], 0x400
push eax
mov dword [ebp - 0x30], str.taskbarunpin
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
dec eax
neg eax
sbb al, al
inc al
mov esp, ebp
pop ebp
ret
Function at 0x43ed6c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
xor edi, edi
push 0x206
mov word [ebp - 0x20c], ax
mov esi, ecx
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.005091d0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.004307c1
push eax
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x43edf3
lea eax, [ebp - 0x20c]
push eax
call fcn.004049e1
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00405941
mov edi, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar
push edi
call fcn.004049e1
pop ecx
push eax
push edi
mov ecx, esi
call fcn.004152a1
mov al, 1
jmp 0x43edf5
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00501d03
mov esp, ebp
pop ebp
ret

Function at 0x43ee05
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
xor edi, edi
push 0x206
mov word [ebp - 0x20c], ax
mov esi, ecx
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.005091d0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.004307c1
push eax
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x43ee8c
lea eax, [ebp - 0x20c]
push eax
call fcn.004049e1
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00405941
mov edi, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedStartMenu
push edi
call fcn.004049e1
pop ecx
push eax
push edi
mov ecx, esi
call fcn.004152a1
mov al, 1
jmp 0x43ee8e
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00501d03
mov esp, ebp
pop ebp
ret

Function at 0x43ef2e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov ebx, edi
mov dword [ebp - 0x20], ebx
call fcn.00464040
cmp eax, 4
je 0x43ef5e
xor al, al
jmp 0x43eff1
push edi
push edi
push edi
push esi
push str.startpin
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
cmp esi, 0x20
jg 0x43efe9
mov edx, esi
lea ecx, [ebp - 0x1c]
call fcn.004662e0
push 0x3f
pop edx
mov ecx, str.e:360chrome37_srcchromeinstaller_tdsetuputil_shell_util.cc
call fcn.0045ce40
test eax, eax
js 0x43efce
mov edi, dword [ebp - 0x1c]
xor ebx, ebx
inc ebx
cmp dword [ebp - 8], 8
jae 0x43ef9f
lea edi, [ebp - 0x1c]
push 0
push 0x3a1
push str.e:360chrome37_srcchromeinstaller_tdsetuputil_shell_util.cc
lea ecx, [ebp - 0xd0]
call fcn.0045ce90
mov edx, str.StartPinShortcutLink_failed_with_code:
lea ecx, [eax + 8]
call fcn.00405723
mov edx, edi
mov ecx, eax
call fcn.0045d6f0
xor edi, edi
test bl, 1
je 0x43efde
lea ecx, [ebp - 0xd0]
call fcn.0045cee0
push edi
push 1
lea ecx, [ebp - 0x1c]
call fcn.0040536f
xor eax, eax
cmp esi, 0x20
setg al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret
Function at 0x43f002
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
call fcn.00464040
cmp eax, 4
je 0x43f016
xor al, al
jmp 0x43f056
push 0x38
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x3c
push 0
push eax
call fcn.005091d0
mov eax, dword [ebp + 8]
add esp, 0xc
and dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], 0x400
push eax
mov dword [ebp - 0x30], str.startunpin
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
dec eax
neg eax
sbb al, al
inc al
mov esp, ebp
pop ebp
ret

Function at 0x440649
Capabilities:
Get session user name
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov eax, ecx
mov dword [ebp - 0x18], eax
push esi
push edi
test eax, eax
je 0x44077f
mov edi, dword [sym.imp.Secur32.dll_GetUserNameExW]
lea eax, [ebp - 8]
xor ecx, ecx
push eax
push ecx
push 2
mov ebx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
call edi
test al, al
jne 0x44077f
mov eax, dword [ebp - 8]
add eax, eax
push eax
call fcn.00503856
mov esi, eax
pop ecx
test esi, esi
je 0x44077f
lea eax, [ebp - 8]
push eax
push esi
push 2
call edi
test al, al
je 0x44077f
lea eax, [ebp - 0x14]
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
push eax
push ecx
lea eax, [ebp - 0x10]
push eax
push ecx
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x440778
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x440778
push dword [ebp - 0x10]
call fcn.00503856
mov edi, eax
pop ecx
test edi, edi
je 0x440778
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
call fcn.00503856
mov dword [ebp - 0x1c], eax
pop ecx
test eax, eax
jne 0x440711
push esi
call fcn.00502847
push edi
call fcn.00502847
pop ecx
jmp 0x44077e
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x44075d
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
test eax, eax
je 0x44075d
push dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
push 0x64
pop edx
call fcn.0044057d
push dword [ebp - 4]
xor ebx, ebx
test eax, eax
setns bl
call dword [sym.imp.KERNEL32.dll_LocalFree]
and dword [ebp - 4], 0
push esi
call fcn.00502847
push edi
call fcn.00502847
push dword [ebp - 0x1c]
call fcn.00502847
add esp, 0xc
mov eax, ebx
jmp 0x440781
push esi
call fcn.00502847
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440bc1
Capabilities:
Encode data using base64

Disassembly:
push 0x50
push 0x5b43c8
call fcn.0052a340
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x50], ecx
test eax, eax
je 0x440d2a
test ecx, ecx
je 0x440d2a
test esi, esi
je 0x440d2a
xor ebx, ebx
mov byte [ebp - 0x38], bl
xor eax, eax
lea edi, [ebp - 0x37]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x28], bl
xor eax, eax
lea edi, [ebp - 0x27]
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x58]
call fcn.0046c520
pop ecx
push 0x10
lea eax, [ebp - 0x48]
push eax
push 0x10
lea eax, [ebp - 0x38]
push eax
call fcn.00504f47
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
mov edx, esi
mov ecx, dword [ebp - 0x58]
call fcn.00440b45
add esp, 0x18
test eax, eax
je 0x440d1f
mov esi, ebx
mov dword [ebp - 0x54], esi
mov edi, ebx
mov dword [ebp - 0x60], edi
mov edx, dword [ebp - 0x50]
mov cl, byte [ebp + esi - 0x28]
inc esi
mov dword [ebp - 0x54], esi
cmp esi, 8
jb 0x440c6b
mov byte [ebp - 0x49], bl
jmp 0x440c76
mov al, byte [ebp + esi - 0x28]
mov byte [ebp - 0x49], al
inc esi
mov dword [ebp - 0x54], esi
cmp esi, 8
jb 0x440c80
mov byte [ebp - 0x4a], bl
jmp 0x440c8b
mov al, byte [ebp + esi - 0x28]
mov byte [ebp - 0x4a], al
inc esi
mov dword [ebp - 0x54], esi
movzx ecx, cl
mov eax, ecx
shr eax, 2
mov ax, word [eax*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [edx + edi*2], ax
movzx edx, byte [ebp - 0x49]
mov eax, edx
shr eax, 4
and ecx, 3
shl ecx, 4
or eax, ecx
mov ax, word [eax*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [ebp - 0x50]
mov word [ecx + edi*2 + 2], ax
movzx ecx, byte [ebp - 0x4a]
mov eax, ecx
shr eax, 6
and edx, 0xf
shl edx, 2
or eax, edx
mov ax, word [eax*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edx, dword [ebp - 0x50]
mov word [edx + edi*2 + 4], ax
and ecx, 0x3f
mov ax, word [ecx*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [edx + edi*2 + 6], ax
add edi, 4
mov dword [ebp - 0x60], edi
cmp esi, 8
jb 0x440c59
push 0x3d
pop eax
mov word [edx + edi*2 - 2], ax
xor eax, eax
mov word [edx + edi*2], ax
xor ebx, ebx
inc ebx
jmp 0x440d1c
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 4], 0xfffffffe
mov eax, ebx
jmp 0x440d2c
xor eax, eax
call fcn.0052a388
ret
Function at 0x4411e6
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x61c], ax
mov ebx, edx
lea eax, [ebp - 0x61a]
mov edi, ecx
push esi
push eax
call fcn.005091d0
xor eax, eax
push 0x206
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push esi
push eax
call fcn.005091d0
add esp, 0x18
lea eax, [ebp - 0x61c]
push eax
push 1
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push eax
call esi
push 0x54020c
lea eax, [ebp - 0x414]
push eax
call esi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x441319
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.005091d0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x54de8c
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [ebp - 0x20c], 0
je 0x441319
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 8
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x441319
mov esi, 0x103
lea eax, [ebp - 0x414]
push esi
push eax
push edi
call fcn.005056dd
push esi
lea ecx, [ebp - 0x20c]
push ecx
push ebx
call fcn.005056dd
add esp, 0x18
mov al, 1
jmp 0x44131b
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret
Function at 0x4420bf
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0xda8]
cmp eax, dword [ebx + 0xdac]
jne 0x4420e9
mov al, 1
jmp 0x442125
xor ecx, ecx
mov esi, eax
push ecx
lea eax, [ebp - 0x148]
mov dword [ebp - 0x148], ecx
push eax
push ecx
push 2
push ecx
push ecx
push ecx
push str.Software360360se6ChromeExtensions
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x442123
mov ecx, dword [ebp - 0x148]
test ecx, ecx
jne 0x4422a7
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret
push 0
lea edx, [ebp - 0x144]
push edx
xor edx, edx
lea eax, [esi + 0x208]
push edx
push 2
push edx
push edx
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4422bf
push 0x103
push eax
mov byte [ebp - 0x110], al
lea eax, [ebp - 0x10f]
push eax
call fcn.005091d0
add esp, 0xc
lea eax, [ebp - 0x140]
push eax
call fcn.00442654
mov edx, eax
lea ecx, [ebp - 0x128]
call fcn.004619f0
push str.Extensions_
call fcn.00404a2a
pop ecx
push eax
push str.Extensions_
lea ecx, [ebp - 0x128]
call fcn.004051e9
push esi
mov edi, eax
call fcn.00404a2a
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004051e9
mov ecx, eax
cmp dword [ecx + 0x14], 0x10
jb 0x4421c9
mov ecx, dword [ecx]
lea edx, [ebp - 0x110]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4421cf
xor edi, edi
lea ecx, [ebp - 0x128]
push edi
push 1
call fcn.00405320
push edi
push 1
lea ecx, [ebp - 0x140]
call fcn.0040536f
push 0x104
lea eax, [ebp - 0x110]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442213
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
push 1
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push str.path
push dword [ebp - 0x144]
call edi
lea edx, [esi + 0x104]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x150], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44224b
sub ecx, dword [ebp - 0x150]
push ecx
push edx
push 1
push 0
push str.version
push dword [ebp - 0x144]
call edi
push 4
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x14c], 1
push eax
push 4
push 0
push str.360chrome_extension
push dword [ebp - 0x144]
call edi
push dword [ebp - 0x144]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x148]
add esi, 0x30c
cmp esi, dword [ebx + 0xdac]
jne 0x442136
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4420e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x442123
Function at 0x44281c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0xc], 0xafbc7a37
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0xc]
mov word [ebp - 8], 0x1c27
mov byte [ebx], 1
mov dword [ebp - 0x50], ebx
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x442983
movzx eax, word [edi + 4]
cmp ax, word [ecx + 4]
jne 0x442983
lea eax, [ebp - 0x34]
push eax
call fcn.00442654
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x442877
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4428f1
push ecx
push ecx
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.004050d6
lea ecx, [ebp - 0x1c]
call fcn.00458fb0
xor edx, edx
mov ecx, eax
call fcn.00458200
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00459030
test bl, bl
jne 0x4428ee
push edi
lea ecx, [ebp - 0x1c]
call fcn.0040503c
mov edi, dword [ebp - 0x50]
lea edx, [ebp - 0x1c]
mov ecx, str.qIhoObD
lea eax, [edi + 0x34]
push eax
call fcn.004411b4
pop ecx
xor esi, esi
lea ecx, [ebp - 0x1c]
push esi
push 1
mov bl, al
call fcn.00405320
test bl, bl
je 0x442978
mov ecx, edi
call fcn.0044173f
mov bl, al
jmp 0x442961
mov ebx, dword [ebp - 0x50]
xor esi, esi
lea eax, [ebp - 0x10]
push esi
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x10], esi
push eax
mov eax, dword [ebp + 0xc]
mov ecx, edi
cdq
push edx
push eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call fcn.0040687a
add esp, 0x14
test eax, eax
jne 0x442970
mov edi, str.BDConfig.json
push edi
call fcn.004049e1
pop ecx
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.004152a1
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00442998
push eax
lea ecx, [ebx + 0x34]
call fcn.004077d9
push esi
push 1
lea ecx, [ebp - 0x4c]
call fcn.00405320
mov ecx, ebx
call fcn.0044173f
lea ecx, [ebp - 0x10]
mov bl, al
call fcn.00407966
push esi
push 1
lea ecx, [ebp - 0x34]
call fcn.0040536f
mov al, bl
jmp 0x442985
lea ecx, [ebp - 0x10]
call fcn.00407966
push esi
push 1
lea ecx, [ebp - 0x34]
call fcn.0040536f
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret 8
Function at 0x444668
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
push 0x38
lea eax, [ebp - 0x3c]
mov esi, edx
push 0
push eax
mov edi, ecx
call fcn.005091d0
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x34], str.runas
jb 0x4446a1
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x30], edi
jb 0x4446ac
mov esi, dword [esi]
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x2c], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
test eax, eax
jne 0x4446c7
xor al, al
jmp 0x4446f5
push 0xffffffffffffffff
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4446c3
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4446f3
mov eax, dword [ebp - 4]
mov dword [ecx], eax
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x4449f1
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x5c2460]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], ecx
call fcn.00444406
lea eax, [esp + 0x34]
push eax
call fcn.00443c61
xor ebx, ebx
lea ecx, [esp + 0x10]
cmp dword [esp + 0x48], 8
lea eax, [esp + 0x34]
push ebx
cmovae eax, dword [esp + 0x38]
push ecx
push ebx
push 2
push ebx
push ebx
push ebx
push eax
push SysReAllocString
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x444ad6
cmp dword [esp + 0x10], ebx
je 0x444ad6
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [esp + 0x18]
push 4
pop ebx
push ebx
push eax
push ebx
push 0
push str.InstallerResult
push dword [esp + 0x24]
mov dword [esp + 0x30], 1
call esi
push ebx
lea eax, [esp + 0x18]
push eax
push ebx
xor ebx, ebx
push ebx
push str.InstallerError
push dword [esp + 0x24]
call esi
mov edx, edi
lea ecx, [esp + 0x1c]
call fcn.0044506f
cmp dword [esp + 0x30], 8
lea ecx, [esp + 0x1c]
mov eax, dword [esp + 0x2c]
cmovae ecx, dword [esp + 0x1c]
add eax, eax
push eax
push ecx
push 1
push ebx
push str.InstallerResultUIString
push dword [esp + 0x24]
call esi
push ebx
push 1
lea ecx, [esp + 0x24]
call fcn.0040536f
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 1
lea ecx, [esp + 0x3c]
call fcn.0040536f
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00501d03
mov esp, ebp
pop ebp
ret
Function at 0x444af4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
call fcn.00464040
cmp eax, 3
setge al
cmp byte [ebp + 0xc], 0
je 0x444bed
test al, al
je 0x444bed
push 1
mov esi, str..exe
mov dword [ebp - 0x38], 0x20
push esi
call fcn.004049e1
pop ecx
push eax
xor edi, edi
mov ecx, ebx
push edi
push esi
call fcn.00407878
push eax
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
call fcn.00407878
mov esi, eax
mov ecx, ebx
push esi
push edi
lea eax, [ebp - 0x34]
push eax
call fcn.004075ee
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.004075ee
call fcn.004445b8
push 0x38
mov esi, eax
lea eax, [ebp - 0x74]
push edi
push eax
call fcn.005091d0
add esp, 0xc
mov dword [ebp - 0x78], 0x3c
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
mov dword [ebp - 0x74], 0x40
cmovae eax, dword [ebp - 0x34]
cmp dword [ebp - 8], 8
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], str.runas
mov dword [ebp - 0x5c], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test esi, esi
je 0x444bd5
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
push edi
push 1
lea ecx, [ebp - 0x1c]
call fcn.0040536f
push edi
push 1
lea ecx, [ebp - 0x34]
call fcn.0040536f
jmp 0x444c34
push 0x40
xor edi, edi
lea eax, [ebp - 0x7c]
push edi
push eax
call fcn.005091d0
xor eax, eax
mov dword [ebp - 0x80], 0x44
add esp, 0xc
mov dword [ebp - 0x54], 1
cmp dword [ebx + 0x14], 8
mov word [ebp - 0x50], ax
jb 0x444c1a
mov ebx, dword [ebx]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x444c38
xor al, al
jmp 0x444c4a
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret

Function at 0x444c9a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x444cf3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x444ce4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x444ce0
cmp esi, ecx
jae 0x444ce4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec edx
jne 0x444cd0
cmp esi, ecx
jb 0x444ce8
xor eax, eax
jmp 0x444cf2
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4450fe
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 8]
mov dword [ebp - 0xc], edx
push eax
push 0x54e97c
xor ebx, ebx
push 1
push ebx
mov dword [ebp - 8], ebx
push 0x53bd50
mov dword [ebp - 8], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x445193
mov edi, dword [ebp - 8]
push str.ROOTCIMV2
mov dword [ebp - 4], ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea ecx, [ebp - 4]
mov esi, eax
mov eax, dword [edi]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push edi
call dword [eax + 0xc]
push esi
mov edi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
js 0x445186
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x445186
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, dword [ebp - 4]
mov bl, 1
mov dword [ebp - 4], eax
mov dword [edx], ecx
jmp 0x445189
mov eax, dword [ebp - 4]
test eax, eax
je 0x445193
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4451a0
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret