joyce8/EMBER2024-capa huggingface dataset:
Function at 0x536dd6
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5c7b18
push 0x5c7b10
push 0x5c7b18
push 0x1e
call fcn.00537332
mov esi, eax
add esp, 0x10
test esi, esi
je 0x536e0a
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x536e10
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x536e54
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5c7b3c
push 0x5c7b34
push 0x5c7b3c
push 0x20
call fcn.00537332
mov esi, eax
add esp, 0x10
test esi, esi
je 0x536e8b
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x53b752
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x53b79d
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0053b8c8
test al, al
jne 0x53b797
sub edx, 2
cmp edx, edi
jne 0x53b77d
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x53b7bf
lea eax, [edi + 2]
cmp edx, eax
je 0x53b7bf
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0053b69e
add esp, 0x10
jmp 0x53b8b9
push esi
lea ecx, [ebp - 0x255]
call fcn.0053b8c8
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x53b802
push dword [ebp - 0x25c]
jmp 0x53b7af
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x53b83f
cmp word [ebp - 0x226], 0
je 0x53b860
cmp word [ebp - 0x226], ax
jne 0x53b83f
cmp word [ebp - 0x224], 0
je 0x53b860
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0053b69e
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x53b8ac
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x53b819
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x53b894
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x53b8b9
push 0x53b8f0
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00532b00
add esp, 0x10
jmp 0x53b889
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00512ee3
leave
ret
Function at 0x53cb68
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x53cc05
push ebx
push esi
call fcn.0053cc56
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0053cab1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x53cbb2
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x53cc04
push edi
push eax
call fcn.004d3270
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x53cbd2
call fcn.0050ef20
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x53cc03
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0053cab1
add esp, 0x20
test eax, eax
jne 0x53cbf1
push edi
call fcn.0050ef20
jmp 0x53cbf9
push ebx
call fcn.0050ef20
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x53cc08
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x53cc19
pop esi
ret
push ebx
push edi
push esi
call fcn.0053cc56
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004d3270
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x53cc41
push ebx
push esi
push edi
call fcn.00518c30
add esp, 0xc
push 0
call fcn.0050ef20
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x53cc98
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0053cf01

Function at 0x54127e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00541289
Function at 0x547520
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.0050e8c0
mov ecx, eax
push str.enable_logging
call fcn.004fd6b0
test al, al
je 0x5475e4
mov bl, 1
cmp dword [0x6bedf0], 0
jne 0x5475e6
mov esi, dword [0x6bedec]
test esi, esi
je 0x5476a8
cmp byte [esi + 0xb], 0
jns 0x547574
mov esi, dword [esi]
sub esp, 0x1c
movaps xmm0, xmmword [0x5de080]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x6bedf0], eax
inc eax
cmp eax, 1
ja 0x5475e6
lea esi, [ebp - 0x216]
push 0x206
push 0xff
push esi
call fcn.005191b0
add esp, 0xc
mov word [esi - 2], 0
lea esi, [ebp - 0x218]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x5475fd
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512ee3
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [0x6bedec]
push esi
call fcn.0041fe00
mov ecx, dword [0x6bedec]
movzx eax, byte [ecx + 0xb]
test al, al
js 0x547696
test eax, eax
je 0x547731
mov edx, ecx
cmp word [edx + eax*2 - 2], 0x5c
je 0x547639
push 0x5d8104
call fcn.0040d000
mov ecx, dword [0x6bedec]
push str.debug.log
call fcn.0040d000
mov eax, dword [0x6bedec]
cmp byte [eax + 0xb], 0
jns 0x547650
mov eax, dword [eax]
sub esp, 0x1c
movaps xmm0, xmmword [0x5de080]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x6bedf0], eax
inc eax
cmp eax, 1
ja 0x5475e6
mov dword [0x6bedf0], 0
jmp 0x5475e4
mov eax, dword [ecx + 4]
test eax, eax
je 0x547731
mov edx, dword [ecx]
jmp 0x547621
push 0xc
call fcn.00510d64
add esp, 4
mov esi, eax
lea edi, [ebp - 0x218]
push 0x208
push 0xff
push edi
call fcn.005191b0
add esp, 0xc
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
dec eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, esi
push edi
call fcn.005477d0
movzx eax, byte [esi + 0xb]
test al, al
jns 0x5476fb
mov eax, dword [esi + 4]
jmp 0x5476fe
and eax, 0x7f
mov ecx, esi
push eax
push 0x5c
call fcn.00562920
xor ecx, ecx
dec ecx
cmp eax, ecx
je 0x54771a
inc eax
mov ecx, esi
push 0xffffffffffffffff
push eax
call fcn.00561c50
mov ecx, esi
push str.debug.log
call fcn.0040d000
mov dword [0x6bedec], esi
jmp 0x54756c
push str.string::back__:_string_is_empty
push str._empty__
push 0xd86
push str....._buildtools_third_partylibc_trunkinclude_string
push str._s:_d:_assertion__s_failed:__s
call fcn.005495a0
int3
Function at 0x548220
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x218
mov esi, dword [ebp + 8]
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x214]
push 0x208
push 0xff
push edi
call fcn.005191b0
sub esp, 8
mov dword [esp + 0x10], edi
movaps xmm0, xmmword [0x5deb40]
movups xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x54829c
cmp word [ebp - 0x214], 0
je 0x54829c
push edi
call fcn.00510eb5
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.0040e620
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00512ee3
mov eax, esi
add esp, 0x218
pop esi
pop edi
pop ebp
ret
xor eax, eax
dec eax
lea edi, [ebp - 0x220]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
call fcn.004d1c20
push edi
call fcn.005482f0
add esp, 4
mov ecx, esi
test al, al
je 0x5482cb
push edi
call fcn.005674b0
jmp 0x5482d7
push 3
push 0x5debb0
call fcn.0040e620
cmp byte [ebp - 0x215], 0
jns 0x548286
push dword [ebp - 0x220]
call fcn.0050fc7c
add esp, 4
jmp 0x548286

Function at 0x5482f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x21a]
push 0x20a
push 0xff
push ebx
call fcn.005191b0
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
add esi, 0xfffffefc
cmp esi, 0xfffffefd
jb 0x548398
push ebx
call fcn.00510eb5
add esp, 4
lea edi, [ebp - 0x234]
mov ecx, edi
push eax
push ebx
call fcn.0040e620
lea eax, [ebp - 0x228]
mov ecx, edi
mov edi, dword [ebp + 8]
push eax
call fcn.0041b380
cmp byte [edi + 0xb], 0
js 0x5483c8
mov eax, dword [ebp - 0x220]
mov dword [edi + 8], eax
movsd xmm0, qword [ebp - 0x228]
movsd qword [edi], xmm0
mov byte [ebp - 0x21d], 0
mov word [ebp - 0x228], 0
cmp byte [ebp - 0x229], 0
js 0x5483b8
cmp esi, 0xfffffefd
setae bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512ee3
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [ebp - 0x234]
call fcn.0050fc7c
add esp, 4
jmp 0x548398
push dword [edi]
call fcn.0050fc7c
add esp, 4
jmp 0x54836a
Function at 0x54ef30
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x14
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [ebp - 8], eax
xor esi, esi
lea eax, [ebp - 0x10]
mov dword [eax], esi
mov word [eax + 4], 0x500
lea ecx, [ebp - 0x18]
mov dword [ecx], 0xffffffff
sub esp, 0x2c
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], esi
xorps xmm0, xmm0
movups xmmword [esp + 0x14], xmm0
movaps xmm0, xmmword [0x5d8070]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x54efac
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x54efa0
mov dword [ebp - 0x14], 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00512ee3
mov eax, esi
add esp, 0x14
pop esi
pop ebp
ret

