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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x48376c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x214], 1
mov dword [ebp - 0x218], 0x104
push 0x208
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.0043af80
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x214]
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360wpapp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42ec2e
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406330
mov edx, dword [ebp - 0x21c]
or edx, 1
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp + 8]
jmp 0x42ec4d
push 0x47284c
mov ecx, dword [ebp + 8]
call fcn.00406330
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ae90
mov esp, ebp
pop ebp
ret 4

Function at 0x42f020
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42f051
push str._bridge__lds_bridge_pop_bizhi_switch_close.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
push 0
push 0x10
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.00434f70
mov ecx, dword [ebp - 8]
call fcn.0042dfd0
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x431b70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
call fcn.004336d0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0x40]
call edx
cmp dword [ebp - 4], 1
jne 0x431cf0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x80], 0
je 0x431cf0
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.00435020
mov ecx, dword [ebp - 0xc]
call fcn.0042fd10
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0xf4]
call ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x431c08
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 0x84]
call edx
test eax, eax
je 0x431cf0
mov dword [ebp - 4], 2
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
neg eax
sbb eax, eax
neg eax
je 0x431c58
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x70], 0
jne 0x431c58
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x70], 1
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x74], 0
push 1
push 0
push 0x3401
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.00434f70
jmp 0x431c7e
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x70], 0
je 0x431c7e
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x74], 0
jne 0x431c7e
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x70], 0
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x74], 1
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
and edx, 0x8000
neg edx
sbb edx, edx
neg edx
je 0x431cca
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x78], 0
jne 0x431cca
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x78], 1
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x74], 0
push 1
push 1
push 0x3401
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.00434f70
jmp 0x431cf0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x78], 0
je 0x431cf0
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x74], 0
jne 0x431cf0
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x78], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x74], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x435680
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x48376c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x43573a
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x43573a
cmp dword [ebp + 0xc], 0
je 0x4356c8
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
jne 0x43571c
xor ecx, ecx
mov word [ebp - 0x418], cx
push 0x40e
push 0
lea edx, [ebp - 0x416]
push edx
call fcn.0043af80
add esp, 0xc
push 0
push 0
push 0x104
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
jl 0x43571a
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
jmp 0x43573a
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
jl 0x43573a
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0043ae90
mov esp, ebp
pop ebp
ret 8

Function at 0x4357f0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x435823
mov ecx, dword [ebp - 4]
and ecx, 2
jne 0x43581c
mov edx, dword [ebp - 4]
and edx, 1
jne 0x43581c
mov eax, dword [ebp - 4]
and eax, 4
je 0x435823
mov eax, 1
jmp 0x435831
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x435e60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00435e40
test eax, eax
je 0x435e77
xor eax, eax
jmp 0x435eb5
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
jne 0x435e84
xor eax, eax
jmp 0x435eb5
mov ecx, dword [ebp - 4]
add ecx, 8
push ecx
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
push edx
push 0
push 0
call fcn.0043db77
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
call fcn.00435e40
mov esp, ebp
pop ebp
ret
Function at 0x4367d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x43688d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x436803
xor eax, eax
jmp 0x4368bb
push str.HttpInit
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
push str.HttpUninit
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
push str.zlib_uncompress
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
push str.zlib_compress
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
push str.zlib_compressBound
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
je 0x43688d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
call ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x4368b1
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0
je 0x4368b1
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
je 0x4368b1
mov dword [ebp - 8], 1
jmp 0x4368b8
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x43a723
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x486678], 0
push esi
jne 0x43a691
call fcn.0043a5a5
test eax, eax
je 0x43a6d4
mov eax, dword [0x486678]
cmp eax, 1
jne 0x43a6b2
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x43a6d4
pop esi
ret
push eax
call dword [0x486680]
test eax, eax
jne 0x43a71c
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 0x43a6d8
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x486678]
call dword [0x486680]
mov edi, eax
test edi, edi
je 0x43a6fd
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x43a719
mov edi, esi
add esi, 0xff0
push edi
push dword [0x486678]
call dword [0x48667c]
add edi, 0x10
cmp edi, esi
jb 0x43a705
mov eax, edi
pop edi
pop esi
ret
jmp 0x43a67e

