joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f7f5
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x228
mov eax, 0x47a960
call fcn.00451855
mov eax, dword [ebp + 0x14]
mov ecx, eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x234], eax
call fcn.0040acc6
xor ecx, ecx
mov eax, 0x200
cmp dword [ebp + 0x10], 1
mov edx, 0x100
cmove ecx, eax
xor eax, eax
cmp dword [ebp + 0x10], 2
cmove eax, edx
and dword [ebp - 0x230], 0
or ecx, eax
or ecx, 0x20019
cmp dword [esi + 0x14], 8
jb 0x41f84d
mov esi, dword [esi]
lea eax, [ebp - 0x230]
push eax
push ecx
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x41f90b
xor ebx, ebx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0xff
push eax
lea eax, [ebp - 0x210]
push eax
push ebx
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test edi, edi
jne 0x41f8e2
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00403736
mov ecx, dword [ebp - 0x234]
lea eax, [ebp - 0x22c]
and dword [ebp - 4], edi
push eax
call fcn.00404cb2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.0040443d
jmp 0x41f8ea
cmp edi, 0x103
jne 0x41f8f1
inc ebx
test edi, edi
je 0x41f877
jmp 0x41f8ff
movzx esi, di
or esi, 0x80070000
test edi, edi
cmovle esi, edi
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.00451804
ret 0x10

Function at 0x4208d2
Capabilities:
Get common file path

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4a919c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
xor esi, esi
mov dword [ebp - 0x210], 0x104
push esi
push eax
call fcn.004546e0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.USERENV.dll_GetDefaultUserProfileDirectoryW]
test eax, eax
je 0x420933
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00403839
jmp 0x420947
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00450f85
leave
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x4208d0
Function at 0x420edc
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x4a919c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ebp + 0x14]
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
shl eax, 8
push esi
add eax, 0x20019
cmp dword [ecx + 0x14], 8
push edi
mov edi, dword [ebp + 0x10]
jb 0x420f12
mov ecx, dword [ecx]
lea esi, [ebp - 0x830]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x82c], 0x820
test eax, eax
cmovle esi, eax
and dword [ebp - 0x828], 0
test esi, esi
js 0x420fba
cmp dword [edi + 0x14], 8
jb 0x420f4f
mov edi, dword [edi]
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x828]
push eax
push 0
push edi
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x420fae
cmp dword [ebp - 0x828], 1
je 0x420f9e
cmp dword [ebp - 0x828], 2
je 0x420f9e
mov esi, 0x8007065d
jmp 0x420fae
lea eax, [ebp - 0x824]
mov ecx, ebx
push eax
xor esi, esi
call fcn.00403839
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450f85
leave
ret 0x14
push ebp
mov ebp, esp
pop ebp
jmp 0x420eda

Function at 0x421a53
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4a919c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
push 0x208
push 0
push eax
mov dword [ebp - 0x214], esi
call fcn.004546e0
add esp, 0xc
mov dword [ebp - 0x210], 0x104
lea eax, [ebp - 0x210]
push 0
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push ebx
call fcn.00421948
mov esi, eax
test esi, esi
js 0x421acc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x421b0f
push 1
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x214]
push ebx
call fcn.00421948
mov esi, eax
test esi, esi
js 0x421b27
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x421b27
test edi, edi
je 0x421b2c
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x1c]
push edi
call fcn.004295ba
mov esi, eax
jmp 0x421b2c
mov esi, 0x80070490
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450f85
leave
ret 0x18
Function at 0x421fc2
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4a919c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
xor esi, esi
push esi
push eax
call fcn.004546e0
add esp, 0xc
mov dword [ebp - 0x214], 1
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push str.Version
push str.SoftwareMicrosoftOneDrive
call fcn.00421842
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x422044
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00403839
jmp 0x422049
mov esi, 0x80004005
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00450f85
leave
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x421fc0

Function at 0x4221ba
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4a919c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x10]
test ebx, ebx
jne 0x4221e6
mov eax, 0x80070057
jmp 0x422279
movzx eax, byte [ebp + 0x14]
shl eax, 8
add eax, 0x20019
cmp dword [ecx + 0x14], 8
jb 0x4221fa
mov ecx, dword [ecx]
push esi
lea esi, [ebp - 0x18]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
push 8
cmovle esi, eax
pop eax
mov dword [ebp - 8], eax
test esi, esi
js 0x422276
cmp dword [edi + 0x14], eax
jb 0x422229
mov edi, dword [edi]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push edi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x42226d
cmp dword [ebp - 0xc], 0xb
jne 0x422268
mov eax, dword [ebp - 0x14]
xor esi, esi
mov ecx, dword [ebp - 0x10]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp 0x42226d
mov esi, 0x8007065d
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00450f85
leave
ret 0x14
Function at 0x424486
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4a919c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 4
xor ebx, ebx
cmp dword [eax + 0x14], 8
pop ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
jb 0x4244b0
mov eax, dword [eax]
push eax
push str.SoftwareMicrosoftOneDriveAccounts
lea eax, [ebp - 0x28]
push eax
call fcn.00407f7f
cmp dword [eax + 0x14], 8
jb 0x4244c7
mov eax, dword [eax]
push esi
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0x10
push str.IsGoSov
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0040443d
test esi, esi
pop esi
jne 0x4244fd
cmp dword [ebp - 8], 1
sete bl
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00450f85
leave
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x424484

Function at 0x4254c3
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4a919c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x14]
xor esi, esi
push eax
inc esi
xor ebx, ebx
push esi
push 8
push str.SoftwareClasses
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42554e
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x425545
cmp dword [ebp - 8], ebx
jne 0x425545
cmp dword [ebp - 0xc], esi
jne 0x425545
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push 0x1000ffff
push str.SymbolicLinkValue
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x425545
cmp dword [ebp - 0x10], 6
movzx ebx, bl
cmove ebx, esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.00450f85
leave
ret
jmp 0x4254c1
Function at 0x428aed
Capabilities:
Set registry value

Disassembly:
nop
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4a919c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x20006
cmp byte [ebp + 0x18], 0
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, 0x102
cmovne ecx, edi
cmp dword [eax + 0x14], 8
jb 0x428b24
mov eax, dword [eax]
lea edi, [ebp - 8]
push edi
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x428b66
cmp dword [esi + 0x10], eax
jne 0x428b42
xor esi, esi
jmp 0x428b4a
cmp dword [esi + 0x14], 8
jb 0x428b4a
mov esi, dword [esi]
push 4
push ebx
push 4
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00450f85
leave
ret 0x14
push ebp
mov ebp, esp
pop ebp
jmp 0x428aeb

Function at 0x428c91
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4a919c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x20006
cmp byte [ebp + 0x18], 0
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, 0x102
cmovne ecx, edi
cmp dword [eax + 0x14], 8
jb 0x428cc8
mov eax, dword [eax]
push 0
lea edi, [ebp - 8]
push edi
xor edi, edi
push edi
push ecx
push edi
push edi
push edi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test edi, edi
jne 0x428d10
cmp dword [esi + 0x10], eax
jne 0x428cec
xor esi, esi
jmp 0x428cf4
cmp dword [esi + 0x14], 8
jb 0x428cf4
mov esi, dword [esi]
push 8
push ebx
push 0xb
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00450f85
leave
ret 0x14
Function at 0x428e5f
Capabilities:
Set registry value

Disassembly:
nop
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4a919c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x20006
cmp byte [ebp + 0x18], 0
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, 0x102
cmovne ecx, edi
cmp dword [eax + 0x14], 8
jb 0x428e96
mov eax, dword [eax]
lea edi, [ebp - 8]
push edi
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x428eee
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
lea ecx, [eax*2 + 2]
jb 0x428ebd
mov ebx, dword [ebx]
movzx eax, byte [ebp + 0x1c]
inc eax
cmp dword [esi + 0x10], 0
jne 0x428ecc
xor esi, esi
jmp 0x428ed4
cmp dword [esi + 0x14], 8
jb 0x428ed4
mov esi, dword [esi]
push ecx
push ebx
push eax
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00450f85
leave
ret 0x18
push ebp
mov ebp, esp
pop ebp
jmp 0x428e5d

