joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e4aa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x77ff48]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
mov ebx, ecx
push esi
push edi
push 2
mov dword [ebx + 4], eax
lea edi, [ebx + 0x20]
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx], vtable.webinstaller::GifPlaceholder.0
mov eax, dword [eax]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebx + 0x40], eax
lea eax, [ebx + 0x44]
push eax
call fcn.0061694a
xor eax, eax
mov dword [ebp - 0x24], 1
pop ecx
pop ecx
push eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x80], eax
mov byte [ebx + 0x84], al
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x90], eax
mov word [ebx + 0x94], ax
mov dword [ebx + 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebx + 0x3c]
push eax
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov ecx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x2c]
push dword [ebp - 0x28]
mov edx, dword [ebx + 0x38]
add eax, ecx
mov esi, dword [ebx + 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x30]
add eax, edx
mov dword [ebp - 0x14], ecx
push edi
push 0x780ef0
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
call fcn.0045d852
add esp, 8
movzx eax, ax
push eax
xor eax, eax
push eax
push eax
push 0x50000000
push eax
lea eax, [ebp - 0x14]
push eax
push esi
mov ecx, ebx
call fcn.0045d75c
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006147ae
leave
ret 0x18

Function at 0x46e658
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dl, 1
lea eax, [esi + 0x94]
xchg byte [eax], dl
pop esi
ret
Function at 0x4705e4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x3c
mov eax, 0x66398c
call fcn.0065dfd6
mov ebx, ecx
mov dword [ebp - 0x38], ebx
mov edx, dword [ebp + 0xc]
xor eax, eax
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x24], ebx
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebx + 4], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], ecx
mov dword [ebp - 4], eax
mov dword [ebx], vtable.webinstaller::Link.0
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
mov eax, dword [ebp + 8]
lea ecx, [ebx + 0x40]
mov byte [ebp - 4], 4
mov dword [ebx + 0x38], eax
push dword [edx]
call fcn.0044e783
mov byte [ebp - 4], 5
lea ecx, [ebx + 0x58]
push dword [esi]
call fcn.0044e783
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov byte [ebp - 4], 6
mov dword [ebx + 0x70], eax
mov byte [ebx + 0x74], al
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x80], eax
mov ecx, dword [ecx]
push eax
mov dword [ebx + 0x24], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebx + 0x3c]
mov dword [ebx + 0x84], ecx
push eax
mov dword [ebp - 0x34], 1
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebx + 4]
push 0
push 0x32
mov edx, dword [edx]
push 0x64
push dword [eax]
lea eax, [ebp - 0x48]
push eax
call fcn.00467886
mov esi, eax
lea edi, [ebp - 0x20]
add esp, 0x14
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x40]
cmp dword [edi + 0x14], 8
jb 0x4706c4
mov edi, dword [edi]
push dword [ebp - 0x24]
mov esi, dword [ebx + 0x38]
lea eax, [ebx + 0x20]
push eax
push 0x781010
call fcn.0045d852
add esp, 8
movzx eax, ax
xor ecx, ecx
test edi, edi
cmovne ecx, edi
push eax
push 0
push 0
push 0x50000000
push ecx
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
push esi
call fcn.0045d75c
mov eax, ebx
call fcn.0065df85
ret 0x18
Function at 0x470cfe
Capabilities:
Create process on windows

Disassembly:
push 0xb0
mov eax, 0x662ed1
call fcn.0065dfa3
mov esi, ecx
push 1
xor ebx, ebx
push ebx
mov byte [esi + 0x73], bl
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
add esi, 0x58
cmp dword [esi + 0x14], 8
jb 0x470d2b
mov esi, dword [esi]
push ebx
push ebx
push ebx
push esi
push 0x717300
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x470df3
push 5
pop ecx
call fcn.004901ff
test al, al
je 0x470df3
push ecx
lea ecx, [ebp - 0xbc]
call fcn.00450621
mov edx, str.Failed_to_open_the_error_wiki_link_
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xbc]
call fcn.004516a8
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x14], esp
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 0xf
mov byte [ecx], bl
sub esp, 0x18
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x1c], esp
mov ecx, 0x718020
push eax
call fcn.00470dfb
sub esp, 0x18
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x20], esp
mov ecx, 0x71805c
push eax
call fcn.0044fedf
sub esp, 0x18
mov byte [ebp - 4], 3
mov eax, esp
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x18], eax
push eax
call fcn.00450ef9
push 5
mov edx, 0x97
mov byte [ebp - 4], bl
pop ecx
call fcn.0049016f
add esp, 0x60
lea ecx, [ebp - 0xbc]
call fcn.0044e8bd
call fcn.0065df71
ret 0xc
Function at 0x47132f
Capabilities:
Read file on windows

Disassembly:
push 0x218
mov eax, 0x663b63
call fcn.0065dfd6
mov ebx, ecx
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
jne 0x47134f
xor eax, eax
jmp 0x471519
push 0x40
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0062bd30
add esp, 0xc
lea eax, [ebp - 0x174]
push 0xf8
push 0
push eax
call fcn.0062bd30
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x17c], eax
push eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea eax, [ebp - 0x17c]
push eax
push 0x40
lea eax, [ebp - 0x7c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edi, dword [ebp - 0x40]
push 0
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea eax, [ebp - 0x17c]
push eax
push 0xf8
lea eax, [ebp - 0x174]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [ebp - 0xdc]
add edi, 0xf8
mov dword [ebx + 0x30], eax
xor ebx, ebx
movzx eax, word [ebp - 0x16e]
and dword [ebp - 0x178], ebx
mov dword [ebp - 0x180], eax
test eax, eax
je 0x471427
push 0
lea eax, [ebp - 0x17c]
push eax
push 0x28
lea eax, [ebp - 0x3c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [ebp - 0x2c]
add edi, 0x28
add edi, eax
cmp dword [ebp - 0x28], ebx
jbe 0x47141e
mov ebx, dword [ebp - 0x28]
add eax, ebx
mov dword [ebp - 0x178], eax
sub dword [ebp - 0x180], 1
jne 0x4713f0
xor edx, edx
mov eax, edi
div dword [ebp - 0x138]
push 2
pop ecx
lea esi, [eax + 1]
imul esi, dword [ebp - 0x138]
call fcn.004901ff
test al, al
je 0x471517
push ecx
lea ecx, [ebp - 0x224]
call fcn.00450621
xor ebx, ebx
lea ecx, [ebp - 0x224]
mov edx, str.PE_File_size:
mov dword [ebp - 4], ebx
call fcn.004516a8
push esi
mov ecx, eax
call fcn.0045c3f7
mov edx, str._exe_file_size:
mov ecx, eax
call fcn.004516a8
push dword [ebp - 0x178]
mov ecx, eax
call fcn.0045c3f7
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x178], esp
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 0xf
mov byte [ecx], bl
sub esp, 0x18
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x180], esp
mov ecx, 0x718244
push eax
call fcn.0045c283
sub esp, 0x18
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x188], esp
mov ecx, 0x7181d0
push eax
call fcn.0046dd6f
sub esp, 0x18
mov byte [ebp - 4], 3
mov eax, esp
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x184], eax
push eax
call fcn.00450ef9
push 0x6d
pop edx
push 2
pop ecx
mov byte [ebp - 4], bl
call fcn.0049016f
add esp, 0x60
lea ecx, [ebp - 0x224]
call fcn.0044e8bd
mov eax, esi
call fcn.0065df85
ret 4
Function at 0x471521
Capabilities:
Read file on windows

Disassembly:
push 0xec
mov eax, 0x663bbd
call fcn.0065dfd6
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push 2
pop ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x4c], ebx
call fcn.004901ff
mov esi, dword [ebp + 0x14]
test al, al
je 0x47162d
push ecx
lea ecx, [ebp - 0xf8]
call fcn.00450621
and dword [ebp - 4], 0
lea ecx, [ebp - 0xf8]
mov edx, str.file_handle:
call fcn.004516a8
push edi
mov ecx, eax
call fcn.00471d70
mov edx, str.begin:
mov ecx, eax
call fcn.004516a8
push ebx
mov ecx, eax
call fcn.0045c3f7
mov edx, str.end:
mov ecx, eax
call fcn.004516a8
push esi
mov ecx, eax
call fcn.0045c3f7
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x58], esp
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
sub esp, 0x18
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x5c], esp
mov ecx, 0x71826c
push eax
call fcn.00462f07
sub esp, 0x18
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x60], esp
mov ecx, 0x7181d0
push eax
call fcn.0046dd6f
sub esp, 0x18
mov byte [ebp - 4], 3
mov eax, esp
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0x54], eax
push eax
call fcn.00450ef9
push 0x74
pop edx
push 2
pop ecx
mov byte [ebp - 4], 0
call fcn.0049016f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
add esp, 0x60
call fcn.0044e8bd
mov edi, dword [ebp - 0x44]
cmp edi, 0xffffffff
je 0x4716d1
cmp ebx, esi
jae 0x4716d1
sub esi, ebx
cmp esi, 0x2800
ja 0x4716d1
lea edi, [esi + 1]
push edi
lfence
call fcn.006151ee
pop ecx
push 0
push 0
push dword [ebp - 0x4c]
mov ebx, eax
push dword [ebp - 0x44]
lfence
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov eax, ebx
test edi, edi
je 0x47167d
mov byte [eax], 0
inc eax
sub edi, 1
jne 0x471674
and dword [ebp - 0x48], 0
lea eax, [ebp - 0x48]
push 0
push eax
push esi
push ebx
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push ebx
lea ecx, [ebp - 0x28]
call fcn.0044e6d0
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.004cb238
mov ecx, dword [ebp - 0x50]
push eax
call fcn.0045382a
lea ecx, [ebp - 0x40]
call fcn.00450fc3
lea ecx, [ebp - 0x28]
call fcn.004510fe
push ebx
call fcn.00614d5c
pop ecx
mov al, 1
jmp 0x4716d3
xor al, al
call fcn.0065df85
ret 0x10
Function at 0x471a24
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
mov eax, dword [0x77ff48]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
mov esi, dword [esp + 0x20]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x2c]
mov dword [esi], ebp
mov dword [esi + 4], ebp
cmp ebx, 0xffffffff
je 0x471ab1
mov ecx, dword [edi]
xorps xmm0, xmm0
mov eax, dword [edi + 4]
sub ecx, 8
push ebp
push ebp
sbb eax, ebp
mov dword [esp + 0x18], ebp
push eax
push ecx
push ebx
movlpd qword [esp + 0x28], xmm0
call dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
push ebp
lea eax, [esp + 0x14]
push eax
push 8
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x471a8f
cmp dword [esp + 0x10], 8
jae 0x471ab1
push 7
pop eax
cmp byte [esp + eax + 0x14], 0
jne 0x471aa0
sub eax, 1
jns 0x471a92
jmp 0x471ab1
xor ecx, ecx
add eax, dword [edi]
adc ecx, dword [edi + 4]
sub eax, 7
mov dword [esi], eax
sbb ecx, ebp
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006147ae
add esp, 0x10
ret 0xc
Function at 0x471ac8
Capabilities:
Read file on windows

