joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40de08
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x551df7
call fcn.00440364
mov ebx, ecx
call fcn.0040c9c3
mov esi, eax
push esi
call fcn.0042deed
pop ecx
push eax
lea edi, [ebx + 0xd4]
push esi
mov ecx, edi
call fcn.004022b0
mov esi, str.HaoKanWallPaper.cfg
push esi
call fcn.0042deed
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00402130
push str.hkbzgf
push 0x556f30
push str.AppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0040ca7c
and dword [ebp - 4], 0
lea eax, [ebp - 0x248]
lea esi, [ebx + 0xec]
push eax
mov ecx, esi
call fcn.004018f0
push str.hkbzgf
mov ecx, esi
call fcn.004098b2
test al, al
je 0x40deef
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0041de80
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x40deae
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.hkbzgf
push eax
push edi
push 0x556f30
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call fcn.0042deed
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004022b0
jmp 0x40def4
mov edi, str.hkbzgf
push edi
mov ecx, esi
call fcn.004098b2
test al, al
je 0x40dfb4
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0041de80
and dword [ebp - 0x220], 0
lea eax, [ebx + 0x5c]
and dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x230]
add esp, 0xc
push eax
call fcn.004097db
push str.HaoKanWallPaper.cfg
mov byte [ebp - 4], 1
call fcn.0042deed
pop ecx
push eax
push str.HaoKanWallPaper.cfg
lea ecx, [ebp - 0x230]
call fcn.00402130
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push 0x556f30
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call fcn.0042deed
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004022b0
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.004020c0
push edi
mov ecx, esi
call fcn.004098b2
test al, al
je 0x40dfec
push edi
push 0x556f30
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0040cbb4
push eax
mov ecx, esi
call fcn.00401910
lea ecx, [ebp - 0x230]
call fcn.004020c0
lea ecx, [ebp - 0x248]
call fcn.004020c0
call fcn.0044031f
ret
Function at 0x40e23b
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor eax, eax
xor ecx, ecx
xor esi, esi
push edi
cmp dword [ebp + 0xc], eax
jle 0x40e32d
mov edi, dword [ebp + 8]
mov dl, byte [esi + edi]
movzx ebx, dl
cmp dl, 0x3d
jne 0x40e268
inc ecx
cmp ecx, 2
jg 0x40e334
cmp dl, 0x7f
ja 0x40e334
mov dl, byte [ebx + 0x557010]
cmp dl, 0x7f
je 0x40e334
cmp dl, 0x40
jae 0x40e28d
test ecx, ecx
jne 0x40e334
inc eax
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x40e253
test eax, eax
je 0x40e32d
mov edi, dword [ebp + 0x14]
imul eax, eax, 6
add eax, 7
sar eax, 3
cmp dword [edi], eax
jge 0x40e2b5
mov dword [edi], eax
push 0xfffffffffffffff0
jmp 0x40e336
mov edx, dword [ebp + 0x10]
xor eax, eax
xor ebx, ebx
mov dword [ebp + 0xc], eax
test esi, esi
jle 0x40e328
mov eax, dword [ebp + 8]
push 3
pop edi
movzx eax, byte [eax]
mov cl, byte [eax + 0x557010]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub edi, eax
movzx eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 0x3f
or ebx, eax
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, 4
jne 0x40e319
xor eax, eax
mov dword [ebp + 0xc], eax
test edi, edi
jle 0x40e304
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp edi, 1
jle 0x40e311
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
cmp edi, 2
jle 0x40e319
mov byte [edx], bl
inc edx
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x40e2c9
mov edi, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [edi], edx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push 0xffffffffffffffee
pop eax
jmp 0x40e32f
Function at 0x40e339
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x40e34d
xor eax, eax
jmp 0x40e483
mov eax, ebx
shl eax, 3
push 6
pop ecx
cdq
idiv ecx
mov edx, ebx
imul ecx, eax, 6
shl edx, 3
push 3
sub edx, ecx
dec edx
pop ecx
sub edx, 1
je 0x40e376
dec edx
sub edx, 1
jne 0x40e378
add eax, 2
jmp 0x40e378
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x40e38b
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x40e482
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x40e41b
dec eax
mov ebx, dword [ebp + 8]
xor edx, edx
push 3
pop ecx
div ecx
inc eax
imul ecx, eax, 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, ecx
movzx esi, byte [ebx + 2]
add ebx, 3
shr eax, 2
push 3
mov al, byte [eax + 0x556fd0]
mov byte [edi], al
pop eax
and ecx, eax
mov eax, edx
shr eax, 4
add ecx, ecx
and edx, 0xf
mov al, byte [eax + ecx*8 + 0x556fd0]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
mov al, byte [eax + edx*4 + 0x556fd0]
mov byte [edi + 2], al
mov al, byte [esi + 0x556fd0]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x40e3b2
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x40e41e
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x40e475
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x40e433
movzx ecx, byte [eax + 1]
jmp 0x40e435
xor ecx, ecx
mov eax, edx
shr eax, 2
push 3
mov al, byte [eax + 0x556fd0]
mov byte [edi], al
pop eax
and edx, eax
mov eax, ecx
add edx, edx
shr eax, 4
mov al, byte [eax + edx*8 + 0x556fd0]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x40e469
and ecx, 0xf
mov al, byte [ecx*4 + 0x556fd0]
jmp 0x40e46b
mov al, 0x3d
mov byte [edi + 2], al
mov byte [edi + 3], 0x3d
add edi, 4
mov eax, edi
sub eax, dword [ebp + 0x10]
mov dword [esi], eax
xor eax, eax
mov byte [edi], 0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40e65f
Capabilities:
Get mac address on windows

Disassembly:
push 0x58
mov eax, 0x551edb
call fcn.00440364
mov esi, dword [ebp + 8]
mov dword [ebp - 0x58], esi
push 0x288
mov dword [ebp - 0x54], 4
call fcn.0042a415
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x40e69a
push 0x5544dc
mov ecx, esi
call fcn.0040825e
jmp 0x40e7ef
lea eax, [ebp - 0x54]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x40e6bf
push ebx
call fcn.0042a420
push dword [ebp - 0x54]
call fcn.0042a415
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x40e689
xor eax, eax
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x38], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x54]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x40e7c7
lea edi, [ebp - 0x20]
xor ecx, ecx
stosd dword es:[edi], eax
mov dword [ebp - 0x64], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
and dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 1
mov edi, ebx
test ebx, ebx
je 0x40e7aa
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
lea eax, [ebp - 0x20]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.00405e90
lea eax, [edi + 0x10c]
push eax
call fcn.0054b2a5
push 0x5570ac
push eax
call fcn.0041f9e0
add esp, 0x2c
test eax, eax
jne 0x40e7f9
cmp dword [edi + 0x1a0], 0x47
je 0x40e7f9
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x50]
call fcn.0040825e
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x64]
call fcn.00408211
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00401de0
mov edi, dword [edi]
test edi, edi
jne 0x40e705
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
sub eax, ecx
push 0x18
cdq
pop edi
idiv edi
test eax, eax
je 0x40e7bf
push ecx
lea ecx, [ebp - 0x38]
call fcn.0040a195
lea ecx, [ebp - 0x64]
call fcn.00408751
push ebx
call fcn.0042a420
xor eax, eax
pop ecx
mov byte [ebp - 0x58], al
mov ecx, esi
push dword [ebp - 0x58]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00408508
lea ecx, [ebp - 0x38]
call fcn.00401de0
mov eax, esi
call fcn.0044031f
ret 4
lea eax, [ebp - 0x20]
push eax
call fcn.0042e010
pop ecx
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
call fcn.004026e0
jmp 0x40e7bf
Function at 0x40e828
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a0
mov eax, dword [0x5b70dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov dword [ebp - 0x69c], esi
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
xor ebx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x284]
mov edi, 0x208
push edi
push ebx
push eax
call fcn.0041de80
add esp, 0xc
lea eax, [ebp - 0x284]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x5570bc
call fcn.0042deed
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042ec3c
push edi
lea eax, [ebp - 0x694]
push ebx
push eax
call fcn.0041de80
push edi
lea eax, [ebp - 0x48c]
push ebx
push eax
call fcn.0041de80
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x698], ebx
push ebx
push eax
mov dword [ebp - 0x69c], ebx
mov dword [ebp - 0x6a0], ebx
call fcn.0041de80
add esp, 0x34
lea eax, [ebp - 0x48c]
mov ecx, 0x104
push ecx
push eax
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x698]
push eax
push ecx
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x40e922
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.00405e90
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.0040825e
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040721f
leave
ret 4
Function at 0x412f68
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5b70dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.0041de80
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
pop esi
jg 0x412fcb
cmp dword [ebp - 0x118], 2
jg 0x412fcb
xor eax, eax
inc eax
jmp 0x412fcd
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040721f
leave
ret
Function at 0x4153d8
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x552a09
call fcn.00440330
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.0041917b
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.004191af
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x415418
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x415478
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x415453
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x415478
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.0041918e
call fcn.0044030a
ret 0xc
Function at 0x41589d
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x552aa4
call fcn.00440364
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor esi, esi
mov dword [ebp - 0x24c], edi
push esi
push eax
call fcn.0041de80
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x19
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
test eax, eax
je 0x41595b
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00401d30
and dword [ebp - 4], 0
push 0x55450c
call fcn.0042deed
pop ecx
push eax
push 0x55450c
lea ecx, [ebp - 0x230]
call fcn.00402130
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.00415561
mov edi, eax
lea ecx, [ebp - 0x230]
test edi, edi
je 0x41594c
call fcn.004020c0
mov eax, edi
jmp 0x4159d4
or dword [ebp - 4], 0xffffffff
call fcn.004020c0
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x4159d2
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00401d30
mov esi, 0x55450c
mov dword [ebp - 4], 1
push esi
call fcn.0042deed
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.00402130
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.00415561
lea ecx, [ebp - 0x248]
mov esi, eax
call fcn.004020c0
test esi, esi
je 0x4159d2
mov eax, esi
jmp 0x4159d4
xor eax, eax
call fcn.0044031f
ret 4
Function at 0x4159dc
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x5b70dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ebx
test edi, edi
je 0x415b3d
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], ebx
push eax
push 9
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x41c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x415b3d
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0041de80
add esp, 0xc
mov dword [ebp - 0x420], ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x415b29
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x415b03
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.0041de80
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415af7
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.0041f756
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x415b31
mov eax, dword [ebp - 0x420]
lea ecx, [ebp - 0x20c]
push 0x104
inc eax
push ecx
push eax
push dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x415a6e
push dword [ebp - 0x418]
call ebx
mov eax, esi
jmp 0x415b3f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040721f
leave
ret 4

Function at 0x41651d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5b70dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
jne 0x416542
xor eax, eax
jmp 0x4165d5
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
push esi
push eax
call fcn.0041de80
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x109
push esi
push str.SYSTEMCurrentControlSetServices_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4165d3
push ebx
push 0x104
lea eax, [ebp - 0x20c]
mov ebx, esi
push eax
push esi
jmp 0x4165b1
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0042ed05
pop ecx
pop ecx
test eax, eax
je 0x4165c3
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x416590
jmp 0x4165c6
xor esi, esi
inc esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040721f
leave
ret 4
Function at 0x4165e5
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x5b70dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x42c], ebx
mov esi, edi
test ebx, ebx
jne 0x416613
xor eax, eax
jmp 0x416848
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x418], edi
push edi
push eax
mov dword [ebp - 0x41c], edi
call fcn.0041de80
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push 0x109
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x41674b
and dword [ebp - 0x428], esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
jmp 0x416727
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41670d
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], 0x104
push eax
call fcn.0041de80
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x416701
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0041f756
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
test esi, esi
jne 0x41673b
mov eax, dword [ebp - 0x428]
lea ecx, [ebp - 0x20c]
push 0x104
inc eax
push ecx
mov dword [ebp - 0x428], eax
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x416678
push dword [ebp - 0x418]
call edi
test esi, esi
jne 0x416846
lea eax, [ebp - 0x418]
push eax
push 9
push 0
push 0x557d40
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x416846
push 0x104
lea eax, [ebp - 0x20c]
xor ebx, ebx
push eax
push ebx
jmp 0x41682a
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41681c
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.0041de80
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x416810
push dword [ebp - 0x42c]
lea eax, [ebp - 0x414]
push eax
call fcn.0041f756
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
test esi, esi
jne 0x41683e
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x416782
push dword [ebp - 0x418]
call edi
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040721f
leave
ret 4
Function at 0x416a18
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x83c
mov eax, 0x552c2d
call fcn.00440364
mov ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x628]
push 0x208
xor edi, edi
push edi
push eax
call fcn.0041de80
add esp, 0xc
lea eax, [ebp - 0x628]
push edi
push 0x1a
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x848]
call fcn.00401d30
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
mov dword [ebp - 4], edi
call fcn.0042deed
pop ecx
push eax
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
lea ecx, [ebp - 0x848]
call fcn.00402130
push esi
call fcn.0042deed
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00402130
mov esi, str..lnk
push esi
call fcn.0042deed
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00402130
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x848]
push eax
call esi
test eax, eax
je 0x416b98
push 0x208
lea eax, [ebp - 0x830]
push edi
push eax
call fcn.0041de80
push 0x208
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.0041de80
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0042e10c
add esp, 0x20
lea eax, [ebp - 0x420]
mov ecx, ebx
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.004152c0
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0041de80
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x218]
push eax
call fcn.0042deed
pop ecx
test eax, eax
jne 0x416b88
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0042e10c
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
je 0x416b98
xor edi, edi
inc edi
lea ecx, [ebp - 0x848]
call fcn.004020c0
mov eax, edi
call fcn.0044031f
ret 4

Function at 0x416bad
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5b70dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [0x5c2738]
test bl, bl
jne 0x416c44
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0041de80
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x416c3e
lea eax, [ebp - 0x20c]
push eax
call fcn.0042e2d7
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.0041f756
pop ecx
pop ecx
test eax, eax
jne 0x416c36
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.0041f756
pop ecx
pop ecx
test eax, eax
je 0x416c3e
mov byte [0x5c2738], bl
jmp 0x416c44
mov bl, byte [0x5c2738]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0040721f
leave
ret
Function at 0x41770f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5b70dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.0041de80
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push 0x17
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41777a
lea eax, [ebp - 0x20c]
push 0x55450c
push eax
call fcn.0042e09b
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00416c53
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040721f
leave
ret 4

Function at 0x41822c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x38
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x3c
push 0
push eax
call fcn.0041de80
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], 0x200
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x28], eax
call fcn.00412f68
test eax, eax
mov ecx, str.runas
cmovne ecx, dword [ebp - 0x30]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x41828a
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
inc eax
leave
ret