joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f4d3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, eax
sub ecx, dword [esi + 0x1c]
mov eax, dword [ebp + 0xc]
sub eax, dword [esi + 0x18]
mov edx, dword [esi]
push edi
push 1
push ecx
xor ebx, ebx
mov dword [ebp + 0x10], ecx
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 edi, dword [esi + 0x144]
cmp edi, ebx
mov dword [ebp - 0x10], eax
je 0x44f617
push edi
call fcn.0043272d
mov ebx, eax
test ebx, ebx
pop ecx
je 0x44f5e7
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 0x44f54d
lea eax, [ebx + 0x18]
push eax
call fcn.00433194
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, ebx
push 0x202
call fcn.00432c17
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0x144], eax
jne 0x44f5a4
mov eax, dword [ebx + 0x44]
xor ecx, ecx
cmp eax, ecx
je 0x44f596
cmp word [eax], cx
je 0x44f596
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x44f5e7
cmp dword [ebx + 0x14], ecx
je 0x44f5e7
mov dword [ebp - 4], 1
jmp 0x44f5e7
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 0x44f5c3
lea eax, [ebx + 0x18]
push eax
call fcn.00433194
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, ebx
push 0x2a3
call fcn.00432c17
mov dword [ebp - 8], 1
xor ecx, ecx
cmp dword [ebp - 4], ecx
mov dword [esi + 0x144], ecx
je 0x44f5f8
push 0x67
jmp 0x44f610
cmp dword [ebp - 8], ecx
je 0x44f617
cmp dword [ebp - 0xc], ecx
je 0x44f617
lea eax, [esi + 0x140]
cmp edi, dword [eax]
jne 0x44f60e
mov dword [eax], ecx
push 0x6a
mov edi, ebx
call fcn.0044f0fd
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x451807
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x4a7fc9
call fcn.004a55b8
sub esp, 0x10
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.00405c06
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.0042b2d8
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00405981
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x453534
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.0048ae50
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 0x45358d
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x114
call esi
cmp eax, edi
je 0x45363b
mov eax, dword [ebp - 0x94]
dec eax
je 0x453627
dec eax
jne 0x45363b
cmp dword [ebp - 0xa0], 6
jne 0x4535d8
inc eax
cmp dword [ebp - 0x9c], eax
jne 0x4535c0
xor ecx, ecx
cmp byte [ebp + 0x76], al
setne cl
add ecx, 8
jmp 0x4535d4
cmp dword [ebp - 0x9c], edi
jne 0x453614
xor ecx, ecx
cmp byte [ebp + 0x76], al
setne cl
lea ecx, [ecx + ecx + 7]
mov edi, ecx
jmp 0x45363b
cmp dword [ebp - 0xa0], 5
jne 0x453607
cmp dword [ebp - 0x9c], 2
jne 0x4535ee
push 5
jmp 0x453624
cmp dword [ebp - 0x9c], 1
jne 0x4535fb
push 6
jmp 0x453624
cmp dword [ebp - 0x9c], edi
jne 0x45363b
push 3
jmp 0x453624
cmp dword [ebp - 0xa0], 4
ja 0x45363b
push 4
jmp 0x453624
cmp dword [ebp - 0x9c], 2
jne 0x45363b
cmp byte [ebp + 0x76], al
jne 0x45363b
push 0xa
pop edi
jmp 0x45363b
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 0x455f97
Capabilities:
Create process on windows