Disassembly:
push 0xbc
mov eax, 0x663cc0
call fcn.0065dfd6
mov ebx, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], eax
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
cmp eax, 0xffffffff
je 0x471c6e
mov esi, dword [edi]
mov edi, dword [edi + 4]
sub esi, 8
mov dword [ebp - 0x1c], ecx
sbb edi, ecx
js 0x471c6e
jg 0x471b13
cmp esi, ecx
jb 0x471c6e
push ecx
push ecx
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
push 0
lea eax, [ebp - 0x1c]
push eax
push 8
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x471bbb
cmp dword [ebp - 0x1c], 8
jb 0x471bbb
push 7
pop ecx
cmp byte [ebp + ecx - 0x18], 0
jne 0x471b6f
mov ebx, dword [ebp + 0x14]
xor eax, eax
mov edx, ecx
add edx, esi
adc eax, edi
cmp dword [ebx + 4], eax
mov ebx, dword [ebp - 0x24]
jg 0x471c6e
jl 0x471b6f
mov eax, dword [ebp + 0x14]
cmp dword [eax], edx
ja 0x471c6e
sub ecx, 1
jns 0x471b44
mov edx, 0x7115ec
lea ecx, [ebp - 0x18]
movzx eax, word [ecx]
cmp ax, word [edx]
jne 0x471b8d
movzx eax, byte [ecx + 2]
cmp al, byte [edx + 2]
je 0x471bb1
add esi, 0xfffffff8
adc edi, 0xffffffff
js 0x471c6e
jg 0x471ba7
xor ecx, ecx
cmp esi, ecx
jb 0x471c6e
jmp 0x471ba9
xor ecx, ecx
mov eax, dword [ebp - 0x20]
jmp 0x471b13
mov dword [ebx], esi
mov dword [ebx + 4], edi
jmp 0x471c6e
push 5
pop ecx
call fcn.004901ff
test al, al
je 0x471c6e
push ecx
lea ecx, [ebp - 0xc8]
call fcn.00450621
and dword [ebp - 4], 0
lea ecx, [ebp - 0xc8]
mov edx, str.Failed_to_read_pe_data.
call fcn.004516a8
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x24], esp
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
sub esp, 0x18
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x20], esp
mov ecx, 0x71821c
push eax
call fcn.0045bea8
sub esp, 0x18
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x2c], esp
mov ecx, 0x7181d0
push eax
call fcn.0046dd6f
sub esp, 0x18
mov byte [ebp - 4], 3
mov eax, esp
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x28], eax
push eax
call fcn.00450ef9
push 5
mov edx, 0xef
mov byte [ebp - 4], 0
pop ecx
call fcn.0049016f
add esp, 0x60
lea ecx, [ebp - 0xc8]
call fcn.0044e8bd
mov eax, ebx
call fcn.0065df85
ret 0x10
Function at 0x47abf3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [esp + 0x10], esi
push edi
test eax, eax
jg 0x47ac1e
jl 0x47ac15
test ebx, ebx
jne 0x47ac1e
xor eax, eax
xor edx, edx
jmp 0x47acdf
cmp dword [esi + 0x38], 0
je 0x47ac33
push eax
push ebx
push dword [ebp + 8]
call fcn.00450844
jmp 0x47acdf
mov eax, dword [esi + 0x1c]
mov edi, ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x47ac77
mov eax, dword [esi + 0x2c]
cmp dword [eax], 0
jbe 0x47ac77
cmp dword [eax], ebx
mov esi, ebx
cmovb esi, dword [eax]
push esi
push ecx
push dword [ebp + 8]
call fcn.0062a090
mov ecx, dword [esp + 0x20]
sub edi, esi
mov eax, dword [ebp + 8]
add esp, 0xc
add eax, esi
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, ecx
jmp 0x47ac7e
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x4c], 0
je 0x47acd5
mov ecx, esi
call fcn.0047bdcc
mov ecx, dword [esp + 0x10]
mov edx, edi
mov eax, 0xfff
cmp edi, eax
jbe 0x47acc0
push dword [esi + 0x4c]
push eax
push 1
push ecx
call fcn.0063a9ed
mov ecx, dword [esp + 0x20]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [esp + 0x10], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x47acd5
jmp 0x47ac91
test edx, edx
je 0x47acd5
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.0063a9ed
add esp, 0x10
sub edi, eax
mov edx, dword [ebp + 0x10]
sub ebx, edi
mov eax, ebx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x487652
Capabilities:
Get file version info

Disassembly:
push 0xc4
mov eax, 0x66705f
call fcn.0065dfa3
mov edi, edx
mov dword [ebp - 0x18], ecx
xor ebx, ebx
push ebx
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
xor ecx, ecx
mov dword [ebp - 0x14], ebx
push 2
pop edx
mov esi, eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006151ee
lea ecx, [ebp - 0xd0]
mov ebx, eax
call fcn.00475721
and dword [ebp - 4], 0
push ebx
push esi
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x487731
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x7109ac
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x487731
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x12]
push eax
call fcn.0048022a
mov esi, 0x717098
mov ecx, eax
mov edx, esi
call fcn.004516a8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x10]
push eax
call fcn.0048022a
mov edx, esi
mov ecx, eax
call fcn.004516a8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x16]
push eax
call fcn.0048022a
mov edx, esi
mov ecx, eax
call fcn.004516a8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x14]
push eax
call fcn.0048022a
push ebx
call fcn.00614d5c
mov esi, dword [ebp - 0x18]
pop ecx
push esi
lea ecx, [ebp - 0xb8]
call fcn.00450ef9
lea ecx, [ebp - 0xd0]
call fcn.00475156
mov eax, esi
call fcn.0065df71
ret

