joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49cdb0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4e5770
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x511ed0]
mov dword [esp + 8], 0x100
mov dword [esp + 4], eax
mov dword [esp + 0x18], 0
mov dword [esp], eax
lea eax, [esp + 0xc]
mov byte [esp + 0x18], 1
push eax
push 1
push 0
push str.SYSTEMCurrentControlSet_servicesIRNPF
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x49ce6e
push esi
push 0x104
call fcn.004d35be
mov edx, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0xc]
mov esi, eax
push ecx
push esi
push 0
push 0
push str.ImagePath
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x49ce64
push edi
push esi
lea ecx, [esp + 0xc]
call fcn.004d3a06
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0xc]
push edi
call fcn.004d3a06
push 0
push edi
lea ecx, [esp + 0x10]
call fcn.004d259a
test eax, eax
pop edi
jge 0x49ce64
call fcn.00499c50
push esi
call fcn.004d35e7
add esp, 4
pop esi
lea ecx, [esp]
mov byte [esp + 0x18], 0
call fcn.004d387d
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.004d387d
mov ecx, dword [esp + 0x10]
mov al, 1
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x49cea0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push ebx
push esi
push edi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [esp + 0x114]
mov ecx, 0x41
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ax, word [esp + 0xc]
mov ecx, edx
mov edi, str.iResearchCommon_npf.sys
mov word [ecx], ax
mov al, byte [esp + 0xe]
mov byte [ecx + 2], al
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
add esp, 0x104
ret
Function at 0x49e0a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e5998
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
xor ebx, ebx
push 0x50915c
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], ebx
call fcn.004d258c
mov esi, eax
cmp esi, 0xffffffff
jle 0x49e12b
push esi
lea eax, [esp + 0xc]
push ebx
push eax
lea ecx, [esp + 0x28]
call fcn.004d23e0
mov ecx, dword [esp + 0x20]
push eax
mov byte [esp + 0x18], 1
call fcn.004d39b6
lea ecx, [esp + 8]
mov byte [esp + 0x14], bl
call fcn.004d387d
inc esi
lea ecx, [esp + 0x20]
push esi
push ecx
lea ecx, [esp + 0x24]
call fcn.004d23bd
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 2
call fcn.004d39b6
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], bl
call fcn.004d387d
push 0x50915c
lea ecx, [esp + 0x20]
call fcn.004d258c
mov esi, eax
cmp esi, 0xffffffff
jle 0x49e198
push esi
lea edx, [esp + 0x24]
push ebx
push edx
lea ecx, [esp + 0x28]
call fcn.004d23e0
mov ecx, dword [esp + 0x24]
push eax
mov byte [esp + 0x18], 3
call fcn.004d39b6
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], bl
call fcn.004d387d
inc esi
lea eax, [esp + 0x20]
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.004d23bd
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 4
call fcn.004d39b6
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], bl
call fcn.004d387d
push 0x50915c
lea ecx, [esp + 0x20]
call fcn.004d258c
mov esi, eax
cmp esi, 0xffffffff
jle 0x49e205
push esi
lea ecx, [esp + 0x24]
push ebx
push ecx
lea ecx, [esp + 0x28]
call fcn.004d23e0
mov ecx, dword [esp + 0x28]
push eax
mov byte [esp + 0x18], 5
call fcn.004d39b6
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], bl
call fcn.004d387d
inc esi
lea edx, [esp + 0x20]
push esi
push edx
lea ecx, [esp + 0x24]
call fcn.004d23bd
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 6
call fcn.004d39b6
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], bl
call fcn.004d387d
push 0x50915c
lea ecx, [esp + 0x20]
call fcn.004d258c
mov esi, eax
cmp esi, 0xffffffff
jle 0x49e272
push esi
lea eax, [esp + 0x24]
push ebx
push eax
lea ecx, [esp + 0x28]
call fcn.004d23e0
mov ecx, dword [esp + 0x2c]
push eax
mov byte [esp + 0x18], 7
call fcn.004d39b6
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], bl
call fcn.004d387d
inc esi
lea ecx, [esp + 0x20]
push esi
push ecx
lea ecx, [esp + 0x24]
call fcn.004d23bd
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 8
call fcn.004d39b6
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], bl
call fcn.004d387d
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x1c]
push edx
call fcn.004d39b6
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.004d387d
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4a1610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e5df3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.004c0204
lea ecx, [esp + 0xc]
mov dword [esi + 0x34], eax
call fcn.004bf9b0
mov edi, dword [0x51a298]
lea ecx, [esp + 8]
call fcn.004bf9b0
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x4a165c
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 8]
call fcn.004bfa4c
lea ecx, [esp + 0xc]
call fcn.004bfa4c
lea eax, [esi + 4]
lea ecx, [esi + 0x14]
lea edx, [esi + 0x18]
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
lea eax, [esi + 8]
lea ecx, [esi + 0x24]
lea edx, [esi + 0x28]
xor edi, edi
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0x10], eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], edx
mov dword [eax], edi
mov eax, dword [esi + 0x20]
push edi
push edi
mov dword [eax], edi
mov ecx, dword [esi + 0x30]
push edi
mov dword [esp + 0x28], edi
mov dword [ecx], edi
mov ecx, esi
call fcn.00410db0
mov cl, byte [esp + 0x24]
xor eax, eax
test cl, 1
mov dword [esi], 0x4f13fc
jne 0x4a16ca
mov eax, 4
test cl, 2
jne 0x4a16d1
or al, 2
mov edx, dword [esi + 0xc]
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 0x20
mov dword [esi + 0x44], eax
mov dword [edx], edi
mov eax, dword [esi + 0x1c]
mov dword [eax], edi
mov ecx, dword [esi + 0x2c]
mov dword [ecx], edi
mov edx, dword [esi + 0x10]
mov dword [edx], edi
mov eax, dword [esi + 0x20]
mov dword [eax], edi
mov ecx, dword [esi + 0x30]
mov eax, esi
mov dword [ecx], edi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x4b14e6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4b1506
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004b2c7a
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4b1529
test byte [esp + 8], 2
je 0x4b1529
call fcn.004b2ced
mov dword [eax], 0xd
call fcn.004b2cf6
mov dword [eax], 5
jmp 0x4b1502
xor eax, eax
ret
Function at 0x4d1580
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004af200
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4d164b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4d164b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4d15fe
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4d1609
or bh, 8
and edi, 0x8000000
je 0x4d1624
mov eax, dword [0x51bc9c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4d164b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d1a20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4d1a4b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4d1a6f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4d1a8a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x4d525a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x4d527c
cmp dword [edi + 0x3c], 0
jne 0x4d527c
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004dc7e0
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.004d52a9
pop edi
pop esi
pop ebx
ret 8

Function at 0x4d55e9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4e6340
call fcn.004b19b8
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.004dc7e0
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x4d5628
call fcn.004dc7e0
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4d5636
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4d5644
or eax, 0xffffffff
jmp 0x4d572c
mov ecx, esi
call fcn.004d555f
mov dword [ebp - 0x14], eax
call fcn.004d641b
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x4d567b
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4d567b
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.004d63cf
push dword [ebp - 0x14]
call fcn.004d5f01
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.004d52f7
cmp eax, edi
je 0x4d56ee
test byte [esi + 0x24], 0x10
je 0x4d56bc
push 4
mov ecx, esi
pop ebx
call fcn.004d4e10
test ah, 1
je 0x4d56b4
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.004d7f58
cmp dword [esi + 0x1c], edi
je 0x4d56ee
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004d4ef6
jmp 0x4d56ee
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x4d5702
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4d571b
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4d571b
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.004d5599
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4d7e06
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4d7e48
call fcn.004dc7e0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4d7e48
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4d7e3f
xor eax, eax
jmp 0x4d7e50
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004d7e56
pop edi
pop esi
pop ebx
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x427d50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a000]
mov dword [edi + 0x1b0c0], 0x44c617a1
push edi
or ebp, 0xffffffff
jmp 0x427d7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x427d81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x427d70
mov eax, 1
add ebx, ebx
jne 0x427d93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x427d88
jne 0x427da4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427d88
xor ecx, ecx
sub eax, 3
jb 0x427db8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x427e2a
mov ebp, eax
add ebx, ebx
jne 0x427dc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x427dd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x427df4
inc ecx
add ebx, ebx
jne 0x427de0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x427dd5
jne 0x427df1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427dd5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x427e14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x427e05
jmp 0x427d76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x427e14
add edi, ecx
jmp 0x427d76
pop esi
mov edi, esi
mov ecx, 0xc42
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x427e32
cmp byte [edi], 6
jne 0x427e32
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 eax, ebx
loop 0x427e37
lea edi, [esi + 0x25000]
mov eax, dword [edi]
or eax, eax
je 0x427ea6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x27218]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x272a4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x427e64
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x272a8]
or eax, eax
je 0x427ea0
mov dword [ebx], eax
add ebx, 4
jmp 0x427e81
call dword [esi + 0x272ac]
popal
jmp 0x41a4b8
Function at 0x415c50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xfc
mov esi, ecx
mov eax, dword [0x5c1040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0
call fcn.004bb790
add esp, 4
test al, al
je 0x415cac
lea edi, [ebp - 0xb4]
mov ecx, edi
push 0
push 0x119
push str.....operadesktopwindows_assistantinstaller_assistant_installer.cc
call fcn.0044fd30
lea eax, [ebp - 0xac]
push 0x11
push str.Running_Assistant
push eax
call fcn.00499a00
add esp, 0xc
mov ecx, edi
call fcn.00450200
pxor xmm0, xmm0
movdqu xmmword [ebp - 0xc4], xmm0
movdqu xmmword [ebp - 0xd4], xmm0
movdqu xmmword [ebp - 0xe4], xmm0
movdqu xmmword [ebp - 0xf4], xmm0
mov dword [ebp - 0xf8], 0x44
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x108], xmm0
add esi, 4
lea edi, [ebp - 0xb4]
mov ecx, esi
push 0x15
push 0x59afdc
push edi
call fcn.004bd830
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x415d0c
mov eax, dword [ebp - 0xb4]
sub esp, 0x28
lea ecx, [ebp - 0x108]
mov dword [esp + 0x24], ecx
lea ecx, [ebp - 0xf8]
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.004bcaf0
test esi, esi
je 0x415d6d
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f1eb0
mov eax, ebx
add esp, 0xfc
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.004bb790
add esp, 4
test al, al
je 0x415d51
mov ecx, edi
push 2
push 0x124
push str.....operadesktopwindows_assistantinstaller_assistant_installer.cc
call fcn.0044fd30
lea eax, [ebp - 0xac]
push 0x1b
push str.CreateProcess_failed_w_err
push eax
call fcn.00499a00
add esp, 0xc
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
push eax
call fcn.00411b50
mov ecx, edi
call fcn.00450200
jmp 0x415d51
Function at 0x419520
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 [0x5c1040]
xor eax, ebp
mov dword [esp + 0x88], eax
mov dword [esp + 4], ecx
lea edi, [ecx + 4]
push edi
push 0x59c8c4
push 1
push 0
push 0x58b040
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4196d3
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 [0x5bb424]
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 0x419663
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
push 0xc
call fcn.004f190e
add esp, 4
mov edi, eax
mov dword [eax + 4], 0
mov dword [eax + 8], 1
push 0x59b470
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
je 0x4196d7
mov dword [esp + 8], eax
test edi, edi
je 0x4196d7
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 [0x5bb424]
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 0x41966f
lea ebx, [esp + 0x10]
jmp 0x419699
mov ebx, esi
mov dword [esp + 4], 0
jmp 0x41969d
mov eax, dword [edi]
test eax, eax
lea ebx, [esp + 0x10]
je 0x419680
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x419690
push eax
call fcn.004f197c
add esp, 4
push edi
call fcn.004f193e
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.004f1eb0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x4196bb
push 0x8007000e
call fcn.004f18f0
int3
Function at 0x41fc80
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x5c1040]
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.004f5920
add esp, 0xc
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov esi, eax
test eax, eax
je 0x41fcd2
mov ecx, dword [ebp + 8]
push edi
call fcn.0043af80
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f1eb0
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x41fcf0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, 2
pop ebp
jmp fcn.0041fd10