joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454d64
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp + 8], 0
je 0x454d82
mov ecx, esi
call fcn.00454bd1
pop esi
pop ebp
ret 4
Function at 0x455632
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
add esi, 4
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x455646
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45566d
test al, 0x10
jne 0x45566d
test al, 1
je 0x45566d
cmp dword [esi + 0x14], 8
jb 0x455662
mov esi, dword [esi]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop esi
pop ebp
ret 4

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

Disassembly:
push 0x60
mov eax, 0x49fe0c
call fcn.00459b85
mov esi, ecx
mov edx, dword [ebp + 0xc]
xor edi, edi
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], ecx
add eax, 4
mov ebx, dword [edx + 0x38]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x68], edx
mov edx, dword [edx + 0x30]
mov dword [ebp - 0x50], ecx
mov ecx, edx
shr ecx, 2
and edx, 6
and ecx, 0xffffff01
mov dword [ebp - 0x6c], ebx
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edx
jb 0x455865
mov eax, dword [eax]
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x455892
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x44], eax
xor eax, eax
jmp 0x45598b
mov eax, 0x400
cmp ebx, eax
mov esi, eax
cmovb esi, ebx
push esi
mov dword [ebp - 0x54], esi
call fcn.00459c53
pop ecx
push 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], eax
push ecx
push esi
mov dword [ebp - 0x5c], 1
push eax
jmp 0x455963
cmp byte [ebp - 0x60], 0
je 0x4558fd
cmp dword [ebp - 0x64], 0
je 0x4558fd
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x40]
push eax
call fcn.00431754
and dword [ebp - 4], 0
mov ecx, eax
call fcn.0040f345
push eax
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call fcn.0040f13c
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404cc0
push 0
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x44]
add ecx, eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x4c], ecx
test edx, edx
je 0x455941
mov eax, dword [edx]
push dword [ebp - 0x6c]
push ecx
mov esi, dword [eax]
mov ecx, esi
call dword [0x4a5608]
mov ecx, dword [ebp - 0x50]
call esi
test al, al
jne 0x455976
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x54]
sub ebx, eax
je 0x45597a
test eax, eax
je 0x45597a
cmp ebx, 0x400
mov eax, ebx
push 0
cmovae eax, esi
mov esi, eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x44]
push eax
push esi
push dword [ebp - 0x48]
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4558bf
jmp 0x45597a
and dword [ebp - 0x5c], 0
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x5c]
call fcn.00459b34
ret 0x10
Function at 0x455b47
Capabilities:
Get system information on windows
Read file via mapping