Disassembly:
mov edx, dword [ecx + 8]
push esi
xor esi, esi
inc esi
cmp edx, esi
jne 0x455fe4
mov ecx, dword [ecx + 0xc]
cmp ecx, esi
jne 0x455fb4
xor ecx, ecx
call fcn.00456640
mov eax, esi
pop esi
ret
cmp ecx, 0x64
jne 0x455fd1
push esi
xor eax, eax
push eax
push eax
push str.https:__winzip.imeitools.com_privacy.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x455fb0
cmp ecx, 0x65
jne 0x455fdb
push 2
pop ecx
jmp 0x455fab
cmp ecx, 0x66
jne 0x455fe4
push 3
jmp 0x455fd8
and dword [eax + 0x504], 0
xor eax, eax
pop esi
ret
Function at 0x457cea
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 0x457d36
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 0x457d36
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 0x457dae
lea ebx, [esi + 0x3cc]
cmp dword [ebx], 0
je 0x457d53
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx], 0
cmp dword [esi + 0x3bc], edi
jne 0x457da7
push edi
call fcn.0043272d
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.00432c17
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 0x458074
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
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 - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
je 0x4580a2
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x28]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ebx, eax
test ebx, ebx
jne 0x4580e6
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x150]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ebx, eax
test ebx, ebx
jne 0x4580e6
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x278]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ebx, eax
mov eax, dword [esi + 0x3b8]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x458242
push eax
call fcn.0043272d
mov edi, eax
test edi, edi
pop ecx
je 0x4581c1
mov eax, dword [edi + 0x14]
push 2
mov dword [ebp - 4], 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 0x45812d
push 1
push edi
push esi
call fcn.00458e8c
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.00432c17
cmp dword [esi + 0x3b8], ebx
jne 0x458181
mov ecx, dword [edi + 0x44]
xor eax, eax
cmp ecx, eax
je 0x458173
cmp word [ecx], ax
je 0x458173
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4581c1
cmp dword [edi + 0x14], eax
je 0x4581c1
mov dword [ebp - 8], 1
jmp 0x4581c1
mov eax, dword [edi]
xor ebx, ebx
inc ebx
push ebx
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x4581a1
push ebx
push edi
push esi
call fcn.00458e8c
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x2a3
call fcn.00432c17
mov dword [ebp - 0xc], ebx
xor eax, eax
cmp dword [ebp - 8], eax
mov dword [esi + 0x3b8], eax
je 0x458203
mov eax, dword [esi + 4]
or dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x1c], 1
call dword [eax + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x458242
cmp dword [ebp - 0xc], eax
je 0x458242
mov ecx, dword [ebp - 4]
cmp ecx, eax
je 0x458242
mov eax, dword [esi + 4]
or dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x24]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x10]
lea eax, [esi + 0x3b4]
cmp ecx, dword [eax]
jne 0x458242
and dword [eax], 0
pop edi
pop ebx
leave
ret 0xc
Function at 0x459c66
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x4a9f7c
call fcn.004a55b8
sub esp, 0x21c
mov eax, dword [0x4d7074]
push ebx
push esi
push edi
mov ecx, 0x4d7074
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x226]
push ebx
mov dword [ebp - 4], ebx
push eax
mov word [ebp - 0x228], bx
call fcn.0048ae50
add esp, 0xc
push 0x104
lea eax, [ebp - 0x228]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00405e21
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00405e21
push 0x2e
lea esi, [ebp - 0x10]
call fcn.004062c8
cmp eax, 0xffffffff
je 0x459d1b
mov ecx, eax
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.004063d2
mov edi, esi
mov byte [ebp - 4], 1
call fcn.00404ed0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405981
mov eax, dword [0x4d7074]
mov ecx, 0x4d7074
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 2
fld1
lea eax, [ebp - 0x10]
fstp qword [ebp - 0x20]
push eax
call fcn.00459966
test eax, eax
jne 0x459d78
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405981
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405981
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x459db3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405981
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405981
mov eax, ebx
jmp 0x459d67
push ebx
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x459e1b
mov esi, dword [ebp + 0xc]
push ebx
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [edi + 0xa]
push eax
mov dword [ebp - 0x14], ebx
call fcn.00408083
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
cmp esi, ebx
je 0x459e11
cmp dword [ebp - 0x14], edi
jne 0x459e11
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x459df9
fld qword [ebp - 0x20]
fstp qword [eax]
mov esi, dword [ebp + 0xc]
mov eax, edi
call fcn.004099bf
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
inc ebx
jmp 0x459d99
mov edx, dword [ebp + 0xc]
xor eax, eax
call fcn.004080a9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, esi
jmp 0x459d99
Function at 0x45c61f
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4a75df
call fcn.004a55b8
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
fld1
fstp qword [esi + 0x10]
mov dword [esi], vtable.CBkPngSkin.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x48], edi
mov eax, vtable.CBkBitmap.0
mov dword [esi + 0x44], eax
mov dword [esi + 0x54], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], eax
mov dword [esi + 0x6c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov byte [ebp - 4], 2
mov dword [esi + 0x70], edi
call fcn.00463dd2
lea ecx, [esi + 0x78]
mov dword [ecx], eax
mov byte [eax + 0x15], 1
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov ecx, dword [ecx]
mov dword [ecx + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x7c], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x45f631
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
xor ebx, ebx
mov esi, ecx
mov ecx, dword [eax + 8]
inc ebx
cmp ecx, ebx
push edi
jne 0x45f74a
mov eax, dword [eax + 0xc]
cmp eax, ebx
jne 0x45f657
call fcn.004619a1
mov eax, ebx
jmp 0x45f753
cmp eax, 2
jne 0x45f669
push 6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45f650
cmp eax, 0x65
jne 0x45f677
mov eax, esi
call fcn.00461d9d
jmp 0x45f650
cmp eax, 0x6f
jne 0x45f683
call fcn.00461e19
jmp 0x45f650
cmp eax, 0x66
jne 0x45f69b
xor eax, eax
cmp dword [esi + 0x524], eax
sete al
push eax
call fcn.004625e8
jmp 0x45f650
cmp eax, 0x191
jne 0x45f6ab
mov edi, esi
call fcn.00461f50
jmp 0x45f650
cmp eax, 0x96
jne 0x45f6d4
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.00461908
jmp 0x45f650
cmp eax, 0x1f5
jne 0x45f6e9
xor ecx, ecx
mov eax, esi
call fcn.00456640
jmp 0x45f650
cmp eax, 0x68
jne 0x45f6fa
mov ebx, esi
call fcn.00462335
xor eax, eax
inc eax
jmp 0x45f753
cmp eax, 0x6e
jne 0x45f719
add esi, 0x24
push eax
mov eax, esi
call fcn.0046310c
push eax
push 0x65
mov eax, esi
call fcn.00463176
jmp 0x45f650
cmp eax, 0x6c
jne 0x45f739
push ebx
xor eax, eax
push eax
push eax
push str.https:__winzip.imeitools.com_license.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x45f650
cmp eax, 0x6d
jne 0x45f74a
push ebx
xor eax, eax
push eax
push eax
push str.https:__winzip.imeitools.com_privacy.html
jmp 0x45f728
and dword [esi + 0x560], 0
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x45fa60
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 0x45fad7
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 0x45fad7
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 [0x4bd548]
fcomp qword [0x4bd540]
fnstsw ax
test ah, 1
jne 0x45fad7
inc esi
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x4601c3
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 0x558], 0
jne 0x4601ff
push esi
lea esi, [ebp - 4]
call fcn.00460207
push dword [eax]
push 2
push 0x4b7e1c
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.00405981
pop esi
mov eax, dword [edi + 0x558]
leave
ret