Function at 0x43ae90
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48376c]
jne 0x43ae9a
repz ret
jmp fcn.0044141c
Function at 0x458e65
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00440d54
and dword [ebp - 4], 0
cmp dword [0x4871bc], 0
mov ebx, eax
jne 0x458f16
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x458fc7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x458fc7
push eax
call fcn.00440ce2
mov dword [esp], 0x478dc0
push edi
mov dword [0x4871bc], eax
call esi
push eax
call fcn.00440ce2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4871c0], eax
call esi
push eax
call fcn.00440ce2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4871c4], eax
call esi
push eax
call fcn.00440ce2
pop ecx
mov dword [0x4871cc], eax
test eax, eax
je 0x458f16
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00440ce2
pop ecx
mov dword [0x4871c8], eax
mov eax, dword [0x4871c8]
cmp eax, ebx
je 0x458f6e
cmp dword [0x4871cc], ebx
je 0x458f6e
push eax
call fcn.00440d5d
push dword [0x4871cc]
mov esi, eax
call fcn.00440d5d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x458f6e
test edi, edi
je 0x458f6e
call esi
test eax, eax
je 0x458f65
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x458f65
test byte [ebp - 0xc], 1
jne 0x458f6e
or dword [ebp + 0x10], 0x200000
jmp 0x458fa7
mov eax, dword [0x4871c0]
cmp eax, ebx
je 0x458fa7
push eax
call fcn.00440d5d
pop ecx
test eax, eax
je 0x458fa7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x458fa7
mov eax, dword [0x4871c4]
cmp eax, ebx
je 0x458fa7
push eax
call fcn.00440d5d
pop ecx
test eax, eax
je 0x458fa7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4871bc]
call fcn.00440d5d
pop ecx
test eax, eax
je 0x458fc7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x458fc9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46bc40
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.0043b790
mov eax, dword [0x48376c]
xor eax, esp
mov dword [esp + 0x2c10], eax
mov eax, dword [esp + 0x2c18]
push edi
xor edi, edi
mov dword [esp + 0xc], eax
cmp eax, edi
je 0x46bdab
cmp dword [esp + 0x2c20], edi
je 0x46bdab
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov dword [esp + 0x10], edi
xor ebx, ebx
lea ebx, [ebx]
push ebx
push str..PhysicalDrive_d
lea eax, [esp + 0x30]
push 0x100
push eax
call fcn.0046b5b0
add esp, 0x10
push edi
push edi
push 3
push edi
push 3
push edi
lea ecx, [esp + 0x40]
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x46bd84
xor eax, eax
push 0x2710
lea edx, [esp + 0x514]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.0043af80
add esp, 0xc
push edi
lea eax, [esp + 0x18]
push eax
push 0x2710
lea ecx, [esp + 0x51c]
push ecx
push 0xc
lea edx, [esp + 0x30]
push edx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x46bd77
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.0043af80
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.0046d810
mov edx, dword [esp + 0x2c48]
mov eax, dword [esp + 0x34]
add esp, 0x1c
lea ecx, [esp + 0x128]
push ecx
push edx
push eax
call fcn.0046b370
test eax, eax
jne 0x46bd77
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x46bd8e
inc ebx
cmp ebx, 0x10
jl 0x46bc90
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.0043ae90
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0043ae90
add esp, 0x2c14
ret
Function at 0x46c090
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x48376c]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x46c291
cmp dword [esp + 0x2f8], 0
je 0x46c291
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0043af80
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x47a058
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46c258
mov ecx, dword [esp + 4]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x100]
push eax
push ebx
mov esi, 0x104
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x46c24b
lea ebx, [ebx]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push 0
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46c219
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x46c20e
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.0043af80
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.0046bf80
add esp, 0x14
test eax, eax
je 0x46c20e
cmp byte [esp + 0x24], 0
je 0x46c1d2
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x46c20e
lea eax, [esp + 0x24]
lea esi, [esp + 0x88]
mov ecx, eax
mov edx, 0x64
sub esi, ecx
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x46c201
mov cl, byte [esi + eax]
test cl, cl
je 0x46c201
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x46c1e6
jmp 0x46c205
test edx, edx
jne 0x46c206
dec eax
mov byte [eax], 0
mov esi, 0x104
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x100]
push ecx
inc ebx
push ebx
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x46c130
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
cmp byte [esp + 0x1c], 0
je 0x46c291
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.0046b370
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.0043ae90
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0043ae90
add esp, 0x2ec
ret
Function at 0x46c500
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x48376c]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x46c67d
cmp ebp, 0x20
jb 0x46c67d
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.0043af80
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x47a0c8
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x46c67d
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46c590
sub eax, edx
cmp eax, 0x40
jne 0x46c67d
push ebx
lea edx, [eax + 0x40]
push esi
lea eax, [esp + 0x14]
lea esi, [esp + 0x114]
mov ecx, eax
sub esi, ecx
lea ecx, [edx - 0x60]
test ecx, ecx
je 0x46c5ce
mov cl, byte [esi + eax]
test cl, cl
je 0x46c5ce
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x46c5b6
jmp 0x46c5d2
test edx, edx
jne 0x46c5d3
dec eax
mov byte [eax], 0
lea eax, [esp + 0x94]
lea edx, [esp + 0x134]
mov ecx, eax
mov esi, 0x80
sub edx, ecx
lea ecx, [ecx]
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x46c60b
mov cl, byte [edx + eax]
test cl, cl
je 0x46c60b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x46c5f0
jmp 0x46c60f
test esi, esi
jne 0x46c610
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.0043af80
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.0046b6b0
add esp, 0x10
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
pop esi
pop ebx
test eax, eax
jne 0x46c67d
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.0046b370
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.0043ae90
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0043ae90
add esp, 0x50c
ret

