joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e600
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x4563d4]
xor eax, esp
mov dword [esp + 0x230], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], eax
xor eax, eax
or ebx, 0xffffffff
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov dword [0x458c94], eax
mov dword [0x458c90], eax
mov dword [0x458c80], ebx
mov dword [0x458c84], ebx
mov dword [0x458c88], ebx
mov dword [0x458c8c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0xa
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x41e7a6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41e7c1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov dword [0x458c94], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [0x458c90], eax
lea eax, [esp + 0x230]
push eax
push ebx
push 0x41e390
push 0x41e3e0
push 0x41e360
push 0x41e310
push 0x41e2e0
push 0x41e2d0
push 0x41e2c0
call dword [sym.imp.Cabinet.dll_FDICreate]
mov esi, eax
add esp, 0x24
test esi, esi
je 0x41e785
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push eax
mov dword [esp + 0x22c], ecx
lea ecx, [esp + 0x24]
push 0x104
push ecx
mov dword [esp + 0x238], edx
call fcn.0042dc9b
add esp, 0xc
lea edx, [esp + 0x20]
push edx
push 0
push 0x41e400
push 0
push 0x449b40
push 0x449b40
push esi
call dword [sym.imp.Cabinet.dll_FDICopy]
add esp, 0x1c
test eax, eax
jne 0x41e760
mov edi, dword [esp + 0x230]
push esi
add edi, 0xb000
call dword [sym.imp.Cabinet.dll_FDIDestroy]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0042d215
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x10]
push esi
call dword [sym.imp.Cabinet.dll_FDIDestroy]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0042d215
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x230]
add eax, 0xb000
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0042d215
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0042d215
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x23c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042d215
mov esp, ebp
pop ebp
ret
Function at 0x421f20
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441e98
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4563d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor eax, eax
xor ecx, ecx
mov edi, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], cx
mov dword [ebp - 4], eax
push 0xb
mov eax, str.GlobalIIF_
lea esi, [ebp - 0x2c]
call fcn.004047c0
mov eax, edi
lea edx, [eax + 2]
jmp 0x421f80
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421f80
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea ecx, [ebp - 0x2c]
call fcn.00403c20
mov eax, dword [ebx]
test eax, eax
je 0x421fad
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [ebx], 0
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x421fb9
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
test eax, eax
jne 0x422024
call edi
mov esi, eax
cmp esi, 2
jne 0x42200a
push str.Mutex_with_given_name_doesnt_exist._Creating_new_one._n
push 0x4579e4
mov ecx, 0x44842c
call fcn.00404b90
mov eax, dword [ebp - 0x2c]
add esp, 8
cmp dword [ebp - 0x18], 8
jae 0x421fff
lea eax, [ebp - 0x2c]
push eax
call fcn.004220d0
mov dword [ebp - 0x30], eax
jmp 0x42203b
push esi
push str.Error_opening_mutex:__lu_n
push 0x4579e4
mov ecx, 0x448290
call fcn.00404b90
add esp, 0xc
jmp 0x42203e
push str.Opened_existing_mutex_n
push 0x4579e4
mov ecx, 0x44842c
call fcn.00404b90
add esp, 8
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x422094
push 0x7d0
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x422074
push str.Obtained_mutex_succesfully.
push 0x4579e4
mov ecx, 0x44842c
call fcn.00404b90
add esp, 8
mov dword [ebp - 0x30], 0
jmp 0x422091
push esi
push str.GetMutex:_wait_unsuccseffull___lu_
push 0x4579e4
mov ecx, 0x448290
call fcn.00404b90
add esp, 0xc
call edi
mov dword [ebp - 0x30], eax
mov esi, dword [ebp - 0x30]
cmp dword [ebp - 0x18], 8
jb 0x4220a6
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042d224
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d215
mov esp, ebp
pop ebp
ret
Function at 0x422c70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
mov esi, eax
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x422cee
push ebx
lea ebx, [eax + 1]
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042c6dc
add esp, 4
push ebx
mov esi, eax
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push 0x510
push eax
push 0xffffffffffffffff
push esi
push ecx
call dword [sym.imp.USER32.dll_DrawTextW]
push esi
call fcn.0042e6d9
mov esi, dword [ebp - 4]
add esp, 4
pop ebx
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x423550
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442f8b
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4563d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], ax
mov dword [ebp - 4], ebx
mov ecx, dword [ecx + 4]
push ecx
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
call dword [sym.imp.USER32.dll_GetParent]
lea edx, [ebp - 0x238]
push edx
push ebx
push ebx
push 0x11
push ebx
mov dword [ebp - 0x258], eax
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x234]
push ecx
mov ecx, 0x208a
mov edx, 0x458d28
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x248], 0x41
call fcn.00418900
cmp dword [ebp - 0x220], 8
jb 0x423636
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x24c], edx
jmp 0x423642
lea eax, [ebp - 0x234]
mov dword [ebp - 0x24c], eax
mov edi, dword [0x458d08]
push esi
add edi, 4
mov dword [ebp - 0x244], 0x4224e0
call fcn.00413b40
push eax
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call fcn.0042dc9b
add esp, 0xc
lea eax, [ebp - 0x258]
lea edx, [ebp - 0x218]
push eax
mov dword [ebp - 0x240], edx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp eax, ebx
je 0x4236b4
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov ecx, dword [0x458d08]
lea edx, [ebp - 0x218]
push edx
add ecx, 4
mov ebx, esi
call fcn.00413c30
mov bl, 1
cmp dword [ebp - 0x220], 8
jb 0x4236cc
mov eax, dword [ebp - 0x234]
push eax
call fcn.0042d224
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d215
mov esp, ebp
pop ebp
ret
Function at 0x423950
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441e68
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4563d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
sub eax, 2
mov esi, ecx
jne 0x423a6b
lea ecx, [esi + 0x74]
lea edi, [eax + 6]
mov eax, dword [ecx + 0x10]
push str.LAUNCH
call fcn.00411230
test eax, eax
jne 0x423a6b
lea eax, [esi + 0x3c]
mov ebx, 8
cmp dword [eax + 0x14], ebx
jb 0x4239b3
mov eax, dword [eax]
mov edi, dword [0x458d08]
add edi, 4
call fcn.00413b90
test al, al
je 0x423a6b
cmp dword [esi + 0xa8], ebx
lea eax, [esi + 0x94]
jb 0x4239d9
mov eax, dword [eax]
push eax
mov eax, dword [0x458d08]
add eax, 4
push eax
lea ecx, [ebp - 0x2c]
call fcn.004140b0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x4239fd
lea eax, [ebp - 0x2c]
push eax
push str.__Launching:__s
push 0x4579e4
mov ecx, 0x44842c
call fcn.00404b90
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], ebx
jae 0x423a20
lea eax, [ebp - 0x2c]
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x423a5a
test eax, eax
jne 0x423a42
mov eax, 0xe
push eax
push str.__Launch_error_0x_X
push 0x4579e4
mov ecx, 0x448aac
call fcn.00404b90
add esp, 0xc
cmp dword [ebp - 0x18], ebx
jb 0x423a6b
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0042d224
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d215
mov esp, ebp
pop ebp
ret 4

Function at 0x423c70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0x200
push esi
mov esi, ecx
jne 0x423ce4
mov eax, dword [esi + 4]
push ebx
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042c6dc
add esp, 4
mov ebx, eax
mov eax, dword [esi + 4]
push edi
push ebx
push eax
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
add esi, 0x3c
cmp dword [esi + 0x14], 8
jb 0x423cc5
mov esi, dword [esi]
mov ecx, dword [0x458d08]
push ebx
add ecx, 4
mov ebx, esi
call fcn.00413c30
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042e6d9
add esp, 4
pop edi
pop ebx
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x4245a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441e30
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4563d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [ebp + 8]
cmp ecx, 0xfffffffe
je 0x4245de
cmp ecx, 0xfffffffc
jne 0x4246cb
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ecx
mov word [ebp - 0x2c], dx
mov dword [ebp - 4], ecx
lea ebx, [ecx + 8]
cmp dword [eax + 0xa4], ecx
je 0x424641
add eax, 0x94
cmp dword [eax + 0x14], ebx
jb 0x42460a
mov eax, dword [eax]
push eax
mov eax, dword [0x458d08]
add eax, 4
push eax
lea ecx, [ebp - 0x48]
call fcn.004140b0
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.004030d0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x34], ebx
jb 0x424678
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0042d224
add esp, 4
jmp 0x424678
add eax, 0x3c
cmp dword [eax + 0x14], ebx
jb 0x42464b
mov eax, dword [eax]
mov edi, dword [0x458d08]
push eax
add edi, 4
call fcn.00413b40
mov ecx, eax
lea esi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x424660
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x2c]
call fcn.004047c0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x424683
lea eax, [ebp - 0x2c]
push eax
push str.Link:_Launching__s
push 0x4579e4
mov ecx, 0x44842c
call fcn.00404b90
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], ebx
jae 0x4246a6
lea eax, [ebp - 0x2c]
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x18], ebx
jb 0x4246cb
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042d224
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d215
mov esp, ebp
pop ebp
ret 4
Function at 0x426b00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [0x4563d4]
xor eax, esp
mov dword [esp + 4], eax
movzx eax, word [ebp + 8]
push esi
push edi
mov edi, ecx
cmp eax, 0x401
jg 0x426bc8
je 0x426bbc
sub eax, 2
je 0x426b62
sub eax, 0x3fa
jne 0x426bcf
mov esi, dword [edi + 0x54]
mov eax, dword [edi + 0x44]
mov ecx, dword [eax + esi*4 - 4]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
dec esi
call eax
test al, al
je 0x426b40
mov ecx, edi
mov dword [edi + 0x54], esi
call fcn.00426200
jmp 0x426c59
mov ecx, dword [edi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x426c59
mov ecx, dword [edi + 4]
push 0x1f86
push 2
push 3
push 0x4e20
call fcn.00405190
add esp, 0x10
cmp eax, 6
jne 0x426c59
mov esi, dword [0x458d08]
mov ecx, 0x642
call fcn.0040cac0
push 0x40b
mov esi, edi
call fcn.004050b0
jmp 0x426c59
mov esi, edi
call fcn.00426370
jmp 0x426c59
cmp eax, 0x40b
je 0x426bf8
mov edi, dword [edi + 0x38]
test edi, edi
je 0x426be3
cmp dword [ebp + 0xc], edi
jne 0x426be3
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0042d215
mov esp, ebp
pop ebp
ret 8
cmp byte [edi + 0x5c], 0
jne 0x426c42
mov eax, dword [0x458d08]
call fcn.00409650
test al, al
jne 0x426c42
mov ecx, dword [edi + 4]
push 0x1f86
push 2
push 3
push 0x4e20
call fcn.00405190
add esp, 0x10
cmp eax, 6
jne 0x426c59
mov esi, dword [0x458d08]
mov ecx, 0x642
call fcn.0040cac0
mov edx, dword [edi + 4]
push 0
push edx
jmp 0x426c48
mov eax, dword [edi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov byte [edi + 0xc], 1
mov dword [edi + 0x10], 0x40b
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.0042d215
mov esp, ebp
pop ebp
ret 8

Function at 0x4289c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4425de
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4563d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, 7
xor esi, esi
xor edx, edx
mov dword [edi + 0x14], ecx
mov dword [edi + 0x10], esi
mov word [edi], dx
mov dword [ebp - 4], esi
mov dword [edi + 0x30], ecx
mov dword [edi + 0x2c], esi
mov word [edi + 0x1c], dx
mov dword [edi + 0x50], ecx
xor ecx, ecx
mov dword [edi + 0x4c], esi
mov word [edi + 0x3c], cx
mov ecx, eax
lea edx, [ecx + 2]
mov byte [ebp - 4], 2
mov dword [ebp + 0xc], edx
mov dx, word [ecx]
add ecx, 2
cmp dx, si
jne 0x428a22
sub ecx, dword [ebp + 0xc]
mov esi, edi
sar ecx, 1
push ecx
call fcn.004047c0
mov edx, dword [ebp + 0x10]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428a42
sub eax, esi
sar eax, 1
push eax
mov eax, edx
lea esi, [edi + 0x1c]
call fcn.004047c0
push 0
mov eax, 0x44967c
lea esi, [edi + 0x3c]
mov dword [edi + 0x38], 0
call fcn.004047c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x429080
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x4563d4]
xor eax, ebp
mov dword [ebp - 4], eax
push str.____Caching_MSI
push 0x4579e4
mov ecx, 0x44842c
call fcn.00404b90
add esp, 8
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push esi
call dword [sym.imp.msi.dll_MsiSourceListClearAllW]
test eax, eax
jne 0x429152
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4290d5
push eax
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push ebx
lea ecx, [ebp - 0x260]
push 0x104
push ecx
call fcn.0042dc9b
add esp, 0xc
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea edx, [ebp - 0x260]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.______Copying_to_cache
push 0x4579e4
mov ecx, 0x44842c
call fcn.00404b90
add esp, 8
push 1
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push str.______Adding_to_source_list
push 0x4579e4
mov ecx, 0x44842c
call fcn.00404b90
add esp, 8
lea ecx, [ebp - 0x260]
push ecx
push 0
push 0
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.msi.dll_MsiIsProductElevatedW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d215
mov esp, ebp
pop ebp
ret
Function at 0x429bc0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443cd6
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x4563d4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x274], 7
mov dword [ebp - 0x278], esi
mov word [ebp - 0x288], cx
lea edi, [ebx + 0xc4]
mov dword [ebp - 4], esi
cmp dword [edi + 0x14], 8
jb 0x429c24
mov eax, dword [edi]
jmp 0x429c26
mov eax, edi
lea edx, [ebp - 0x64]
push edx
push esi
push esi
push eax
call dword [sym.imp.msi.dll_MsiSourceListClearAllW]
cmp eax, esi
jne 0x429d6d
cmp dword [ebx + 0x30], 8
jb 0x429c46
mov esi, dword [ebx + 0x1c]
jmp 0x429c49
lea esi, [ebx + 0x1c]
mov eax, dword [ebp - 0x2a8]
mov edi, dword [eax + 4]
push str.IIF_CACHELOC
call fcn.00413b40
push eax
lea ecx, [ebp - 0x26c]
push 0x104
push ecx
call fcn.0042dc9b
add esp, 0xc
push esi
lea edx, [ebp - 0x26c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.____Removing_from_cache
push 0x4579e4
mov ecx, 0x44842c
call fcn.00404b90
add esp, 8
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x2a8]
mov edx, dword [edx + 4]
push 1
lea ecx, [ebp - 0x2a4]
push ecx
lea ecx, [ebx + 0x58]
call fcn.00414770
mov edi, eax
lea esi, [ebp - 0x288]
mov byte [ebp - 4], 1
call fcn.004030d0
mov esi, 8
mov byte [ebp - 4], 0
cmp dword [ebp - 0x290], esi
jb 0x429cee
mov eax, dword [ebp - 0x2a4]
push eax
call fcn.0042d224
add esp, 4
mov eax, dword [ebp - 0x288]
cmp dword [ebp - 0x274], esi
jae 0x429d02
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x64]
push ecx
push str.__Uninstalling_product_code__s__Properties__s
push 0x4579e4
mov ecx, 0x44842c
call fcn.00404b90
mov edx, dword [ebp - 0x2a8]
add esp, 0x10
mov ecx, ebx
call fcn.00429160
mov eax, dword [ebp - 0x288]
cmp dword [ebp - 0x274], esi
jae 0x429d3f
lea eax, [ebp - 0x288]
push eax
push 2
push 0
lea edx, [ebp - 0x64]
push edx
call dword [sym.imp.msi.dll_MsiGetFileVersionA]
mov edi, eax
test edi, edi
je 0x429d8f
cmp edi, 0xbc2
je 0x429d8f
cmp byte [ebx + 0x120], 0
je 0x429d8f
push edi
push str.____Result_code_was__d_but_ignore_error_is_set
jmp 0x429d7b
cmp dword [edi + 0x14], 8
jb 0x429d75
mov edi, dword [edi]
push edi
push str.____Upgrade_code__s_is_not_installed
push 0x4579e4
mov ecx, 0x44842c
call fcn.00404b90
add esp, 0xc
xor edi, edi
cmp dword [ebp - 0x274], 8
jb 0x429da7
mov eax, dword [ebp - 0x288]
push eax
call fcn.0042d224
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042d215
mov esp, ebp
pop ebp
ret
Function at 0x42d215
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4563d4]
jne 0x42d21f
repz ret
jmp fcn.00431bb3

Function at 0x43a38c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4563d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004330bc
and dword [ebp - 0x14], 0
cmp dword [0x458c00], 0
mov dword [ebp - 0x18], eax
jne 0x43a43f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x43a4e7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x447a38
push ebx
call edi
test eax, eax
je 0x43a4e7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x458c00], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x458c04], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x458c08], eax
call edi
push eax
call esi
mov dword [0x458c10], eax
test eax, eax
je 0x43a43f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x458c0c], eax
mov eax, dword [0x458c0c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x43a498
cmp dword [0x458c10], ecx
je 0x43a498
push eax
call esi
push dword [0x458c10]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x43a498
test ebx, ebx
je 0x43a498
call edi
test eax, eax
je 0x43a48f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x43a48f
test byte [ebp - 8], 1
jne 0x43a498
or dword [ebp + 0x10], 0x200000
jmp 0x43a4cb
mov eax, dword [0x458c04]
cmp eax, dword [ebp - 0x18]
je 0x43a4cb
push eax
call esi
test eax, eax
je 0x43a4cb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43a4cb
mov eax, dword [0x458c08]
cmp eax, dword [ebp - 0x18]
je 0x43a4cb
push eax
call esi
test eax, eax
je 0x43a4cb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x458c00]
call esi
test eax, eax
je 0x43a4e7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x43a4e9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d215
leave
ret