joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4458a1
Capabilities:
Check os version
Create process on windows

Disassembly:
mov eax, 0x49d10e
call fcn.0049bacc
sub esp, 0x184
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
jne 0x4458c2
xor eax, eax
jmp 0x445a75
mov eax, dword [0x4cadac]
mov ecx, 0x4cadac
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push 0x4ad804
call fcn.0040657d
push 0x110
lea eax, [ebp - 0x18c]
push ebx
push eax
call fcn.004814f0
add esp, 0x18
lea eax, [ebp - 0x190]
push eax
mov dword [ebp - 0x190], 0x114
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x445927
cmp dword [ebp - 0x18c], 6
jne 0x445927
inc esi
cmp esi, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
lea esi, [ebp - 0x10]
jne 0x44593b
call fcn.00409f4f
jmp 0x445940
call fcn.00409eff
cmp eax, ebx
jne 0x445a59
push 0x40
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x78], 0x44
call fcn.004814f0
push dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0x2c], ebx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 5
mov dword [ebp - 0x4c], 1
mov word [ebp - 0x48], ax
call fcn.00409fba
add esp, 0x10
test al, al
jne 0x4459a5
cmp dword [ebp - 0x10], ebx
je 0x44599b
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
call fcn.0040a134
pop ecx
push str.userenv.dll
mov dword [ebp - 0x70], str.Winsta0Default
mov dword [ebp - 0x14], 0x30
mov dword [ebp + 8], ebx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x445a04
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateEnvironmentBlock
push eax
call edi
push str.DestroyEnvironmentBlock
push dword [ebp - 0x1c]
mov esi, eax
call edi
cmp esi, ebx
mov edi, eax
je 0x445a04
push ebx
push dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
call esi
test eax, eax
je 0x445a01
mov dword [ebp - 0x14], 0x430
jmp 0x445a04
mov dword [ebp + 8], ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 0x14]
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
cmp dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], eax
je 0x445a34
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x28], ebx
je 0x445a42
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x445a4b
push dword [ebp + 8]
call edi
cmp dword [ebp - 0x1c], ebx
je 0x445a59
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x10], ebx
je 0x445a67
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040592f
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x44609a
Capabilities:
Check if file exists

Disassembly:
push ecx
mov eax, dword [esi + 8]
cmp dword [eax - 0xc], 0
jne 0x4460ab
mov eax, 0x13a
pop ecx
ret
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4460bd
mov eax, 0x13b
pop ecx
ret
push dword [esi + 0x1c]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.004458a1
add esp, 0xc
test eax, eax
je 0x4460d8
xor eax, eax
pop ecx
ret
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, dword [esi + 0x1c]
call fcn.0044572a
test eax, eax
pop ecx
pop ecx
jne 0x4460d4
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push 0
push eax
push ecx
mov ecx, dword [esi + 0x1c]
call fcn.0044561e
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffffec7
add eax, 0x139
pop ecx
ret

Function at 0x44c81e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, eax
mov eax, dword [ebp + 0xc]
sub edi, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
mov edx, dword [esi]
push 1
xor ebx, ebx
push edi
push eax
mov ecx, esi
mov dword [ebp + 0xc], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [edx + 0x74]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x144]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x44c957
push eax
call fcn.004312ca
mov ebx, eax
test ebx, ebx
pop ecx
je 0x44c924
mov eax, dword [ebx + 0x14]
push 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0x28]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
test eax, eax
je 0x44c898
lea eax, [ebx + 0x18]
push eax
call fcn.00431df6
movzx eax, word [ebp + 0xc]
movzx edi, di
shl edi, 0x10
or edi, eax
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x202
call fcn.00431804
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0x144], eax
jne 0x44c8ee
mov ecx, dword [ebx + 0x44]
xor eax, eax
cmp ecx, eax
je 0x44c8e0
cmp word [ecx], ax
je 0x44c8e0
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x44c924
cmp dword [ebx + 0x14], eax
je 0x44c924
mov dword [ebp - 4], 1
jmp 0x44c924
mov eax, dword [ebx]
push 1
push 0
mov ecx, ebx
call dword [eax + 0x28]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
test eax, eax
je 0x44c90d
lea eax, [ebx + 0x18]
push eax
call fcn.00431df6
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x2a3
call fcn.00431804
mov dword [ebp - 8], 1
xor ecx, ecx
cmp dword [ebp - 4], ecx
mov dword [esi + 0x144], ecx
je 0x44c935
push 0x67
jmp 0x44c950
cmp dword [ebp - 8], ecx
je 0x44c957
cmp dword [ebp - 0xc], ecx
je 0x44c957
mov edx, dword [ebp - 0x14]
lea eax, [esi + 0x140]
cmp edx, dword [eax]
jne 0x44c94e
mov dword [eax], ecx
push 0x6a
mov edi, ebx
call fcn.0044c44b
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x44eb13
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x49e1b3
call fcn.0049bacc
sub esp, 0x10
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.00405b9f
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
push str.__02d__02d__02d__03d__n
lea ecx, [ebp + 8]
call fcn.0042ad37
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040592f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4

Function at 0x45082c
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x11c
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.004814f0
add esp, 0xc
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x450885
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x114
call esi
cmp eax, edi
je 0x450933
mov eax, dword [ebp - 0x94]
dec eax
je 0x45091f
dec eax
jne 0x450933
cmp dword [ebp - 0xa0], 6
jne 0x4508d0
inc eax
cmp dword [ebp - 0x9c], eax
jne 0x4508b8
xor ecx, ecx
cmp byte [ebp + 0x76], al
setne cl
add ecx, 8
jmp 0x4508cc
cmp dword [ebp - 0x9c], edi
jne 0x45090c
xor ecx, ecx
cmp byte [ebp + 0x76], al
setne cl
lea ecx, [ecx + ecx + 7]
mov edi, ecx
jmp 0x450933
cmp dword [ebp - 0xa0], 5
jne 0x4508ff
cmp dword [ebp - 0x9c], 2
jne 0x4508e6
push 5
jmp 0x45091c
cmp dword [ebp - 0x9c], 1
jne 0x4508f3
push 6
jmp 0x45091c
cmp dword [ebp - 0x9c], edi
jne 0x450933
push 3
jmp 0x45091c
cmp dword [ebp - 0xa0], 4
ja 0x450933
push 4
jmp 0x45091c
cmp dword [ebp - 0x9c], 2
jne 0x450933
cmp byte [ebp + 0x76], al
jne 0x450933
push 0xa
pop edi
jmp 0x450933
mov eax, dword [ebp - 0x98]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb edi, edi
inc edi
inc edi
mov eax, edi
pop edi
pop esi
add ebp, 0x78
leave
ret

Function at 0x453248
Capabilities:
Create process on windows

Disassembly:
mov edx, dword [ecx + 8]
push esi
xor esi, esi
inc esi
cmp edx, esi
jne 0x453295
mov ecx, dword [ecx + 0xc]
cmp ecx, esi
jne 0x453265
xor ecx, ecx
call fcn.00453879
mov eax, esi
pop esi
ret
cmp ecx, 0x64
jne 0x453282
push esi
xor eax, eax
push eax
push eax
push str.https:__www.winzips.com_company_privacy_policy.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x453261
cmp ecx, 0x65
jne 0x45328c
push 2
pop ecx
jmp 0x45325c
cmp ecx, 0x66
jne 0x453295
push 3
jmp 0x453289
and dword [eax + 0x504], 0
xor eax, eax
pop esi
ret
Function at 0x454f04
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x28]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x454f50
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x150]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x454f50
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x278]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
cmp dword [esi + 0x3bc], 0
je 0x454fc8
lea ebx, [esi + 0x3cc]
cmp dword [ebx], 0
je 0x454f6d
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx], 0
cmp dword [esi + 0x3bc], edi
jne 0x454fc1
push edi
call fcn.004312ca
mov edi, eax
movzx eax, word [ebp + 0x10]
pop ecx
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x205
call fcn.00431804
mov eax, dword [esi + 4]
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xd
mov dword [ebp - 0x14], eax
mov ecx, dword [edi + 0x14]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x3bc], 0
pop edi
pop ebx
leave
ret 0xc
Function at 0x45528e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea edi, [esi + 0x3cc]
cmp dword [edi], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
je 0x4552bf
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov ebx, dword [ebp + 0x10]
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], eax
jne 0x455303
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x150]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], eax
jne 0x455303
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x278]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x3b8]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x455457
push eax
call fcn.004312ca
mov edi, eax
test edi, edi
pop ecx
je 0x4553d6
mov eax, dword [edi + 0x14]
push 2
mov dword [ebp - 8], eax
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x45534a
push 1
push edi
push esi
call fcn.0045609f
movzx eax, word [ebp + 0xc]
movzx ebx, bx
shl ebx, 0x10
or ebx, eax
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.00431804
mov eax, dword [ebp - 4]
cmp dword [esi + 0x3b8], eax
jne 0x4553a0
mov ecx, dword [edi + 0x44]
xor eax, eax
cmp ecx, eax
je 0x455392
cmp word [ecx], ax
je 0x455392
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4553d6
cmp dword [edi + 0x14], eax
je 0x4553d6
mov dword [ebp - 0xc], 1
jmp 0x4553d6
mov eax, dword [edi]
push 1
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x4553bf
push 1
push edi
push esi
call fcn.0045609f
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x2a3
call fcn.00431804
mov dword [ebp - 0x10], 1
xor eax, eax
cmp dword [ebp - 0xc], eax
mov dword [esi + 0x3b8], eax
je 0x455418
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x20], 1
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x455457
cmp dword [ebp - 0x10], eax
je 0x455457
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x455457
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x28]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
add esi, 0x3b4
cmp eax, dword [esi]
jne 0x455457
and dword [esi], 0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x456975
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov ecx, dword [eax + 8]
inc edi
cmp ecx, edi
jne 0x456a91
mov eax, dword [eax + 0xc]
cmp eax, edi
jne 0x45699b
call fcn.00458975
mov eax, edi
jmp 0x456a9a
cmp eax, 2
jne 0x4569ad
push 6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x456994
cmp eax, 0x65
jne 0x4569bb
mov eax, esi
call fcn.00458d71
jmp 0x456994
cmp eax, 0x67
je 0x4569b2
cmp eax, 0x6f
jne 0x4569cc
call fcn.00458ded
jmp 0x456994
cmp eax, 0x66
jne 0x4569e4
xor eax, eax
cmp dword [esi + 0x524], eax
sete al
push eax
call fcn.00459691
jmp 0x456994
cmp eax, 0x191
jne 0x4569f2
call fcn.00458f24
jmp 0x456994
cmp eax, 0x96
jne 0x456a1b
push dword [esi + 0x550]
push dword [esi + 0x528]
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
push eax
push eax
mov eax, esi
call fcn.004588de
jmp 0x456994
cmp eax, 0x1f5
jne 0x456a30
xor ecx, ecx
mov eax, esi
call fcn.00453879
jmp 0x456994
cmp eax, 0x68
jne 0x456a41
mov ebx, esi
call fcn.004593e0
jmp 0x456994
cmp eax, 0x6e
jne 0x456a60
add esi, 0x24
push eax
mov eax, esi
call fcn.00459fcd
push eax
push 0x67
mov eax, esi
call fcn.0045a037
jmp 0x456994
cmp eax, 0x6c
jne 0x456a80
push edi
xor eax, eax
push eax
push eax
push str.https:__www.winzips.com_company_license_agreement.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x456994
cmp eax, 0x6d
jne 0x456a91
push edi
xor eax, eax
push eax
push eax
push str.https:__www.winzips.com_company_privacy_policy.html
jmp 0x456a6f
and dword [esi + 0x560], 0
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x456da3
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x456e1a
xor eax, eax
mov dword [ebp - 0xc], esi
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x456e1a
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 8], eax
and dword [ebp - 8], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], esi
fild qword [ebp - 0x14]
fild qword [ebp - 0xc]
fchs
faddp st(1)
fmul qword [0x4b2c18]
fcomp qword [0x4b2c10]
fnstsw ax
test ah, 1
jne 0x456e1a
inc esi
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x457544
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 0x558], 0
jne 0x457580
push esi
lea esi, [ebp - 4]
call fcn.00457588
push dword [eax]
push 2
push 0x4adce4
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x558], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040592f
pop esi
mov eax, dword [edi + 0x558]
leave
ret
Function at 0x457968
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push str.install_run_begin
mov esi, 0x4cbd08
mov edi, eax
call fcn.0042a0e5
pop ecx
push edi
call fcn.00457a31
call fcn.0045fc62
cmp dword [eax + 0x3c], 0
je 0x457997
cmp dword [edi + 0x968], 0
jne 0x457a02
xor ebx, ebx
cmp dword [edi + 0x964], 1
sete bl
call fcn.00408ed9
cmp eax, 6
jg 0x4579dd
test ebx, ebx
jne 0x4579d0
push 2
push 2
push 0x4b2064
push dword [edi + 0x960]
push 0x4b2070
push dword [edi + 4]
call fcn.0043f0a9
add esp, 0x18
push str.system_is_xp
call fcn.0042a0e5
pop ecx
jmp 0x457a02
push edi
call fcn.00457aea
test eax, eax
je 0x457a02
mov ecx, edi
call fcn.00457cea
test eax, eax
je 0x457a02
call fcn.00457db7
test eax, eax
jne 0x457a02
mov eax, edi
call fcn.00459cf8
call fcn.00444d94
mov edi, eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x457a22
test al, 0x10
jne 0x457a22
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.install_run_end
call fcn.0042a0e5
pop ecx
pop edi
pop esi
pop ebx
ret

Function at 0x457a31
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4a00c3
call fcn.0049bacc
push ecx
push ecx
and dword [ebp - 0x10], 0
push ebx
push esi
and dword [ebp - 4], 0
call fcn.0045fc62
lea esi, [ebp - 0x14]
call fcn.0045fcad
mov eax, dword [eax]
push 1
push eax
push SysReAllocString
lea esi, [ebp - 0x10]
call fcn.00405dfe
mov ebx, eax
mov eax, dword [ebp - 0x14]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.0040592f
test bl, bl
jne 0x457acb
mov eax, dword [0x4cadac]
mov ecx, 0x4cadac
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x4ac3ec
mov ebx, esi
mov byte [ebp - 4], 1
call fcn.00405ee6
test eax, eax
mov esi, dword [ebp - 0x14]
je 0x457ac3
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x457ac3
mov eax, dword [ebp + 8]
mov dword [eax + 0x968], 1
lea eax, [esi - 0x10]
call fcn.0040592f
cmp dword [ebp - 0x10], 0
je 0x457ada
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x457aea
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4a0511
call fcn.0049bacc
sub esp, 0xc
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
and dword [ebp - 4], 0
mov eax, dword [0x4cadac]
mov edi, 0x4cadac
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 1
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.004576b2
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x14]
push dword [0x4cbd48]
call fcn.0040657d
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.0040592f
call fcn.0045fc62
lea esi, [ebp - 0x18]
call fcn.0045fcad
mov eax, dword [eax]
push 1
push eax
push SysReAllocString
lea esi, [ebp - 0x10]
call fcn.00405dfe
mov ebx, eax
mov eax, dword [ebp - 0x18]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.0040592f
test bl, bl
jne 0x457cbc
mov eax, dword [0x4cadac]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x4ac3ec
mov ebx, esi
mov byte [ebp - 4], 3
call fcn.00405ee6
test eax, eax
mov ebx, dword [ebp - 0x18]
je 0x457cb4
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x457cb4
mov esi, dword [ebp + 8]
lea edi, [esi + 0x550]
lea eax, [ebp - 0x18]
call fcn.00404e47
xor edi, edi
inc edi
cmp dword [esi + 0x964], edi
mov dword [esi + 0x968], edi
jne 0x457c1e
push str.silent_coverinstall
mov esi, 0x4cbd08
call fcn.0042a0e5
pop ecx
lea eax, [ebx - 0x10]
call fcn.0040592f
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040592f
cmp dword [ebp - 0x10], 0
je 0x457c17
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x457cd9
mov eax, dword [esi + 0x960]
mov edi, dword [ebp - 0x14]
xor ecx, ecx
push ecx
push 3
push ecx
push eax
push edi
push ecx
call fcn.0043f0a9
add esp, 0x18
test al, 1
je 0x457c59
push str.has_installed__user_click_recoverinstall
mov esi, 0x4cbd08
call fcn.0042a0e5
pop ecx
lea eax, [ebx - 0x10]
call fcn.0040592f
lea eax, [edi - 0x10]
jmp 0x457cc2
xor eax, eax
cmp dword [esi + 0x964], 1
sete al
mov dword [ebp + 8], eax
call fcn.004603d8
push 0xffffffffffffffff
push dword [esi + 0x968]
push dword [ebp + 8]
push 2
push 0
call fcn.00460402
push str.has_installed__user_click_not_recoverinstall
mov esi, 0x4cbd08
call fcn.0042a0e5
pop ecx
lea eax, [ebx - 0x10]
call fcn.0040592f
lea eax, [edi - 0x10]
call fcn.0040592f
cmp dword [ebp - 0x10], 0
je 0x457cb0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x457cd9
lea eax, [ebx - 0x10]
call fcn.0040592f
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040592f
cmp dword [ebp - 0x10], 0
je 0x457cd6
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x458d71
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, eax
xor ebp, ebp
push ebp
lea ebx, [esi + 0x24]
push 0xc
mov eax, ebx
call fcn.0045a082
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push ebp
push 0x50
push 0x3ed
push dword [esi + 4]
call edi
push ebp
push 0x1e
push 1
push dword [esi + 4]
call edi
push ebp
push 0x64
mov eax, ebx
call fcn.0045a082
push 1
push 0xc8
mov eax, ebx
call fcn.0045a082
push ebp
push 0x32
push 0x3eb
push dword [esi + 4]
call edi
push ebp
call fcn.00459691
push ebp
push ebp
push esi
push 0x458d5a
push ebp
push ebp
call fcn.004845ef
add esp, 0x18
pop edi
mov dword [esi + 0x95c], eax
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x459318
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push dword [edi]
lea esi, [ebp - 4]
call fcn.00445a84
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.0040592f
mov eax, dword [edi]
push 3
pop esi
cmp dword [eax - 0xc], esi
jl 0x4593d9
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45935b
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 1
je 0x4593d9
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.004061b3
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, esi
mov eax, dword [ebp - 4]
setne bl
add eax, 0xfffffff0
call fcn.0040592f
test bl, bl
je 0x459388
push 2
pop eax
jmp 0x4593dc
push edi
call fcn.0045928c
test eax, eax
pop ecx
je 0x459397
mov eax, esi
jmp 0x4593dc
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.004061b3
push dword [eax]
call fcn.00456da3
mov ebx, eax
mov eax, dword [ebp - 4]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.0040592f
test bl, bl
je 0x4593c6
push 4
jmp 0x459385
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x4593d5
push 5
jmp 0x459385
xor eax, eax
jmp 0x4593dc
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret