joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402e4a
Capabilities:
Reference sql statements

Disassembly:
push 0x14
mov eax, 0x42bdd0
call fcn.004163ec
xor edi, edi
push str.SELECT_Value_FROM_Property_WHERE_Property.Property
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], edi
call fcn.00401a21
mov esi, 0x42f1f0
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.00402b7b
push dword [ebp + 0x10]
lea ecx, [ebp - 0x18]
call fcn.00402c1b
push esi
lea ecx, [ebp - 0x18]
call fcn.00402b7b
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00402341
push eax
push esi
push dword [ebp + 0xc]
call sub.msi.dll_MsiEnumClientsA
test eax, eax
je 0x402ebd
mov ecx, dword [ebp + 8]
call fcn.0040131b
jmp 0x402f4f
push edi
push dword [ebp - 0x14]
call sub.msi.dll_MsiViewModify
test eax, eax
jne 0x402eb0
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.00402341
push eax
push esi
call sub.msi.dll_MsiDatabaseIsTablePersistentA
cmp eax, edi
jne 0x402eb0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 1
push dword [ebp - 0x10]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call sub.msi.dll_MsiRecordSetStreamA
cmp dword [ebp - 0x1c], edi
je 0x402eb0
call fcn.00405f3b
push eax
lea ecx, [ebp + 0x10]
call fcn.004011f9
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
inc eax
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 3
call fcn.0040132f
lea ecx, [ebp - 0x1c]
push ecx
push eax
push 1
push dword [ebp - 0x10]
call sub.msi.dll_MsiRecordSetStreamA
push 0xffffffffffffffff
lea ecx, [ebp + 0x10]
call fcn.004011d4
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
call fcn.00401778
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00401038
cmp dword [ebp - 0x10], edi
je 0x402f5c
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], edi
je 0x402f69
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401038
mov eax, dword [ebp + 8]
call fcn.0041648b
ret 0xc
Function at 0x40368b
Capabilities:
Create process on windows

Disassembly:
push 0x5c
mov eax, 0x42bf28
call fcn.004163ec
lea eax, [ebp - 0x10]
push eax
call fcn.00402f7f
xor esi, esi
push 0x44
lea eax, [ebp - 0x68]
push esi
push eax
mov dword [ebp - 4], esi
call fcn.004165b0
push 0x10
lea eax, [ebp - 0x24]
push esi
push eax
mov dword [ebp - 0x68], 0x44
call fcn.004165b0
mov eax, dword [ebp - 0x10]
add esp, 0x18
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.0040132f
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40371f
cmp dword [0x43c368], esi
je 0x403713
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x10]
push str.InstallProduct:_CreateProcess_failed__Cmdline_s_Error_d_._n
push 0x43c35c
call fcn.00401462
add esp, 0x10
mov ecx, 0x43c2b8
call fcn.004044df
jmp 0x403770
push 0xffffffffffffffff
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x403760
cmp dword [ebp - 0x14], 0xbc2
jne 0x403760
cmp dword [0x43c36c], esi
jne 0x403760
mov ecx, 0x43c2b8
mov dword [0x43c36c], 1
call fcn.0041148e
push dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x20]
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401038
call fcn.0041648b
ret
Function at 0x403985
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
push edi
push 0x44
xor esi, esi
lea eax, [ebp - 0x58]
push esi
push eax
mov edi, ecx
call fcn.004165b0
push 0x10
lea eax, [ebp - 0x14]
push esi
push eax
mov dword [ebp - 0x58], 0x44
call fcn.004165b0
add edi, 8
mov eax, dword [edi]
add esp, 0x18
push dword [eax - 0xc]
mov ecx, edi
call fcn.0040132f
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x58]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x403a10
cmp dword [0x43c368], esi
je 0x4039ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [edi]
push str.InstallUpdate:_CreateProcess_failed__Cmdline_s_Error_d_._n
push 0x43c35c
call fcn.00401462
add esp, 0x10
mov ecx, 0x43c2b8
call fcn.004044df
xor eax, eax
jmp 0x403a94
xor edi, edi
cmp dword [0x43c370], esi
jne 0x403a2a
push esi
push esi
push esi
push esi
push 0x42eae0
call fcn.0040d104
mov edi, eax
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp edi, esi
je 0x403a55
mov eax, dword [edi + 0x20]
cmp eax, esi
jne 0x403a44
xor eax, eax
jmp 0x403a47
mov eax, dword [eax + 0x20]
push esi
push esi
push 0x405
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
xor edi, edi
inc edi
test eax, eax
je 0x403a82
cmp dword [ebp - 4], 0xbc2
jne 0x403a82
mov ecx, 0x43c2b8
mov dword [0x43c36c], edi
call fcn.0041148e
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x403abb
Capabilities:
Identify system language via api

Disassembly:
push 0x7c
mov eax, 0x42bf81
call fcn.004163ec
mov esi, ecx
mov eax, dword [esi + 8]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x403b4d
cmp dword [esi + 0xc], 0
je 0x403b4a
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
and ax, 0x3ff
xor edi, edi
movzx eax, ax
inc edi
cmp ax, di
je 0x403af8
cmp ax, 0xd
je 0x403af8
xor eax, eax
jmp 0x403afa
mov eax, edi
push 0
push eax
lea ecx, [ebp - 0x88]
call fcn.00401796
and dword [ebp - 4], 0
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401415
add esi, 0x14
push esi
lea ecx, [ebp - 0x10]
call fcn.00401415
lea ecx, [ebp - 0x88]
call fcn.00406c80
cmp eax, edi
jne 0x403b46
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.00401807
mov eax, edi
jmp 0x403b4d
xor edi, edi
jmp 0x403b33
xor eax, eax
inc eax
call fcn.0041648b
ret
Function at 0x403b53
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x42bd47
call fcn.004163ec
mov esi, ecx
push 0
lea ebx, [esi + 8]
push str.http:__
mov ecx, ebx
call fcn.00402433
test eax, eax
je 0x403b88
push 0
push str.ftp:__
mov ecx, ebx
call fcn.00402433
test eax, eax
jne 0x403c07
push 0x2f
mov ecx, ebx
call fcn.00402357
mov ecx, dword [ebx]
inc eax
cmp eax, dword [ecx - 0xc]
mov dword [ebp - 0x10], eax
jne 0x403ba5
mov ecx, ebx
call fcn.00401228
jmp 0x403c07
lea ecx, [esi + 0x10]
push ebx
mov dword [esi + 0xc], 1
call fcn.00401415
lea edi, [esi + 0x14]
mov esi, 0x104
push esi
mov ecx, edi
call fcn.0040132f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004011d4
push dword [ebp - 0x10]
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.00403a98
and dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.00402c1b
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00401038
push edi
mov ecx, ebx
call fcn.00401415
call fcn.0041648b
ret

Function at 0x403c0d
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x42bfc7
call fcn.004163ec
mov esi, ecx
call fcn.00405f3b
push eax
lea ecx, [ebp - 0x10]
call fcn.004011f9
xor ebx, ebx
push ebx
push 0x25
mov edi, 0x104
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0040132f
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004011d4
push str.Msi.dll
lea ecx, [ebp - 0x10]
call fcn.00402b7b
lea ecx, [esi + 4]
push edi
call fcn.0040132f
push ebx
push ebx
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x10]
call sub.msi.dll_MsiMessageBoxW
push 0xffffffffffffffff
lea ecx, [esi + 4]
call fcn.004011d4
push str.Path
lea ecx, [ebp - 0x18]
call fcn.00401a21
push str.MSI_Updater
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00401a21
push 0x43c360
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x43c2b8
mov byte [ebp - 4], 2
call fcn.00404137
lea edi, [esi + 8]
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00401415
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401038
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401038
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401038
mov ecx, esi
call fcn.00403b53
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x403d53
cmp dword [esi + 0xc], ebx
jne 0x403d1b
push edi
mov ecx, 0x43c2b8
call fcn.0040437c
test eax, eax
jne 0x403d1b
mov ecx, edi
call fcn.00401228
jmp 0x403d53
call fcn.00405f3b
push eax
lea ecx, [ebp - 0x14]
call fcn.004011f9
lea eax, [ebp - 0x14]
push str.__quiet__norestart__overwriteoem
push eax
mov byte [ebp - 4], 4
call fcn.00401462
pop ecx
pop ecx
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.00402c1b
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401038
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401038
call fcn.0041648b
ret
Function at 0x403e9f
Capabilities:
Identify system language via api

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
and ax, 0x3ff
movzx eax, ax
cmp ax, 1
je 0x403eb8
cmp ax, 0xd
jne 0x403ec0
or dword [esp + 8], 0x100000
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0x43c2b8
call fcn.0040e721
add esp, 0x10
ret