Function at 0x54f270
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x1c]
mov dword [edi], str.Q360SafeMonClass
xor esi, esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
lea ebx, [ebp - 0x20]
mov dword [ebx], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebx
push esi
push edi
push 0x54f2f0
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x54f2ca
mov esi, eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512ee3
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x54f9c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x2b0
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [esp + 0x2a8], eax
xor esi, esi
lea edi, [esp + 0xa0]
push 0x208
push esi
push edi
call fcn.005191b0
add esp, 0xc
push 0x104
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x54fa1c
mov ecx, dword [esp + 0x2a8]
xor ecx, ebp
call fcn.00512ee3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
dec ebx
lea esi, [esp + 0x94]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov ecx, esi
push edi
call fcn.005477d0
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], ebx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
movzx eax, byte [esi + 0xb]
test al, al
jns 0x54fa6c
mov esi, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
jmp 0x54fa6f
and eax, 0x7f
lea edi, [esp + 0x60]
push eax
push esi
push edi
call fcn.005644f0
add esp, 0xc
mov ecx, edi
push 0x18
push str.notify_relaunch_4_update
call fcn.0041ff60
lea esi, [esp + 0x54]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov ecx, edi
push esi
call fcn.00410210
pxor xmm0, xmm0
movdqu xmmword [esp + 0x34], xmm0
movdqu xmmword [esp + 0x44], xmm0
movdqu xmmword [esp + 0x24], xmm0
movdqu xmmword [esp + 0x14], xmm0
mov dword [esp + 0x10], 0x44
mov dword [esp + 0x3c], 1
mov word [esp + 0x40], 5
pcmpeqd xmm1, xmm1
movdqa xmmword [esp], xmm1
cmp byte [esi + 0xb], 0
jns 0x54fae6
mov esi, dword [esp + 0x54]
sub esp, 0x28
lea eax, [esp + 0x28]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
movdqu xmmword [esp + 8], xmm0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x54fb2b
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 4]
call esi
push dword [esp]
call esi
cmp byte [esp + 0x5f], 0
jns 0x54fb3e
push dword [esp + 0x54]
call fcn.0050fc7c
add esp, 4
lea ecx, [esp + 0x60]
call fcn.005644d0
cmp byte [esp + 0x9f], 0
jns 0x54fa06
push dword [esp + 0x94]
call fcn.0050fc7c
add esp, 4
jmp 0x54fa06
Function at 0x5507f0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x23c
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, 0x208
lea edi, [ebp - 0x218]
push esi
push 0
push edi
call fcn.005191b0
add esp, 0xc
lea eax, [ebp - 0x21c]
mov dword [eax], 1
lea ecx, [ebp - 0x220]
mov dword [ecx], esi
push ecx
push edi
push eax
push str.Path
push 0x5d9c84
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x550866
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512ee3
mov eax, ebx
add esp, 0x23c
pop esi
pop edi
pop ebx
pop ebp
ret
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
test eax, eax
je 0x55084f
lea esi, [ebp - 0x238]
mov ecx, esi
push str.360Safe.exe
call fcn.005477d0
mov ecx, esi
push edi
push ebx
call fcn.005628f0
mov ecx, dword [eax + 8]
mov dword [ebp - 0x224], ecx
movsd xmm0, qword [eax]
movsd qword [ebp - 0x22c], xmm0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax], ebx
mov dword [ebp - 0x248], esi
cmp byte [esi + 0xb], 0
jns 0x5508c5
push dword [ebp - 0x238]
call fcn.0050fc7c
add esp, 4
lea esi, [ebp - 0x244]
mov ecx, esi
push str.360leakfixer.exe
call fcn.005477d0
xor ebx, ebx
mov ecx, esi
push edi
push ebx
call fcn.005628f0
mov ecx, dword [eax + 8]
mov dword [ebp - 0x230], ecx
movsd xmm0, qword [eax]
movsd qword [ebp - 0x238], xmm0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax], ebx
cmp byte [esi + 0xb], 0
jns 0x550913
push dword [ebp - 0x244]
call fcn.0050fc7c
add esp, 4
cmp byte [ebp - 0x221], 0
jns 0x550924
mov eax, dword [ebp - 0x22c]
jmp 0x55092a
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x55098f
cmp byte [ebp - 0x22d], 0
jns 0x55094a
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x248], eax
push dword [ebp - 0x248]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x55098f
cmp byte [ebp - 0x22d], 0
jns 0x550971
push dword [ebp - 0x238]
call fcn.0050fc7c
add esp, 4
cmp byte [ebp - 0x221], 0
jns 0x550988
push dword [ebp - 0x22c]
call fcn.0050fc7c
add esp, 4
mov bl, 1
jmp 0x55084f
cmp byte [ebp - 0x22d], 0
jns 0x5509a6
push dword [ebp - 0x238]
call fcn.0050fc7c
add esp, 4
cmp byte [ebp - 0x221], 0
jns 0x55084d
push dword [ebp - 0x22c]
call fcn.0050fc7c
add esp, 4
jmp 0x55084d
Function at 0x550db0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x14]
mov dword [ecx], 1
lea edx, [ebp - 0x18]
mov dword [edx], eax
push edx
push eax
push ecx
push str.app_tray_devicesid
push str.Software360
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x550e4f
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x550e4f
inc ebx
push ebx
call fcn.00510d94
add esp, 4
test eax, eax
je 0x550e4f
mov edi, eax
push ebx
push 0
push eax
call fcn.005191b0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push str.app_tray_devicesid
push str.Software360
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x550e46
mov ecx, esi
push edi
call fcn.0041fcc0
push edi
call fcn.0050fc7c
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512ee3
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x552c40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
call fcn.005487d0
mov ecx, edx
movq xmm4, qword [0x5f4180]
movd edx, xmm4
movq xmm0, qword [0x5f4190]
movq xmm3, qword [0x5f4198]
movq xmm1, qword [0x5f41a0]
movq xmm2, qword [0x5f41a8]
movq xmm5, qword [0x5f4180]
test dl, 1
jne 0x552d02
pshufd xmm4, xmm4, 0x55
movd esi, xmm4
movd edi, xmm5
pshufd xmm4, xmm5, 0x55
movd ebx, xmm4
xor ebx, esi
xor edx, edi
or edx, ebx
jne 0x552d02
movd edx, xmm3
pshufd xmm3, xmm3, 0x55
movd esi, xmm3
sub eax, edx
movd edx, xmm2
pshufd xmm2, xmm2, 0x55
sbb ecx, esi
movd esi, xmm2
cmp eax, edx
mov edx, ecx
sbb edx, esi
jae 0x552d02
movd esi, xmm1
pshufd xmm1, xmm1, 0x55
movd edi, xmm1
imul edi, eax
mul esi
add edi, edx
imul ecx, esi
add ecx, edi
movd esi, xmm0
pshufd xmm0, xmm0, 0x55
shrd eax, ecx, 0x1e
mov edx, ecx
shr edx, 0x1e
add eax, esi
movd ecx, xmm0
adc edx, ecx
pop esi
pop edi
pop ebx
pop ebp
ret
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00552d0b
Function at 0x558ee0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x4d13e0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov ebx, dword [ebp + 0x10]
mov dword fs:[0], eax
test byte [ebx + 4], 1
jne 0x558f4f
movzx eax, byte [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
mov edi, dword [eax + 0x18]
mov ecx, edi
call dword [section..00cfg]
movzx eax, word [ebp + 0x14]
mov ecx, esi
push dword [ebp - 0x20]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
jmp 0x55907c
mov eax, dword [ebx + 0x1c]
lea ecx, [ebp - 0x2c]
mov dword [ecx], eax
mov dword [ebp - 0x20], eax
lock inc dword [eax + 4]
mov dword [ebp - 0x10], 0
push 0x6be71c
call fcn.00506190
mov esi, eax
xor ebx, ebx
dec ebx
mov eax, ebx
mov ecx, dword [ebp - 0x20]
lock xadd dword [ecx + 4], eax
test eax, eax
mov cl, byte [ebp + 0x18]
jne 0x558fa4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov edi, dword [eax + 4]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, dword [ebp - 0x20]
call edi
mov cl, byte [ebp + 0x18]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov eax, dword [esi]
xor cl, 1
movzx ecx, cl
mov edi, dword [eax + ecx*4 + 0x14]
mov dword [ebp - 0x10], ebx
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
lea ebx, [ebp - 0x2c]
push ebx
call edi
mov cl, byte [ebp - 0x21]
test cl, cl
mov eax, dword [ebp - 0x2c]
mov esi, ebx
cmovs esi, eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], esi
mov edx, ebx
test cl, cl
cmovs edx, eax
js 0x559027
movzx esi, cl
lea edx, [edx + esi*2]
mov esi, dword [ebp - 0x20]
cmp esi, edx
je 0x55906c
test edi, edi
je 0x559036
movzx esi, word [esi]
mov eax, dword [edi + 0x18]
cmp eax, dword [edi + 0x1c]
je 0x55903a
lea ecx, [eax + 2]
mov dword [edi + 0x18], ecx
mov word [eax], si
xor edx, edx
cmp si, 0xffff
je 0x559017
mov edx, edi
mov cl, byte [ebp - 0x21]
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x20]
add esi, 2
mov edi, edx
jmp 0x558fdc
mov esi, dword [ebp - 0x28]
lea edx, [edx + esi*2]
mov esi, dword [ebp - 0x20]
cmp esi, edx
jne 0x558ff5
jmp 0x559086
xor edx, edx
jmp 0x559020
mov eax, dword [edi]
mov ebx, edi
mov edi, dword [eax + 0x30]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [ebp - 0x10], 1
movzx eax, si
mov dword [ebp - 0x30], ebx
mov ecx, ebx
push eax
call edi
mov esi, eax
lea ebx, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
jmp 0x55900d
mov esi, dword [ebp + 8]
mov dword [esi], edi
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov esi, dword [ebp + 8]
mov dword [esi], edi
push eax
call fcn.0050fc7c
add esp, 4
jmp 0x559071
Function at 0x559120
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov esi, esp
mov dword [esi + 0x78], ebp
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], ecx
lea ecx, [esi + 0x80]
mov dword [ecx - 4], esp
xor ebx, ebx
dec ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 4], 0x4d1170
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
xor eax, eax
lea ecx, [esi + 0x29]
mov dword [ecx + 3], eax
mov dword [ecx - 1], 0x25
mov eax, dword [ebp + 8]
mov edx, 0x5dad45
push dword [eax + 4]
push 1
call fcn.00560930
add esp, 8
mov dword [esi + 0xc], esp
lea edi, [esi + 0x30]
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
mov dword [edi], ebx
mov byte [edi + 0xc], 0xff
sub esp, 0x1c
mov ebx, esp
lea ecx, [ebx + 8]
call fcn.0050a6f0
mov dword [ebx], edi
mov dword [ebx + 4], 0xd
lea eax, [esi + 0x28]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x18], eax
call fcn.0040b2d0
add esp, 0x1c
mov esp, dword [esi + 0xc]
lea ebx, [esi + eax]
add ebx, 0x30
mov ecx, edi
mov edx, ebx
push dword [ebp + 8]
call fcn.00558e80
add esp, 4
mov dword [esi + 0x20], eax
pcmpeqd xmm0, xmm0
lea eax, [esi + 0x40]
movdqu xmmword [eax + 0x1e], xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
lea edx, [esi + 0x14]
xor ecx, ecx
dec ecx
mov dword [edx], ecx
lea edx, [esi + 0x10]
mov dword [edx], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1c]
lea edx, [esi + 0x24]
mov dword [edx], ecx
mov dword [esi + 0xc], ecx
lock inc dword [ecx + 4]
lea ecx, [esi + 0x80]
xor edx, edx
mov dword [ecx + 8], edx
mov ecx, edi
mov edx, dword [esi + 0x20]
lea edi, [esi + 0x24]
push edi
lea edi, [esi + 0x10]
push edi
lea edi, [esi + 0x14]
push edi
push eax
push ebx
call fcn.004cb120
add esp, 0x14
movzx edx, word [ebp + 0xc]
xor eax, eax
dec eax
mov ecx, dword [esi + 0xc]
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x559269
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0x88], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
movzx edx, word [ebp + 0xc]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x88], 0xffffffff
movzx edx, dx
push edx
push dword [ebp + 8]
push eax
push ecx
lea eax, [esi + 0x40]
push eax
push dword [esi + 0x18]
mov edi, dword [esi + 0x1c]
push edi
call fcn.0055a360
add esp, 0x1c
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret