joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439f50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x45b080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.00415590
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x450214
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x110], 2
jne 0x43a07b
cmp dword [ebp - 0x11c], 5
jne 0x439fd2
cmp dword [ebp - 0x118], 0
jne 0x439fd2
push str.Win2000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x43a079
cmp dword [ebp - 0x11c], 5
jne 0x439ff8
cmp dword [ebp - 0x118], 0
jbe 0x439ff8
push 0x45022c
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x43a079
cmp dword [ebp - 0x11c], 6
jne 0x43a01b
cmp dword [ebp - 0x118], 0
jne 0x43a01b
push str.Vista
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x43a079
cmp dword [ebp - 0x11c], 6
jne 0x43a03e
cmp dword [ebp - 0x118], 1
jne 0x43a03e
push str.Win7
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x43a079
cmp dword [ebp - 0x11c], 6
jne 0x43a061
cmp dword [ebp - 0x118], 2
jb 0x43a061
push str.Win8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x43a079
cmp dword [ebp - 0x11c], 0xa
jne 0x43a079
push str.Win10
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x43a0c6
cmp dword [ebp - 0x110], 1
jne 0x43a0c6
cmp dword [ebp - 0x11c], 4
jne 0x43a0a5
cmp dword [ebp - 0x118], 0x5a
jae 0x43a0a5
push 0x450264
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x11c], 4
jne 0x43a0c6
cmp dword [ebp - 0x118], 0x5a
jb 0x43a0c6
push 0x45026c
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004144ca
mov esp, ebp
pop ebp
ret

Function at 0x43a0e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x45b080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.00415590
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 2
jne 0x43a142
cmp dword [ebp - 0x11c], 6
jb 0x43a142
cmp dword [ebp - 0x118], 2
jb 0x43a142
mov eax, 1
jmp 0x43a144
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004144ca
mov esp, ebp
pop ebp
ret

