joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1012c625
Capabilities:
Copy file

Disassembly:
push 0x39c
mov eax, 0x10325c92
call fcn.10279189
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3a4], edi
mov dword [ebp - 0x3a8], esi
cmp dword [esi + 0x14], 8
jb 0x1012c650
mov eax, dword [esi]
jmp 0x1012c652
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x1012c65c
mov ecx, dword [edi]
jmp 0x1012c65e
mov ecx, edi
xor edx, edx
cmp byte [ebp + 0x10], dl
sete dl
push edx
push eax
push ecx
mov dword [ebp - 0x3a0], edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1012c6c1
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 5
jne 0x1012c6ed
and dword [ebp - 4], 0
push 1
push 0x80
push esi
call fcn.101182ec
cmp dword [esi + 0x14], 8
jb 0x1012c6a1
mov ecx, dword [esi]
jmp 0x1012c6a3
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x1012c6ad
mov eax, dword [edi]
jmp 0x1012c6af
mov eax, edi
push dword [ebp - 0x3a0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1012c6e9
call fcn.102790da
ret 0xc
or dword [ebp - 4], 0xffffffff
push esi
push edi
push str.Failed_to_copy_file_src:__s__dest:__s
call ebx
push eax
push 0xf
lea ecx, [ebp - 0x39c]
call fcn.1012c2fa
push 0x1060513c
lea eax, [ebp - 0x39c]
push eax
call fcn.1027a8f4
int3

Function at 0x1012c79a
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.1001038c
test al, al
je 0x1012c801
cmp dword [edi + 0x14], 8
jb 0x1012c7ba
mov eax, dword [edi]
jmp 0x1012c7bc
mov eax, edi
push ebx
lea ecx, [ebp - 4]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jne 0x1012c7d1
xor al, al
jmp 0x1012c800
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
push ebx
call fcn.100e1904
mov eax, dword [esi + 4]
sub eax, dword [esi]
neg eax
sbb eax, eax
and eax, dword [esi]
cmp dword [edi + 0x14], 8
pop esi
jb 0x1012c7f1
mov edi, dword [edi]
push eax
push ebx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
setne al
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8

Function at 0x1012c85f
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x394
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x20]
push esi
mov esi, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x1012c8ae
lea ecx, [ebp - 0x394]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [ebp - 0x394]
mov ecx, dword [ebp - 4]
mov dword [esi], eax
xor ecx, ebp
mov eax, dword [ebp - 0x390]
mov dword [esi + 4], eax
pop esi
call fcn.102790a9
mov esp, ebp
pop ebp
ret 4
push str.cant_get_the_size_of_a_file_thats_not_open.__Try_the_static_method_instead
push 0x15
lea ecx, [ebp - 0x38c]
call fcn.1012c4bd
push 0x1060513c
lea eax, [ebp - 0x38c]
push eax
call fcn.1027a8f4
int3
Function at 0x1012d47b
Capabilities:
Get common file path
Get file version info

Disassembly:
push 0x3c8
mov eax, 0x10325dce
call fcn.1027911b
xor ebx, ebx
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x3cc], ebx
mov edi, ebx
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
push ebx
push 0x104
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.1000f5d8
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
inc eax
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1012d4fa
push str.Failed_to_retrieve_SystemDirectory__GetSystemDirectoryW___failed.
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x3c8]
call fcn.1012cef3
push 0x1060513c
lea eax, [ebp - 0x3c8]
push eax
call fcn.1027a8f4
push ebx
push eax
lea ecx, [ebp - 0x28]
call fcn.1000f5d8
mov esi, 0x103334e8
push esi
call fcn.100082d6
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.10007e0e
push str.MSI.DLL
lea ecx, [ebp - 0x40]
call fcn.10006939
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10007d05
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.10007cb3
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x3cc]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x1012d5f2
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.100e1904
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
sub ebx, esi
push 0
pop eax
mov ecx, esi
cmove ecx, eax
cmp dword [ebp - 0x14], 8
push ecx
push ebx
push dword [ebp - 0x3cc]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1012d5e8
and dword [ebp - 0x3d0], 0
xor eax, eax
and dword [ebp - 0x3d4], 0
test ebx, ebx
cmove esi, eax
lea eax, [ebp - 0x3d4]
push eax
lea eax, [ebp - 0x3d0]
push eax
push 0x103334e8
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1012d5e8
mov eax, dword [ebp - 0x3d0]
mov eax, dword [eax + 8]
cmp eax, dword [ebp + 8]
sbb edi, edi
lea ecx, [ebp - 0x34]
call fcn.100d58ce
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.10007cb3
mov eax, edi
call fcn.102790cd
ret 4
Function at 0x1012d695
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x394
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x394], ecx
mov dword [ebp - 0x390], ecx
cmp dword [esi + 0x14], 8
jb 0x1012d6c4
mov eax, dword [esi]
jmp 0x1012d6c6
mov eax, esi
push ecx
push ecx
lea ecx, [ebp - 0x394]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x1012d6f7
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x394]
xor ecx, ebp
mov edx, dword [ebp - 0x390]
pop esi
call fcn.102790a9
mov esp, ebp
pop ebp
ret 4
push esi
push str.Failed_to_check_free_space_in_drive___s_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.1010d1aa
push 0x1060513c
lea eax, [ebp - 0x38c]
push eax
call fcn.1027a8f4
int3

