joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438b7b
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x62b0b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
mov edi, ecx
call fcn.00445350
lea eax, [edi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x438bb4
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x5a6114
push eax
call fcn.00407470
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x438bec
lea eax, [ebp - 0x20c]
push eax
call fcn.004235d5
pop ecx
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00445350
push str.UseVestige.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x5a5f0c
push eax
call fcn.00407470
add esp, 0x1c
cmp word [ebp - 0x414], si
jne 0x438c2b
mov eax, esi
jmp 0x438c38
lea eax, [ebp - 0x414]
push eax
call fcn.004532f1
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [edi + 0x8c]
call fcn.00401a60
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.00445350
push str.Cache.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x5a5f0c
push eax
call fcn.00407470
add esp, 0x1c
cmp word [ebp - 0x61c], si
jne 0x438c8a
mov eax, esi
jmp 0x438c97
lea eax, [ebp - 0x61c]
push eax
call fcn.004532f1
pop ecx
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [edi + 0xa4]
call fcn.00401a60
push 0x208
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.00445350
lea eax, [ebp - 0xa44]
push 0x62073c
push eax
call int.00423c7a
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x438cd8
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x824]
push 0x5a6048
push eax
call fcn.00407470
add esp, 0xc
lea ecx, [ebp - 0xa44]
push esi
push 1
call fcn.004019a0
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x438d19
lea eax, [ebp - 0x824]
push eax
call fcn.004235d5
pop ecx
push 0x208
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.00445350
push str.Cache.ini
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xa2c]
push 0x5a5f0c
push eax
call fcn.00407470
add esp, 0x1c
cmp word [ebp - 0xa2c], si
je 0x438d63
lea eax, [ebp - 0xa2c]
push eax
call fcn.004532f1
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0xa2c]
push eax
lea ecx, [edi + 0xbc]
call fcn.00401a60
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00433ee3
mov esp, ebp
pop ebp
ret
Function at 0x439336
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x5a375a
call fcn.004348d9
mov ebx, ecx
call fcn.00437c76
lea edi, [ebx + 0xd4]
push eax
mov ecx, edi
call fcn.00401a10
mov esi, str.WanNengWBInfo.ini
push esi
call fcn.004532f1
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004054d0
push str.guanf
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.00437d71
and dword [ebp - 4], 0
lea esi, [ebx + 0xec]
lea eax, [ebp - 0x248]
cmp esi, eax
je 0x4393ac
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00401b60
push str.guanf
mov ecx, esi
call fcn.0041fa57
test eax, eax
jne 0x439428
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00445350
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x4393d9
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.guanf
push eax
push edi
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x43940a
xor eax, eax
jmp 0x439417
lea eax, [ebp - 0x218]
push eax
call fcn.004532f1
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00401a60
jmp 0x43942d
mov edi, str.guanf
push edi
mov ecx, esi
call fcn.0041fa57
test eax, eax
jne 0x4394f0
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00445350
add esp, 0xc
lea eax, [ebx + 0x5c]
lea ecx, [ebp - 0x230]
push eax
call fcn.00402890
push str.WanNengWBInfo.ini
mov byte [ebp - 4], 1
call fcn.004532f1
pop ecx
push eax
push str.WanNengWBInfo.ini
lea ecx, [ebp - 0x230]
call fcn.004054d0
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 str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x4394c1
xor eax, eax
jmp 0x4394ce
lea eax, [ebp - 0x218]
push eax
call fcn.004532f1
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00401a60
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.004019a0
push edi
mov ecx, esi
call fcn.0041fa57
test eax, eax
jne 0x43952c
push edi
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.00437ed8
push eax
mov ecx, esi
call fcn.00405290
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.004019a0
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.004019a0
call fcn.00434894
ret
Function at 0x43b750
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x43b7cf
push ebx
push edi
xor edi, edi
push str.c335b80a32136330ebfa2439bf4cbfcb
mov dword [ebp + 8], edi
call fcn.004539c0
mov ebx, dword [ebp + 0xc]
mov edx, edi
pop ecx
test ebx, ebx
je 0x43b78c
mov cl, byte [edi + str.c335b80a32136330ebfa2439bf4cbfcb]
xor byte [edx + esi], cl
inc edi
xor ecx, ecx
cmp edi, eax
cmovge edi, ecx
inc edx
cmp edx, ebx
jb 0x43b776
cmp ebx, 1
jle 0x43b7c3
cmp byte [esi], 0x37
jne 0x43b7c3
mov al, byte [esi + 1]
cmp al, 0x7a
je 0x43b7a1
cmp al, 0x5a
jne 0x43b7c3
lea eax, [ebp + 8]
push eax
push ebx
push esi
call fcn.004197f0
test eax, eax
je 0x43b7c3
mov edx, dword [ebp + 8]
test edx, edx
je 0x43b7c3
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
jmp 0x43b7cd
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x43b8ae
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.0043a6f8
test al, al
je 0x43b8dc
and esi, dword [ecx]
add dword [esi - 0x7a], eax
jge 0x43b934
lodsd eax, dword [esi]
mov ah, 6
inc eax
dec edi
mov ah, 2
lcall 0xf88b, 0x7960bba5
or eax, 0xcb76f858
cmpsd dword [esi], dword es:[edi]
call fcn.0043a59f
test al, al
je 0x43b903
push ss
xchg esi, eax
push es
aaa
or eax, 0xb0632864
mov dh, byte [esi + eax*8]
mov edi, 0x382d322d
leave
mov al, byte [0xabdd82be]
hlt
push dword [ebp + 8]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [ebp - 4]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
pop edi
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.0043a9ef
test al, al
je 0x43b955
fldenv [ecx + 0x6f]
outsb dx, byte [esi]
rcr ebp, 0x83
mov ebx, 0x94dbd714
jmp 0xe9d0c98c
call fcn.0043a6f8
test al, al
je 0x43b97d
cdq
retf 0xb08d
call fcn.0043a515
test al, al
je 0x43b99c
dec ebp
cmc
sub al, 6
adc byte [ebp - 0x7f], dl
mov al, 0xbf
aam 0xb
invalid
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x43b9b7
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43bd76
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x62b0b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, dword [ebp + 8]
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
and dword [ebp - 0x6a4], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x284]
mov edi, 0x208
push edi
push 0
push eax
call fcn.00445350
add esp, 0xc
lea eax, [ebp - 0x284]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x5a89b8
call fcn.004532f1
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00453d61
push edi
lea eax, [ebp - 0x694]
push 0
push eax
call fcn.00445350
push edi
xor edi, edi
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.00445350
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x698], edi
push edi
push eax
mov dword [ebp - 0x6a0], edi
mov dword [ebp - 0x69c], edi
call fcn.00445350
add esp, 0x34
lea eax, [ebp - 0x48c]
push ebx
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x698]
push eax
push ebx
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x43be74
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.00409a60
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.00401940
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00433ee3
mov esp, ebp
pop ebp
ret 4
Function at 0x43c265
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 0x43c279
xor eax, eax
jmp 0x43c3b7
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 0x43c2a2
dec edx
sub edx, 1
jne 0x43c2a4
add eax, 2
jmp 0x43c2a4
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x43c2b7
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x43c3b6
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x43c34d
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
shl ecx, 4
mov al, byte [eax + 0x5a8ea0]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + 0x5a8ea0]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
lea eax, [eax + edx*4]
and eax, 0x3f
mov al, byte [eax + 0x5a8ea0]
mov byte [edi + 2], al
mov al, byte [esi + 0x5a8ea0]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x43c2e2
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 0x43c350
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x43c3a9
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x43c365
movzx ecx, byte [eax + 1]
jmp 0x43c367
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + 0x5a8ea0]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + 0x5a8ea0]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x43c39e
and ecx, 0xf
mov al, byte [ecx*4 + 0x5a8ea0]
mov byte [edi + 2], al
jmp 0x43c3a2
mov byte [edi + 2], 0x3d
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
mov esp, ebp
pop ebp
ret
Function at 0x43e88a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x5a3d2a
call fcn.004348a5
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.0042e856
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.0042e91c
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x43e8ca
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 0x43e92a
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 0x43e905
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43e92a
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.0042e869
call fcn.0043487f
ret 0xc
Function at 0x43edb2
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x5a3dc5
call fcn.004348d9
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.00445350
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 0x43eea9
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x43ee2e
lea eax, [ebp - 0x218]
push eax
call fcn.004532f1
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00401a60
and dword [ebp - 4], 0
push 0x620760
call fcn.004532f1
pop ecx
push eax
push 0x620760
lea ecx, [ebp - 0x230]
call fcn.004054d0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0043ea15
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x43ee9a
call fcn.004019a0
mov eax, edi
jmp 0x43ef5b
or dword [ebp - 4], 0xffffffff
call fcn.004019a0
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x43ef59
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x43eef0
lea eax, [ebp - 0x218]
push eax
call fcn.004532f1
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00401a60
mov esi, 0x620760
mov dword [ebp - 4], 1
push esi
call fcn.004532f1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.004054d0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0043ea15
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.004019a0
test esi, esi
je 0x43ef59
mov eax, esi
jmp 0x43ef5b
xor eax, eax
call fcn.00434894
ret 4
Function at 0x43ef63
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 [0x62b0b8]
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
jne 0x43ef8b
xor eax, eax
jmp 0x43f0c1
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 0x43ef84
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00445350
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 0x43f0af
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 0x43f089
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.00445350
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 0x5a7238
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43f07d
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.0044454d
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x43f0b7
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 0x43eff4
push dword [ebp - 0x418]
call ebx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00433ee3
mov esp, ebp
pop ebp
ret 4
Function at 0x43fbaf
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x62b0b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
jne 0x43fbd4
xor eax, eax
jmp 0x43fc67
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
push esi
push eax
call fcn.00445350
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 0x43fc65
push ebx
push 0x104
lea eax, [ebp - 0x20c]
mov ebx, esi
push eax
push esi
jmp 0x43fc43
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0045330c
pop ecx
pop ecx
test eax, eax
je 0x43fc55
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 0x43fc22
jmp 0x43fc58
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.00433ee3
mov esp, ebp
pop ebp
ret 4
Function at 0x43fc79
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 [0x62b0b8]
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 0x43fca7
xor eax, eax
jmp 0x43fedc
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x418], edi
push edi
push eax
mov dword [ebp - 0x41c], edi
call fcn.00445350
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 0x43fddf
and dword [ebp - 0x428], esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
jmp 0x43fdbb
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 0x43fda1
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], 0x104
push eax
call fcn.00445350
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 0x5a7238
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43fd95
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0044454d
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
test esi, esi
jne 0x43fdcf
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 0x43fd0c
push dword [ebp - 0x418]
call edi
test esi, esi
jne 0x43feda
lea eax, [ebp - 0x418]
push eax
push 9
push 0
push 0x5a6800
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43feda
push 0x104
lea eax, [ebp - 0x20c]
xor ebx, ebx
push eax
push ebx
jmp 0x43febe
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 0x43feb0
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.00445350
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 0x5a7238
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43fea4
push dword [ebp - 0x42c]
lea eax, [ebp - 0x414]
push eax
call fcn.0044454d
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
test esi, esi
jne 0x43fed2
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 0x43fe16
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.00433ee3
mov esp, ebp
pop ebp
ret 4
Function at 0x440065
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push 0x83c
mov eax, 0x5a3075
call fcn.004348d9
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.00445350
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], ebx
mov word [ebp - 0x848], ax
cmp word [ebp - 0x218], ax
je 0x4400d0
lea eax, [ebp - 0x218]
push eax
call fcn.004532f1
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00401a60
mov dword [ebp - 4], ebx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push ebx
call fcn.004532f1
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x848]
call fcn.004054d0
xor ebx, ebx
cmp word [esi], bx
jne 0x44010a
mov eax, ebx
jmp 0x440111
push esi
call fcn.004532f1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.004054d0
mov esi, str..lnk
push esi
call fcn.004532f1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.004054d0
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 0x44021f
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.00445350
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.00445350
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00452fd9
add esp, 0x20
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0043e770
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.00445350
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x420]
push eax
call fcn.004532f1
pop ecx
test eax, eax
jne 0x44020d
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00452fd9
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x44021f
xor esi, esi
inc esi
jmp 0x440221
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.004019a0
mov eax, esi
call fcn.00434894
ret 4
Function at 0x440239
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x62b0b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x63065c]
test al, al
jne 0x4402d2
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00445350
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 0x4402c9
lea eax, [ebp - 0x20c]
push eax
call fcn.0045372e
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.0044454d
pop ecx
pop ecx
test eax, eax
jne 0x4402c1
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.0044454d
pop ecx
pop ecx
test eax, eax
je 0x4402c9
mov byte [0x63065c], bl
jmp 0x4402cf
mov bl, byte [0x63065c]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00433ee3
mov esp, ebp
pop ebp
ret