Function at 0x46c6a0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x188
mov eax, dword [0x48376c]
xor eax, esp
mov dword [esp + 0x184], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0xc]
push 0
push eax
mov esi, ecx
call fcn.0043af80
push 0x80
lea ebx, [esp + 0x18]
mov ecx, esi
call fcn.0046b6b0
lea eax, [esp + 0x98]
mov ecx, eax
add esp, 0x10
mov edx, 0x104
sub esi, ecx
lea esp, [esp]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x46c70b
mov cl, byte [esi + eax]
test cl, cl
je 0x46c70b
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x46c6f0
jmp 0x46c70f
test edx, edx
jne 0x46c710
dec eax
lea edx, [esp + 8]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x90]
push eax
call fcn.0046b4c0
lea eax, [esp + 0x88]
pop esi
lea edx, [eax + 1]
pop ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46c736
sub eax, edx
push eax
lea ecx, [esp + 0x84]
push ecx
push 1
push 0x47a0c8
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.0043ae90
add esp, 0x188
ret
Function at 0x409a10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x409a1f
pop dword [ebp - 0x3c]
mov eax, 0x9fb9074f
sub eax, 0x9f786d30
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x3a9b9e1c
sub dword [ebp - 0x4c], 0xec4958d1
mov dword [ebp - 0x48], 0xe0700cb6
add dword [ebp - 0x48], 0x51c33f8f
mov dword [ebp - 0x44], 0xd09c5085
sub dword [ebp - 0x44], 0x84500c57
mov dword [ebp - 0x40], 0x3125c294
sub dword [ebp - 0x40], 0x3125c294
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xa43d449e
sub dword [ebp - 0x4c], 0x2fcadb48
mov dword [ebp - 0x48], 0xfcad0c8f
add dword [ebp - 0x48], 0x44bf54e6
mov dword [ebp - 0x44], 0x9f7bc3d8
sub dword [ebp - 0x44], 0x3c0c576c
mov dword [ebp - 0x40], 0x5a4ced7
add dword [ebp - 0x40], 0xfa5b3129
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xe7eb06b7
sub eax, 0xe7a9d67b
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3f1f2
push 0
call eax
mov ecx, 0x58fa
xor edx, edx
add edx, eax
mov ebx, 0x41b000
add ebx, dword [ebp - 0x3c]
mov esi, 0x8f10c51
sub esi, 0x14d9766
sub dword [ebp - 4], esi
mov edi, dword [ebx]
xor dword [ebp - 0x18], 0x6b8e755c
add edi, esi
xor dword [ebp - 0x18], 0x66c393e
mov dword [edx], edi
add edx, 4
add ebx, 0xa08c208
sub ebx, 0xa08c204
loop 0x409b32
add eax, 0x156bb
mov ebx, eax
add eax, 0xa61a00e0
add eax, 0x59e5ff25
mov ecx, 0x4b788d09
add ecx, 0xb4c772f7
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x410100
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call main
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x41011c
mov dword [eax], ecx
jmp 0x41011e
mov eax, ecx
push ecx
push ecx
push esi
push 0x410190
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret
Function at 0x1000113d
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, eax
xor ebx, ebx
push ebx
push dword [edi + 0x12]
push dword [edi + 0xe]
push dword [edi + 0xa]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x10001188
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push dword [edi + 0xa]
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp + 8]
or dword [edi + 0xa], 0xffffffff
push 2
mov dword [edi + 0x12], ebx
call fcn.10001040
pop ecx
xor ecx, ecx
test eax, eax
setns cl
lea eax, [ecx - 1]
jmp 0x100011dd
sub dword [edi + 0x12], eax
mov ecx, dword [edi + 0x12]
push esi
mov esi, dword [edi + 0xe]
lea edx, [esi + eax]
mov eax, esi
call fcn.10011172
mov al, byte [edi + 0x20]
test al, 0x20
je 0x100011c5
mov ecx, dword [edi + 0x16]
shr ecx, 2
cmp dword [edi + 0x12], ecx
ja 0x100011c5
mov esi, dword [ebp + 8]
push ebx
push ebx
push dword [edi + 6]
and al, 0xdf
push 7
mov byte [edi + 0x20], al
call fcn.10001286
add esp, 0x10
test byte [edi + 0x20], 4
pop esi
je 0x100011db
cmp dword [edi + 0x12], ebx
jne 0x100011db
mov eax, dword [ebp + 8]
push ebx
call fcn.10001040
pop ecx
xor eax, eax
pop edi
pop ebx
pop ebp
ret

Function at 0x100011e1
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, eax
mov eax, dword [0x1002bbcc]
xor ebx, ebx
mov dword [ebp - 4], eax
cmp dword [edi + 6], ebx
jne 0x100011fd
or eax, 0xffffffff
jmp 0x10001262
push esi
cmp dword [ebp + 8], ebx
je 0x1000124a
push ebx
push 0x1000
lea esi, [edi + 0x2b]
push esi
push dword [edi + 0xa]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, ebx
je 0x1000126a
cmp eax, 0xffffffff
jne 0x10001266
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x10001233
cmp eax, 0x2733
jne 0x1000126a
xor eax, eax
add dword [edi + 0x21], eax
push eax
push esi
push dword [edi + 6]
mov esi, dword [ebp - 4]
push 4
call fcn.10001286
add esp, 0x10
cmp dword [ebp + 0xc], ebx
je 0x1000125f
cmp dword [edi + 0x12], ebx
jbe 0x1000125f
push dword [ebp - 4]
mov eax, edi
call fcn.1000113d
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret
cmp eax, ebx
jge 0x10001235
push dword [edi + 0xa]
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 4]
or dword [edi + 0xa], 0xffffffff
push 2
mov dword [edi + 0x12], ebx
call fcn.10001040
jmp 0x1000125e