joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4428a9
Capabilities:
Read file on windows

Disassembly:
push 0x48
mov eax, 0x4aa741
call fcn.00467509
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x50], eax
push 1
lea eax, [ebp - 0x41]
lea edi, [esi + 4]
push eax
mov ecx, edi
mov dword [ebp - 0x54], esi
mov dword [esi], vtable.STREAM.0
call fcn.00401f10
xor ebx, ebx
mov dword [ebp - 4], ebx
or dword [esi + 0x4c], 0xffffffff
lea ecx, [esi + 0x58]
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x40], 1
mov byte [esi + 0x41], 1
mov byte [esi + 0x42], 1
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], 0x2e
mov dword [esi + 0x54], 0x138
call fcn.00442880
mov byte [ebp - 4], 1
push dword [ebp - 0x50]
mov ecx, edi
mov dword [esi + 0x78], ebx
mov byte [esi + 0x7c], bl
call fcn.00401f50
cmp dword [esi + 0x20], 8
jb 0x442929
mov eax, dword [esi + 0xc]
jmp 0x44292c
lea eax, [esi + 0xc]
xor edi, edi
inc edi
push edi
push eax
call fcn.004407e9
pop ecx
mov dword [esi + 0x44], eax
cmp dword [esi + 0x20], 8
pop ecx
jb 0x442946
mov eax, dword [esi + 0xc]
jmp 0x442949
lea eax, [esi + 0xc]
push ebx
push 0x80
push 3
push ebx
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x38], eax
cmp eax, 0xffffffff
jne 0x442976
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x48], eax
jmp 0x442a9f
push 0x2e
lea eax, [ebp - 0x40]
push ebx
push eax
mov dword [esi + 0x3c], edi
call fcn.00468830
add esp, 0xc
push ebx
push ebx
push dword [esi + 0x44]
mov ecx, esi
push dword [esi + 0x38]
call fcn.0043ff4e
test eax, eax
je 0x442a9f
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea eax, [ebp - 0x48]
push eax
push 0x2e
lea eax, [ebp - 0x40]
push eax
push dword [esi + 0x38]
call edi
mov dword [ebp - 0x4c], eax
cmp eax, ebx
je 0x442a8a
cmp dword [ebp - 0x48], ebx
je 0x442a8a
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.00441e51
test eax, eax
je 0x4429de
cmp word [ebp - 0x32], bx
jne 0x442a4c
cmp dword [esi + 0x20], 8
jb 0x4429e9
mov eax, dword [esi + 0xc]
jmp 0x4429ec
lea eax, [esi + 0xc]
push ebx
push eax
call fcn.004407e9
pop ecx
pop ecx
cmp eax, dword [esi + 0x44]
jbe 0x4429fd
mov dword [esi + 0x44], eax
push ebx
push ebx
push dword [esi + 0x44]
mov ecx, esi
push dword [esi + 0x38]
call fcn.0043ff4e
test eax, eax
je 0x442a9f
push ebx
lea eax, [ebp - 0x4c]
push eax
push 0x2e
lea eax, [ebp - 0x40]
push eax
push dword [esi + 0x38]
call edi
mov dword [ebp - 0x4c], eax
cmp eax, ebx
je 0x442a9f
cmp dword [ebp - 0x48], ebx
je 0x442a9f
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.00441e51
test eax, eax
je 0x442a45
cmp word [ebp - 0x32], bx
jne 0x442a4c
mov dword [esi + 0x78], 3
mov eax, dword [esi + 0x78]
cmp eax, 1
je 0x442a65
add eax, 0xfffffffe
cmp eax, 1
ja 0x442a73
mov dword [esi + 0x54], 0x18
jmp 0x442a6c
mov dword [esi + 0x54], 0x138
mov dword [esi + 0x50], 0x2e
mov ecx, esi
call fcn.0043fefe
test al, al
je 0x442a9f
movzx eax, word [ebp - 0x32]
push eax
call fcn.004424e5
jmp 0x442a9f
mov dword [esi + 0x78], 3
mov dword [esi + 0x50], 0x2e
mov dword [esi + 0x54], 0x18
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0046758c
ret 4
Function at 0x442b4b
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x1d4]
sub esp, 0x254
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0x1d0], eax
mov eax, dword [ebp + 0x1e0]
mov ecx, dword [ebp + 0x1e4]
and dword [ebp - 0x4c], 0
push ebx
mov ebx, dword [ebp + 0x1dc]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, 0x4c1ca0
push esi
push eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x44], ecx
call edi
push esi
push dword [ebp - 0x44]
call edi
lea eax, [ebp - 0x4c]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x442ceb
push esi
call fcn.0046a7c6
push esi
push 0
push eax
mov dword [ebp - 0x40], eax
call fcn.00468830
add esp, 0x10
push dword [ebp - 0x40]
push esi
xor esi, esi
push esi
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x442ce2
push 0x34
lea eax, [ebp - 0x80]
push esi
push eax
mov dword [ebp - 0x38], eax
call fcn.00468830
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x4b21a4
push dword [ebp - 0x40]
mov dword [ebp - 0x3c], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x442c30
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
movzx edx, cx
push edx
shr ecx, 0x10
push ecx
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
push str._u._u._u._u
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
push 0x34
push esi
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], esi
call fcn.00468830
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
push str.VarFileInfoTranslation
push dword [ebp - 0x40]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x442ce2
mov esi, dword [ebp - 0x3c]
xor eax, eax
push 0x1fe
mov word [ebp - 0x30], ax
xor ebx, ebx
lea eax, [ebp - 0x2e]
push ebx
push eax
shr esi, 2
call fcn.00468830
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov dword [ebp - 0x48], eax
test esi, esi
jle 0x442ce2
and dword [ebp - 0x34], 0
test ebx, ebx
jle 0x442c94
add dword [ebp - 0x48], 4
push 4
push dword [ebp - 0x48]
lea eax, [ebp - 0x34]
push eax
call fcn.00468920
movzx eax, word [ebp - 0x34]
add esp, 0xc
push eax
lea eax, [ebp - 0x30]
test ebx, ebx
jne 0x442cc2
push 0x4b4984
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x442cd4
push dword [ebp - 0x44]
push 0x4b650c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x44]
call edi
inc ebx
cmp ebx, esi
jl 0x442c88
push dword [ebp - 0x40]
call fcn.0046a890
pop ecx
mov ecx, dword [ebp + 0x1d0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00467491
add ebp, 0x1d4
leave
ret
Function at 0x442fec
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00468830
add esp, 0xc
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.00442fb7
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
pop esi
test eax, eax
je 0x44305c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x443057
cmp eax, 5
jne 0x44305c
xor eax, eax
inc eax
jmp 0x44305e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467491
leave
ret 4

Function at 0x44313d
Capabilities:
Create directory

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x14], 1
call edi
inc eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00445da6
pop ecx
push dword [esp + 0x18]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4b21a4
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
mov ebx, esi
call edi
mov edi, eax
xor ebp, ebp
test edi, edi
jbe 0x4431cb
cmp word [ebx], 0x5c
jne 0x4431bd
xor eax, eax
push eax
push esi
mov word [ebx], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4431b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4431c6
push 0x5c
pop eax
mov word [ebx], ax
inc ebx
inc ebx
inc ebp
cmp ebp, edi
jb 0x443193
jmp 0x4431cb
and dword [esp + 0x10], 0
push esi
call fcn.00466dfa
mov eax, dword [esp + 0x14]
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x443272
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [0x4e06ec], esi
jne 0x443298
mov eax, dword [0x4da818]
cmp eax, 0xffffffff
jne 0x4432d8
push 0x14
lea eax, [ebp - 0x2c]
push eax
push 0x1004
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x4432d2
lea eax, [ebp - 0x2c]
push eax
call fcn.00469b1b
pop ecx
push 2
lea ecx, [ebp - 0x4c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
test eax, eax
je 0x4432e5
movsx eax, word [ebp - 0x4c]
mov dword [0x4da818], eax
mov ax, word [0x4da818]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00467491
leave
ret
push 1
push esi
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4432d2
xor eax, eax
jmp 0x4432d8
Function at 0x443627
Capabilities:
Compare security identifiers

Disassembly:
push 0x20
mov eax, 0x4aa791
call fcn.00467509
xor ebx, ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
push 8
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], bl
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x443695
call esi
cmp eax, 0x3f0
jne 0x443684
lea eax, [ebp - 0x1c]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call esi
cmp eax, 0x78
jne 0x443691
xor eax, eax
call fcn.0046758c
ret
cmp eax, ebx
je 0x443689
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push 2
push dword [ebp - 0x1c]
call edi
test eax, eax
jne 0x443689
call esi
cmp eax, 0x7a
jne 0x443689
push dword [ebp - 0x20]
call fcn.00468747
mov esi, eax
pop ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push esi
push 2
push dword [ebp - 0x1c]
call edi
test eax, eax
jne 0x4436e4
or dword [ebp - 4], 0xffffffff
push esi
call fcn.00466cfb
pop ecx
jmp 0x443689
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x443717
or dword [ebp - 4], 0xffffffff
push esi
call fcn.00466cfb
pop ecx
mov eax, ebx
jmp 0x44368b
xor edi, edi
mov dword [ebp - 0x28], ebx
cmp dword [esi], ebx
jbe 0x443743
lea ebx, [esi + 4]
push dword [ebp - 0x24]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x44373c
inc edi
add ebx, 8
cmp edi, dword [esi]
jb 0x443723
jmp 0x443743
mov dword [ebp - 0x28], 1
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ebx, dword [ebp - 0x28]
jmp 0x443705
Function at 0x4437cd
Capabilities:
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0xfb4]
mov eax, 0x1034
call fcn.004688f0
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0xfb0], eax
push ebx
push esi
mov esi, dword [ebp + 0xfc0]
push edi
mov edi, dword [ebp + 0xfbc]
xor ebx, ebx
push 0x4b65b4
mov dword [ebp - 0x58], ebx
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x64], eax
cmp eax, ebx
je 0x4438e8
push str.GetDiskFreeSpaceExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x54], eax
cmp eax, ebx
je 0x443872
push edi
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x50]
push eax
call fcn.004430cb
test eax, eax
je 0x44384c
lea eax, [ebp - 0x50]
push eax
call fcn.00443582
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x50]
push eax
call dword [ebp - 0x54]
test eax, eax
je 0x4438df
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x6c], ebx
je 0x4438d6
mov eax, SysReAllocString
jmp 0x4438d6
mov ax, word [edi]
mov word [ebp + 0x7b0], ax
mov ax, word [edi + 2]
mov word [ebp + 0x7b2], ax
mov ax, word [edi + 4]
mov word [ebp + 0x7b4], ax
xor eax, eax
mov word [ebp + 0x7b6], ax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp + 0x7b0]
push eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x68], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x4438df
mov eax, dword [ebp - 0x60]
imul eax, dword [ebp - 0x5c]
imul eax, dword [ebp - 0x54]
shr eax, 0xa
mov dword [ebp - 0x58], 1
mov dword [esi], eax
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp + 0xfb0]
mov eax, dword [ebp - 0x58]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00467491
add ebp, 0xfb4
leave
ret

Function at 0x443903
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp - 4], eax
push dword [0x4da814]
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.004435cf
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0xc0000000
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x443953
xor eax, eax
jmp 0x44396a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467491
leave
ret
Function at 0x443a6a
Capabilities:
Delete directory

Disassembly:
push 4
mov eax, 0x4aa7be
call fcn.004674a0
push 8
sub esp, 0x34
mov ecx, esp
mov dword [ebp - 0x10], esp
push 1
lea eax, [ebp + 0xb]
push eax
push dword [ebp + 8]
xor edi, edi
call fcn.00409071
and dword [ebp - 4], edi
or dword [ebp - 4], 0xffffffff
call fcn.0044f09b
add esp, 0x38
test al, al
je 0x443ac2
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x8001
call esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x443abe
inc edi
push 0
call esi
mov eax, edi
call fcn.00467578
ret 4

Function at 0x443acc
Capabilities:
Delete file
Set file attributes

Disassembly:
push 4
mov eax, 0x4aa7e1
call fcn.004674a0
mov edi, dword [ebp + 8]
push 4
sub esp, 0x34
mov ecx, esp
mov dword [ebp - 0x10], esp
push 1
lea eax, [ebp + 0xb]
push eax
push edi
call fcn.00409071
xor ebx, ebx
mov dword [ebp - 4], ebx
or dword [ebp - 4], 0xffffffff
call fcn.0044f09b
add esp, 0x38
test al, al
jne 0x443b0b
xor eax, eax
inc eax
jmp 0x443b42
push edi
call fcn.004431de
test eax, eax
jne 0x443b40
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x8001
call esi
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x443b3c
xor ebx, ebx
inc ebx
push 0
call esi
mov eax, ebx
call fcn.00467578
ret 4
Function at 0x4447ba
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x58
lea ebp, [esp - 4]
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0x58], eax
push 0x60
mov eax, 0x4aab61
call fcn.004674a0
mov eax, dword [ebp + 0x64]
xor esi, esi
inc esi
push esi
lea ecx, [ebp + 0x1f]
push ecx
xor ebx, ebx
push eax
lea ecx, [ebp + 0x24]
mov dword [ebp + 0x20], ebx
call fcn.00401850
mov dword [ebp - 4], ebx
push 0x10
lea eax, [ebp]
push ebx
push eax
call fcn.00468830
push 0x44
pop edi
push edi
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00468830
xor eax, eax
add esp, 0x18
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x40], esi
mov word [ebp - 0x3c], ax
cmp dword [ebp + 0x68], ebx
je 0x444828
mov eax, esi
mov word [ebp - 0x3c], ax
cmp dword [ebp + 0x40], 8
mov eax, dword [ebp + 0x2c]
jae 0x444834
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x14]
push str.Attempting_to_launch:__s
push eax
mov dword [ebp + 0x14], str.C:CodeBasesisdev_srcRuntimeMSISharedSetuputils.cpp
mov dword [ebp + 0x18], 0x4a7
call fcn.00411596
add esp, 0xc
push dword [ebp + 0x3c]
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp + 0x24]
call fcn.00401980
mov byte [ebp - 4], 1
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00402210
mov eax, dword [eax]
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x10]
call fcn.00401fe0
cmp edi, ebx
je 0x44493f
mov edi, 0xff
push edi
push 0xffffffffffffffff
push ebx
lea eax, [ebp]
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x4448e5
cmp eax, 1
jne 0x4448eb
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
cmp dword [ebp - 0x24], 0x11
je 0x4448eb
cmp dword [ebp - 0x24], 0x10
je 0x4448eb
cmp dword [ebp - 0x24], 0x12
je 0x4448eb
push edi
push 0xffffffffffffffff
push ebx
lea eax, [ebp]
push eax
push 1
call esi
cmp eax, ebx
jne 0x4448b6
lea eax, [ebp + 0x20]
push eax
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp + 0x20]
push dword [ebp]
mov dword [0x4e0670], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0x20]
mov dword [ebp + 0x14], str.C:CodeBasesisdev_srcRuntimeMSISharedSetuputils.cpp
push eax
lea eax, [ebp + 0x14]
push str.Launch_result__d__exit_code__d
push eax
mov dword [ebp + 0x18], 0x4c8
call fcn.00411596
mov esi, dword [ebp + 0x20]
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401600
mov eax, esi
jmp 0x444950
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401600
mov eax, 0xcccccccc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x58]
xor ecx, ebp
call fcn.00467491
add ebp, 0x5c
leave
ret 8
Function at 0x44496f
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x94
mov eax, 0x4aab91
call fcn.004674a0
mov esi, dword [ebp + 0x80c]
push 0x10
xor edi, edi
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.00468830
push 0x44
pop ebx
push ebx
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.00468830
mov dword [ebp - 0x6c], ebx
xor ebx, ebx
inc ebx
xor eax, eax
add esp, 0x18
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x3c], ax
cmp dword [ebp + 0x810], edi
je 0x4449d8
mov eax, ebx
mov word [ebp - 0x3c], ax
push esi
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00401850
mov dword [ebp - 4], edi
cmp dword [eax + 0x1c], 8
jb 0x444a05
mov eax, dword [eax + 8]
jmp 0x444a08
add eax, 8
push eax
lea eax, [ebp - 0x18]
push str.Attempting_to_launch__no_wait_:__s
mov esi, str.C:CodeBasesisdev_srcRuntimeMSISharedSetuputils.cpp
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0x4e9
call fcn.00411596
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.00401600
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push 0x20
push ebx
push edi
push edi
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
push ebx
lea eax, [ebp - 0x18]
push str.Launch_result__d
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0x4ee
call fcn.00411596
add esp, 0xc
cmp ebx, edi
je 0x444a82
push 0x3e8
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.00467491
add ebp, 0x804
leave
ret 8
Function at 0x444dab
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
sub esp, 0x708
lea ebp, [esp - 4]
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0x708], eax
push 0x44
mov eax, 0x4aac2b
call fcn.004674a0
mov eax, dword [ebp + 0x714]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x718]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x71c]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp + 0xf0], ax
xor ebx, ebx
lea eax, [ebp + 0xf2]
push ebx
push eax
call fcn.00468830
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp + 0xf0]
push eax
push dword [0x4e0678]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0xf0]
push eax
lea ecx, [ebp]
call fcn.004428a9
mov dword [ebp - 4], ebx
xor eax, eax
push esi
mov word [ebp + 0x500], ax
lea eax, [ebp + 0x502]
push ebx
push eax
call fcn.00468830
mov eax, dword [0x4dfd3c]
add esp, 0xc
cmp dword [0x4dfd50], 8
jae 0x444e63
mov eax, 0x4dfd3c
push eax
lea eax, [ebp]
push eax
call fcn.00443b4a
pop ecx
pop ecx
test eax, eax
je 0x444f18
xor eax, eax
push esi
mov word [ebp + 0x2f8], ax
lea eax, [ebp + 0x2fa]
push ebx
push eax
mov byte [ebp - 0xd], 1
call fcn.00468830
add esp, 0xc
lea eax, [ebp + 0x2f8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp + 0x500]
push eax
push ebx
push 0x4b67d8
lea eax, [ebp + 0x2f8]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 1
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp + 0x500]
push eax
lea ecx, [ebp + 0x80]
call fcn.00409071
mov byte [ebp - 4], 1
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x4dfd34
call fcn.0040f5f9
mov byte [ebp - 4], 2
push ebx
lea ecx, [ebp + 0x80]
push ecx
push eax
lea ecx, [ebp]
call fcn.004419f4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00401660
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x80]
call fcn.00401660
jmp 0x444f73
cmp word [0x4decc8], bx
je 0x444f35
push 0x4decc8
lea eax, [ebp + 0x500]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x444f70
lea eax, [ebp + 0x2f8]
push eax
lea eax, [ebp + 0x500]
push eax
lea eax, [ebp + 0xf0]
push eax
call fcn.00442dd3
cmp dword [0x4dfd50], 8
mov eax, dword [0x4dfd3c]
jae 0x444f62
mov eax, 0x4dfd3c
push eax
lea eax, [ebp + 0x500]
push eax
push eax
call fcn.004435cf
mov byte [ebp - 0xd], bl
lea ecx, [ebp + 0xb4]
call fcn.0040c51c
mov byte [ebp - 4], 3
lea eax, [ebp + 0x500]
push eax
lea ecx, [ebp + 0xb4]
call fcn.0040c4fb
push dword [ebp + 0x720]
lea ecx, [ebp + 0xb4]
push dword [ebp - 0x1c]
push 0x4c1ca0
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.0040a311
cmp byte [ebp - 0xd], bl
je 0x444fc5
lea eax, [ebp + 0x500]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xb4]
call fcn.0040c53d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00442439
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x708]
xor ecx, ebp
call fcn.00467491
add ebp, 0x70c
leave
ret