Disassembly:
push 0x54
mov eax, 0x49fe40
call fcn.00459b52
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
mov edi, dword [ebp + 0x10]
mov ebx, dword [edi + 0xa8]
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x455c76
push 0x1c
pop eax
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
mov ecx, esi
push edi
cmovne ecx, dword [ebp - 0x30]
push str..debug
mov dword [ebp - 0x20], ecx
call fcn.00455de4
pop ecx
pop ecx
test eax, eax
je 0x455baf
cmp dword [eax + 0xc], ebx
jne 0x455baf
mov ebx, dword [edi + 0xac]
mov edi, dword [eax + 0x14]
mov dword [ebp - 0x10], ebx
jmp 0x455c0c
push edi
push 0x4af980
call fcn.00455de4
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x455bd9
push edi
push str..text
call fcn.00455de4
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x455c76
mov eax, dword [edi + 0xac]
xor edx, edx
push 0x1c
pop ecx
mov dword [ebp - 0x10], eax
div ecx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x455c76
mov ecx, dword [ebx + 0x10]
add ecx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
cmp eax, ecx
ja 0x455c76
sub eax, dword [ebx + 0xc]
mov edi, dword [ebx + 0x14]
mov ebx, dword [ebp - 0x1c]
add edi, eax
mov eax, dword [ebp + 0xc]
add eax, edi
cmp edi, dword [ebp - 0x20]
jbe 0x455c53
cmp dword [ebp + 8], 0
je 0x455c53
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor edx, edx
mov eax, edi
div dword [ebp - 0x44]
mov eax, dword [ebp - 0x10]
mov ecx, edi
add eax, edx
sub ecx, edx
push eax
push ecx
push esi
push 4
push dword [ebp + 8]
mov dword [ebp - 0x20], ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x455c76
mov dword [ebp - 0x14], eax
sub eax, dword [ebp - 0x20]
add eax, edi
test ebx, ebx
je 0x455c76
lea edi, [eax + 0x10]
mov eax, dword [edi]
mov edx, esi
mov ecx, dword [edi + 8]
add ecx, eax
cmp ecx, dword [ebp + 0x14]
lea esi, [eax + edx]
push 0x1c
cmovbe esi, edx
pop eax
add edi, eax
sub ebx, 1
jne 0x455c5a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041cf48
mov eax, esi
call fcn.00459b20
ret
Function at 0x456621
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x704
mov eax, 0x4a00b4
call fcn.00459b85
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x420]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push 0x208
push 0
push eax
call fcn.004714b0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push dword [0x4de280]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x70c]
call fcn.0045529f
and dword [ebp - 4], 0
mov eax, 0x4d9650
cmp dword [0x4d9664], 8
cmovae eax, dword [0x4d9650]
push eax
lea eax, [ebp - 0x70c]
push eax
call fcn.00457674
pop ecx
pop ecx
test eax, eax
je 0x4567cb
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004714b0
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004714b0
add esp, 0x18
lea eax, [ebp - 0x628]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
push 0
push 0x4afc0c
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
lea eax, [ebp - 0x70d]
mov dword [ebp - 0x678], 0x4b6748
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x650], 0x4b6750
push eax
lea ecx, [ebp - 0x678]
call fcn.0041070a
mov byte [ebp - 4], 2
lea eax, [ebp - 0x6a8]
push eax
mov ecx, 0x4d964c
call fcn.00419714
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x678]
push 0
push ecx
push eax
lea ecx, [ebp - 0x70c]
call fcn.00455993
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6a8]
call fcn.00404cc0
lea ecx, [ebp - 0x648]
call fcn.00410563
mov byte [ebp - 4], 6
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x648]
call fcn.0041225c
push dword [ebp + 0x14]
lea ecx, [ebp - 0x648]
push ebx
push 0x4b65d4
push edi
push esi
call fcn.00411ec3
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x648]
call fcn.00410fd7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x678]
call fcn.00404cc0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70c]
call fcn.0045554e
call fcn.00459b34
ret
Function at 0x4567e0
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x70c
mov eax, 0x4a0146
call fcn.00459b85
mov eax, dword [ebp + 0xc]
mov esi, 0x208
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x718], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x714], eax
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.004714b0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push dword [0x4de280]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x70c]
call fcn.0045529f
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x218]
push esi
push ebx
push eax
call fcn.004714b0
cmp dword [0x4d9544], 8
mov esi, 0x4d9530
mov eax, esi
cmovae eax, dword [0x4d9530]
push eax
lea eax, [ebp - 0x70c]
push eax
call fcn.00457674
add esp, 0x14
test eax, eax
je 0x456944
push 0x208
xor esi, esi
lea eax, [ebp - 0x628]
push esi
push eax
mov bl, 1
call fcn.004714b0
add esp, 0xc
lea eax, [ebp - 0x628]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
push esi
push 0x4afc0c
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push esi
lea eax, [ebp - 0x70d]
mov dword [ebp - 0x678], 0x4b6748
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x650], 0x4b6750
push eax
lea ecx, [ebp - 0x678]
call fcn.0041070a
mov byte [ebp - 4], 2
lea eax, [ebp - 0x6a8]
push eax
mov ecx, 0x4d952c
call fcn.00419714
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x678]
push esi
push ecx
push eax
lea ecx, [ebp - 0x70c]
call fcn.00455993
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6a8]
call fcn.00404cc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x678]
call fcn.00404cc0
jmp 0x456998
cmp word [0x4dda78], 0
je 0x456962
push 0x4dda78
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x456998
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00457704
cmp dword [0x4d9544], 8
lea eax, [ebp - 0x218]
cmovae esi, dword [0x4d9530]
push esi
push eax
push eax
call fcn.004573a9
lea ecx, [ebp - 0x648]
call fcn.00410563
mov byte [ebp - 4], 7
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x648]
call fcn.0041225c
push dword [ebp + 0x14]
lea ecx, [ebp - 0x648]
push dword [ebp - 0x714]
push 0x4b65d4
push dword [ebp - 0x718]
push edi
call fcn.00411ec3
test bl, bl
je 0x4569ea
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x648]
call fcn.00410fd7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70c]
call fcn.0045554e
call fcn.00459b34
ret
Function at 0x4574df
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 2
pop edx
xor ecx, ecx
add eax, edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00459c53
pop ecx
push dword [ebp + 8]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4a6f30
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
mov esi, edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ebx, ebx
mov dword [ebp - 8], eax
test eax, eax
je 0x457575
push 0x5c
pop ecx
cmp word [esi], cx
jne 0x457567
xor eax, eax
push eax
push edi
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x45755e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x457571
mov eax, dword [ebp - 8]
push 0x5c
pop ecx
mov word [esi], cx
add esi, 2
inc ebx
cmp ebx, eax
jb 0x45753b
jmp 0x457575
and dword [ebp - 4], 0
push edi
call fcn.004598bc
mov eax, dword [ebp - 4]
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4575ce
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4d9754]
xor eax, ebp
mov dword [ebp - 4], eax
push dword [0x4d96e8]
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.004573a9
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 0x45761e
xor eax, eax
jmp 0x457635
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.0045978b
leave
ret

Function at 0x457979
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4d9754]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [0x4deadc], esi
jne 0x45799f
mov eax, dword [0x4d96ec]
cmp eax, 0xffffffff
jne 0x4579f1
push 0x14
lea eax, [ebp - 0x2c]
push eax
push 0x1004
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x4579ec
lea eax, [ebp - 0x2c]
push eax
call fcn.004771cd
pop ecx
push 2
lea ecx, [ebp - 0x4c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
test eax, eax
je 0x4579db
movsx eax, word [ebp - 0x4c]
mov dword [0x4d96ec], eax
jmp 0x4579f1
push 1
push esi
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4579ec
xor eax, eax
jmp 0x4579f1
mov eax, dword [0x4d96ec]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045978b
leave
ret
Function at 0x457e26
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4d9754]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x24c], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, 0x4b65d4
mov dword [ebp - 0x240], eax
push edi
push eax
mov dword [ebp - 0x248], esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x24c]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x458002
push edi
call fcn.00477609
push edi
mov esi, eax
push 0
push esi
mov dword [ebp - 0x250], esi
call fcn.004714b0
add esp, 0x10
push esi
push edi
xor edi, edi
push edi
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x457ffb
push 0x34
lea eax, [ebp - 0x238]
push edi
push eax
mov dword [ebp - 0x23c], eax
call fcn.004714b0
add esp, 0xc
mov dword [ebp - 0x244], edi
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x23c]
push eax
push 0x4a6f30
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x457f1c
mov eax, dword [ebp - 0x23c]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
shr edx, 0x10
push edx
push str._u._u._u._u
push dword [ebp - 0x240]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
push 0x34
push edi
push dword [ebp - 0x23c]
mov dword [ebp - 0x244], edi
call fcn.004714b0
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x23c]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x457ffb
mov ebx, dword [ebp - 0x244]
lea eax, [ebp - 0x204]
push 0x200
push edi
push eax
shr ebx, 2
call fcn.004714b0
mov ecx, dword [ebp - 0x23c]
add esp, 0xc
test ebx, ebx
je 0x457ffb
mov esi, dword [ebp - 0x248]
and dword [ebp - 0x240], 0
lea eax, [ecx + 4]
test edi, edi
push 4
cmove eax, ecx
push eax
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x240]
push eax
call fcn.00471640
movzx eax, word [ebp - 0x240]
add esp, 0xc
push eax
lea eax, [ebp - 0x204]
test edi, edi
jne 0x457fcc
push 0x4ac998
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x457fdc
push esi
push str._s__u
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x204]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 0x248]
inc edi
cmp edi, ebx
jl 0x457f82
mov esi, dword [ebp - 0x250]
push esi
call fcn.00477604
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045978b
leave
ret
Function at 0x4580d3
Capabilities:
Create process on windows

Disassembly:
push 0x98
mov eax, 0x4a0689
call fcn.00459b85
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
push ecx
lea ecx, [ebp - 0x41]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00406b40
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x60]
push 0x10
push ebx
push eax
call fcn.004714b0
push 0x44
pop esi
push esi
lea eax, [ebp - 0xa4]
push ebx
push eax
call fcn.004714b0
xor ecx, ecx
mov dword [ebp - 0xa4], esi
xor eax, eax
inc ecx
add esp, 0x18
mov dword [ebp - 0x78], ecx
mov word [ebp - 0x74], ax
cmp dword [ebp + 0xc], eax
je 0x458136
mov word [ebp - 0x74], cx
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
mov edi, str.C:CodeBasesisdevSrcRuntimeMSISharedSetuputils.cpp
mov dword [ebp - 0x48], 0x486
cmovae eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], edi
push str.Attempting_to_launch__no_wait_:__s
push eax
call fcn.00415eae
add esp, 0xc
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x40]
push dword [ebp - 0x2c]
push eax
call fcn.00406a60
xor ecx, ecx
inc ecx
mov byte [ebp - 4], cl
mov byte [eax + 4], cl
mov ecx, dword [eax]
call fcn.00407930
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0xa4]
push ecx
push ebx
push ebx
push 0x20
xor ecx, ecx
inc ecx
push ecx
push ebx
push ebx
push dword [eax]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x50]
call fcn.00405f90
push esi
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], edi
push str.Launch_result__d
push eax
mov dword [ebp - 0x48], 0x48b
call fcn.00415eae
add esp, 0xc
test esi, esi
je 0x4581da
push 0x3e8
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404cc0
mov eax, esi
call fcn.00459b34
ret 8
Function at 0x4581f0
Capabilities:
Create process on windows

Disassembly:
push 0xb8
mov eax, 0x4a06d0
call fcn.00459b85
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
xor ebx, ebx
push ecx
lea ecx, [ebp - 0x45]
mov dword [ebp - 0x44], ebx
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00406b40
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x64]
push 0x10
push ebx
push eax
call fcn.004714b0
push 0x44
pop esi
push esi
lea eax, [ebp - 0xc4]
push ebx
push eax
call fcn.004714b0
mov dword [ebp - 0xc4], esi
xor eax, eax
xor esi, esi
mov word [ebp - 0x94], ax
inc esi
add esp, 0x18
mov dword [ebp - 0x98], esi
cmp dword [ebp + 0xc], eax
je 0x45825f
mov word [ebp - 0x94], si
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x50], str.C:CodeBasesisdevSrcRuntimeMSISharedSetuputils.cpp
cmovae eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], 0x446
push str.Attempting_to_launch:__s
push eax
call fcn.00415eae
add esp, 0xc
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x40]
push dword [ebp - 0x2c]
push eax
call fcn.00406a60
xor ecx, ecx
inc ecx
mov byte [ebp - 4], cl
mov byte [eax + 4], cl
mov ecx, dword [eax]
call fcn.00407930
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0xc4]
push ecx
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push dword [eax]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x54]
call fcn.00405f90
test esi, esi
je 0x458360
xor esi, esi
mov edi, 0x4ff
inc esi
jmp 0x458307
cmp eax, esi
jne 0x45831a
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
cmp dword [ebp - 0x7c], 0x11
je 0x45831a
cmp dword [ebp - 0x7c], 0x10
je 0x45831a
cmp dword [ebp - 0x7c], 0x12
je 0x45831a
push edi
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x64]
push eax
push esi
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
test eax, eax
jne 0x4582e3
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x44]
push dword [ebp - 0x64]
mov dword [0x4dea88], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x44]
mov dword [ebp - 0x50], str.C:CodeBasesisdevSrcRuntimeMSISharedSetuputils.cpp
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], 0x467
push str.Launch_result__d__exit_code__d
push eax
call fcn.00415eae
mov esi, dword [ebp - 0x44]
add esp, 0x10
jmp 0x458365
mov esi, 0xcccccccc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404cc0
mov eax, esi
call fcn.00459b34
ret 8
Function at 0x45837b
Capabilities:
Create process on windows

Disassembly:
push 0x20c
mov eax, 0x4a070a
call fcn.00459b85
mov esi, dword [ebp + 0x14]
lea ecx, [ebp - 0x1b8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x1f8], eax
push dword [esi + 8]
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1c0], 0xcccccccc
call fcn.0041f6fa
and dword [ebp - 4], 0
cmp dword [0x4dae50], 0
je 0x4583f7
push 1
lea ecx, [ebp - 0x1b8]
call fcn.00423eca
and dword [ebp - 0x200], 0
xor eax, eax
mov dword [ebp - 0x204], ebx
xor ebx, ebx
cmp dword [ebp + 0x10], eax
mov dword [ebp - 0x218], 0x3c
setne al
mov dword [ebp - 0x208], edi
mov dword [ebp - 0x1fc], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x214], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 0x1bc]
test eax, eax
cmovne ecx, dword [ebp - 0x1e0]
mov dword [ebp - 0x1bc], ecx
test ecx, ecx
je 0x458528
xor edi, edi
inc edi
jmp 0x4584e0
cmp eax, edi
jne 0x4584fe
jmp 0x4584cb
cmp dword [ebp - 0x1d8], 0xf
je 0x4584a0
cmp dword [ebp - 0x1d8], 0x113
je 0x45855b
cmp dword [ebp - 0x1d8], 0x402
jne 0x4584ba
cmp dword [0x4dae50], ebx
je 0x4584ba
lea eax, [ebp - 0x1dc]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1dc]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push dword [ebp - 0x1bc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4584e0
push edi
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1dc]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x458473
push 0x4ff
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x1bc]
push eax
push edi
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
test eax, eax
jne 0x458469
lea eax, [ebp - 0x1c0]
push eax
push dword [ebp - 0x1bc]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x1c0]
push dword [ebp - 0x1bc]
mov dword [0x4dea88], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4dae50], ebx
je 0x45853c
push ebx
lea ecx, [ebp - 0x1b8]
call fcn.00423eca
mov esi, dword [ebp - 0x1c0]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b8]
call fcn.0041f806
mov eax, esi
call fcn.00459b34
ret 0x10
cmp dword [0x4dae50], ebx
jne 0x4584a0
push edi
mov ecx, esi
call fcn.00440e8c
jmp 0x4584ba