joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441ec0
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x92c
mov eax, dword [0x46800c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov ecx, 0x1a
mov esi, 0x45cfe0
lea edi, [ebp - 0x204]
rep movsd dword es:[edi], dword [esi]
push 0x196
push 0
lea eax, [ebp - 0x19c]
push eax
call fcn.004187d0
add esp, 0xc
mov dword [ebp - 0x918], 0
mov dword [ebp - 0x914], 0x12c
mov dword [ebp - 0x928], 7
mov dword [ebp - 0x910], 0xf003f
cmp dword [ebp + 0x10], 0
je 0x441f3f
mov ecx, dword [ebp - 0x910]
or ecx, 0x100
mov dword [ebp - 0x910], ecx
jmp 0x441f5a
call sym.nsUninstall.exe_int___cdecl_isWow64_void_
test eax, eax
je 0x441f5a
mov edx, dword [ebp - 0x910]
or edx, 0x200
mov dword [ebp - 0x910], edx
lea eax, [ebp - 0x920]
push eax
mov ecx, dword [ebp - 0x910]
push ecx
push 0
lea edx, [ebp - 0x204]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x442120
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x914]
push ecx
lea edx, [ebp - 0x6b4]
push edx
mov eax, dword [ebp - 0x918]
push eax
mov ecx, dword [ebp - 0x920]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x442113
mov edx, dword [ebp - 0x918]
add edx, 1
mov dword [ebp - 0x918], edx
lea eax, [ebp - 0x6b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x4420ee
lea ecx, [ebp - 0x204]
push ecx
lea edx, [ebp - 0x45c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x45cfdc
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x6b4]
push ecx
lea edx, [ebp - 0x45c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x924]
push eax
mov ecx, dword [ebp - 0x910]
push ecx
push 0
lea edx, [ebp - 0x45c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4420ee
mov dword [ebp - 0x914], 0x12c
push 0x258
push 0
lea ecx, [ebp - 0x90c]
push ecx
call fcn.004187d0
add esp, 0xc
lea edx, [ebp - 0x914]
push edx
lea eax, [ebp - 0x90c]
push eax
lea ecx, [ebp - 0x928]
push ecx
push 0
push 0x45d048
mov edx, dword [ebp - 0x924]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x924]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x90c]
push ecx
lea ecx, [ebp - 0x91c]
call fcn.004093b0
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x91c]
call fcn.00410a80
test eax, eax
jne 0x4420e3
mov eax, dword [ebp - 0x920]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x92c], 1
lea ecx, [ebp - 0x91c]
call fcn.00409370
mov eax, dword [ebp - 0x92c]
jmp 0x442122
lea ecx, [ebp - 0x91c]
call fcn.00409370
mov dword [ebp - 0x914], 0x12c
push 0x258
push 0
lea ecx, [ebp - 0x6b4]
push ecx
call fcn.004187d0
add esp, 0xc
jmp 0x441f83
mov edx, dword [ebp - 0x920]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416d81
mov esp, ebp
pop ebp
ret
Function at 0x442140
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f01f
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x46800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.004093b0
mov dword [ebp - 4], 0
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.0040f210
push eax
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004139c0
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040b7b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00409370
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4421e0
mov dword [ebp - 0x2c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00409370
mov eax, dword [ebp - 0x2c]
jmp 0x4422d1
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x14]
call fcn.00409460
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1c]
push edx
push 0x45cfcc
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.00413a90
mov byte [ebp - 4], 3
push 0x45cfd0
lea ecx, [ebp - 0x18]
push ecx
call fcn.00413990
add esp, 8
movzx edx, al
test edx, edx
je 0x4422a0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.00413dd0
lea ecx, [ebp - 0x14]
call fcn.004094b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x442254
lea ecx, [ebp - 0x14]
call fcn.004094b0
push eax
call sym.nsUninstall.exe_int___cdecl_CreateFolder_wchar_t_const__
add esp, 4
push 0x45cfd4
lea ecx, [ebp - 0x14]
call fcn.004092d0
lea ecx, [ebp - 0x1c]
push ecx
push 0x45cfd8
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x10]
call fcn.00413a90
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0040b7b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00409370
jmp 0x44220c
mov dword [ebp - 0x3c], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00409370
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00409370
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00409370
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x442470
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0
push 0
push 3
push 0
push 1
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4424b1
xor eax, eax
jmp 0x442552
push 0
push 0
push 0
push 2
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4424dc
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x442552
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x44250f
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x442552
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call sym.nsUninstall.exe_int___cdecl_ImportCACert_void___int_
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x442900
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x100000
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0x10]
jae 0x442968
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jge 0x442930
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 1
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
push eax
call fcn.004208f1
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x442954
jmp 0x442968
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
jmp 0x44291a
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jne 0x442979
mov dword [ebp - 0x14], 1
jmp 0x442980
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x442990
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x100000
mov ecx, dword [ebp + 8]
push ecx
call fcn.004209e6
add esp, 4
test eax, eax
jne 0x442a00
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0x10]
jae 0x442a00
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jge 0x4429d0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 1
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 4]
push ecx
call fcn.0041c131
add esp, 0x10
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x4429aa
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0x10]
jne 0x442a11
mov dword [ebp - 0x14], 1
jmp 0x442a18
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x442af0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x442b0b
xor eax, eax
jmp 0x442b97
mov ecx, dword [ebp + 0x14]
push ecx
call sym.nsUninstall.exe_long_long___int64____cdecl_FileSize_wchar_t_const__
add esp, 4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
call fcn.0043798b
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x14]
push eax
call sym.nsUninstall.exe_int___cdecl_NsReadFile_wchar_t_const___void___unsigned_long_int_
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x442b62
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00437986
add esp, 4
xor eax, eax
jmp 0x442b97
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
movzx edx, word [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00437986
add esp, 4
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x442ba0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x1c], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x442bdb
xor eax, eax
jmp 0x442c96
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x442bf9
xor eax, eax
jmp 0x442c96
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x442c2b
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x442c96
mov eax, dword [ebp - 0x14]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x442c44
jmp 0x442c89
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00418c50
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x1c]
push eax
push 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x442ca0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
push ecx
movzx edx, word [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x442cd3
xor eax, eax
jmp 0x442d43
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x442cee
xor eax, eax
jmp 0x442d43
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x442d20
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x442d43
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.00418c50
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x442d50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
push ecx
movzx edx, word [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x442d83
xor eax, eax
jmp 0x442df3
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x442d9e
xor eax, eax
jmp 0x442df3
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x442dd0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x442df3
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x14]
push eax
call sym.nsUninstall.exe_int___cdecl_NsWriteFile_wchar_t_const___void___unsigned_long_int_
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x442e00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x442e31
xor eax, eax
jmp 0x442ea1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x442e4c
xor eax, eax
jmp 0x442ea1
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x442e7e
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x442ea1
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call sym.nsUninstall.exe_int___cdecl_NsWriteFile_wchar_t_const___void___unsigned_long_int_
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x442eb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x442ee1
xor eax, eax
jmp 0x442f1a
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x442efc
xor eax, eax
jmp 0x442f1a
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x442f20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x46800c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xb
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
push 0xf003f
push 0
push str.Control_PanelDesktopWindowMetrics
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x442f64
jmp 0x443027
push 0x28
push 0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004187d0
add esp, 0xc
mov edx, dword [ebp - 0x34]
sub edx, 1
push edx
push 0x45cf40
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
lea edx, [ebp - 0x2c]
push edx
push 1
push 0
push 0x45cf48
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x28
push 0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004187d0
add esp, 0xc
mov edx, dword [ebp - 0x34]
push edx
push 0x45cf68
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
lea edx, [ebp - 0x2c]
push edx
push 1
push 0
push str.Shell_Icon_Size
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416d81
mov esp, ebp
pop ebp
ret
Function at 0x443710
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0
push 0x26
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
pop ebp
ret

Function at 0x443790
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x443802
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, dword [ebp + 0xc]
jg 0x4437d9
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4437eb
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
jmp 0x443804
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x443b50
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x46800c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x45cdcc
mov eax, dword [ebp + 8]
push eax
call fcn.0041bf37
add esp, 8
mov dword [ebp - 0x40c], eax
push 0x45cdd4
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0041bf37
add esp, 8
mov dword [ebp - 0x410], eax
cmp dword [ebp - 0x40c], 0
je 0x443ba3
cmp dword [ebp - 0x410], 0
jne 0x443baa
xor eax, eax
jmp 0x443c43
mov dword [ebp - 0x408], 0
mov edx, dword [ebp - 0x40c]
push edx
push 0x400
push 1
lea eax, [ebp - 0x404]
push eax
call fcn.0041c131
add esp, 0x10
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 0
jg 0x443be2
jmp 0x443c20
mov ecx, dword [ebp - 0x408]
push ecx
lea edx, [ebp - 0x404]
push edx
call sym.nsUninstall.exe_void___cdecl_EasyEncode_char___int_
add esp, 8
mov eax, dword [ebp - 0x410]
push eax
mov ecx, dword [ebp - 0x408]
push ecx
push 1
lea edx, [ebp - 0x404]
push edx
call fcn.004208f1
add esp, 0x10
cmp dword [ebp - 0x408], 0
jg 0x443bb4
mov eax, dword [ebp - 0x40c]
push eax
call fcn.0041c2d8
add esp, 4
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0041c2d8
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416d81
mov esp, ebp
pop ebp
ret