Function at 0x428f0e
Capabilities:
Set registry value

Disassembly:
nop
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
lea edx, [eax*2 + 2]
jb 0x428f26
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x428f31
mov eax, dword [eax]
push edx
push ecx
push 2
push eax
push str.Environment
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
movzx ecx, ax
mov edx, 0x80070000
or ecx, edx
test eax, eax
cmovle ecx, eax
test ecx, ecx
cmovle edx, ecx
shr edx, 0x1f
xor dl, 1
mov al, dl
pop ebp
ret 0xc
push ebp
mov ebp, esp
pop ebp
jmp 0x428f0c
Function at 0x429b77
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4a919c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
mov ecx, esi
push edi
mov edi, dword [ebp + 8]
push 0x49a3d0
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x240], eax
call fcn.00403839
mov eax, dword [ebp - 0x240]
xor ecx, ecx
push 0x118
push ecx
mov dword [eax], ecx
lea eax, [ebp - 0x238]
mov dword [ebx], ecx
mov bl, cl
push eax
mov dword [edi], ecx
call fcn.004546e0
add esp, 0xc
mov dword [ebp - 0x23c], 0x11c
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x429c5a
mov ecx, dword [ebp - 0x120]
mov bl, 1
mov eax, dword [ebp - 0x238]
mov dword [edi], eax
mov eax, dword [ebp - 0x234]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x240]
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x120], 0x118
mov dword [ecx], eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0
push 2
push str.BuildLab
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push dword [0x4a9068]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
js 0x429c5a
push esi
lea eax, [ebp - 0x11c]
push eax
call fcn.004297ff
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450f85
leave
ret 0x10
push ebp
mov ebp, esp
pop ebp
jmp 0x429b75

Function at 0x430f82
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push dword [eax + 0x28]
push dword [eax + 0x24]
push dword [eax + 0x20]
push dword [eax + 0x1c]
push dword [eax + 0x18]
push dword [eax + 0x14]
push dword [eax + 0x10]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
pop ebp
ret 4

Function at 0x4310b2
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push eax
call fcn.004080c3
cmp dword [eax + 0x14], 8
jb 0x4310cc
mov eax, dword [eax]
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.0040443d
mov eax, esi
pop esi
leave
ret 8

Function at 0x431232
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push eax
call fcn.004080c3
cmp dword [eax + 0x14], 8
jb 0x43124c
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.0040443d
mov eax, esi
pop esi
leave
ret 4

Function at 0x431572
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push eax
call fcn.004080c3
cmp dword [eax + 0x14], 8
jb 0x43158c
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.0040443d
mov eax, esi
pop esi
leave
ret 4
Function at 0x431bc2
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.WININET.dll_InternetCheckConnectionW]

Function at 0x4321d2
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push eax
call fcn.004080c3
cmp dword [eax + 0x14], 8
jb 0x4321ec
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.0040443d
mov eax, esi
pop esi
leave
ret 4

Function at 0x432512
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push eax
call fcn.004080c3
cmp dword [eax + 0x14], 8
jb 0x43252c
mov eax, dword [eax]
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.0040443d
mov eax, esi
pop esi
leave
ret 8

Function at 0x4325d2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.SHELL32.dll_ShellExecuteExW]

Function at 0x432852
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0046444e
add esp, 0xc
pop ebp
ret 0xc