Function at 0x43a160
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x45b080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.00415590
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 2
jne 0x43a1b9
cmp dword [ebp - 0x11c], 6
jb 0x43a1b9
mov eax, 1
jmp 0x43a1bb
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004144ca
mov esp, ebp
pop ebp
ret
Function at 0x43a240
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x45b080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.00415590
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str._at.exe
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43a2a2
xor eax, eax
jmp 0x43a2bf
push 0
push 0
push str._delete__yes
lea ecx, [ebp - 0x210]
push ecx
call sym.nsUninstall.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004144ca
mov esp, ebp
pop ebp
ret
Function at 0x43a770
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 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 - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x43a7b1
xor eax, eax
jmp 0x43a852
push 0
push 0
push 0
push 2
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43a7dc
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x43a852
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43a80f
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x43a852
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call sym.nsUninstall.exe_int___cdecl_ImportCACert_void___int_
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x45b080]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0x45049c
mov eax, dword [ebp + 8]
push eax
call fcn.00414d14
add esp, 8
mov dword [ebp - 0x414], eax
push 0x4504a4
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00414d14
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 0x414], 0
je 0x43a97d
cmp dword [ebp - 8], 0
jne 0x43a984
xor eax, eax
jmp 0x43aa05
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x414]
push edx
push 0x400
push 1
lea eax, [ebp - 0x410]
push eax
call fcn.00414fbc
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x43a9b3
jmp 0x43a9e5
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x410]
push edx
call sym.nsUninstall.exe_void___cdecl_EasyEncode_char___int_
add esp, 8
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
lea edx, [ebp - 0x410]
push edx
call fcn.0042721b
add esp, 0x10
cmp dword [ebp - 4], 0
jg 0x43a98b
mov eax, dword [ebp - 0x414]
push eax
call fcn.00415046
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call fcn.00415046
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004144ca
mov esp, ebp
pop ebp
ret
Function at 0x43ab20
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446290
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x45b080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43ab68
xor eax, eax
xor edx, edx
jmp 0x43acd8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x14], 3
jne 0x43abad
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x43aba8
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
sbb eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
jmp 0x43acd2
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004128a0
mov byte [ebp - 4], 1
push 0x17
push 0
push 0x451500
lea ecx, [ebp - 0x40]
call fcn.00412910
lea ecx, [ebp - 0x3c]
call fcn.004128a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004128e0
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x58]
call fcn.004120e0
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.004129d0
push eax
mov ecx, dword [ebp - 0x68]
call fcn.004121a0
push eax
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx]
mov ecx, dword [eax + 0x54]
call ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00412180
lea ecx, [ebp - 0x50]
call fcn.00412320
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.004128e0
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x70]
mov eax, dword [edx]
mov ecx, dword [eax + 0x60]
call ecx
lea ecx, [ebp - 0x50]
call fcn.00412340
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00412420
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.004128c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004128c0
jmp 0x43acc5
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43acf0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4467b8
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x45b080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.00415590
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x450bc8
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43ad6f
xor eax, eax
jmp 0x43ae00
lea esi, [ebp - 0x220]
call fcn.004057a0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
je 0x43ada4
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str._s__every:m_t_w_th_f_s_su___s_
lea edi, [ebp - 0x220]
call fcn.00405f90
add esp, 0xc
jmp 0x43adbf
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str._s___s_
lea edi, [ebp - 0x220]
call fcn.00405f90
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x220]
call fcn.004059d0
push eax
lea edx, [ebp - 0x21c]
push edx
call sym.nsUninstall.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
mov dword [ebp - 0x224], 1
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x220]
call fcn.004059b0
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004144ca
mov esp, ebp
pop ebp
ret
Function at 0x43c380
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x954
mov eax, dword [0x45b080]
xor eax, ebp
mov dword [ebp - 0xc], eax
push esi
push edi
mov ecx, 0x1a
mov esi, 0x4506b0
lea edi, [ebp - 0x930]
rep movsd dword es:[edi], dword [esi]
push 0x196
push 0
lea eax, [ebp - 0x8c8]
push eax
call fcn.00415590
add esp, 0xc
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x72c], 0x12c
mov dword [ebp - 8], 7
mov dword [ebp - 4], 0xf003f
cmp dword [ebp + 0x10], 0
je 0x43c3f3
mov ecx, dword [ebp - 4]
or ecx, 0x100
mov dword [ebp - 4], ecx
jmp 0x43c408
call sym.nsUninstall.exe_int___cdecl_isWow64_void_
test eax, eax
je 0x43c408
mov edx, dword [ebp - 4]
or edx, 0x200
mov dword [ebp - 4], edx
lea eax, [ebp - 0x4cc]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
lea edx, [ebp - 0x930]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43c5c5
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x72c]
push ecx
lea edx, [ebp - 0x4c8]
push edx
mov eax, dword [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x4cc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x43c5b8
mov edx, dword [ebp - 0x26c]
add edx, 1
mov dword [ebp - 0x26c], edx
lea eax, [ebp - 0x4c8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x43c593
lea ecx, [ebp - 0x930]
push ecx
lea edx, [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4506ac
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x4c8]
push ecx
lea edx, [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x4d0]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
lea edx, [ebp - 0x268]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43c593
mov dword [ebp - 0x72c], 0x12c
push 0x258
push 0
lea ecx, [ebp - 0x728]
push ecx
call fcn.00415590
add esp, 0xc
lea edx, [ebp - 0x72c]
push edx
lea eax, [ebp - 0x728]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0x450718
mov edx, dword [ebp - 0x4d0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x4d0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x934]
push ecx
lea ecx, [ebp - 0x728]
call fcn.004057c0
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x934]
call fcn.00412630
test eax, eax
jne 0x43c588
mov eax, dword [ebp - 0x4cc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x938], 1
lea eax, [ebp - 0x934]
call fcn.004059b0
mov eax, dword [ebp - 0x938]
jmp 0x43c5c7
lea eax, [ebp - 0x934]
call fcn.004059b0
mov dword [ebp - 0x72c], 0x12c
push 0x258
push 0
lea ecx, [ebp - 0x4c8]
push ecx
call fcn.00415590
add esp, 0xc
jmp 0x43c42e
mov edx, dword [ebp - 0x4cc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004144ca
mov esp, ebp
pop ebp
ret
Function at 0x43c5e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4469e9
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
mov eax, dword [0x45b080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.004057c0
mov dword [ebp - 4], 0
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0040adb0
push eax
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00412750
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00407590
mov byte [ebp - 4], 0
lea eax, [ebp - 0x20]
call fcn.004059b0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43c681
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
call fcn.004059b0
mov eax, dword [ebp - 0x24]
jmp 0x43c772
mov dword [ebp - 0x18], 0
lea esi, [ebp - 0x10]
call fcn.004057a0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x18]
push edx
push 0x45069c
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.004124d0
mov byte [ebp - 4], 3
push 0x4506a0
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004127d0
add esp, 8
movzx edx, al
test edx, edx
je 0x43c741
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.004124b0
lea eax, [ebp - 0x10]
call fcn.004059d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43c6f5
lea eax, [ebp - 0x10]
call fcn.004059d0
push eax
call sym.nsUninstall.exe_int___cdecl_CreateFolder_wchar_t_const__
add esp, 4
mov edx, 0x4506a4
lea eax, [ebp - 0x10]
call fcn.004058b0
lea ecx, [ebp - 0x18]
push ecx
push 0x4506a8
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x14]
call fcn.004124d0
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00407590
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
call fcn.004059b0
jmp 0x43c6ad
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
call fcn.004059b0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
call fcn.004059b0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
call fcn.004059b0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43cd10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446aa0
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x45b080]
xor eax, ebp
mov dword [ebp - 0x24], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00427a0b
add esp, 4
lea esi, [ebp - 0x10]
call fcn.004057a0
mov dword [ebp - 4], 0
call fcn.00427a1d
push eax
call fcn.00427a1d
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.NS_08d_05d_05d
lea edi, [ebp - 0x10]
call fcn.00405f90
add esp, 0x10
cmp dword [ebp + 0xc], 0
je 0x43ce73
push 0
lea ecx, [ebp - 0x1c]
call fcn.00410bd0
mov byte [ebp - 4], 1
push 0xf003f
push 0x450368
push SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.004132a0
test eax, eax
jne 0x43ce28
mov dword [ebp - 0x20], 0x1e
xor eax, eax
mov word [ebp - 0x8c], ax
push 0x62
push 0
lea ecx, [ebp - 0x8a]
push ecx
call fcn.00415590
add esp, 0xc
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x8c]
push eax
push 0x45038c
lea ecx, [ebp - 0x1c]
call fcn.00413140
lea ecx, [ebp - 0x8c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x14
je 0x43ce18
push 1
lea eax, [ebp - 0x10]
call fcn.004059d0
push eax
push 0x450394
lea ecx, [ebp - 0x1c]
call fcn.00413340
jmp 0x43ce26
lea edx, [ebp - 0x8c]
lea edi, [ebp - 0x10]
call fcn.00405870
jmp 0x43ce5f
push 0
push 0
push 0x2001f
push 0
push 0
push str.SOFTWARENewsoft
push SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.00413460
push 1
lea eax, [ebp - 0x10]
call fcn.004059d0
push eax
push 0x4503c0
lea ecx, [ebp - 0x1c]
call fcn.00413340
lea ecx, [ebp - 0x1c]
call fcn.00410b60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00410bb0
lea eax, [ebp - 0x10]
call fcn.004059d0
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
call fcn.004059b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.004144ca
mov esp, ebp
pop ebp
ret
Function at 0x43d2d0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446fb7
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x45b080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ebp - 0xa8]
call fcn.004057a0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push str._sdesktop.ini
lea edi, [ebp - 0xa8]
call fcn.00405f90
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.0040fdc0
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xc0]
call fcn.004129f0
push eax
lea ecx, [ebp - 0xa4]
call fcn.00410c00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9c]
call fcn.00412870
lea ecx, [ebp - 0xa0]
call fcn.00412490
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
push str._.ShellClassInfo__r_nIconFile_s_r_nIconIndex_d
lea edx, [ebp - 0xa0]
push edx
call fcn.00412cf0
add esp, 0x10
lea ecx, [ebp - 0xa0]
call fcn.004129f0
push eax
call fcn.00415f10
add esp, 4
push eax
lea ecx, [ebp - 0xa0]
call fcn.00410ca0
push eax
lea eax, [ebp - 0xa8]
call fcn.004059d0
push eax
call sym.nsUninstall.exe_int___cdecl_NsWriteFile_wchar_t_const___void___unsigned_long_int_
add esp, 0xc
push 6
lea eax, [ebp - 0xa8]
call fcn.004059d0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0xac], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa0]
call fcn.00410c80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.00410c80
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xa8]
call fcn.004059b0
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004144ca
mov esp, ebp
pop ebp
ret

Function at 0x43d6f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x45b080]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x218], ecx
mov eax, dword [ebp - 0x218]
add eax, 0x10
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.update.cfg
mov edx, dword [ebp - 0x218]
add edx, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x451170
mov eax, dword [ebp - 0x218]
add eax, 0x10
push eax
call fcn.00414d14
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43d757
jmp 0x43d7c5
mov dword [ebp - 0x214], 0
jmp 0x43d772
mov ecx, dword [ebp - 0x214]
add ecx, 1
mov dword [ebp - 0x214], ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x26c
call fcn.0040e930
cmp dword [ebp - 0x214], eax
jae 0x43d7b9
mov edx, dword [ebp - 4]
push edx
push 1
push 0x410
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x26c
call fcn.0040e950
push eax
call fcn.0042721b
add esp, 0x10
jmp 0x43d763
mov ecx, dword [ebp - 4]
push ecx
call fcn.00415046
add esp, 4
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004144ca
mov esp, ebp
pop ebp
ret