Function at 0x1012d747
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1012d782
push str.InitiateReboot:_Failed_to_open_process_token
push 3
call fcn.1012d399
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1012d7f6
push esi
lea eax, [ebp - 0x10]
xor esi, esi
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x1012d7ad
push str.InitiateReboot:_Failed_to_get_LUID_for_the_shutdown_privilege
push 3
call fcn.1000a30f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1012d7f5
push edi
push 2
pop edi
push esi
push esi
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x1012d7de
push str.InitiateReboot:_Failed_to_adjust_token_privilege
push 3
call fcn.1012d3e3
jmp 0x1012d7ea
push edi
push edi
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x1012d7f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1012d7f4
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102790a9
mov esp, ebp
pop ebp
ret
Function at 0x101316f7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x390
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x390], edi
and dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x10131726
mov eax, dword [esi]
jmp 0x10131728
mov eax, esi
xor ecx, ecx
push ecx
mov word [eax], cx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jne 0x1013174b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10131792
jmp 0x101317a4
jle 0x10131792
push 0
push eax
mov ecx, esi
call fcn.1000f5d8
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x10131762
mov esi, dword [esi]
inc eax
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x10131792
lea eax, [ebp - 0x390]
push eax
push str.::GetWindowTextW___failed_to_get_window_title_for_window_handle:__d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.1013051a
jmp 0x101317be
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.102790a9
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x390]
push ecx
push str.::GetWindowTextLength___failed_to_get_the_length_of_window_title_for_window_handle:__d
push eax
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.1013075e
push 0x1060513c
lea eax, [ebp - 0x38c]
push eax
call fcn.1027a8f4
int3
Function at 0x101317d0
Capabilities:
Enumerate process modules

Disassembly:
push 0x3d4
mov eax, 0x10326325
call fcn.1027911b
mov eax, dword [ebp + 0x10]
mov ecx, eax
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x3dc], eax
mov dword [ebp - 0x3e0], ebx
call fcn.100242de
mov ecx, ebx
call fcn.10007fbd
xor ebx, ebx
mov dword [ebp - method.RefCounted.virtual_0], vtable.RefCounted.0
mov dword [ebp - 0x3d4], ebx
mov dword [ebp - 0x3d8], 0x1038acec
mov dword [ebp - 0x3d0], ebx
mov byte [ebp - 0x3cc], bl
mov dword [ebp - 0x3c8], 0x55
xor eax, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
cmp byte [ebp + 0xc], al
mov byte [ebp - 4], 1
sete al
movzx eax, al
push eax
lea eax, [ebp - 0x3d8]
push eax
push dword [ebp + 8]
push ebx
push 0x410
call fcn.10131ac0
test al, al
jne 0x1013188b
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.10007cb3
lea ecx, [ebp - 0x3d8]
call fcn.10130f35
xor al, al
call fcn.102790cd
ret 0x14
mov esi, 0x400
mov dword [ebp - 0x3b4], 0x1000
mov dword [ebp - 0x3c0], ebx
mov dword [ebp - 0x3bc], ebx
mov dword [ebp - 0x3b8], ebx
mov byte [ebp - 4], 2
push esi
lea ecx, [ebp - 0x3c0]
call fcn.1013441b
mov edi, dword [ebp - 0x3bc]
lea eax, [ebp - 0x3b4]
mov ebx, dword [ebp - 0x3c0]
sub edi, ebx
sar edi, 2
cmp dword [ebp + 0x18], 0
jne 0x101318ee
push eax
mov eax, edi
shl eax, 2
push eax
push ebx
push dword [ebp - 0x3d0]
call sub.KERNEL32.dll_K32EnumProcessModules
jmp 0x10131904
push dword [ebp + 0x18]
push eax
mov eax, edi
shl eax, 2
push eax
push ebx
push dword [ebp - 0x3d0]
call sub.KERNEL32.dll_K32EnumProcessModulesEx
test eax, eax
je 0x10131993
mov esi, dword [ebp - 0x3b4]
shr esi, 2
cmp edi, esi
jb 0x101318b0
test esi, esi
je 0x1013196a
mov edi, dword [ebp - 0x3dc]
dec esi
mov ecx, edi
mov eax, dword [ebx + esi*4]
mov dword [ebp - 0x3c4], eax
lea eax, [ebp - 0x3c4]
push eax
push dword [edi]
call fcn.10130dcd
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x3c4]
lea eax, [ebp - 0x3d8]
push eax
call fcn.10131292
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x3e0]
mov ecx, eax
push dword [eax]
call fcn.10012b8c
test esi, esi
jne 0x10131923
lea ecx, [ebp - 0x3c0]
call fcn.1004d47b
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10007cb3
lea ecx, [ebp - 0x3d8]
call fcn.10130f35
mov al, 1
jmp 0x10131883
cmp byte [ebp + 0xc], 0
je 0x101319ab
lea ecx, [ebp - 0x3c0]
call fcn.1004d47b
push 0
jmp 0x1013186c
lea eax, [ebp + 8]
push eax
push str.::EnumProcessModules___failed_to_enumerate_the_list_of_modules_for_the_processid:__d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x3b0]
call fcn.1013063c
push 0x1060513c
lea eax, [ebp - 0x3b0]
push eax
call fcn.1027a8f4
int3
Function at 0x101319da
Capabilities:
Enumerate process modules

