joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442480
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x4424ad
xor ecx, ecx
jmp 0x4424b9
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x44256d
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x4424e0
mov dword [esp + 0xc], esi
jmp 0x442540
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x442539
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x44252c
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x442540
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x442540
push 0x49bef0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x442540
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x442563
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x4424d2
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x442581
mov ecx, dword [ebx]
add ecx, 8
call fcn.004426c0
test eax, eax
je 0x442581
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret

Function at 0x442590
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x4856db
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4a5584]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.00458270
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x442628
push 0x49f014
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.0045930b
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8

Function at 0x44292e
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi]
test eax, eax
je 0x442963
push edi
mov edi, 0xf0
cmp dword [esp + 0x10], edi
jae 0x442956
push eax
call fcn.0044abbd
push 2
call fcn.0044abac
pop ecx
pop ecx
mov dword [esi], eax
push edi
push 0
push eax
call fcn.00458270
add esp, 0xc
pop edi
pop esi
ret
Function at 0x444559
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
push dword [ebp + 0x18]
xor edi, edi
push dword [ebp + 0x1c]
inc edi
xor ebx, ebx
mov dword [ebp - 8], ebx
push edi
call fcn.0044aabe
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add esp, 0xc
test eax, eax
jne 0x44458a
xor eax, eax
jmp 0x444716
mov ecx, dword [ebp - 4]
mov eax, 0xf4240
push 0x40
mov dword [ecx + 0x258], eax
mov ecx, dword [ebp - 4]
push fcn.004569f8
push dword [ebp - 4]
mov dword [ecx + 0x25c], eax
call fcn.00443a7e
push ebx
push eax
call fcn.00459018
add esp, 0x14
test eax, eax
je 0x4445c5
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp - 4]
call fcn.0044ab85
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.00443ab9
mov esi, dword [ebp + 8]
add esp, 0x20
cmp esi, ebx
je 0x44461e
xor edi, edi
push ebx
call fcn.00442d72
pop ecx
mov cl, byte [edi + esi]
cmp cl, byte [eax + edi]
je 0x44460c
mov eax, dword [ebp - 4]
or dword [eax + 0x70], 0x20000
push ebx
call fcn.00442d72
mov al, byte [eax + edi]
inc edi
pop ecx
test al, al
jne 0x4445f3
xor edi, edi
inc edi
mov eax, dword [ebp - 4]
test dword [eax + 0x70], 0x20000
je 0x444688
cmp esi, ebx
je 0x444685
push ebx
call fcn.00442d72
pop ecx
mov cl, byte [esi]
cmp cl, byte [eax]
jne 0x44465a
cmp cl, 0x31
jne 0x44464f
push ebx
call fcn.00442d72
pop ecx
mov cl, byte [esi + 2]
cmp cl, byte [eax + 2]
jne 0x44465a
cmp byte [esi], 0x30
jne 0x444688
cmp byte [esi + 2], 0x39
jge 0x444688
cmp esi, ebx
je 0x444685
push ebx
call fcn.00442d72
push eax
push esi
push str.Application_built_with_libpng__.20s_but_running_with__.20s
lea eax, [ebp - 0x58]
push 0x50
push eax
call fcn.004582ea
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 4]
call fcn.00443ad7
add esp, 0x20
mov dword [ebp - 8], edi
mov eax, dword [ebp - 4]
mov dword [eax + 0xb4], 0x2000
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4446c6
mov eax, dword [ebp - 4]
push dword [eax + 0xb4]
push dword [ebp - 4]
call fcn.0044ac3a
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xb0], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xb0], ebx
jne 0x4446c6
mov dword [ebp - 8], edi
mov eax, dword [ebp - 8]
test eax, eax
je 0x4446fd
mov eax, dword [ebp - 4]
push dword [eax + 0xb0]
push dword [ebp - 4]
call fcn.0044ac10
push dword [ebp + 0x18]
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
mov dword [eax + 0xb0], ebx
push dword [ebp - 4]
call fcn.0044ab1d
add esp, 0x14
jmp 0x444583
push ebx
push ebx
push ebx
push dword [ebp - 4]
call fcn.0044ddbd
mov esi, dword [ebp - 4]
add esp, 0x10
call fcn.00444502
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x447bfd
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov cl, byte [eax + 8]
sub esp, 0x14
cmp cl, 3
je 0x447d81
mov edx, dword [eax]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
mov dword [ebp + 8], edi
test cl, 2
je 0x447c4d
movzx ecx, byte [eax + 9]
movzx edi, byte [esi]
mov ebx, ecx
sub ebx, edi
movzx edi, byte [esi + 1]
mov dword [ebp - 0x14], ebx
mov ebx, ecx
sub ebx, edi
movzx edi, byte [esi + 2]
sub ecx, edi
push 3
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
pop ebx
xor edi, edi
jmp 0x447c5d
movzx ecx, byte [esi + 3]
movzx ebx, byte [eax + 9]
sub ebx, ecx
mov dword [ebp - 0x14], ebx
xor ebx, ebx
inc ebx
test byte [eax + 8], 4
je 0x447c72
movzx ecx, byte [esi + 4]
movzx esi, byte [eax + 9]
sub esi, ecx
mov dword [ebp + ebx*4 - 0x14], esi
inc ebx
xor esi, esi
cmp ebx, edi
jle 0x447d7e
lea ecx, [ebp + esi*4 - 0x14]
cmp dword [ecx], edi
jg 0x447c88
mov dword [ecx], edi
jmp 0x447c8f
mov dword [ebp + 8], 1
inc esi
cmp esi, ebx
jl 0x447c7c
cmp word [ebp + 8], di
je 0x447d7e
movzx ecx, byte [eax + 9]
dec ecx
dec ecx
je 0x447d67
dec ecx
dec ecx
je 0x447d38
sub ecx, 4
je 0x447d16
sub ecx, 8
jne 0x447d7e
mov esi, dword [ebp + 0xc]
imul edx, ebx
mov dword [ebp - 4], edx
mov dword [ebp + 8], edi
cmp edx, edi
jbe 0x447d7e
mov eax, dword [ebp + 8]
xor edx, edx
div ebx
movzx ax, byte [esi]
mov ecx, 0x100
imul ax, cx
lea edi, [esi + 1]
movzx cx, byte [edi]
add ax, cx
mov cx, word [ebp + edx*4 - 0x14]
shr ax, cl
movzx eax, ax
mov ecx, eax
shr ecx, 8
mov byte [esi], cl
mov esi, edi
mov byte [esi], al
inc esi
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
jb 0x447cd4
jmp 0x447d7e
mov esi, dword [ebp + 0xc]
imul edx, ebx
mov dword [ebp + 8], edx
cmp edx, edi
jbe 0x447d7e
xor edx, edx
mov eax, edi
div ebx
mov cl, byte [ebp + edx*4 - 0x14]
shr byte [esi], cl
inc esi
inc edi
cmp edi, dword [ebp + 8]
jb 0x447d23
jmp 0x447d7e
mov edi, dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp + 0xc]
mov edx, 0xf0
sar edx, cl
push 0xf
pop eax
sar eax, cl
and dl, 0xf0
or dl, al
test edi, edi
jbe 0x447d7e
mov al, byte [esi]
mov cl, byte [ebp - 0x14]
shr al, cl
and al, dl
mov byte [esi], al
inc esi
dec edi
jne 0x447d56
jmp 0x447d7e
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 0xc]
cmp eax, edi
jbe 0x447d7e
mov dl, byte [ecx]
shr dl, 1
and dl, 0x55
mov byte [ecx], dl
inc ecx
dec eax
jne 0x447d71
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4516ff
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4a8474], 0
push esi
jne 0x451672
call fcn.00451598
test eax, eax
je 0x4516b5
mov eax, dword [0x4a8474]
cmp eax, 1
jne 0x451693
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4516b5
pop esi
ret
push eax
call dword [0x4a847c]
test eax, eax
jne 0x4516fd
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 0x4516b9
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4a8474]
call dword [0x4a847c]
mov edi, eax
test edi, edi
je 0x4516de
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4516fa
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4a8474]
call dword [0x4a8478]
add edi, 0x10
cmp edi, esi
jb 0x4516e6
mov eax, edi
pop edi
pop esi
ret
jmp 0x45165f

Function at 0x451a7d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a5584]
jne 0x451a87
repz ret
jmp fcn.0045b2fb

Function at 0x46bd7c
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.0045c098
and dword [ebp - 4], 0
cmp dword [0x4a9208], 0
mov ebx, eax
jne 0x46be2d
push 0x4917a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46bede
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x46bede
push eax
call fcn.0045c026
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4a9208], eax
call esi
push eax
call fcn.0045c026
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4a920c], eax
call esi
push eax
call fcn.0045c026
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4a9210], eax
call esi
push eax
call fcn.0045c026
pop ecx
mov dword [0x4a9218], eax
test eax, eax
je 0x46be2d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045c026
pop ecx
mov dword [0x4a9214], eax
mov eax, dword [0x4a9214]
cmp eax, ebx
je 0x46be85
cmp dword [0x4a9218], ebx
je 0x46be85
push eax
call fcn.0045c0a1
push dword [0x4a9218]
mov esi, eax
call fcn.0045c0a1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x46be85
test edi, edi
je 0x46be85
call esi
test eax, eax
je 0x46be7c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46be7c
test byte [ebp - 0xc], 1
jne 0x46be85
or dword [ebp + 0x10], 0x200000
jmp 0x46bebe
mov eax, dword [0x4a920c]
cmp eax, ebx
je 0x46bebe
push eax
call fcn.0045c0a1
pop ecx
test eax, eax
je 0x46bebe
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46bebe
mov eax, dword [0x4a9210]
cmp eax, ebx
je 0x46bebe
push eax
call fcn.0045c0a1
pop ecx
test eax, eax
je 0x46bebe
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a9208]
call fcn.0045c0a1
pop ecx
test eax, eax
je 0x46bede
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46bee0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x472240
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.0046ad70
mov eax, dword [0x4a5584]
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 0x4723ab
cmp dword [esp + 0x2c20], edi
je 0x4723ab
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.0040e7e0
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 0x472384
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.00458270
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 0x472377
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.00458270
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.00473960
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.00422680
test eax, eax
jne 0x472377
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x47238e
inc ebx
cmp ebx, 0x10
jl 0x472290
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.00451a7d
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.00451a7d
add esp, 0x2c14
ret
Function at 0x472650
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x4a5584]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x472851
cmp dword [esp + 0x2f8], 0
je 0x472851
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00458270
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x491f24
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x472818
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 0x47280b
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 0x4727d9
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 0x4727ce
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.00458270
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.00472540
add esp, 0x14
test eax, eax
je 0x4727ce
cmp byte [esp + 0x24], 0
je 0x472792
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x4727ce
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 0x4727c1
mov cl, byte [esi + eax]
test cl, cl
je 0x4727c1
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x4727a6
jmp 0x4727c5
test edx, edx
jne 0x4727c6
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 0x4726f0
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 0x472851
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.00422680
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.00451a7d
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.00451a7d
add esp, 0x2ec
ret
Function at 0x472ac0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x4a5584]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x472c3d
cmp ebp, 0x20
jb 0x472c3d
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.00458270
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x491f94
push str.Software360SafeLiveup
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x472c3d
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x472b50
sub eax, edx
cmp eax, 0x40
jne 0x472c3d
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 0x472b8e
mov cl, byte [esi + eax]
test cl, cl
je 0x472b8e
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x472b76
jmp 0x472b92
test edx, edx
jne 0x472b93
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 0x472bcb
mov cl, byte [edx + eax]
test cl, cl
je 0x472bcb
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x472bb0
jmp 0x472bcf
test esi, esi
jne 0x472bd0
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.00458270
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.00471cc0
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 0x472c3d
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.00422680
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.00451a7d
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.00451a7d
add esp, 0x50c
ret

Function at 0x472c60
Capabilities:
Set registry value

Disassembly:
sub esp, 0x188
mov eax, dword [0x4a5584]
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.00458270
push 0x80
lea ebx, [esp + 0x18]
mov ecx, esi
call fcn.00471cc0
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 0x472ccb
mov cl, byte [esi + eax]
test cl, cl
je 0x472ccb
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x472cb0
jmp 0x472ccf
test edx, edx
jne 0x472cd0
dec eax
lea edx, [esp + 8]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x90]
push eax
call fcn.004225f0
lea eax, [esp + 0x88]
pop esi
lea edx, [eax + 1]
pop ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x472cf6
sub eax, edx
push eax
lea ecx, [esp + 0x84]
push ecx
push 1
push 0x491f94
push str.Software360SafeLiveup
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.00451a7d
add esp, 0x188
ret
Function at 0x4019a5
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
cmp dword [0x40db88], 2
jne 0x4019ce
push str.pnp0f03.DeviceDesc
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x401b1c
cmp dword [0x40db88], 3
jne 0x401b1c
push 0x40a278
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x401a27
push 0x40a28c
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x401a27
push 0x40a2a0
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x401a27
push 0x40a2b4
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401a74
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x40a2c8
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x40a2e0
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401a6f
push 0x40a2f4
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x401b1c
push 0x40a31c
mov ecx, dword [ebp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x401ac0
push 0x40a330
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x401ac0
push 0x40a344
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x401ac0
push 0x40a358
mov ecx, dword [ebp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401b0a
mov edx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str..DeviceDesc
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.PS2_MOUSE
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401b08
push 0x40a398
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x401b1c
push str.pnp0f0e.DeviceDesc
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.PS_2_Compatible_Mouse
lea edx, [ebp - 0x804]
push edx
push str.Strings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], eax
xor eax, eax
cmp eax, dword [ebp - 4]
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret

Function at 0x4021e8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov dword [ebp - 4], 0
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x402250
cmp dword [ebp - 0x108], 2
jne 0x402240
cmp dword [ebp - 0x114], 4
jne 0x40222e
mov dword [ebp - 4], 2
jmp 0x40223e
cmp dword [ebp - 0x114], 5
jb 0x40223e
mov dword [ebp - 4], 3
jmp 0x402250
cmp dword [ebp - 0x108], 1
jne 0x402250
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret