joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cdc0
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x60], 0
je 0x41cddc
cmp dword [edi + 0x64], 8
lea eax, [edi + 0x50]
jb 0x41cdd5
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 0x80]
test eax, eax
je 0x41cdf9
push eax
call fcn.0041b970
add esp, 4
mov dword [edi + 0x80], 0
mov eax, dword [edi + 0x7c]
lea esi, [edi + 0x68]
cmp eax, 8
jb 0x41ce0f
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004030a0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x41ce25
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x50]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x41ce40
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004030a0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x41ce56
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x38]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x41ce71
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004030a0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x41ce87
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x20]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x41cea2
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004030a0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x41ceb8
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov eax, dword [edi + 0x1c]
cmp eax, 8
jb 0x41ced2
inc eax
lea ecx, [edi + 8]
push eax
push dword [edi + 8]
call fcn.004030a0
mov dword [edi + 0x1c], 7
cmp dword [edi + 0x1c], 8
mov dword [edi + 0x18], 0
jb 0x41cef1
mov eax, dword [edi + 8]
xor ecx, ecx
pop edi
pop esi
mov word [eax], cx
ret
xor eax, eax
mov word [edi + 8], ax
pop edi
pop esi
ret
Function at 0x41e630
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
sub esp, 8
test eax, eax
je 0x41e66e
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 8], 4
push ecx
push 0x20000005
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x41e66e
mov eax, dword [ebp - 4]
xor edx, edx
mov esp, ebp
pop ebp
ret
xor eax, eax
xor edx, edx
mov esp, ebp
pop ebp
ret

Function at 0x421129
Capabilities:
Read .ini file