Disassembly:
push 0x3a0
mov eax, 0x10326358
call fcn.1027911b
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.100242de
xor eax, eax
mov dword [ebp - 0x39c], 0x1000
mov esi, 0x400
mov dword [ebp - 0x3a8], eax
mov dword [ebp - 0x3a4], eax
mov dword [ebp - 0x3a0], eax
mov dword [ebp - 4], eax
push esi
lea ecx, [ebp - 0x3a8]
call fcn.1013441b
mov ecx, dword [ebp - 0x3a8]
lea eax, [ebp - 0x39c]
mov edi, dword [ebp - 0x3a4]
sub edi, ecx
push eax
sar edi, 2
mov eax, edi
shl eax, 2
push eax
push ecx
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x10131a95
mov esi, dword [ebp - 0x39c]
shr esi, 2
cmp edi, esi
jb 0x10131a19
test esi, esi
je 0x10131a82
mov edi, dword [ebp - 0x3a8]
dec esi
mov ecx, ebx
mov eax, dword [edi + esi*4]
mov dword [ebp - 0x3ac], eax
lea eax, [ebp - 0x3ac]
push eax
push dword [ebx]
call fcn.10130dcd
test esi, esi
jne 0x10131a64
lea ecx, [ebp - 0x3a8]
call fcn.1004d47b
call fcn.102790cd
ret 4
push str.::EnumProcesses___failed_to_enumerate_the_list_of_process_current_running
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x398]
call fcn.1012da1e
push 0x1060513c
lea eax, [ebp - 0x398]
push eax
call fcn.1027a8f4
int3
Function at 0x10132a43
Capabilities:
Create process on windows

Disassembly:
push 0x3a4
mov eax, 0x103264e4
call fcn.1027911b
mov edx, ecx
cmp byte [ebp + 0x10], 0
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
je 0x10132a92
push 0x1033341c
lea ecx, [ebp - 0x28]
call fcn.10006939
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push 2
push eax
push esi
push edi
call fcn.10131bc3
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10007cb3
call fcn.102790cd
ret 0xc
cmp dword [esi + 0x14], 8
jb 0x10132a9c
mov ecx, dword [esi]
jmp 0x10132a9e
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x10132aa8
mov eax, dword [edi]
jmp 0x10132aaa
mov eax, edi
push 1
push 0
push 0
push ecx
push eax
push dword [edx + 0xc]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
push edi
push str.failed_to_execute_verb:__s__file:__s
push 0
push 0xf
lea ecx, [ebp - 0x3b0]
call fcn.1012c261
push 0x1060513c
lea eax, [ebp - 0x3b0]
push eax
call fcn.1027a8f4
int3

