joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404c98
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x404d18
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
jbe 0x404d17
push ebx
mov ebx, 0x47b7e8
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebx
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00401eb7
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebx
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00401eb7
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x425548
mov byte [edi + esi], al
call fcn.0040dc9e
xor byte [edi + esi], al
add esp, 0x1c
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x404cba
pop ebx
pop esi
lea ecx, [ebp + 8]
call fcn.00404815
pop edi
pop ebp
ret 0x14

Function at 0x407cba
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x407cdb
jl 0x407cd2
test edi, edi
jne 0x407cdb
xor eax, eax
xor edx, edx
jmp 0x407d9c
cmp dword [ebx + 0x38], 0
je 0x407cf0
push eax
push edi
push dword [ebp + 8]
call fcn.00407da2
jmp 0x407d9c
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x407d37
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x407d37
cmp eax, edi
jb 0x407d11
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00409520
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x407d3d
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x407d91
mov ecx, ebx
call fcn.00407554
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x407d7c
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00410ee3
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x407d91
jmp 0x407d4f
test edx, edx
je 0x407d91
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00410ee3
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x40907c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4090bb
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4090bb
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4090bb
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4090bb
cmp dword [ecx + 0x74], 0xe
jbe 0x4090bb
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x41a778
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041a5e9

Function at 0x41ab72
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004094d0
mov eax, dword [0x479c00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00418735
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41abb4
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41ad10
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00424300
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x47c190]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041b911
mov ecx, dword [esi*4 + 0x47c190]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41ad09
cmp eax, dword [edi + ecx + 0x24]
jne 0x41ad09
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41ad09
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041b911
add esp, 0x14
test edx, edx
jl 0x41ad09
jg 0x41ac7f
test eax, eax
jb 0x41ad09
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41ad09
jl 0x41ac99
cmp dword [ebp - 0x1008], eax
ja 0x41ad09
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41acb7
test ebx, ebx
je 0x41acf0
cmp ecx, edi
jae 0x41acf0
mov al, byte [ecx]
cmp al, 0xd
jne 0x41acd1
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41acdd
cmp byte [ecx + 1], 0xa
jne 0x41acdd
inc ecx
jmp 0x41acdd
movzx eax, al
movsx eax, byte [eax + 0x479ec8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41acb7
cmp edx, ebx
jne 0x41acb7
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41ad0e
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004088c2
leave
ret
Function at 0x41adaf
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x47c190]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41adef
cmp byte [ebx], 0xa
jne 0x41adef
or byte [eax + edi + 0x28], 4
jmp 0x41adf4
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41aef2
mov al, byte [edx]
cmp al, 0x1a
je 0x41aed4
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41ae23
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41ae48
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41ae52
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41ae05
jmp 0x41aef2
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41aecf
cmp dword [ebp - 0xc], 0
je 0x41aecf
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x47c190]
test byte [eax + edi + 0x28], 0x48
je 0x41aea9
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41ae94
mov byte [esi], dl
jmp 0x41aea5
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x47c190]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41aef2
cmp byte [ebp - 1], 0xa
jne 0x41aeb8
cmp esi, ebx
jne 0x41aeb8
mov byte [esi], 0xa
jmp 0x41aef1
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041b92f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41aef2
mov byte [esi], 0xd
jmp 0x41aef1
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x47c190]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41aeee
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41aef2
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41aefb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x47c190]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41af3e
cmp word [esi], dx
jne 0x41af3e
or byte [edi + eax + 0x28], 4
jmp 0x41af43
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41b096
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41b076
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41af85
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41afbb
cmp eax, edx
jae 0x41afc7
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41af5d
jmp 0x41b096
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41b072
cmp dword [ebp - 0x14], 0
je 0x41b072
mov eax, dword [ebx*4 + 0x47c190]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41b04a
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41b013
mov word [esi], cx
jmp 0x41b046
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x47c190]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x47c190]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x47c190]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41b096
pop ebx
cmp word [ebp - 4], bx
jne 0x41b05b
cmp esi, dword [ebp + 0xc]
jne 0x41b05b
mov word [esi], bx
jmp 0x41b093
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041b92f
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41b096
push 0xd
jmp 0x41b08f
mov ecx, dword [ebx*4 + 0x47c190]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41b08d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41b096
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x73e842
Capabilities:
Encode data using xor

Disassembly:
daa
fucom st(4)
xchg ecx, eax
and dword [eax + edx], eax
mov cs, word [eax]
mov bl, 0x31
push ebx
inc ecx
fbstp tbyte [edx]
nop
adc byte [ebx - 0x24fbab40], bl
xor al, 0x8b
push es
in al, dx
ja 0x73e84b
inc ecx
loopne 0x73e862
not eax
xor eax, dword [ecx + 8]
and eax, 0x10
xor dword [ebp + 0x68b084d], esp
add eax, eax
adc eax, ecx
and byte [edi], cl
sbb dword [eax], ecx
shr eax, 1
add al, 0xf2
aas
cmp dword [ebp - 0x3f], 0xffffffe8
add edx, dword [edx]
add al, byte [esi]
or byte [ebx - 0x5aceef20], al
dec ebp
or byte [ebx + 0x11c00306], cl
enter 0xf20, 0x19
or cl, dl
call 0x83b3da7e
jge 0x73e83d
call 0x675fa84
mov ecx, dword [ebp + 8]
shr eax, 5
fstp st(7)
mov ch, 0x3b
and eax, ebx
adc eax, ebp
scasd eax, dword es:[edi]
ret
Function at 0x8de720
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x64e00d
lea edi, [esi - 0x24d00d]
push edi
or ebp, 0xffffffff
jmp 0x8de742
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8de749
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8de738
mov eax, 1
add ebx, ebx
jne 0x8de75b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8de750
jne 0x8de76c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8de750
xor ecx, ecx
sub eax, 3
jb 0x8de780
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8de7f2
mov ebp, eax
add ebx, ebx
jne 0x8de78b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x8de798
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x8de7bc
inc ecx
add ebx, ebx
jne 0x8de7a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8de79d
jne 0x8de7b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8de79d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8de7dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8de7cd
jmp 0x8de73e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8de7dc
add edi, ecx
jmp 0x8de73e
pop esi
mov edi, esi
mov ecx, 0x1740
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x8de7fa
cmp byte [edi], 0x11
jne 0x8de7fa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x8de7ff
lea edi, [esi + 0x4da000]
mov eax, dword [edi]
or eax, eax
je 0x8de86e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4e60d4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4e612c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8de82c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4e6134]
or eax, eax
je 0x8de868
mov dword [ebx], eax
add ebx, 4
jmp 0x8de849
call dword [esi + 0x4e6130]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x8de89f
cmp al, 0xef
ja 0x8de892
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x8de874
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x8de881
mov ebp, dword [esi + 0x4e6138]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x197]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x8de8d3
sub esp, 0xffffff80
jmp 0x406c9c
Function at 0x416060
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xf4
mov esi, ecx
mov eax, dword [0x5c7040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0
call fcn.004b90d0
add esp, 4
test al, al
je 0x4160bc
lea edi, [ebp - 0xac]
mov ecx, edi
push 0
push 0x119
push str.....operadesktopwindows_assistantinstaller_assistant_installer.cc
call fcn.0044e430
lea eax, [ebp - 0xa4]
push 0x11
push str.Running_Assistant
push eax
call fcn.00493c00
add esp, 0xc
mov ecx, edi
call fcn.0044e910
pxor xmm0, xmm0
movdqu xmmword [ebp - 0xbc], xmm0
movdqu xmmword [ebp - 0xcc], xmm0
movdqu xmmword [ebp - 0xdc], xmm0
movdqu xmmword [ebp - 0xec], xmm0
mov dword [ebp - 0xf0], 0x44
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x100], xmm0
add esi, 4
lea edi, [ebp - 0xac]
mov ecx, esi
push 0x15
push 0x59feec
push edi
call fcn.004bb900
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x41611c
mov eax, dword [ebp - 0xac]
sub esp, 0x28
lea ecx, [ebp - 0x100]
mov dword [esp + 0x24], ecx
lea ecx, [ebp - 0xf0]
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
pxor xmm0, xmm0
movdqu xmmword [esp + 4], xmm0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov ecx, edi
call fcn.004ba510
test esi, esi
je 0x41617d
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f5620
mov eax, ebx
add esp, 0xf4
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.004b90d0
add esp, 4
test al, al
je 0x416161
mov ecx, edi
push 2
push 0x124
push str.....operadesktopwindows_assistantinstaller_assistant_installer.cc
call fcn.0044e430
lea eax, [ebp - 0xa4]
push 0x1b
push str.CreateProcess_failed_w_err
push eax
call fcn.00493c00
add esp, 0xc
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
push eax
call fcn.00411d80
mov ecx, edi
call fcn.0044e910
jmp 0x416161
Function at 0x419b50
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov eax, dword [0x5c7040]
xor eax, ebp
mov dword [esp + 0x88], eax
mov dword [esp + 4], ecx
lea edi, [ecx + 4]
push edi
push 0x5a17e4
push 1
push 0
push 0x590040
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x419d03
mov eax, dword [edi]
mov dword [esp + 8], eax
lea edi, [esp + 0x60]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
push edi
call ebx
movups xmm0, xmmword [edi]
movaps xmmword [esp + 0x70], xmm0
lea edi, [esp + 0x40]
push edi
call ebx
movups xmm0, xmmword [edi]
movaps xmmword [esp + 0x50], xmm0
lea esi, [esp + 0x20]
push esi
call ebx
movups xmm0, xmmword [esi]
movaps xmmword [esp + 0x30], xmm0
lea esi, [esp + 0x10]
push esi
call ebx
mov ebx, dword [esp + 8]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x28]
call dword [0x5c0d2c]
sub esp, 0x44
movaps xmm0, xmmword [esp + 0xb4]
movups xmmword [esp + 0x34], xmm0
movaps xmm0, xmmword [esp + 0x94]
movups xmmword [esp + 0x24], xmm0
movaps xmm0, xmmword [esp + 0x74]
movups xmmword [esp + 0x14], xmm0
movups xmm0, xmmword [esi]
movups xmmword [esp + 4], xmm0
mov dword [esp], ebx
call ecx
test eax, eax
js 0x419c93
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
push 0xc
call fcn.004f507e
add esp, 4
mov edi, eax
mov dword [eax + 4], 0
mov dword [eax + 8], 1
push 0x5a0380
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
je 0x419d07
mov dword [esp + 8], eax
test edi, edi
je 0x419d07
mov esi, dword [esp + 4]
add esi, 8
lea ecx, [edi + 8]
mov dword [esp + 0xc], ecx
mov eax, dword [ebx]
mov ecx, dword [eax + 0x1c]
call dword [0x5c0d2c]
push esi
push dword [esp + 0xc]
push ebx
call ecx
test eax, eax
setns al
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
lock dec dword [eax]
je 0x419c9f
lea ebx, [esp + 0x10]
jmp 0x419cc9
mov ebx, esi
mov dword [esp + 4], 0
jmp 0x419ccd
mov eax, dword [edi]
test eax, eax
lea ebx, [esp + 0x10]
je 0x419cb0
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x419cc0
push eax
call fcn.004f50ec
add esp, 4
push edi
call fcn.004f50ae
add esp, 4
lea edi, [esp + 0x40]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push ebx
call esi
lea eax, [esp + 0x20]
push eax
call esi
push edi
call esi
lea eax, [esp + 0x60]
push eax
call esi
mov ebx, dword [esp + 4]
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.004f5620
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x419ceb
push 0x8007000e
call fcn.004f5060
int3
Function at 0x41f9e0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x5c7040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x218]
mov dword [esi], 0x101
lea edi, [ebp - 0x212]
push 0x202
push 0xff
push edi
call fcn.004f9090
add esp, 0xc
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov esi, eax
test eax, eax
je 0x41fa32
mov ecx, dword [ebp + 8]
push edi
call fcn.00439b70
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f5620
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x41fa50
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, 2
pop ebp
jmp fcn.0041fa70
Function at 0x424760
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov esi, esp
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x5c7040]
xor eax, ebp
mov dword [esi + 0xa8], eax
pxor xmm0, xmm0
movdqu xmmword [esi + 0x74], xmm0
movdqu xmmword [esi + 0x94], xmm0
movdqu xmmword [esi + 0x84], xmm0
mov dword [esi + 0xa4], 0
mov dword [esi + 0x6c], 0x3c
mov dword [esi + 0x70], 0x40
mov dword [esi + 0x78], 0x5a3ef4
xor ebx, ebx
dec ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
lea edi, [esi + 0x20]
push edi
call fcn.004529c0
cmp byte [edi + 0xb], 0
js 0x4247fa
mov eax, dword [esi + 0x28]
mov dword [esi + 0x68], eax
movq xmm0, qword [esi + 0x20]
movq qword [esi + 0x60], xmm0
lea ecx, [esi + 0x20]
call fcn.004ba510
cmp byte [esi + 0x6b], 0
js 0x42480a
lea eax, [esi + 0x60]
jmp 0x42480d
lea ecx, [esi + 0x60]
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.004a5630
jmp 0x4247e7
mov eax, dword [esi + 0x60]
mov dword [esi + 0x7c], eax
lea edi, [esi + 0x54]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ecx, dword [ebp + 0xc]
push edi
call fcn.00453740
cmp byte [edi + 0xb], 0
jns 0x42482d
mov edi, dword [esi + 0x54]
lea eax, [esi + 0x6c]
mov dword [eax + 0x14], edi
mov dword [eax + 0x1c], 5
pcmpeqd xmm0, xmm0
lea ebx, [esi + 0x20]
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea edi, [esi + 0x10]
push 0x17d
push str.....operadesktopwindowsos_operationsos_operations_impl.cc
push str.RunElevatedProcess
push edi
call fcn.004b97c0
add esp, 0x10
mov ecx, ebx
push 0
push edi
call fcn.004ad330
lea eax, [esi + 0x6c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [esi + 8], esp
sub esp, 0xc
mov ebx, esp
lea ecx, [ebx + 4]
test eax, eax
je 0x4248f8
push dword [esi + 0xa4]
call fcn.0043e260
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov edi, dword [esi + 0xc]
mov eax, dword [edi]
mov ebx, dword [eax + 0x60]
mov ecx, ebx
call dword [0x5c0d2c]
mov ecx, edi
call ebx
mov esp, dword [esi + 8]
lea ecx, [esi + 0x20]
call fcn.004ad3a0
cmp byte [esi + 0x5f], 0
jns 0x4248cd
push dword [esi + 0x54]
call fcn.004f50ae
add esp, 4
cmp byte [esi + 0x6b], 0
jns 0x4248de
push dword [esi + 0x60]
call fcn.004f50ae
add esp, 4
mov ecx, dword [esi + 0xa8]
xor ecx, ebp
call fcn.004f5620
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
push 0
jmp 0x424893
Function at 0x42bf90
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb0
mov ebx, ecx
mov eax, dword [0x5c7040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ecx], 0x59cf3c
cmp byte [ecx + 0x1c], 0
je 0x42c0a0
push 0x4c
push str.....operadesktopwindowsinstaller_transactionsdelete_file_operation.cc
call fcn.004b9110
add esp, 8
test eax, eax
jle 0x42c00b
lea edi, [ebp - 0xac]
mov ecx, edi
push 0xffffffffffffffff
push 0x25
push str.....operadesktopwindowsinstaller_transactionsdelete_file_operation.cc
call fcn.0044e430
lea eax, [ebp - 0xa4]
push 0x12
push str.Actual_removal_of
push eax
call fcn.00493c00
add esp, 0xc
lea ecx, [ebx + 0x10]
push ecx
push eax
call fcn.00449600
add esp, 8
mov ecx, edi
call fcn.0044e910
lea esi, [ebx + 0x10]
push esi
call fcn.00442440
add esp, 4
test al, al
jne 0x42c024
push esi
call fcn.0053ee10
add esp, 4
cmp byte [ebx + 0x1e], 1
jne 0x42c0c5
xor eax, eax
dec eax
lea edi, [ebp - 0xac]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [ebp - 0xbc], ebx
lea ecx, [ebx + 4]
push edi
call fcn.004bab80
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ebx, [ebp - 0xb8]
jmp 0x42c080
mov eax, dword [ebp - 0xac]
push eax
call esi
test eax, eax
je 0x42c08d
mov ecx, edi
push ebx
call fcn.004bab80
mov ecx, edi
push ebx
call fcn.004ba590
mov ecx, ebx
call fcn.004ba510
cmp byte [ebp - 0xa1], 0
mov eax, edi
jns 0x42c062
jmp 0x42c05c
lea ecx, [ebp - 0xac]
call fcn.004ba510
mov ebx, dword [ebp - 0xbc]
jmp 0x42c0c5
cmp dword [ebx + 0x20], 0
je 0x42c0c5
lea esi, [ebx + 0x20]
mov ecx, dword [0x5cbd70]
test ecx, ecx
jne 0x42c0bf
call fcn.00422a30
mov ecx, eax
mov dword [0x5cbd70], eax
push esi
call fcn.00423730
mov edi, dword [ebx + 0x20]
mov dword [ebx + 0x20], 0
test edi, edi
je 0x42c0e3
mov ecx, edi
call fcn.00424320
push edi
call fcn.004f50ae
add esp, 4
lea ecx, [ebx + 0x10]
call fcn.004ba510
add ebx, 4
mov ecx, ebx
call fcn.004ba510
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f5620
add esp, 0xb0
pop esi
pop edi
pop ebx
pop ebp
ret