Function at 0x433c90
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x420
mov eax, 0x47d360
call fcn.00451855
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, eax
push 0x49a3d0
mov dword [ebp - 0x42c], eax
call fcn.00403839
lea eax, [ebp + 8]
mov ecx, esi
push eax
mov edi, 0x80004004
call fcn.004333f2
mov dword [ebp - 0x428], eax
cmp eax, dword [esi]
je 0x433dc4
and dword [ebp - 0x418], 0
lea eax, [ebp - 0x410]
mov esi, 0x400
mov ebx, 0x2001b
push esi
push 0
push eax
call fcn.004546e0
xor eax, eax
mov dword [ebp - 0x414], esi
lea edi, [ebp - 0x424]
add esp, 0xc
stosd dword es:[edi], eax
lea ecx, [ebp - 0x424]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x428]
add eax, 0x14
push eax
call fcn.00433616
mov eax, dword [ebp - 0x420]
and dword [ebp - 4], 0
mov esi, dword [ebp - 0x424]
mov dword [ebp - 0x428], eax
cmp esi, eax
je 0x433db4
add esi, 0x18
mov eax, ebx
lea ecx, [esi + 4]
or eax, 0x10000
cmp byte [esi + 0x1c], 0
cmovne ebx, eax
cmp dword [esi + 0x18], 8
jb 0x433d53
mov ecx, dword [ecx]
cmp dword [esi], 8
lea eax, [esi - 0x14]
jb 0x433d5d
mov eax, dword [eax]
lea edx, [ebp - 0x414]
push edx
lea edx, [ebp - 0x410]
push edx
lea edx, [ebp - 0x418]
push edx
push ebx
push ecx
push eax
push dword [esi - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jns 0x433da0
add esi, 0x38
lea eax, [esi - 0x18]
cmp eax, dword [ebp - 0x428]
jne 0x433d3a
jmp 0x433db9
mov ecx, dword [ebp - 0x42c]
lea eax, [ebp - 0x410]
push eax
call fcn.00403839
jmp 0x433db9
mov edi, 0x80004004
lea ecx, [ebp - 0x424]
call fcn.0041caab
mov eax, edi
call fcn.00451804
ret 8
Function at 0x4362ca
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xdc
mov eax, 0x47da12
call fcn.00451855
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xa8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push 0x98
push ebx
mov dword [ebp - 0xb8], ebx
push eax
mov dword [edi], ebx
call fcn.004546e0
add esp, 0xc
lea ecx, [ebp - 0xa8]
push 1
call fcn.004063a9
mov dword [ebp - 4], ebx
cmp byte [ebp + 0x10], bl
je 0x436324
push str.Wow6432Node_
lea eax, [ebp - 0xa8]
push eax
call fcn.004046d0
push str.LocalServer32
push esi
push str.CLSID_
lea eax, [ebp - 0xa8]
push eax
call fcn.004046d0
push eax
call fcn.004046d0
push eax
call fcn.004046d0
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xa4]
call fcn.0040d4cf
cmp dword [ebp - 0xd4], 8
lea ecx, [ebp - 0xb0]
push 5
pop eax
push ecx
mov dword [ebp - 0xac], eax
mov esi, SysReAllocString
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xe8]
cmovae eax, dword [ebp - 0xe8]
push 0x20019
push ebx
push eax
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4363ec
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xa4]
call fcn.0040d4cf
cmp dword [ebp - 0xbc], 8
lea ecx, [ebp - 0xb0]
push 0xf
pop eax
push ecx
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xd0]
cmovae eax, dword [ebp - 0xd0]
push 0x20119
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov byte [ebp - 0xb1], bl
test eax, eax
jne 0x4363f3
mov byte [ebp - 0xb1], 1
mov eax, dword [ebp - 0xac]
test al, 2
je 0x436417
and eax, 0xfffffffd
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xac], eax
call fcn.0040443d
mov eax, dword [ebp - 0xac]
test al, 1
je 0x436426
lea ecx, [ebp - 0xe8]
call fcn.0040443d
cmp byte [ebp - 0xb1], 0
je 0x43649a
lea eax, [ebp - 0xac]
mov dword [ebp - 0xac], ebx
push eax
push ebx
push ebx
push 2
push ebx
push ebx
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x43648e
push dword [ebp - 0xac]
call fcn.00457603
mov esi, eax
pop ecx
test esi, esi
je 0x43648e
lea eax, [ebp - 0xac]
push eax
push esi
push ebx
push 2
push ebx
push ebx
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x436487
mov dword [edi], esi
mov bl, 1
jmp 0x43648e
push esi
call fcn.004562e3
pop ecx
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0xa8]
call fcn.004074fd
mov al, bl
call fcn.00451804
ret 0xc