Function at 0x10133d06
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x390
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, 0x101
push 0
push eax
mov ecx, esi
mov dword [ebp - 0x390], eax
call fcn.1000f5d8
cmp dword [esi + 0x14], 8
jb 0x10133d3c
mov eax, dword [esi]
jmp 0x10133d3e
mov eax, esi
lea ecx, [ebp - 0x390]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x10133d70
push 0
push dword [ebp - 0x390]
mov ecx, esi
call fcn.1000f5d8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.102790a9
mov esp, ebp
pop ebp
ret 4
push str.Failed_to_get_current_computername.
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.100f913f
push 0x1060513c
lea eax, [ebp - 0x38c]
push eax
call fcn.1027a8f4
int3
Function at 0x1013d22c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x394
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [edi + 0x20], 0
je 0x1013d313
xor edx, edx
mov dword [ebp - 0x394], 3
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x390], edx
jb 0x1013d270
mov eax, dword [esi]
jmp 0x1013d272
mov eax, esi
lea ecx, [ebp - 0x390]
push ecx
push edx
lea ecx, [ebp - 0x394]
push ecx
push edx
push eax
push dword [edi + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x1013d2fe
cmp dword [ebp - 0x394], 3
jne 0x1013d2fe
test eax, eax
je 0x1013d2b7
lea eax, [edi + 8]
push eax
push esi
push str.ORegistryKey.GetValue_failure:_Cannot_get_the_binary_value___s__in_registry_key__s.
push 0x2b
lea ecx, [ebp - 0x38c]
call fcn.1011cc45
jmp 0x1013d326
push dword [ebp - 0x390]
mov ecx, ebx
call fcn.100e1904
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
neg eax
sbb eax, eax
and eax, dword [ebx]
cmp dword [esi + 0x14], 8
jb 0x1013d2d9
mov ecx, dword [esi]
jmp 0x1013d2db
mov ecx, esi
lea edx, [ebp - 0x390]
push edx
push eax
lea eax, [ebp - 0x394]
push eax
push 0
push ecx
push dword [edi + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1013d29e
mov al, 1
jmp 0x1013d300
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.102790a9
mov esp, ebp
pop ebp
ret 8
push esi
push str.ORegistryKey.GetValue_failure:_Cannot_get_value._The_tregistry_key_is_closed_or_not_set
push 0x3a
lea ecx, [ebp - 0x38c]
call fcn.10008a70
push 0x1060513c
lea eax, [ebp - 0x38c]
push eax
call fcn.1027a8f4
int3
Function at 0x10141e02
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push str._MSIExecute
xor ebx, ebx
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
test esi, esi
jne 0x10141e28
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x10141e35
mov bl, 1
test esi, esi
je 0x10141e35
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
ret

Function at 0x1014259d
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38c
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x101425c2
mov ecx, dword [esi]
jmp 0x101425c4
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x101425ce
mov eax, dword [edi]
jmp 0x101425d0
mov eax, edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
je 0x101425ee
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.102790a9
mov esp, ebp
pop ebp
ret 8
push esi
push edi
push str.Failed_to_set_environment_variable:__s_to_value:__s
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.1012c393
push 0x1060513c
lea eax, [ebp - 0x38c]
push eax
call fcn.1027a8f4
int3
Function at 0x10143f8f
Capabilities:
Enumerate files on windows

Disassembly:
push 0x628
mov eax, 0x1032820d
call fcn.1027911b
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push esi
mov dword [ebp - 0x634], eax
call fcn.100f415c
test al, al
jne 0x10143fdb
push esi
push str.GetFiles:_search_path__s_does_not_exist
push 0x22
lea ecx, [ebp - 0x630]
call fcn.10143ad2
push 0x1060513c
lea eax, [ebp - 0x630]
push eax
call fcn.1027a8f4
push dword [ebp - 0x634]
push edi
push dword [edi + 4]
push dword [edi]
call fcn.1000a531
mov eax, dword [edi]
xor ecx, ecx
mov dword [edi + 4], eax
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ecx
cmp eax, esi
je 0x10144018
push 0xffffffffffffffff
push ecx
push esi
mov ecx, eax
call fcn.10007eb1
push 0x103334e8
lea ecx, [ebp - 0x40]
call fcn.10006939
push 1
push eax
push esi
mov byte [ebp - 4], 1
call fcn.10007329
mov bl, al
mov byte [ebp - 4], 0
push 0
neg bl
lea ecx, [ebp - 0x40]
push 1
sbb bl, bl
call fcn.10007cb3
add bl, 1
je 0x1014407b
push 0x103334e8
lea ecx, [ebp - 0x40]
call fcn.10006939
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.10007d05
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.10007cb3
push 0xffffffffffffffff
push 0
push dword [ebp - 0x634]
lea ecx, [ebp - 0x28]
call fcn.10007d05
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x634], ebx
cmp ebx, 0xffffffff
jne 0x101440e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x101441be
cmp eax, 2
je 0x101441be
push str.GetFiles:_FindFirstFile_failed_with_unexpected_error
push eax
push 0xf
lea ecx, [ebp - 0x630]
call fcn.100142d1
jmp 0x10143fca
test byte [ebp - 0x2a8], 0x10
jne 0x101441a1
push esi
lea ecx, [ebp - 0x40]
call fcn.100068e6
push 0x103334e8
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.10006939
push 1
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
call fcn.10007329
mov bl, al
mov byte [ebp - 4], 3
push 0
neg bl
lea ecx, [ebp - 0x58]
push 1
sbb bl, bl
call fcn.10007cb3
add bl, 1
je 0x10144163
push 0x103334e8
lea ecx, [ebp - 0x58]
call fcn.10006939
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.10007d05
push 0
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.10007cb3
lea eax, [ebp - 0x27c]
push eax
call fcn.100082d6
pop ecx
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x40]
call fcn.10007e0e
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.1000f54f
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.10007cb3
mov ebx, dword [ebp - 0x634]
lea eax, [ebp - 0x2a8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x101440e3
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10007cb3
call fcn.102790cd
ret 0xc
Function at 0x101444e4
Capabilities:
Get file version info

Disassembly:
push 0xabc
mov eax, 0x10328302
call fcn.1027911b
mov eax, ecx
mov dword [ebp - 0xac4], eax
lea esi, [eax + 0x28]
push esi
call fcn.1012c808
xor ebx, ebx
cmp dword [esi + 0x14], 8
mov dword [ebp - 0xab0], ebx
mov dword [ebp - 0xac0], ebx
mov dword [ebp - 0xaac], ebx
jb 0x10144522
mov eax, dword [esi]
jmp 0x10144524
mov eax, esi
lea ecx, [ebp - 0xaac]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
jne 0x10144560
push esi
push str.Resource_File_:_error_:_Failed_to_retrieve_version_information_size_for_file:___s_.
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x398]
call fcn.10144270
push 0x1060513c
lea eax, [ebp - 0x398]
push eax
call fcn.1027a8f4
mov dword [ebp - 0xabc], ebx
mov dword [ebp - 0xab8], ebx
mov dword [ebp - 0xab4], ebx
push eax
lea ecx, [ebp - 0xabc]
mov dword [ebp - 4], ebx
call fcn.100e1904
mov ebx, dword [ebp - 0xab8]
mov edi, dword [ebp - 0xabc]
sub ebx, edi
push 0
mov ecx, edi
mov dword [ebp - 4], 1
pop eax
cmove ecx, eax
cmp dword [esi + 0x14], 8
jb 0x101445a8
mov eax, dword [esi]
jmp 0x101445aa
mov eax, esi
push ecx
push ebx
push dword [ebp - 0xaac]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x101445e6
push esi
push str.Resource_File_:_error_:_Failed_to_retrieve_version_information_for_file:___s_.
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x720]
call fcn.1013d8e4
push 0x1060513c
lea eax, [ebp - 0x720]
jmp 0x1014455a
xor eax, eax
test ebx, ebx
cmove edi, eax
lea eax, [ebp - 0xac0]
push eax
lea eax, [ebp - 0xab0]
push eax
push 0x103334e8
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x10144634
push esi
push str.Resource_File_:_error_:_Failed_to_retrieve_version_information_from_file___s_.
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0xaa8]
call fcn.1013d8e4
push 0x1060513c
lea eax, [ebp - 0xaa8]
jmp 0x1014455a
push 0x1c
call fcn.100dcabd
mov ebx, eax
mov dword [ebp - 0xac8], ebx
pop ecx
test ebx, ebx
je 0x10144686
mov ecx, dword [ebp - 0xab0]
movzx edi, word [ecx + 0xc]
movzx esi, word [ecx + 0xe]
movzx edx, word [ecx + 8]
movzx eax, word [ecx + 0xa]
mov dword [ebx], vtable.RefCounted.0
mov dword [ebx + 4], 0
mov dword [ebx], vtable.OVersion.0
mov dword [ebx + 0x18], 0xa0
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], edi
jmp 0x10144688
xor ebx, ebx
mov ecx, dword [ebp - 0xac4]
push ebx
add ecx, 0x48
call fcn.10012ec6
lea ecx, [ebp - 0xabc]
call fcn.100d58ce
call fcn.102790cd
ret

Function at 0x10144af0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
or edx, 0xffffffff
cmp dword [ebp + 0xc], esi
jbe 0x10144b1c
push edi
mov edi, dword [ebp + 8]
movzx ecx, byte [esi + edi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x106558c8]
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x10144b02
pop edi
not edx
mov eax, edx
pop esi
pop ebp
ret 8