Disassembly:
push 0x838
mov eax, 0x59965c
call fcn.00591d11
mov edi, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0x8c]
cmp dword [eax + 0x14], 8
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x844], ecx
jb 0x421154
mov eax, dword [eax]
push eax
push dword [ebp + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp esi, dword [ebp + 0x10]
jne 0x421232
xor esi, esi
mov dword [ebp - 0x814], 7
push esi
xor eax, eax
mov dword [ebp - 0x818], esi
push 0x617ad8
lea ecx, [ebp - 0x828]
mov word [ebp - 0x828], ax
call fcn.004029e0
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.0043c880
push dword [ebp + 0x10]
lea eax, [ebp - 0x810]
push 0x617b40
push eax
call fcn.00407ad0
add esp, 0x18
lea eax, [ebp - 0x810]
cmp byte [edi + 5], 0
mov ecx, edi
push eax
push dword [ebp - 0x844]
lea eax, [ebp - 0x840]
push ebx
push eax
je 0x4211e7
call fcn.00421045
jmp 0x4211ec
call fcn.004210ff
push eax
lea ecx, [ebp - 0x828]
call fcn.00402640
push esi
push 1
lea ecx, [ebp - 0x840]
call fcn.00402920
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.0043f764
pop ecx
push 0
push 1
lea ecx, [ebp - 0x828]
mov esi, eax
call fcn.00402920
mov eax, esi
call fcn.00591ccc
ret 0xc

Function at 0x42123c
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x5996a6
call fcn.00591d11
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], ecx
call fcn.0043c880
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x421299
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.004026c0
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x4212df
mov eax, dword [esi]
jmp 0x4212e1
mov eax, esi
push ebx
push eax
call fcn.0044bfe9
pop ecx
pop ecx
test eax, eax
jne 0x42132d
cmp byte [edi + 5], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x421311
call fcn.00421045
jmp 0x421316
call fcn.004210ff
push eax
mov ecx, esi
call fcn.00402640
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00402920
mov eax, esi
call fcn.00591ccc
ret 0x10
Function at 0x421edf
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x6200b8]
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.0043c880
lea eax, [edi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x421f18
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x59e418
push eax
call fcn.00407ad0
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x421f50
lea eax, [ebp - 0x20c]
push eax
call fcn.0042c9c2
pop ecx
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0043c880
push str.UseVestige.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x59e3ec
push eax
call fcn.00407ad0
add esp, 0x1c
cmp word [ebp - 0x414], si
jne 0x421f8f
mov eax, esi
jmp 0x421f9c
lea eax, [ebp - 0x414]
push eax
call fcn.0044c04b
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [edi + 0x8c]
call fcn.004029e0
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.0043c880
push str.UseCache.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x59e3ec
push eax
call fcn.00407ad0
add esp, 0x1c
cmp word [ebp - 0x61c], si
jne 0x421fee
mov eax, esi
jmp 0x421ffb
lea eax, [ebp - 0x61c]
push eax
call fcn.0044c04b
pop ecx
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [edi + 0xa4]
call fcn.004029e0
push 0x208
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.0043c880
lea eax, [ebp - 0xa44]
push 0x617b5c
push eax
call fcn.0042d329
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x42203c
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x824]
push 0x59cf68
push eax
call fcn.00407ad0
add esp, 0xc
lea ecx, [ebp - 0xa44]
push esi
push 1
call fcn.00402920
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42207d
lea eax, [ebp - 0x824]
push eax
call fcn.0042c9c2
pop ecx
push 0x208
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.0043c880
push str.UseCache.ini
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xa2c]
push 0x59e3ec
push eax
call fcn.00407ad0
add esp, 0x1c
cmp word [ebp - 0xa2c], si
je 0x4220c7
lea eax, [ebp - 0xa2c]
push eax
call fcn.0044c04b
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0xa2c]
push eax
lea ecx, [edi + 0xbc]
call fcn.004029e0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041b6a9
mov esp, ebp
pop ebp
ret
Function at 0x422628
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x59976b
call fcn.00591d11
mov ebx, ecx
call fcn.00420fda
lea edi, [ebx + 0xd4]
push eax
mov ecx, edi
call fcn.00402990
mov esi, str.WindowsResetMaster.ini
push esi
call fcn.0044c04b
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00407360
push str.resetgf
push 0x59e4c8
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0042123c
lea esi, [ebx + 0xec]
push eax
mov ecx, esi
call fcn.00402640
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00402920
push str.resetgf
mov ecx, esi
call fcn.00420b35
test eax, eax
jne 0x422717
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0043c880
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x4226c8
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.resetgf
push eax
push edi
push 0x59e4c8
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x4226f9
xor eax, eax
jmp 0x422706
lea eax, [ebp - 0x218]
push eax
call fcn.0044c04b
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004029e0
jmp 0x42271c
mov edi, str.resetgf
push edi
mov ecx, esi
call fcn.00420b35
test eax, eax
jne 0x4227df
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0043c880
add esp, 0xc
lea eax, [ebx + 0x5c]
lea ecx, [ebp - 0x230]
push eax
call fcn.00402720
and dword [ebp - 4], 0
push str.WindowsResetMaster.ini
call fcn.0044c04b
pop ecx
push eax
push str.WindowsResetMaster.ini
lea ecx, [ebp - 0x230]
call fcn.00407360
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 0x59e4c8
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x4227b0
xor eax, eax
jmp 0x4227bd
lea eax, [ebp - 0x218]
push eax
call fcn.0044c04b
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004029e0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
push 0
push 1
call fcn.00402920
push edi
mov ecx, esi
call fcn.00420b35
test eax, eax
jne 0x42281b
push edi
push 0x59e4c8
push str.AppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.004210d5
push eax
mov ecx, esi
call fcn.00402640
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00402920
call fcn.00591ccc
ret
Function at 0x423450
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
call fcn.0042c6cc
test al, al
je 0x42347a
push eax
pop ebp
pop edx
push edx
push esp
push ecx
pop ebx
pop esp
pop ecx
pop ecx
pop ebx
push edi
push ebp
pop ecx
push edx
pop ebp
pop eax
push edx
push ebx
pop eax
push edi
call fcn.0042c34b
test al, al
je 0x4234a3
push eax
push esi
pop esp
push ecx
push ebx
pop ebp
pop ebx
pop esi
pop eax
pop ebp
pop ebp
push ebx
pop esp
pop edx
pop esi
push eax
pop edi
pop esp
pop esp
push edi
push ebp
pop edx
pop ecx
push esp
push ebx
push edi
pop esp
push esi
push eax
mov esi, dword [ebp - 4]
call fcn.0042c45f
test al, al
je 0x4234c7
pop ebx
push ebp
push edx
push eax
pop esp
pop edx
pop edx
push eax
pop esp
push eax
push ebx
pop eax
pop edx
pop eax
push esi
push eax
push ebx
push esp
push ebp
pop ebp
push esi
pop ecx
push ebx
push esp
push ecx
pop ebp
pop ebp
push dword [ebp + 8]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
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
Function at 0x424aed
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x424bce
call fcn.0042c825
test al, al
je 0x424b3a
pop eax
push ebx
pop ecx
push ebx
pop ebp
push edx
pop ebp
pop edx
pop edi
pop eax
pop esp
push edi
push ecx
push edx
push ebx
push eax
push esp
pop esi
pop ecx
push edx
push esp
call fcn.0042c0de
test al, al
je 0x424b55
pop edi
push ebp
push edx
pop esp
push esp
pop esi
pop ebx
pop ebp
pop eax
pop ebx
pop esp
pop edi
pop edx
pop edx
pop ebx
pop ebx
push ebx
push ebp
call fcn.0042c86a
test al, al
je 0x424b7c
pop esi
push edi
pop edi
pop edi
pop ebx
push eax
push ebx
pop edi
push edi
push esi
push eax
pop ebx
push ebp
push ecx
push ebp
push ebp
push ecx
pop ecx
pop edx
pop ebp
pop eax
pop eax
pop edx
push edi
push ebx
push eax
push edx
push ecx
pop esp
push edi
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
mov esi, dword [ebp - 8]
and dword [ebp - 4], 0
push 0
push eax
push ebx
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0042c390
test al, al
je 0x424bbe
push edi
pop ecx
push edi
push edi
push esi
push ebp
pop ebp
push ebx
push eax
pop eax
pop eax
push edx
pop esp
pop edi
push edx
pop edi
pop edi
pop eax
pop edi
pop edi
cmp dword [ebp - 8], 0
je 0x424bce
cmp ebx, dword [ebp - 4]
jne 0x424bce
xor eax, eax
inc eax
jmp 0x424bd0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x425bbd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x425c3c
push ebx
push edi
xor edi, edi
push str.958a208fcb7062e5cb0b4133fd0e8da3
mov dword [ebp + 8], edi
call fcn.0044c630
mov ebx, dword [ebp + 0xc]
mov edx, edi
pop ecx
test ebx, ebx
je 0x425bf9
mov cl, byte [edi + str.958a208fcb7062e5cb0b4133fd0e8da3]
xor byte [edx + esi], cl
inc edi
xor ecx, ecx
cmp edi, eax
cmovge edi, ecx
inc edx
cmp edx, ebx
jb 0x425be3
cmp ebx, 1
jle 0x425c30
cmp byte [esi], 0x37
jne 0x425c30
mov al, byte [esi + 1]
cmp al, 0x7a
je 0x425c0e
cmp al, 0x5a
jne 0x425c30
lea eax, [ebp + 8]
push eax
push ebx
push esi
call fcn.00415b10
test eax, eax
je 0x425c30
mov edx, dword [ebp + 8]
test edx, edx
je 0x425c30
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
jmp 0x425c3a
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 0x42816b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x599f94
call fcn.00591cdd
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00433e03
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.00433e37
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x4281ab
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 0x42820b
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 0x4281e6
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42820b
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.00433e16
call fcn.00591cb7
ret 0xc
Function at 0x428693
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x59a02f
call fcn.00591d11
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.0043c880
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 0x42878a
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x42870f
lea eax, [ebp - 0x218]
push eax
call fcn.0044c04b
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004029e0
and dword [ebp - 4], 0
push 0x617b78
call fcn.0044c04b
pop ecx
push eax
push 0x617b78
lea ecx, [ebp - 0x230]
call fcn.00407360
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.004282f6
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x42877b
call fcn.00402920
mov eax, edi
jmp 0x42883c
or dword [ebp - 4], 0xffffffff
call fcn.00402920
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x42883a
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x4287d1
lea eax, [ebp - 0x218]
push eax
call fcn.0044c04b
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.004029e0
mov esi, 0x617b78
mov dword [ebp - 4], 1
push esi
call fcn.0044c04b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.00407360
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.004282f6
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.00402920
test esi, esi
je 0x42883a
mov eax, esi
jmp 0x42883c
xor eax, eax
call fcn.00591ccc
ret 4
Function at 0x428844
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 [0x6200b8]
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 0x42886c
xor eax, eax
jmp 0x4289a2
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 0x428865
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0043c880
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 0x428990
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 0x42896a
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.0043c880
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 0x42895e
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.0043e244
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x428998
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 0x4288d5
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.0041b6a9
mov esp, ebp
pop ebp
ret 4
Function at 0x429490
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6200b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
jne 0x4294b5
xor eax, eax
jmp 0x429548
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
push esi
push eax
call fcn.0043c880
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 0x429546
push ebx
push 0x104
lea eax, [ebp - 0x20c]
mov ebx, esi
push eax
push esi
jmp 0x429524
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0044c08b
pop ecx
pop ecx
test eax, eax
je 0x429536
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 0x429503
jmp 0x429539
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.0041b6a9
mov esp, ebp
pop ebp
ret 4
Function at 0x429946
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push 0x83c
mov eax, 0x59a1b5
call fcn.00591d11
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.0043c880
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 0x4299b1
lea eax, [ebp - 0x218]
push eax
call fcn.0044c04b
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.004029e0
mov dword [ebp - 4], ebx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push ebx
call fcn.0044c04b
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x848]
call fcn.00407360
xor ebx, ebx
cmp word [esi], bx
jne 0x4299eb
mov eax, ebx
jmp 0x4299f2
push esi
call fcn.0044c04b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00407360
mov esi, str..lnk
push esi
call fcn.0044c04b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00407360
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 0x429b00
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.0043c880
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.0043c880
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0044c029
add esp, 0x20
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00428051
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.0043c880
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.0044c04b
pop ecx
test eax, eax
jne 0x429aee
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0044c029
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x429b00
xor esi, esi
inc esi
jmp 0x429b02
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.00402920
mov eax, esi
call fcn.00591ccc
ret 4
Function at 0x429b1a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6200b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x62532c]
test al, al
jne 0x429bb3
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0043c880
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 0x429baa
lea eax, [ebp - 0x20c]
push eax
call fcn.0044c3a9
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.0043e244
pop ecx
pop ecx
test eax, eax
jne 0x429ba2
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.0043e244
pop ecx
pop ecx
test eax, eax
je 0x429baa
mov byte [0x62532c], bl
jmp 0x429bb0
mov bl, byte [0x62532c]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b6a9
mov esp, ebp
pop ebp
ret
Function at 0x42a67c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6200b8]
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.0043c880
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 0x42a6e7
lea eax, [ebp - 0x20c]
push 0x617b78
push eax
call fcn.0044bfb8
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00429bc1
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b6a9
mov esp, ebp
pop ebp
ret 4