joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d5f40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x100
jne 0x4d5fbe
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx + 0x190]
jne 0x4d5fbe
mov edx, dword [ebp - 4]
cmp dword [edx + 0x18c], 0
jne 0x4d5f7b
mov ecx, dword [ebp - 4]
sub ecx, 0x4c
call fcn.004d8aa0
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0x56
jne 0x4d5fbe
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
and edx, 0x80
je 0x4d5fbe
push 0
push 0
push 1
mov ecx, dword [ebp - 4]
add ecx, 0x190
call fcn.004db9e0
mov eax, 1
jmp 0x4d5fe0
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x201
jne 0x4d5fde
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
cmp eax, dword [edx + 0x190]
jne 0x4d5fde
xor eax, eax
jmp 0x4d5fe0
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x4d7ed0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], 0
jne 0x4d7f1a
mov ecx, dword [ebp - 8]
call fcn.004d9a90
push 5
push 0x499
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.0042f670
mov ecx, eax
call fcn.004635a0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 8]
add ecx, 0x58
call fcn.00425be0
jmp 0x4d7f2d
cmp dword [ebp + 8], 1
jne 0x4d7f2d
push 5
mov ecx, dword [ebp - 8]
add ecx, 0x58
call fcn.00425be0
mov esp, ebp
pop ebp
ret 4

Function at 0x4d9ef0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.0042f670
mov ecx, eax
call fcn.004635a0
mov dword [ebp - 4], eax
push 0x64
push 0x64
mov ecx, dword [ebp + 0xc]
call fcn.00403560
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.00402a70
mov eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x4de580
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x5973cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.00506190
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x4de600
cmp dword [ebp - 0x11c], 5
jae 0x4de5f4
cmp dword [ebp - 0x11c], 4
jne 0x4de600
cmp dword [ebp - 0x118], 0x5a
jb 0x4de600
mov dword [ebp - 0x128], 0
jmp 0x4de60a
mov dword [ebp - 0x128], 1
mov al, byte [ebp - 0x128]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005060ef
mov esp, ebp
pop ebp
ret

Function at 0x4e4a70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x4e5490
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5973cc]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], 0
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.00506190
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0x206
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 4]
push eax
push 0x566fe4
push str.SOFTWARE360SafeLiveUp
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004073f0
mov edx, dword [ebp - 0x21c]
or edx, 1
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.005060ef
mov esp, ebp
pop ebp
ret 4

Function at 0x4e7c10
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5511d0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5973cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0
push 1
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
lea ecx, [ebp - 0x10]
call fcn.00402980
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x4e7cbc
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004124b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x2c]
call fcn.00412560
push eax
push 1
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
push 0
lea ecx, [ebp - 0x2c]
call fcn.00412560
push eax
lea ecx, [ebp - 0x10]
call fcn.00411ea0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00412520
push 0x571ce9
push 0x5739e8
lea ecx, [ebp - 0x10]
call fcn.004e7d80
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407ee0
mov edx, dword [ebp - 0x30]
or edx, 1
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00417530
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4e7d10
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004e80e0
cmp dword [ebp + 8], 0
je 0x4e7d74
mov dword [ebp - 4], 0
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
cmp dword [ebp - 4], 0
je 0x4e7d74
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004e8020
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.004e6f70
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov esp, ebp
pop ebp
ret
Function at 0x4ec4a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret

Function at 0x4ed0f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret

Function at 0x4f3490
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0xc3d2e1f0
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
pop ebp
ret

Function at 0x5060ef
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5973cc]
jne 0x5060f9
repz ret
jmp fcn.00511a9c
Function at 0x522805
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.005113e3
and dword [ebp - 4], 0
cmp dword [0x59cc8c], 0
mov ebx, eax
jne 0x5228b6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x522967
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x522967
push eax
call fcn.00511371
mov dword [esp], 0x56ddf0
push edi
mov dword [0x59cc8c], eax
call esi
push eax
call fcn.00511371
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x59cc90], eax
call esi
push eax
call fcn.00511371
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x59cc94], eax
call esi
push eax
call fcn.00511371
pop ecx
mov dword [0x59cc9c], eax
test eax, eax
je 0x5228b6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00511371
pop ecx
mov dword [0x59cc98], eax
mov eax, dword [0x59cc98]
cmp eax, ebx
je 0x52290e
cmp dword [0x59cc9c], ebx
je 0x52290e
push eax
call fcn.005113ec
push dword [0x59cc9c]
mov esi, eax
call fcn.005113ec
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x52290e
test edi, edi
je 0x52290e
call esi
test eax, eax
je 0x522905
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x522905
test byte [ebp - 0xc], 1
jne 0x52290e
or dword [ebp + 0x10], 0x200000
jmp 0x522947
mov eax, dword [0x59cc90]
cmp eax, ebx
je 0x522947
push eax
call fcn.005113ec
pop ecx
test eax, eax
je 0x522947
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x522947
mov eax, dword [0x59cc94]
cmp eax, ebx
je 0x522947
push eax
call fcn.005113ec
pop ecx
test eax, eax
je 0x522947
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x59cc8c]
call fcn.005113ec
pop ecx
test eax, eax
je 0x522967
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x522969
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5280b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x5973cc]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
test ebx, ebx
jne 0x5280e8
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.005060ef
add esp, 0x20c
ret
push esi
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00506190
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x5281b3
mov ecx, ebx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x528120
sub ecx, esi
sar ecx, 1
mov edx, 0x103
sub edx, ecx
cmp eax, edx
jae 0x5281b3
push edi
lea edi, [esp + 0xc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x528142
mov eax, dword [0x571d60]
mov dword [edi], eax
mov eax, ebx
mov edx, ebx
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x528160
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x528174
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.005060ef
add esp, 0x20c
ret
mov ecx, dword [esp + 0x210]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.005060ef
add esp, 0x20c
ret
Function at 0x528890
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.00506b80
mov eax, dword [0x5973cc]
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 0x5289fb
cmp dword [esp + 0x2c20], edi
je 0x5289fb
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.004072b0
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 0x5289d4
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.00506190
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 0x5289c7
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.00506190
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.0052a1a0
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.00407280
test eax, eax
jne 0x5289c7
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x5289de
inc ebx
cmp ebx, 0x10
jl 0x5288e0
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.005060ef
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.005060ef
add esp, 0x2c14
ret
Function at 0x528ca0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x5973cc]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x528ea1
cmp dword [esp + 0x2f8], 0
je 0x528ea1
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00506190
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x56deac
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x528e68
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 0x528e5b
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 0x528e29
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 0x528e1e
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.00506190
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.00528b90
add esp, 0x14
test eax, eax
je 0x528e1e
cmp byte [esp + 0x24], 0
je 0x528de2
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x528e1e
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 0x528e11
mov cl, byte [esi + eax]
test cl, cl
je 0x528e11
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x528df6
jmp 0x528e15
test edx, edx
jne 0x528e16
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 0x528d40
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 0x528ea1
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.00407280
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.005060ef
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.005060ef
add esp, 0x2ec
ret
Function at 0x529240
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x5973cc]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x5293bd
cmp ebp, 0x20
jb 0x5293bd
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.00506190
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x56df3c
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x5293bd
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5292d0
sub eax, edx
cmp eax, 0x40
jne 0x5293bd
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 0x52930e
mov cl, byte [esi + eax]
test cl, cl
je 0x52930e
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x5292f6
jmp 0x529312
test edx, edx
jne 0x529313
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 0x52934b
mov cl, byte [edx + eax]
test cl, cl
je 0x52934b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x529330
jmp 0x52934f
test esi, esi
jne 0x529350
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.00506190
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.00528310
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 0x5293bd
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.00407280
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.005060ef
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.005060ef
add esp, 0x50c
ret
Function at 0x5293e0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x290
mov eax, dword [0x5973cc]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00506190
push 0x80
lea ebx, [esp + 0x20]
mov ecx, edi
call fcn.00528310
lea eax, [esp + 0x1a0]
mov edx, edi
mov ecx, eax
add esp, 0x10
mov esi, 0x104
sub edx, ecx
lea esp, [esp]
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x52944b
mov cl, byte [edx + eax]
test cl, cl
je 0x52944b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x529430
jmp 0x52944f
test esi, esi
jne 0x529450
dec eax
lea edx, [esp + 0x10]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x198]
push eax
call fcn.00528220
push 0xff
lea ecx, [esp + 0x95]
push 0
push ecx
mov dword [esp + 0x18], 1
mov byte [esp + 0x9c], 0
call fcn.00506190
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x56df3c
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0x100
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x52952b
mov ecx, edi
lea eax, [esp + 0x90]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x5294f3
test dl, dl
je 0x5294ef
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x5294f3
add eax, 2
add ecx, 2
test dl, dl
jne 0x5294d3
xor eax, eax
jmp 0x5294f8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x52952b
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x529506
sub eax, edx
push eax
lea edx, [esp + 0x94]
push edx
push 1
push str.mid_old
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [esp + 0x190]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x529535
sub eax, edx
push eax
lea eax, [esp + 0x194]
push eax
push 1
push 0x56df3c
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov ecx, dword [esp + 0x294]
pop esi
pop ebx
xor ecx, esp
call fcn.005060ef
add esp, 0x290
ret
Function at 0x52f8c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x552c4a
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5973cc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea eax, [esp + 0xb]
push eax
lea edx, [esp + 0xf]
lea ecx, [esi + 8]
push edx
mov dword [esi], vtable.CZipArchive.0
call fcn.0052b930
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], 0
call fcn.00537120
lea ecx, [esi + 0xc0]
mov byte [esp + 0x18], 1
call fcn.00533420
xor eax, eax
mov dword [esi + 0x10c], 7
mov dword [esi + 0x108], 0
mov word [esi + 0xf8], ax
xor ecx, ecx
mov dword [esi + 0x128], 7
mov dword [esi + 0x124], eax
mov word [esi + 0x114], cx
lea ecx, [esi + 0x130]
mov byte [esp + 0x18], 4
call fcn.00532f20
lea ecx, [esi + 0x14c]
mov byte [esp + 0x18], 5
call fcn.00532f20
lea edx, [esp + 0xb]
push edx
lea eax, [esp + 0xf]
lea ecx, [esi + 0x15c]
push eax
mov byte [esp + 0x20], 6
call fcn.0052b930
mov ecx, esi
mov byte [esp + 0x18], 7
call fcn.0052a5d0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x532030
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x552e78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5973cc]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
lea ebx, [esi + 0x44]
mov ecx, ebx
call fcn.0053b740
cmp dword [esi + 0x74], 0
movzx eax, word [esi + 0xa]
mov dword [esp + 0x18], eax
lea eax, [esi + 0x70]
je 0x53207a
cmp dword [eax + 8], 0
ja 0x532082
push eax
mov ecx, esi
call fcn.00531710
cmp dword [esi + 0x84], 0
lea eax, [esi + 0x80]
je 0x532097
cmp dword [eax + 8], 0
ja 0x53209f
push eax
mov ecx, esi
call fcn.00531130
mov eax, dword [esi + 0x88]
cmp eax, 0xffff
jg 0x5320c8
cmp dword [esi + 0x78], 0xffff
jg 0x5320c8
mov ecx, ebx
call fcn.0053b6f0
cmp eax, 0xffff
setle al
test al, al
jne 0x5320d4
push 0
push 0xd3
call fcn.0052d5c0
mov edi, dword [esi + 0x78]
mov ebp, dword [esi + 0x88]
mov ecx, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ebp
call fcn.0053b6f0
movzx ebx, ax
movzx ecx, bp
movzx eax, bx
movzx ebp, di
mov dword [esp + 0x20], ecx
add ecx, ebp
mov dword [esp + 0x24], eax
lea eax, [ecx + eax + 0x2e]
push 0
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], eax
call fcn.00533080
mov edx, dword [0x598c20]
mov edi, dword [esp + 0x30]
mov dword [edi], edx
movsx ax, byte [esi + 0x90]
movzx cx, byte [esi + 4]
mov dx, word [esp + 0x18]
shl ax, 8
or ax, cx
movzx eax, ax
mov word [edi + 4], ax
movzx eax, word [esi + 6]
mov word [edi + 6], ax
movzx eax, word [esi + 8]
mov word [edi + 8], ax
mov word [edi + 0xa], dx
movzx eax, word [esi + 0xc]
mov word [edi + 0xc], ax
movzx eax, word [esi + 0xe]
mov word [edi + 0xe], ax
cmp byte [esi + 0x63], 0
mov dword [esp + 0x40], 0
je 0x532178
xor eax, eax
jmp 0x53217b
mov eax, dword [esi + 0x10]
mov cx, word [esp + 0x14]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov ax, word [esp + 0x1c]
mov word [edi + 0x1c], ax
mov word [edi + 0x1e], bx
mov word [edi + 0x20], cx
movzx eax, word [esi + 0x1c]
mov word [edi + 0x22], ax
movzx eax, word [esi + 0x1e]
mov word [edi + 0x24], ax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x26], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x2a], eax
mov eax, dword [esi + 0x74]
push ebp
push eax
lea edx, [edi + 0x2e]
push edx
call fcn.00509260
add esp, 0xc
test bx, bx
je 0x5321df
lea eax, [edi + ebp + 0x2e]
push eax
lea ecx, [esi + 0x44]
call fcn.0053b6a0
cmp word [esp + 0x14], 0
je 0x532206
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x84]
mov edx, dword [esp + 0x24]
push ecx
push eax
add ebp, edx
lea eax, [edi + ebp + 0x2e]
push eax
call fcn.00509260
add esp, 0xc
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
push 1
push ebx
push edi
call fcn.00538e90
lea ecx, [esi + 0x44]
call fcn.0053b740
mov ecx, esi
call fcn.005313d0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 0xffffffff
call fcn.005330b0
mov eax, ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4