Function at 0x404137
Capabilities:
Read .ini file

Disassembly:
push 4
mov eax, 0x42baf7
call fcn.004163ec
and dword [ebp - 0x10], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.0040131b
and dword [ebp - 4], 0
push 0x7d
mov dword [ebp - 0x10], 1
pop esi
mov eax, dword [ebp + 0x14]
mov edi, dword [eax]
add esi, esi
push esi
mov ecx, ebx
call fcn.0040132f
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
push edi
push esi
push eax
push 0x42e7c0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
mov ecx, ebx
mov edi, eax
call fcn.004011d4
inc edi
cmp esi, edi
jbe 0x40415f
mov eax, ebx
call fcn.0041648b
ret 0x10

Function at 0x40437c
Capabilities:
Query environment variable

Disassembly:
push 0x1c
mov eax, 0x42c0fd
call fcn.004163ec
mov edi, dword [ebp + 8]
push edi
lea ecx, [ebp + 8]
call fcn.00401778
and dword [ebp - 4], 0
mov esi, 0x104
push esi
mov ecx, edi
call fcn.0040132f
push esi
mov esi, dword [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00401038
push 0xffffffffffffffff
mov ecx, edi
call fcn.004011d4
lea ecx, [ebp - 0x28]
call fcn.0040fad2
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
mov dword [ebp - 4], 1
je 0x404434
push 0
push eax
lea ecx, [ebp - 0x28]
call fcn.0040fb60
test eax, eax
je 0x404434
lea ecx, [ebp - 0x28]
call fcn.0040f7e7
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040fda3
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00401415
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401038
lea ecx, [ebp - 0x28]
call fcn.0040f717
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040faf8
xor eax, eax
inc eax
jmp 0x404442
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040faf8
xor eax, eax
call fcn.0041648b
ret 4
Function at 0x4044df
Capabilities:
Get common file path

Disassembly:
push 0x18
mov eax, 0x42c128
call fcn.004163ec
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0xb0], ebx
je 0x4045dc
mov eax, dword [esi + 0xd0]
cmp eax, dword [0x431f08]
jne 0x4045b3
call fcn.00405f3b
push eax
lea ecx, [ebp - 0x10]
call fcn.004011f9
mov edi, 0x104
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0040132f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x404548
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401038
jmp 0x4045dc
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004011d4
push str.BootStrap.log
lea ecx, [ebp - 0x10]
call fcn.00402b7b
push ebx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x24]
call fcn.0040444a
mov edi, dword [ebp - 0x10]
lea edx, [ebp - 0x24]
push edx
lea ecx, [esi + 0xcc]
mov eax, dword [ecx]
push 0x1021
push edi
mov byte [ebp - 4], 1
call dword [eax + 0x20]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
test eax, eax
mov dword [ebp - 0x24], vtable.CFileException.0
jne 0x4045a2
call fcn.00401038
lea ecx, [edi - 0x10]
jmp 0x40453e
call fcn.00401038
or dword [ebp - 4], 0xffffffff
lea ecx, [edi - 0x10]
call fcn.00401038
lea edi, [esi + 0xa4]
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x4045dc
add esi, 0xcc
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x54]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
mov ecx, edi
call fcn.00401228
call fcn.0041648b
ret
Function at 0x4045e2
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
push 0x28
mov eax, 0x42c15b
call fcn.004163ec
lea esi, [ecx + 0xc8]
mov edi, 0x104
push edi
mov ecx, esi
call fcn.0040132f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4046fd
push 0xffffffffffffffff
mov ecx, esi
call fcn.004011d4
push esi
lea ecx, [ebp - 0x10]
call fcn.00401778
xor ebx, ebx
push edi
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0040132f
push eax
push ebx
push 0x42fb0c
lea ecx, [ebp - 0x10]
call fcn.00403f8e
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, dword [ebp - 0x10]
or edi, 0xffffffff
add ecx, 0xfffffff0
mov dword [ebp - 4], edi
call fcn.00401038
push edi
mov ecx, esi
call fcn.004011d4
lea ecx, [ebp - 0x20]
call fcn.004101ea
push ebx
push edi
push ebx
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
call fcn.0040444a
mov eax, dword [esi]
lea ecx, [ebp - 0x34]
push ecx
push 0x1001
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.004105d1
test eax, eax
jne 0x40469e
mov ecx, esi
call fcn.00401228
jmp 0x4046e0
push str.LOCALIZATION_INI
push 0x87
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push ebx
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040ff38
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov dword [ebp - 0x34], vtable.CFileException.0
call fcn.00401038
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], edi
call fcn.004102be
call fcn.0041648b
ret
Function at 0x404798
Capabilities:
Identify system language via api

Disassembly:
push 0x10
mov eax, 0x42c1a7
call fcn.004163ec
mov ebx, ecx
and dword [ebp - 4], 0
and dword [ebp - 0x18], 0
call fcn.00405f3b
push eax
lea ecx, [ebp - 0x14]
call fcn.004011f9
xor esi, esi
inc esi
mov dword [ebp - 4], esi
call fcn.00405f3b
push eax
lea ecx, [ebp - 0x10]
call fcn.004011f9
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 2
call fcn.0040131b
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
mov esi, eax
shr ax, 0xa
movzx edi, ax
mov eax, dword [ebp + 0xc]
add eax, 0xffffff78
and esi, 0x3ff
cmp eax, 0xc
ja case.default.0x404804
jmp dword [eax*4 + 0x404a1c]
push str.CANCEL
jmp 0x404864
push str.DWNLD_FAILED
jmp 0x404864
push str.DWNLD_STATUS
jmp 0x404864
push str.DWNLD_TITLE
jmp 0x404864
push str.INSTMSI_TITLE
jmp 0x404864
push str.MSI_UNAVAILBLE
jmp 0x404864
push str.NOOS_MSG
jmp 0x404864
push 0x42fecc
jmp 0x404864
push str.REBOOT_MSG
jmp 0x404864
push str.SELECTLANG
jmp 0x404864
push str.UNSUPPORTED_IE
jmp 0x404864
push str.UNSUPPORTED_OS
jmp 0x404864
push str.UNSUPPORTED_SP
lea ecx, [ebp - 0x14]
call fcn.00401998
movzx eax, si
dec eax
cmp eax, 0x26
ja case.0x404879.3
jmp dword [eax*4 + 0x404a50]
push str.Arabic
jmp 0x404991
push str.Bulgarian
jmp 0x404991
cmp di, 2
je 0x4048aa
cmp di, 3
je 0x4048aa
push str.ChineseTraditional
jmp 0x404991
push str.ChineseSimplified
jmp 0x404991
push str.Croatian
jmp 0x404991
push str.Czech
jmp 0x404991
push str.Danish
jmp 0x404991
push str.Dutch
jmp 0x404991
push str.Estonian
jmp 0x404991
push str.Finnish
jmp 0x404991
push str.French
jmp 0x404991
push str.German
jmp 0x404991
push str.Greek
jmp 0x404991
push str.Hebrew
jmp 0x404991
push str.Hungarian
jmp 0x404991
push str.Italian
jmp 0x404991
push str.Japanese
jmp 0x404991
push str.Korean
jmp 0x404991
push str.Latvian
jmp 0x404991
push str.Lithuanian
jmp 0x404991
push str.Norwegian
jmp 0x404991
push str.Polish
jmp 0x404991
push str.Portuguese
jmp 0x404991
push str.Romanian
jmp 0x404991
push str.Russian
jmp 0x404991
push str.Slovak
jmp 0x404991
push str.Slovenian
jmp 0x404991
push str.Spanish
jmp 0x404991
push str.Swedish
jmp 0x404991
push str.Turkish
jmp 0x404991
push str.Ukrainian
jmp 0x404991
push str.English
lea ecx, [ebp - 0x10]
call fcn.00401998
lea esi, [ebx + 0xc8]
mov eax, dword [esi]
xor edi, edi
cmp dword [eax - 0xc], edi
jne 0x4049af
mov ecx, ebx
call fcn.004045e2
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
je 0x4049e6
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, ebx
call fcn.00404137
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 3
call fcn.00401415
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401038
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
jne 0x4049fa
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00401958
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401038
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401038
mov eax, esi
call fcn.0041648b
ret 8
Function at 0x404aec
Capabilities:
Delete file
Identify system language via api
Shutdown system

Disassembly:
push 0x20
mov eax, 0x42c1db
call fcn.004163ec
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0xf0], ebx
jne 0x404b42
cmp dword [esi + 0xec], ebx
je 0x404b3d
push 0x90
lea eax, [ebp - 0x1c]
push eax
call fcn.00404798
mov eax, dword [eax]
push ebx
push 0x10024
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 1
call fcn.00403e9f
add esp, 0xc
cmp eax, 6
jne 0x404b42
mov byte [ebp - 0xd], bl
jmp 0x404b46
mov byte [ebp - 0xd], 1
test byte [ebp - 0x14], 1
je 0x404b57
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401038
cmp byte [ebp - 0xd], bl
jne 0x404bf3
lea edi, [esi + 0xc8]
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x404b7b
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, edi
call fcn.00401228
lea eax, [ebp - 0x18]
push eax
mov dword [esi + 0xb4], ebx
push 0x28
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
je 0x404bd3
lea eax, [ebp - 0x28]
push eax
push str.SeShutdownPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x20], 2
je 0x404bd3
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push dword [ebp - 0x18]
call edi
mov esi, eax
push 1
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownW]
cmp esi, ebx
je 0x404bf3
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x20], ebx
call edi
call fcn.0041648b
ret
Function at 0x404bf9
Capabilities:
Identify system language via api

Disassembly:
push 0x14
mov eax, 0x42c21e
call fcn.004163ec
mov esi, ecx
push str.RequireMSI
lea ecx, [ebp - 0x18]
call fcn.00401a21
xor ebx, ebx
push str.Startup
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.00401a21
lea eax, [esi + 0xa8]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00404137
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401038
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.00401038
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
jne 0x404c7a
inc ebx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401038
mov eax, ebx
call fcn.0041648b
ret
mov ecx, 0x42f628
call fcn.0040d7c0
cmp eax, ebx
mov dword [esi + 0xc4], eax
jne 0x404caf
cmp dword [esi + 0xb0], ebx
je 0x404c67
push str.Initialization:_Failed_to_Create_Msi_Update_Object._n
lea ecx, [esi + 0xa4]
call fcn.00401998
mov ecx, esi
call fcn.004044df
jmp 0x404c67
xor edi, edi
mov ecx, eax
inc edi
call fcn.00403c0d
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.00401778
mov ecx, dword [esi + 0xc4]
call fcn.00403890
cmp eax, ebx
je 0x404d8e
mov ecx, dword [esi + 0xc4]
call fcn.00403abb
test eax, eax
je 0x404cfc
mov ecx, dword [esi + 0xc4]
call fcn.00403985
mov edi, eax
jmp 0x404d8e
cmp dword [esi + 0xb8], ebx
jne 0x404d66
call fcn.00405f3b
push eax
lea ecx, [ebp - 0x1c]
call fcn.004011f9
push 0x8d
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00404798
push dword [ebp - 0x10]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 6
call fcn.00401462
mov ecx, dword [ebp - 0x20]
add esp, 0xc
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.00401038
mov edi, dword [ebp - 0x1c]
push ebx
push 0x10
push edi
call fcn.00403e9f
add esp, 0xc
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 4
call fcn.00401038
cmp dword [esi + 0xb0], ebx
je 0x404d85
push dword [ebp - 0x10]
lea eax, [esi + 0xa4]
push str.MSI_version__s_is_required__but_update_is_not_available._n
push eax
call fcn.00401462
add esp, 0xc
mov ecx, esi
call fcn.004044df
xor edi, edi
mov ecx, dword [esi + 0xc4]
cmp ecx, ebx
je 0x404d9f
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0xc4], ebx
mov ebx, edi
jmp 0x404c67

Function at 0x404dac
Capabilities:
Identify system language via api

Disassembly:
push 4
mov eax, 0x42bd47
call fcn.004163ec
mov esi, ecx
cmp dword [esi + 0xb8], 0
jne 0x404df3
push 0x94
lea eax, [ebp - 0x10]
push eax
call fcn.00404798
mov eax, dword [eax]
and dword [ebp - 4], 0
push 0
push 0x10
push eax
call fcn.00403e9f
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00401038
cmp dword [esi + 0xb0], 0
je 0x404e0c
push str.OS_requirement:_Unsupported_OS_detected.
lea ecx, [esi + 0xa4]
call fcn.00401998
mov ecx, esi
call fcn.004044df
call fcn.0041648b
ret