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

Disassembly:
push ebp
lea ebp, [esp - 0x3c0]
sub esp, 0x440
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0x3bc], eax
mov eax, dword [ebp + 0x3c8]
push esi
push edi
xor edi, edi
mov esi, 0x20019
push esi
push 0x1003c408
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x58], edi
call fcn.1002fb2e
test eax, eax
je 0x1001a4ee
lea ecx, [ebp - 0x70]
call fcn.1000135a
lea ecx, [ebp - 0x54]
call fcn.1000135a
lea ecx, [ebp - 0x7c]
call fcn.1000135a
lea ecx, [ebp - 0x64]
call fcn.1000135a
xor eax, eax
mov ecx, dword [ebp + 0x3bc]
pop edi
xor ecx, ebp
pop esi
call fcn.1001d742
add ebp, 0x3c0
leave
ret
push esi
push 0x1003c414
push dword [ebp - 0x64]
lea ecx, [ebp - 0x7c]
call fcn.1002fb2e
test eax, eax
jne 0x1001a4b5
push esi
push 0x1003c420
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x54]
call fcn.1002fb2e
test eax, eax
je 0x1001a53c
lea ecx, [ebp - 0x70]
call fcn.1000135a
lea ecx, [ebp - 0x54]
call fcn.1000135a
lea ecx, [ebp - 0x7c]
call fcn.1000135a
lea ecx, [ebp - 0x64]
call fcn.1000135a
mov eax, edi
jmp 0x1001a4d7
push ebx
mov esi, 0x400
push esi
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.1001d760
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
add esp, 0xc
push esi
lea eax, [ebp - 0x44]
push eax
push edi
jmp 0x1001a589
push dword [ebp - 0x80]
inc dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push eax
call fcn.1002fb2e
pop ecx
test eax, eax
pop ecx
lea eax, [ebp - 0x44]
je 0x1001a594
push esi
push edi
push eax
call fcn.1001d760
add esp, 0xc
push esi
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x54]
call ebx
test eax, eax
je 0x1001a55e
jmp 0x1001a5cb
push 0x20019
push eax
push dword [ebp - 0x54]
lea ecx, [ebp - 0x70]
call fcn.1002fb2e
test eax, eax
jne 0x1001a5cb
lea eax, [ebp - 0x48]
push eax
push str.UseNewJavaPlugin
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x48], edi
call fcn.1002fb2e
test eax, eax
jne 0x1001a5cb
cmp dword [ebp - 0x48], 1
sete al
mov dword [ebp - 0x58], eax
mov edi, dword [ebp - 0x58]
pop ebx
jmp 0x1001a518
Function at 0x1001abbe
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x10037adb
call fcn.1001df68
mov esi, dword [ebp + 0x214]
xor ebx, ebx
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x1a
push ebx
mov byte [esi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
cmp edi, ebx
jge 0x1001ac18
push edi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.1001d0df
pop ecx
pop ecx
push ebx
push edi
call fcn.1002fb2e
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10016f42
mov ecx, dword [eax]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x1001ac35
call fcn.10009396
jmp 0x1001ac37
xor eax, eax
push 0x104
push eax
push dword [ebp + 0x218]
push esi
call fcn.1002fb2e
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp ecx, ebx
je 0x1001ac82
call fcn.1000d3d6
jmp 0x1001ac82
xor eax, eax
cmp edi, ebx
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1001d742
add ebp, 0x20c
leave
ret

Function at 0x1001acac
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x10037b0b
call fcn.1001df68
mov esi, dword [ebp + 0x214]
xor ebx, ebx
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x23
push ebx
mov byte [esi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
cmp edi, ebx
jge 0x1001ad06
push edi
push str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.1001d0df
pop ecx
pop ecx
push ebx
push edi
call fcn.1002fb2e
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10016f42
mov ecx, dword [eax]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x1001ad23
call fcn.10009396
jmp 0x1001ad25
xor eax, eax
push 0x104
push eax
push dword [ebp + 0x218]
push esi
call fcn.1002fb2e
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp ecx, ebx
je 0x1001ad70
call fcn.1000d3d6
jmp 0x1001ad70
xor eax, eax
cmp edi, ebx
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1001d742
add ebp, 0x20c
leave
ret
Function at 0x1001b45f
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x10037b6b
call fcn.1001df68
mov esi, dword [ebp + 8]
xor eax, eax
xor edi, edi
xor ebx, ebx
mov word [esi], ax
mov dword [ebp - 4], edi
call fcn.1002fb2e
test eax, eax
je 0x1001b48a
call fcn.1001b450
mov ebx, eax
push 0x104
push esi
push ebx
push edi
push 0x10039bf0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
cmp esi, edi
jge 0x1001b4e5
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.1001d0df
pop ecx
pop ecx
push edi
push esi
call fcn.1002fb2e
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x14], esi
call fcn.1001b85a
push eax
push esi
push 0x1003bebc
call fcn.1001d0df
or dword [ebp - 4], 0xffffffff
add esp, 0xc
mov eax, 0x1001b4de
ret
cmp ebx, edi
je 0x1001b4f0
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x1001b5a1
push dword [ebp + 8]
mov dword [ebp - 4], 2
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x1001b54d
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x1001b4a9
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x1001b5a1
push 1
push 0x1a
push dword [ebp + 8]
mov dword [ebp - 4], 4
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x1001b5a1
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x1001b4a9
mov eax, esi
call fcn.1001dfd4
ret
Function at 0x1001bd69
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf98]
mov eax, 0x1018
call fcn.1001e5c0
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0xf94], eax
mov eax, dword [ebp + 0xfa4]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xfa0]
xor ebx, ebx
mov esi, 0x7ff
push esi
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x795]
push ebx
push eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x7c], 1
mov byte [ebp + 0x794], bl
call fcn.1001d760
push esi
lea eax, [ebp - 0x6b]
push ebx
push eax
mov byte [ebp - 0x6c], bl
call fcn.1001d760
push edi
call fcn.10021a46
add esp, 0x1c
cmp eax, ebx
je 0x1001bdf9
push eax
push dword [ebp + 0xfa8]
push dword [ebp - 0x78]
call fcn.1002fb2e
add esp, 0xc
neg eax
sbb eax, eax
inc eax
jmp 0x1001bf5b
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x70]
push eax
push 0x20019
push ebx
push dword [0x10047550]
push SysReAllocString
call edi
test eax, eax
je 0x1001be21
xor eax, eax
jmp 0x1001bf5b
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 0xfa8]
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x7c]
push eax
push ebx
push dword [ebp - 0x80]
push dword [ebp - 0x70]
call esi
test eax, eax
je 0x1001be52
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1001bf5b
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x794]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push 0x1003cad8
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x800
call esi
test eax, eax
je 0x1001be7c
xor ebx, ebx
inc ebx
jmp 0x1001be42
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x70]
push eax
push 0x20019
push ebx
push str.SOFTWAREOracleJavaDeploy
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x1001be77
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push str.deployment.modified.timestamp
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x800
call esi
test eax, eax
jne 0x1001be77
lea eax, [ebp + 0x794]
push eax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x74], 0x800
call fcn.1002fb2e
pop ecx
pop ecx
test eax, eax
js 0x1001bf58
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x7c]
push eax
push ebx
push dword [ebp - 0x80]
push dword [ebp - 0x70]
call esi
test eax, eax
jne 0x1001be77
push dword [ebp - 0x70]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
call fcn.1002fb2e
test eax, eax
jne 0x1001bf58
lea eax, [ebp - 0x70]
push eax
push 0x20006
push ebx
push dword [0x10047550]
push SysReAllocString
call edi
test eax, eax
jne 0x1001be1a
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push 1
push ebx
push dword [ebp - 0x80]
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1001be42
push dword [ebp - 0x70]
call esi
push dword [ebp - 0x78]
push dword [ebp - 0x80]
call fcn.1002fb2e
pop ecx
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp + 0xf94]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001d742
add ebp, 0xf98
leave
ret
Function at 0x1001d471
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x10048aac], 0
push esi
push edi
jne 0x1001d3e7
call fcn.1001d353
test eax, eax
je 0x1001d42c
mov eax, dword [0x10048aac]
cmp eax, 1
jne 0x1001d408
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x1001d42c
jmp 0x1001d46e
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x1001d46e
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1001d430
xor eax, eax
jmp 0x1001d46e
mov eax, dword [esi]
push dword [0x10048aac]
call edi
mov edi, eax
test edi, edi
je 0x1001d452
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x1001d46e
lea edi, [esi + 0xff0]
push esi
push dword [0x10048aac]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x1001d458
mov eax, esi
pop edi
pop esi
ret
jmp 0x1001d3d3

Function at 0x1001d742
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10047578]
jne 0x1001d74c
repz ret
jmp fcn.10023329

Function at 0x1002fb2e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1002fb3d
pop dword [ebp - 0x24]
mov eax, 0xaac48c31
add eax, 0x653e6f0c
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x43503
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0xc17792dc
sub ecx, 0xc1773fbc
xor edi, edi
add edi, eax
mov ebx, 0xb63637a3
sub ebx, 0xa62ebda3
add ebx, dword [ebp - 0x24]
mov edx, 0xcfa441be
add edx, 0xe8df085c
sub dword [ebp - 0x1c], edi
mov esi, dword [ebx]
add dword [ebp - 0x20], eax
xor esi, edx
add dword [ebp - 8], 0x98bba4cf
mov dword [edi], esi
sub dword [ebp - 0x1c], 0x1f0e9c81
add edi, 0x9251f530
add edi, 0x6dae0ad4
add ebx, 4
loop 0x1002fb99
add eax, 0x13f53
mov ebx, eax
add eax, 0x10292437
sub eax, 0x10292432
mov ecx, 0x58517022
add ecx, 0xb7ae8fde
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x414cb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x414cd2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414cd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414cc8
mov eax, 1
add ebx, ebx
jne 0x414ceb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414ce0
jne 0x414cfc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414ce0
xor ecx, ecx
sub eax, 3
jb 0x414d10
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414d82
mov ebp, eax
add ebx, ebx
jne 0x414d1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414d28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414d4c
inc ecx
add ebx, ebx
jne 0x414d38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414d2d
jne 0x414d49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414d2d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414d6c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414d5d
jmp 0x414cce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414d6c
add edi, ecx
jmp 0x414cce
pop esi
mov edi, esi
mov ecx, 0x455
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414d8a
cmp byte [edi], 0
jne 0x414d8a
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 0x414d8f
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x414dfe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x151e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x15270]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414dbc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15278]
or eax, eax
je 0x414df8
mov dword [ebx], eax
add ebx, 4
jmp 0x414dd9
call dword [esi + 0x15274]
mov ebp, dword [esi + 0x1527c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x414e32
sub esp, 0xffffff80
jmp 0x409b60

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 0x45b7b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4b000]
push edi
or ebp, 0xffffffff
jmp 0x45b7d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45b7d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45b7c8
mov eax, 1
add ebx, ebx
jne 0x45b7eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45b7fc
jne 0x45b81b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45b81b
dec eax
add ebx, ebx
jne 0x45b808
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x45b7e0
add ebx, ebx
jne 0x45b817
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x45b86d
xor ecx, ecx
sub eax, 3
jb 0x45b833
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45b8a2
sar eax, 1
mov ebp, eax
jmp 0x45b83e
add ebx, ebx
jne 0x45b83e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45b80c
inc ecx
add ebx, ebx
jne 0x45b84c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45b80c
add ebx, ebx
jne 0x45b859
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45b84e
jne 0x45b86a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45b84e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45b88c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45b87e
jmp 0x45b7ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45b88c
add edi, ecx
jmp 0x45b7ce
pop esi
mov edi, esi
mov ecx, 0xfda
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45b8aa
cmp byte [edi], 0xd
jne 0x45b8aa
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 0x45b8af
lea edi, [esi + 0x59000]
mov eax, dword [edi]
or eax, eax
je 0x45b91e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8716c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x87230]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45b8dc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x87238]
or eax, eax
je 0x45b918
mov dword [ebx], eax
add ebx, 4
jmp 0x45b8f9
call dword [esi + 0x87234]
mov ebp, dword [esi + 0x8723c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x45b952
sub esp, 0xffffff80
jmp 0x423738
Function at 0x49eea9
Capabilities:
Query environment variable

Disassembly:
jmp 0x5bf6d7
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x5bf6eb
xor edi, edi
jmp 0x5bf72f
push ebx
push esi
call fcn.005bf5d0
push 0x40
mov ebx, eax
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
sub ebx, esi
and ebx, 0xfffffffe
push 2
push ebx
call fcn.004a11b3
mov edi, eax
add esp, 0x14
test edi, edi
je 0x5bf71c
push ebx
push esi
push edi
call fcn.004a145b
add esp, 0xc
push 2
push 0
call fcn.004a0a47
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret

Function at 0x4a0bf5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x5da280
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x62ded0], 1
jge 0x5da2ef
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x5da2c5
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x5da2c5
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x5da2a2
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x5da2db
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x5da2e2
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x5da3df
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movaps xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x5da3b0
mov eax, dword [ebx + 8]
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x5da3a5
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x5da399
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x5da3a0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x5da3df
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x5da3da
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x5da3c3
mov eax, dword [ebx + 8]
jmp 0x5da3df
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x5da3d1
xor eax, eax
jmp 0x5da3df
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x5da30f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x402130
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push ebx
push esi
push edi
call fcn.004085a0
push eax
push str._Consent
push str.ROCred.Privacy
push str.Ai4rei.E.Skal
call fcn.00414640
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
test edi, edi
mov dword [esp + 0xc], eax
jne 0x402170
push eax
call fcn.00414660
test al, al
jne 0x4021ec
mov eax, dword [esp + 0xc]
push eax
mov esi, 1
call fcn.00414660
test al, al
je 0x4021a5
mov eax, dword [esp + 0xc]
push eax
call fcn.00414670
test al, al
je 0x402192
mov esi, 3
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00414680
test al, al
je 0x4021aa
or esi, 4
jmp 0x4021aa
mov esi, 7
lea edx, [esp + 0xc]
push edx
push str.http:__ai4rei.net_about_telemetry_
push esi
push ebx
push 0xfffffffffffffffa
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
call fcn.004145e0
test al, al
je 0x402241
mov eax, dword [esp + 0xc]
push eax
call fcn.004085a0
push eax
push str._Consent
push str.ROCred.Privacy
push str.Ai4rei.E.Skal
call fcn.00414610
test edi, edi
jne 0x402241
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00414660
test al, al
je 0x402241
mov edx, dword [esp + 0xc]
push edx
call fcn.00414670
test al, al
jne 0x402216
mov eax, dword [esp + 0xc]
push eax
call fcn.00414680
test al, al
je 0x402241
lea ecx, [esp + 0x18]
push ecx
push 4
push ebx
push 0x402250
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x402241
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
pop ecx
ret 8
Function at 0x404f20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x38
push ebx
push esi
push str.MediaBackground
call fcn.00408540
mov cl, byte [eax]
xor ebx, ebx
cmp cl, bl
je 0x405041
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x405041
mov esi, dword [esp + 0x44]
push edi
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], ebx
push 0xfffffffffffffffa
push esi
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0x7f00
push ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], 0x405b10
mov dword [esp + 0x48], str.BackgroundMediaClass
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x2c], 4
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
pop edi
je 0x405041
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov al, byte [0x44475c]
test al, 1
jne 0x405006
mov dl, al
push 0x405ba0
or dl, 1
mov dword [0x444764], ebx
mov byte [0x44475c], dl
mov byte [0x444768], bl
mov byte [0x444769], bl
mov dword [0x44476c], ebx
mov byte [0x444770], bl
mov byte [0x444771], bl
mov dword [0x444760], 0x437c78
call fcn.0042cec8
add esp, 4
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
push 0x444760
push edx
mov edx, dword [esp + 0x18]
push 0x6b
sub ecx, eax
push esi
push ecx
mov ecx, dword [esp + 0x1c]
sub edx, ecx
push edx
push eax
push ecx
push 0x54000000
push 0x437500
push str.BackgroundMediaClass
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
pop esi
mov al, 1
pop ebx
add esp, 0x38
ret