joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e980
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
and byte [esi + 0xc], 9
mov al, byte [esi + 0xc]
push edi
mov edi, dword [esp + 0xc]
test al, 1
je 0x43e9be
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp byte [esp + 0x10], 0
jne 0x43e9aa
test eax, 0x10000000
je 0x43e9be
or byte [esi + 0xc], 4
mov cl, byte [esi + 0xc]
test eax, 0x21000000
jne 0x43e9be
or cl, 2
mov byte [esi + 0xc], cl
test byte [esi + 0xc], 2
je 0x43e9dd
mov eax, dword [esi + 4]
push 8
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov ecx, esi
call fcn.0043e6b0
pop edi
pop esi
ret 8
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret 8

Function at 0x441240
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4935f3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b3c40]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00419600
xor edi, edi
lea ecx, [esi + 0xc]
mov dword [esp + 0x18], edi
mov dword [esi], vtable.Animate.0
mov dword [esi + 8], edi
call fcn.00441130
lea ecx, [esi + 0x3c]
mov byte [esp + 0x18], 1
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], 0x2d
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
call fcn.00410960
fld1
fstp qword [esi + 0xa0]
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x442d90
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
je 0x442e2e
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push ebx
push edi
push edx
mov edx, dword [esi + 8]
push edx
call eax
mov ecx, dword [esi + 0x1c]
push 0x19
call fcn.00440020
mov ecx, dword [esi + 0x1c]
push 1
call fcn.00440050
mov ecx, dword [esi + 8]
push 0x464
push ecx
mov ecx, dword [esi + 0x1c]
call fcn.00440030
mov ecx, dword [esi + 0x1c]
call fcn.00440470
mov edx, dword [esi + 8]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push edx
call ebx
push 1
mov ecx, esi
call fcn.004429c0
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx + 0x10]
push edi
mov ecx, esi
call eax
mov ecx, dword [esi + 8]
push edi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x442e2c
mov eax, dword [esi + 0xc]
push 0
push eax
call ebx
pop edi
pop ebx
pop esi
ret

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

Disassembly:
cmp dword [0x4b5e48], 0
push esi
jne 0x4445d6
call fcn.004444ea
test eax, eax
je 0x444619
mov eax, dword [0x4b5e48]
cmp eax, 1
jne 0x4445f7
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x444619
pop esi
ret
push eax
call dword [0x4b5e50]
test eax, eax
jne 0x444661
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 0x44461d
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4b5e48]
call dword [0x4b5e50]
mov edi, eax
test edi, edi
je 0x444642
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x44465e
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4b5e48]
call dword [0x4b5e4c]
add edi, 0x10
cmp edi, esi
jb 0x44464a
mov eax, edi
pop edi
pop esi
ret
jmp 0x4445c3

Function at 0x4453a3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b3c40]
jne 0x4453ad
repz ret
jmp fcn.0044d2ca
Function at 0x46e0ae
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.0044cbfe
and dword [ebp - 4], 0
cmp dword [0x4b6a68], 0
mov ebx, eax
jne 0x46e15f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46e210
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x46e210
push eax
call fcn.0044cb8c
mov dword [esp], 0x49d78c
push edi
mov dword [0x4b6a68], eax
call esi
push eax
call fcn.0044cb8c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b6a6c], eax
call esi
push eax
call fcn.0044cb8c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b6a70], eax
call esi
push eax
call fcn.0044cb8c
pop ecx
mov dword [0x4b6a78], eax
test eax, eax
je 0x46e15f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044cb8c
pop ecx
mov dword [0x4b6a74], eax
mov eax, dword [0x4b6a74]
cmp eax, ebx
je 0x46e1b7
cmp dword [0x4b6a78], ebx
je 0x46e1b7
push eax
call fcn.0044cc07
push dword [0x4b6a78]
mov esi, eax
call fcn.0044cc07
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x46e1b7
test edi, edi
je 0x46e1b7
call esi
test eax, eax
je 0x46e1ae
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46e1ae
test byte [ebp - 0xc], 1
jne 0x46e1b7
or dword [ebp + 0x10], 0x200000
jmp 0x46e1f0
mov eax, dword [0x4b6a6c]
cmp eax, ebx
je 0x46e1f0
push eax
call fcn.0044cc07
pop ecx
test eax, eax
je 0x46e1f0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46e1f0
mov eax, dword [0x4b6a70]
cmp eax, ebx
je 0x46e1f0
push eax
call fcn.0044cc07
pop ecx
test eax, eax
je 0x46e1f0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b6a68]
call fcn.0044cc07
pop ecx
test eax, eax
je 0x46e210
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46e212
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x477280
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x493888
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b3c40]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov edi, dword [esp + 0x34]
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
push ecx
push edi
mov dword [esp + 0x38], ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
mov dword [esp + 0x1c], ebx
cmp ebx, ebp
je 0x477335
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, ebp
je 0x47732a
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 1
push eax
push ebp
call fcn.00477950
add esp, 0xc
test eax, eax
je 0x47732a
mov ecx, dword [esp + 0x14]
push eax
mov dword [ecx + 4], 1
call fcn.004764e0
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
jmp 0x477337
test esi, esi
je 0x477335
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0xc
Function at 0x47ae30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x10
push ebx
mov bl, byte [edx + 8]
cmp bl, 3
je 0x47afda
mov ecx, dword [esp + 0x20]
push ebp
mov ebp, dword [edx]
push esi
xor esi, esi
push edi
mov dword [esp + 0x24], esi
test bl, 2
je 0x47ae88
movzx eax, byte [edx + 9]
movzx esi, byte [ecx]
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 1]
mov dword [esp + 0x10], edi
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 2]
sub eax, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov edi, 3
jmp 0x47ae9b
movzx eax, byte [ecx + 3]
movzx edi, byte [edx + 9]
sub edi, eax
mov dword [esp + 0x10], edi
mov edi, 1
test bl, 4
je 0x47aeaf
movzx ecx, byte [ecx + 4]
movzx eax, byte [edx + 9]
sub eax, ecx
mov dword [esp + edi*4 + 0x10], eax
inc edi
xor ecx, ecx
xor eax, eax
cmp edi, ecx
jle case.0x47aef6.3
jmp 0x47aec0
cmp dword [esp + eax*4 + 0x10], ecx
jg 0x47aecc
mov dword [esp + eax*4 + 0x10], ecx
jmp 0x47aed1
mov esi, 1
inc eax
cmp eax, edi
jl 0x47aec0
cmp si, cx
je case.0x47aef6.3
movzx eax, byte [edx + 9]
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x47aef6.3
movzx eax, byte [eax + 0x47aff4]
jmp dword [eax*4 + 0x47afe0]
mov edx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp edx, ecx
jbe case.0x47aef6.3
lea esp, [esp]
mov cl, byte [eax]
shr cl, 1
and cl, 0x55
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x47af10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edi, dword [edx + 4]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov ecx, edx
mov eax, 0xf0
sar eax, cl
mov ebx, 0xf
sar ebx, cl
and al, 0xf0
or al, bl
test edi, edi
jbe case.0x47aef6.3
mov edi, edi
mov bl, byte [esi]
mov cl, dl
shr bl, cl
inc esi
and bl, al
sub edi, 1
mov byte [esi - 1], bl
jne 0x47af50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x47aef6.3
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [esp + edx*4 + 0x10]
shr byte [esi - 1], cl
cmp ebx, ebp
jb 0x47af76
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x47aef6.3
mov edi, edi
xor edx, edx
mov eax, ebx
div edi
movzx ax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc esi
inc ebx
inc esi
movzx ecx, word [esp + edx*4 + 0x10]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, ebp
jb 0x47afa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x489700
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.004463d0
mov eax, dword [0x4b3c40]
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 0x48986b
cmp dword [esp + 0x2c20], edi
je 0x48986b
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.004890b0
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 0x489844
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.004453c0
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 0x489837
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.004453c0
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.0048b2d0
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.00488f00
test eax, eax
jne 0x489837
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x48984e
inc ebx
cmp ebx, 0x10
jl 0x489750
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.004453a3
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.004453a3
add esp, 0x2c14
ret
Function at 0x489b50
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x4b3c40]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x489d51
cmp dword [esp + 0x2f8], 0
je 0x489d51
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.004453c0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x4a256c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x489d18
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 0x489d0b
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 0x489cd9
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 0x489cce
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.004453c0
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.00489a40
add esp, 0x14
test eax, eax
je 0x489cce
cmp byte [esp + 0x24], 0
je 0x489c92
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x489cce
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 0x489cc1
mov cl, byte [esi + eax]
test cl, cl
je 0x489cc1
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x489ca6
jmp 0x489cc5
test edx, edx
jne 0x489cc6
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 0x489bf0
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 0x489d51
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.00488f00
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.004453a3
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.004453a3
add esp, 0x2ec
ret
Function at 0x489fc0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x4b3c40]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x48a13d
cmp ebp, 0x20
jb 0x48a13d
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.004453c0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x4a25dc
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x48a13d
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48a050
sub eax, edx
cmp eax, 0x40
jne 0x48a13d
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 0x48a08e
mov cl, byte [esi + eax]
test cl, cl
je 0x48a08e
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x48a076
jmp 0x48a092
test edx, edx
jne 0x48a093
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 0x48a0cb
mov cl, byte [edx + eax]
test cl, cl
je 0x48a0cb
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x48a0b0
jmp 0x48a0cf
test esi, esi
jne 0x48a0d0
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.004453c0
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.00489180
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 0x48a13d
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.00488f00
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.004453a3
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.004453a3
add esp, 0x50c
ret

Function at 0x48a160
Capabilities:
Set registry value

Disassembly:
sub esp, 0x188
mov eax, dword [0x4b3c40]
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.004453c0
push 0x80
lea ebx, [esp + 0x18]
mov ecx, esi
call fcn.00489180
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 0x48a1cb
mov cl, byte [esi + eax]
test cl, cl
je 0x48a1cb
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x48a1b0
jmp 0x48a1cf
test edx, edx
jne 0x48a1d0
dec eax
lea edx, [esp + 8]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x90]
push eax
call fcn.00488fc0
lea eax, [esp + 0x88]
pop esi
lea edx, [eax + 1]
pop ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48a1f6
sub eax, edx
push eax
lea ecx, [esp + 0x84]
push ecx
push 1
push 0x4a25dc
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.004453a3
add esp, 0x188
ret
Function at 0x100093da
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
push ebx
push esi
push edi
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll__lcreat]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x10009400
jmp 0x10009516
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0xffffffff
jne 0x10009420
jmp 0x10009516
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov al, byte [ebp - 4]
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1000d99c
add esp, 4
mov dword [0x100190a0], 0
mov dword [ebp - 0x420], 0x646c6f47
mov dword [ebp - 0x41c], 0x6f736e65
mov byte [ebp - 0x418], 0x66
mov dword [ebp - 0x20], 0
jmp 0x1000946d
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 9
jge 0x1000948d
mov eax, dword [ebp - 0x20]
movsx eax, byte [eax + ebp - 0x420]
xor al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov byte [ecx + ebp - 0x420], al
jmp 0x1000946a
mov al, byte [ebp - 0x1c]
mov byte [ebp - 0x417], al
push 0xa
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll__lwrite]
push 0x400
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll__lread]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100094f5
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.1000d53f
add esp, 8
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll__lwrite]
jmp 0x100094a9
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000951b
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call fcn.1000d2f4
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.1000d37c
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
push eax
call fcn.1000dc52
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x10], 2
jne 0x1000959e
cmp dword [0x100192d2], 1
jne 0x1000959e
cmp dword [ebp - 0xc], 0
je 0x1000959e
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.100093da
add esp, 8
jmp 0x100095ad
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [ebp - 0x14], eax
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 0x14]
leave
ret 8
Function at 0x1000977c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
jmp 0x100097c4
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x1e
jge 0x100097ea
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
cmp dword [eax*4 + 0x100190a4], ecx
jne 0x100097e8
cmp dword [ebp - 0xc], 0
je 0x100097e6
mov eax, dword [ebp - 0xc]
add dword [eax + 8], 0xa
jmp 0x100097ea
jmp 0x100097c1
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jne 0x1000988d
mov dword [ebp - 0x18], 0
jmp 0x10009818
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x1e
jge 0x1000988d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
cmp dword [eax*4 + 0x100190a4], ecx
jne 0x1000988b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx*4 + 0x100191b2]
cmp dword [eax*4 + 0x1001913a], ecx
jb 0x1000987a
mov eax, dword [ebp - 0x10]
cmp dword [0x100190a0], eax
je 0x10009868
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 0x1001911c]
push eax
call fcn.1000d99c
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [0x100190a0], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.1000d4f3
add esp, 8
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
add dword [ecx*4 + 0x1001913a], eax
jmp 0x1000988d
jmp 0x10009815
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 0x14]
leave
ret 0x14