Function at 0x4877d2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
xor edi, edi
cmp dword [edx + 0x14], 8
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
jb 0x4877ed
mov edx, dword [edx]
sub esp, 0x14
lea ecx, [ebp - 0x10]
push edx
push 0x80000001
call fcn.0044bf6e
test eax, eax
jne 0x487828
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
jb 0x48780d
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push edi
push ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
cmp dword [ebp - 0x10], edi
je 0x487839
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, bl
pop ebx
leave
ret
Function at 0x48fd42
Capabilities:
Create directory
Get common file path

Disassembly:
push 0x34
mov eax, 0x668ab0
call fcn.0065dfd6
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], esi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
push ebx
push 0x4000
push edx
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], ebx
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x48fde7
cmp dword [ebp - 0x30], ebx
je 0x48fdf6
push ebx
push dword [ebp - 0x30]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp eax, 0xb7
je 0x48fdb1
cmp eax, 0x50
je 0x48fdb1
test eax, eax
jne 0x48fde7
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ecx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x48fdba
sub ecx, edx
lea edx, [ebp - 0x3c]
sar ecx, 1
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x2c]
call fcn.004cb076
push eax
mov ecx, esi
call fcn.00450aba
lea ecx, [ebp - 0x2c]
call fcn.004510fe
cmp dword [ebp - 0x30], 0
je 0x48fdf6
push dword [ebp - 0x30]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
call fcn.0065df85
ret

Function at 0x48fe4a
Capabilities:
Get common file path

Disassembly:
push 0x1c
mov eax, 0x668ae4
call fcn.0065dfa3
mov ebx, ecx
mov dword [ebp - 0x10], ebx
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov edi, 0x104
mov dword [ebp - 4], eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0048fee1
mov esi, dword [ebp - 0x28]
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x48feae
mov ecx, esi
mov dword [ebp - 0x1c], esi
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x48fe90
sub ecx, edx
lea edx, [ebp - 0x1c]
sar ecx, 1
mov dword [ebp - 0x18], ecx
mov ecx, ebx
call fcn.004cb076
jmp 0x48fec4
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0xf
mov byte [ebx], al
test esi, esi
je 0x48fed9
mov eax, dword [ebp - 0x20]
sub eax, esi
and eax, 0xfffffffe
push eax
push esi
call fcn.00451cc8
pop ecx
pop ecx
mov eax, ebx
call fcn.0065df71
ret
Function at 0x4a2cb9
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x264
mov eax, 0x66ab3b
call fcn.0065dfd6
mov esi, ecx
mov dword [ebp - 0x250], esi
push 0x208
xor ebx, ebx
mov dword [ebp - 0x250], esi
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.0062bd30
add esp, 0xc
mov dword [ebp - 0x250], 0x104
lea eax, [ebp - 0x250]
mov edi, str.OriginalInstallPath
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push 0xffff
push edi
push str.SoftwareCisco_Spark_Native
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
lea eax, [ebp - 0x21c]
jne 0x4a2d36
mov dword [esi], 1
jmp 0x4a2e70
push 0x208
push ebx
push eax
call fcn.0062bd30
add esp, 0xc
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push 0xffff
push edi
push str.SoftwareCisco_Spark_Native
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x4a2e68
push 0x208
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.0062bd30
add esp, 0xc
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push 0xffff
push edi
push str.SoftwareWOW6432NodeCisco_Spark_Native
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x4a2e68
push edi
lea ecx, [ebp - 0x24c]
call fcn.0044e783
push str.SoftwareCisco_Spark_Native
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], ebx
call fcn.0044e783
push 0x20119
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x234]
mov edx, 0x80000002
push eax
lea ecx, [ebp - 0x270]
call fcn.004a3243
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.00450fc3
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 4
call fcn.00450fc3
cmp byte [ebp - 0x258], 0
je 0x4a2e47
lea eax, [ebp - 0x270]
mov dword [esi], ebx
push eax
lea ecx, [esi + 4]
call fcn.00450a4a
cmp byte [ebp - 0x258], 0
je 0x4a2e79
lea ecx, [ebp - 0x270]
call fcn.00450fc3
jmp 0x4a2e79
mov dword [esi], 2
lea edi, [esi + 4]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
jmp 0x4a2e79
mov dword [esi], ebx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [esi + 4]
call fcn.0044e783
mov eax, esi
call fcn.0065df85
ret