Function at 0x460527
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push 0
mov edi, eax
call dword [sym.imp.ole32.dll_CoInitialize]
push str.install_run_begin
mov esi, 0x4d7f70
call fcn.0042a623
pop ecx
push edi
call fcn.0046064a
call fcn.00469941
cmp dword [eax + 0x3c], 0
je 0x46055e
cmp dword [edi + 0x968], 0
jne 0x4605c9
xor ebx, ebx
cmp dword [edi + 0x964], 1
sete bl
call fcn.004091fb
cmp eax, 6
jg 0x4605a4
test ebx, ebx
jne 0x460597
push 2
push 2
push 0x4bc614
push dword [edi + 0x960]
push 0x4bc620
push dword [edi + 4]
call fcn.0044053d
add esp, 0x18
push str.system_is_xp
call fcn.0042a623
pop ecx
jmp 0x4605c9
push edi
call fcn.00460703
test eax, eax
je 0x4605c9
mov ecx, edi
call fcn.00460903
test eax, eax
je 0x4605c9
call fcn.004609d0
test eax, eax
jne 0x4605c9
mov eax, edi
call fcn.00462e1e
call fcn.00445ad1
mov edi, eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4605e9
test al, 0x10
jne 0x4605e9
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.ole32.dll_CoUninitialize]
push str.install_run_end
call fcn.0042a623
pop ecx
pop edi
pop esi
pop ebx
ret
Function at 0x46064a
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4aa11f
call fcn.004a55b8
push ecx
push ecx
and dword [ebp - 0x10], 0
push ebx
push esi
and dword [ebp - 4], 0
call fcn.00469941
lea esi, [ebp - 0x14]
call fcn.00469a29
mov eax, dword [eax]
push 1
push eax
push SysReAllocString
lea esi, [ebp - 0x10]
call fcn.00405e65
mov ebx, eax
mov eax, dword [ebp - 0x14]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.00405981
test bl, bl
jne 0x4606e4
mov eax, dword [0x4d7074]
mov ecx, 0x4d7074
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x4b647c
mov ebx, esi
mov byte [ebp - 4], 1
call fcn.00405f4d
test eax, eax
mov esi, dword [ebp - 0x14]
je 0x4606dc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4606dc
mov eax, dword [ebp + 8]
mov dword [eax + 0x968], 1
lea eax, [esi - 0x10]
call fcn.00405981
cmp dword [ebp - 0x10], 0
je 0x4606f3
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 0x460703
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4aa4a1
call fcn.004a55b8
sub esp, 0xc
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
and dword [ebp - 4], 0
mov eax, dword [0x4d7074]
mov edi, 0x4d7074
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.00460271
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x14]
push dword [0x4d7fb0]
call fcn.004067a6
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00405981
call fcn.00469941
lea esi, [ebp - 0x18]
call fcn.00469a29
mov eax, dword [eax]
push 1
push eax
push SysReAllocString
lea esi, [ebp - 0x10]
call fcn.00405e65
mov ebx, eax
mov eax, dword [ebp - 0x18]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.00405981
test bl, bl
jne 0x4608d5
mov eax, dword [0x4d7074]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x4b647c
mov ebx, esi
mov byte [ebp - 4], 3
call fcn.00405f4d
test eax, eax
mov ebx, dword [ebp - 0x18]
je 0x4608cd
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4608cd
mov esi, dword [ebp + 8]
lea edi, [esi + 0x550]
lea eax, [ebp - 0x18]
call fcn.00404ed0
xor edi, edi
inc edi
cmp dword [esi + 0x964], edi
mov dword [esi + 0x968], edi
jne 0x460837
push str.silent_coverinstall
mov esi, 0x4d7f70
call fcn.0042a623
pop ecx
lea eax, [ebx - 0x10]
call fcn.00405981
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405981
cmp dword [ebp - 0x10], 0
je 0x460830
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x4608f2
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.0044053d
add esp, 0x18
test al, 1
je 0x460872
push str.has_installed__user_click_recoverinstall
mov esi, 0x4d7f70
call fcn.0042a623
pop ecx
lea eax, [ebx - 0x10]
call fcn.00405981
lea eax, [edi - 0x10]
jmp 0x4608db
xor eax, eax
cmp dword [esi + 0x964], 1
sete al
mov dword [ebp + 8], eax
call fcn.0046a6da
push 0xffffffffffffffff
push dword [esi + 0x968]
push dword [ebp + 8]
push 2
push 0
call fcn.0046a704
push str.has_installed__user_click_not_recoverinstall
mov esi, 0x4d7f70
call fcn.0042a623
pop ecx
lea eax, [ebx - 0x10]
call fcn.00405981
lea eax, [edi - 0x10]
call fcn.00405981
cmp dword [ebp - 0x10], 0
je 0x4608c9
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4608f2
lea eax, [ebx - 0x10]
call fcn.00405981
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405981
cmp dword [ebp - 0x10], 0
je 0x4608ef
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 0x460ecc
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4a7fc9
call fcn.004a55b8
push ecx
push ebx
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x460f03
push dword [ebp + 8]
call fcn.00430147
push eax
call fcn.00405e21
call fcn.004306a5
mov ebx, eax
call fcn.004306d0
call fcn.0045edc9
call fcn.0045f10d
call fcn.0045f297
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00405981
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x461d9d
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.004631c1
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.004631c1
push 1
push 0xc8
mov eax, ebx
call fcn.004631c1
push ebp
push 0x32
push 0x3eb
push dword [esi + 4]
call edi
push ebp
call fcn.004625e8
push ebp
push ebp
push esi
push 0x461d86
push ebp
push ebp
call fcn.0048e04f
add esp, 0x18
pop edi
mov dword [esi + 0x95c], eax
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x46226d
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.004482ae
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.00405981
mov eax, dword [edi]
push 3
pop esi
cmp dword [eax - 0xc], esi
jl 0x46232e
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4622b0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 1
je 0x46232e
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.004063d2
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.00405981
test bl, bl
je 0x4622dd
push 2
pop eax
jmp 0x462331
push edi
call fcn.004621e1
test eax, eax
pop ecx
je 0x4622ec
mov eax, esi
jmp 0x462331
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.004063d2
push dword [eax]
call fcn.0045fa60
mov ebx, eax
mov eax, dword [ebp - 4]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.00405981
test bl, bl
je 0x46231b
push 4
jmp 0x4622da
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x46232a
push 5
jmp 0x4622da
xor eax, eax
jmp 0x462331
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret