joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480780
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
cmp dword [0x574ea4], 0
jne 0x4808a0
lea ecx, [ebp - 0x94]
call fcn.00485a90
mov eax, dword [ebp - 0x90]
cmp eax, 6
jne 0x4807b9
cmp dword [ebp - 0x8c], 1
jae 0x4807c2
mov esp, ebp
pop ebp
ret
cmp eax, 7
jb 0x4808a0
push 0x5e
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test al, al
jns 0x4808a0
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.GetGestureInfo
push str.user32.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push str.CloseGestureInfoHandle
push str.user32.dll
mov dword [0x574ec0], eax
call edi
push eax
call esi
push str.RegisterTouchWindow
push str.user32.dll
mov dword [0x574ec4], eax
call edi
push eax
call esi
push str.UnregisterTouchWindow
push str.user32.dll
mov dword [0x574ed0], eax
call edi
push eax
call esi
push str.GetTouchInputInfo
push str.user32.dll
mov dword [0x574ed4], eax
call edi
push eax
call esi
push str.CloseTouchInputHandle
push str.user32.dll
mov dword [0x574ecc], eax
call edi
push eax
call esi
cmp dword [0x574ec0], 0
pop edi
mov dword [0x574ed8], eax
pop esi
je 0x480899
cmp dword [0x574ec4], 0
je 0x480899
cmp dword [0x574ed0], 0
je 0x480899
cmp dword [0x574ed4], 0
je 0x480899
cmp dword [0x574ecc], 0
je 0x480899
test eax, eax
je 0x480899
mov eax, 1
mov dword [0x574ea4], eax
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [0x574ea4], eax
mov esp, ebp
pop ebp
ret

Function at 0x480fe0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x55b2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.004ac350
add esp, 8
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x481079
test al, 0x10
je 0x481079
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x481021
sub ecx, edx
push esi
cmp byte [esi + ecx - 1], 0x5c
je 0x481058
push 0x53fd60
push 0x575088
call fcn.00402150
add esp, 0xc
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d8af7
mov esp, ebp
pop ebp
ret
push 0x575088
call fcn.004acca0
add esp, 8
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d8af7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004d8af7
mov esp, ebp
pop ebp
ret
Function at 0x483620
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov eax, ecx
xor esi, esi
push edi
sub eax, 1
je 0x48363e
sub eax, 1
jne 0x48364e
call fcn.004a5ed0
cmp eax, 1
jne 0x48364e
xor ecx, ecx
jmp 0x48364e
call fcn.004a5ed0
cmp eax, 1
mov edx, 2
cmove esi, edx
call fcn.004a5c50
test eax, eax
je 0x483676
mov eax, ecx
sub eax, 1
je 0x483668
sub eax, 1
jne 0x483676
lea ecx, [eax + 1]
jmp 0x483676
xor eax, eax
mov ecx, 2
test esi, esi
setne al
mov esi, eax
xor edi, edi
cmp ecx, 7
je 0x483689
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edi, ax
jmp 0x483698
call fcn.00480a40
test eax, eax
mov ecx, 0x8000
cmovne edi, ecx
test esi, esi
je 0x4836a6
push esi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
or edi, eax
call fcn.004b3c60
test eax, eax
jne 0x4836bd
call fcn.00483610
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret
mov ax, di
pop edi
pop esi
ret
Function at 0x485ef0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x92c
mov eax, dword [0x55b2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, edx
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x92c], eax
push ebx
lea ecx, [ebp - 0x310]
call fcn.00479030
add esp, 4
test eax, eax
je 0x486041
nop dword [eax]
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x928]
push eax
call fcn.004ac350
add esp, 8
lea eax, [ebp - 0x928]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x485f95
test al, 0x10
je 0x486057
mov esi, dword [edi + 4]
test esi, esi
je 0x486023
nop dword [eax + eax]
lea eax, [ebp - 0x310]
push eax
push dword [esi]
call fcn.004acc60
add esp, 8
test eax, eax
je 0x486021
mov esi, dword [esi + 8]
test esi, esi
jne 0x485f70
jmp 0x486023
test ebx, ebx
jle 0x486057
push 0
lea eax, [ebp - 0x928]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x486057
push 0xc
call fcn.004d8b0d
lea ecx, [ebp - 0x310]
add esp, 4
mov esi, eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x485fd0
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.004d8b4b
lea ecx, [ebp - 0x310]
mov dword [esi], eax
push ecx
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004acca0
mov ecx, dword [edi + 4]
add esp, 0xc
test ecx, ecx
jne 0x48600e
mov dword [edi + 4], esi
jmp 0x486021
mov eax, dword [ecx + 8]
test eax, eax
je 0x48601e
mov ecx, eax
mov eax, dword [ecx + 8]
test eax, eax
jne 0x486015
mov dword [ecx + 8], esi
mov edi, esi
mov edx, dword [ebp - 0x92c]
lea ecx, [ebp - 0x310]
inc ebx
push ebx
call fcn.00479030
add esp, 4
test eax, eax
jne 0x485f30
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d8af7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d8af7
mov esp, ebp
pop ebp
ret

Function at 0x4860e0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x55b2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, 1
test edi, edi
je 0x486187
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x486118
call fcn.004860e0
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x486135
test esi, esi
je 0x486133
call fcn.004860e0
test eax, eax
je 0x486133
mov esi, 1
jmp 0x486135
xor esi, esi
mov eax, dword [edi]
test eax, eax
je 0x486187
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.004ac350
add esp, 8
test esi, esi
je 0x486175
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x486175
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d8af7
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d8af7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004d8af7
mov esp, ebp
pop ebp
ret
Function at 0x486200
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x55b2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x318]
mov ebx, ecx
push 0x573558
push eax
mov dword [ebp - 0x630], ebx
call fcn.004acca0
lea eax, [ebp - 0x318]
push eax
call fcn.004acdc0
mov cl, byte [ebp - 0x318]
add esp, 0xc
mov dl, byte [ebp - 0x317]
lea eax, [ecx - 0x61]
cmp al, 0x19
mov al, byte [ebp - 0x316]
ja 0x486276
cmp dl, 0x3a
jne 0x486276
cmp al, 0x5c
jne 0x486276
push 0x3a
movsx eax, cl
push eax
push str._c_c
push ebx
call fcn.00402150
add esp, 0x10
jmp 0x4862e1
cmp cl, 0x5c
jne 0x4862d1
cmp dl, cl
jne 0x4862d1
cmp al, 0x3f
je 0x4862d1
push 0x30c
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004e4e70
add esp, 0xc
lea ecx, [ebp - 0x316]
mov edx, 0x5c
push 0xffffffffffffffff
call fcn.004accc0
add esp, 4
lea ecx, [ebp - 0x318]
sub eax, ecx
push eax
mov eax, ecx
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.004e4fd0
add esp, 0xc
lea eax, [ebp - 0x628]
jmp 0x4862d7
lea eax, [ebp - 0x318]
push eax
push ebx
call fcn.004acca0
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004d8b4b
add esp, 4
mov dword [ebp - 0x62c], eax
mov esi, eax
push eax
push 0x400
call edi
mov eax, esi
mov ebx, 1
cmp word [eax], 0
je 0x486377
mov edi, dword [ebp - 0x630]
add edi, 0x30c
nop
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
je 0x486341
cmp eax, 2
jne 0x486361
movzx eax, word [esi + 2]
mov ecx, edi
push eax
movzx eax, word [esi]
inc ebx
push eax
push str._c_c
push ecx
add edi, 0x30c
call fcn.00402150
add esp, 0x10
movzx eax, word [esi]
add esi, 2
test ax, ax
jne 0x486361
cmp word [esi], ax
jne 0x486330
mov eax, dword [ebp - 0x62c]
push eax
call fcn.004d8b08
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004d8af7
mov esp, ebp
pop ebp
ret
Function at 0x486d60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
mov dword [ebp - 4], esi
cmp esi, dword [ebx + 8]
jge 0x486f25
push edi
push 0x24
call fcn.004d8b0d
push 0x30c
mov edi, eax
call fcn.004d8b4b
push 0x30c
mov dword [edi], eax
call fcn.004d8b4b
push 0x30c
mov dword [edi + 4], eax
call fcn.004d8b4b
push 0x30c
mov dword [edi + 8], eax
call fcn.004d8b4b
push 0x30c
mov dword [edi + 0xc], eax
call fcn.004d8b4b
mov dword [edi + 0x10], eax
mov ecx, esi
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], esi
call fcn.004861e0
mov esi, eax
mov eax, dword [ebp - 4]
lea ecx, [eax*4]
mov eax, dword [ebx + 0xc]
mov dword [ebp + 8], ecx
push dword [eax + ecx]
push dword [edi]
call fcn.004acca0
mov eax, dword [ebx + 0xc]
add esp, 0x1c
mov ecx, dword [ebp + 8]
mov edx, dword [ebx]
push dword [eax + ecx]
mov ecx, dword [edi + 4]
push 1
call fcn.0047ccc0
mov eax, dword [ebx + 0xc]
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebx + 4]
push dword [eax + ecx]
mov ecx, dword [edi + 8]
push 1
call fcn.0047ccc0
mov eax, dword [0x576d78]
add esp, 8
mov edx, dword [ebx + 4]
mov ecx, dword [edi + 0xc]
push dword [eax + esi*4]
push 1
call fcn.0047ccc0
mov eax, dword [0x576d68]
push dword [eax + esi*4]
push dword [edi + 0x10]
call fcn.004acca0
add esp, 0x14
lea eax, [edi + 0x20]
push eax
push 0
push edi
push 0x4863a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x1c], eax
test eax, eax
je 0x486eea
push 0xc
call fcn.004d8b0d
mov ecx, dword [ebp + 8]
mov esi, eax
mov eax, dword [ebx + 0xc]
add esp, 4
mov eax, dword [eax + ecx]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x486e82
sub eax, edx
inc eax
push eax
call fcn.004d8b4b
mov dword [esi], eax
add esp, 4
mov ecx, dword [edi + 4]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x486ea0
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.004d8b4b
mov ecx, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [0x576d74]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
push dword [eax + ecx]
push dword [esi]
call fcn.004acca0
push dword [edi + 4]
push dword [esi + 4]
call fcn.004acca0
add esp, 0x14
mov dword [0x576d74], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi]
call fcn.004d8b08
push dword [edi + 4]
call fcn.004d8b08
push dword [edi + 8]
call fcn.004d8b08
push dword [edi + 0xc]
call fcn.004d8b08
push dword [edi + 0x10]
call fcn.004d8b08
push 0x24
push edi
call fcn.004d8b3d
add esp, 0x1c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x486fa0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x55b2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ecx + 8]
test esi, esi
je 0x486fe5
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esi + 4]
lea eax, [ebp - 0x61c]
push eax
call fcn.004ac350
add esp, 8
lea eax, [ebp - 0x61c]
push eax
call edi
mov esi, dword [esi + 8]
test esi, esi
jne 0x486fc2
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004d8af7
mov esp, ebp
pop ebp
ret
Function at 0x487ea0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x55b2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x620]
push eax
push 0x51f450
push 1
xor esi, esi
mov dword [ebp - 0x628], ecx
push esi
push 0x51f4d0
mov ebx, edx
mov dword [ebp - 0x620], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x487fc3
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.004ac350
mov ecx, dword [ebp - 0x620]
lea edx, [ebp - 0x61c]
add esp, 8
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x50]
test eax, eax
jne 0x487fb7
mov edx, 0x53d8ac
test edi, edi
je 0x487f35
lea eax, [ebp - 0x61c]
push edi
push eax
call fcn.004ac350
add esp, 8
lea edx, [ebp - 0x61c]
mov ecx, dword [ebp - 0x620]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x2c]
test eax, eax
jne 0x487fb7
mov ecx, dword [ebp - 0x620]
push 0x53d8ac
push ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jne 0x487fb7
mov ecx, dword [ebp - 0x620]
lea edx, [ebp - 0x624]
push edx
mov dword [ebp - 0x624], esi
push 0x51f4b0
mov eax, dword [ecx]
push ecx
call dword [eax]
test eax, eax
jne 0x487fb7
push dword [ebp - 0x628]
lea eax, [ebp - 0x61c]
push eax
call fcn.004ac350
mov ecx, dword [ebp - 0x624]
lea edx, [ebp - 0x61c]
add esp, 8
mov eax, dword [ecx]
push 1
push edx
push ecx
call dword [eax + 0x18]
neg eax
sbb esi, esi
mov eax, dword [ebp - 0x624]
push eax
inc esi
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x620]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d8af7
mov esp, ebp
pop ebp
ret

Function at 0x488480
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x92c
mov eax, dword [0x55b2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x92c], edx
lea ecx, [ebp - 0x310]
push edi
mov edx, 1
call fcn.0047b770
push ebx
push ecx
lea edx, [ebp - 0x310]
lea ecx, [ebp - 0x928]
call fcn.004acf60
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x928]
add esp, 8
push eax
call edi
mov edx, 2
lea ecx, [ebp - 0x310]
call fcn.0047b770
push esi
push ecx
lea edx, [ebp - 0x310]
lea ecx, [ebp - 0x928]
call fcn.004acf60
lea eax, [ebp - 0x928]
add esp, 8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x488505
sub eax, edx
lea esi, [ebp - 0x928]
sar eax, 1
lea esi, [esi + eax*2]
mov eax, 0x5c
mov word [esi], ax
add esi, 2
push ebx
push esi
call fcn.004ac350
add esp, 8
lea eax, [ebp - 0x928]
push eax
call edi
push dword [ebp - 0x92c]
push esi
call fcn.004ac350
add esp, 8
lea eax, [ebp - 0x928]
push eax
call edi
cmp dword [ebp + 0xc], 0
je 0x48856c
xor eax, eax
mov word [esi - 2], ax
lea eax, [ebp - 0x928]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d8af7
mov esp, ebp
pop ebp
ret
Function at 0x488580
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.004d9760
mov eax, dword [0x55b2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
test edx, edx
je 0x4886b8
test edi, edi
je 0x4886b8
push edx
mov edx, str.Software_
lea ecx, [ebp - 0x2004]
call fcn.004ace60
lea ecx, [ebp - 0x2004]
add esp, 4
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4885d0
sub ecx, edx
mov eax, 0x5c
sar ecx, 1
push edi
mov word [ebp + ecx*2 - 0x2004], ax
lea eax, [ebp + ecx*2 - 0x2002]
push eax
call fcn.004ac350
add esp, 8
lea eax, [ebp - 0x2008]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x2004]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4886b8
lea eax, [ebp - 0x200c]
mov dword [ebp - 0x200c], 0x2000
push eax
lea eax, [ebp - 0x2004]
push eax
lea eax, [ebp - 0x2010]
push eax
push 0
push str.InstalledFolder
push dword [ebp - 0x2008]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4886ac
cmp dword [ebp - 0x2010], 1
jne 0x4886ac
cmp word [ebp - 0x2004], 0x22
lea esi, [ebp - 0x2004]
jne 0x48869b
lea eax, [ebp - 0x2002]
push 0x22
push eax
call fcn.004e4877
add esp, 8
test eax, eax
je 0x48869b
cmp word [eax + 2], 0
jne 0x48869b
xor ecx, ecx
lea esi, [ebp - 0x2002]
mov word [eax], cx
push 1
push esi
push ebx
call fcn.004ac3d0
add esp, 0xc
mov esi, 1
push dword [ebp - 0x2008]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d8af7
mov esp, ebp
pop ebp
ret

Function at 0x4887d0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.004d9760
mov eax, dword [0x55b2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, edx
test ecx, ecx
je 0x488863
test esi, esi
je 0x488863
push ecx
mov edx, str.Software_
lea ecx, [ebp - 0x2004]
call fcn.004ace60
lea eax, [ebp - 0x2004]
add esp, 4
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x488810
sub eax, edx
mov ecx, 0x5c
sar eax, 1
push esi
mov word [ebp + eax*2 - 0x2004], cx
lea eax, [ebp + eax*2 - 0x2002]
push eax
call fcn.004ac350
add esp, 8
lea eax, [ebp - 0x2004]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
neg eax
pop esi
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d8af7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004d8af7
mov esp, ebp
pop ebp
ret
Function at 0x488880
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51977b
mov eax, dword fs:[0]
push eax
sub esp, 0x940
mov eax, dword [0x55b2f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov eax, ecx
mov dword [ebp - 0x93c], eax
push str.uninst.lst
push ecx
mov edx, eax
lea ecx, [ebp - 0x934]
call fcn.004acf60
add esp, 8
lea ecx, [ebp - 0x94c]
call fcn.00432ad0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x934]
push eax
lea ecx, [ebp - 0x94c]
call fcn.00432d10
mov dword [ebp - 0x940], eax
test eax, eax
je 0x4889fd
lea ecx, [ebp - 0x94c]
call fcn.00432ec0
mov esi, eax
lea ecx, [esi + 1]
push ecx
call fcn.004d8b4b
add esp, 4
lea ecx, [ebp - 0x94c]
mov edi, eax
mov dword [ebp - 0x938], edi
push esi
push edi
call fcn.00432e30
lea ecx, [ebp - 0x94c]
call fcn.00432e10
mov eax, edi
mov byte [edi + esi], 0
mov cl, byte [eax]
test cl, cl
je 0x4889f4
nop dword [eax]
lea eax, [ebp - 0x31c]
cmp cl, 0xa
je 0x48896b
nop dword [eax + eax]
inc edi
mov byte [eax], cl
inc eax
mov cl, byte [edi]
cmp cl, 0xa
jne 0x488960
mov byte [eax], 0
inc edi
cmp byte [ebp - 0x31c], 0x40
je 0x4889e4
lea eax, [ebp - 0x31c]
push str.uninst.lst
push eax
call fcn.004acc60
add esp, 8
test eax, eax
je 0x4889e4
mov eax, dword [ebx]
xor esi, esi
test eax, eax
je 0x4889b5
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.004acc60
add esp, 8
test eax, eax
je 0x4889b5
mov eax, dword [ebx + esi*4 + 4]
inc esi
test eax, eax
jne 0x488998
cmp dword [ebx + esi*4], 0
jne 0x4889e4
mov edx, dword [ebp - 0x93c]
lea eax, [ebp - 0x31c]
push eax
push ecx
lea ecx, [ebp - 0x934]
call fcn.004acf60
add esp, 8
lea eax, [ebp - 0x934]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov cl, byte [edi]
test cl, cl
jne 0x488950
mov eax, dword [ebp - 0x938]
push eax
call fcn.004d8b08
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94c]
call fcn.00432b20
mov eax, dword [ebp - 0x940]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d8af7
mov esp, ebp
pop ebp
ret
Function at 0x488d60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5197fb
mov eax, dword fs:[0]
push eax
mov eax, 0x2010
call fcn.004d9760
mov eax, dword [0x55b2f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, dword [ebp + 8]
mov edx, str.Software_
push ecx
lea ecx, [ebp - 0x2010]
call fcn.004ace60
lea ecx, [ebp - 0x2010]
add esp, 4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488db3
sub ecx, edx
lea eax, [ebp - 0x2010]
sar ecx, 1
lea eax, [eax + ecx*2]
mov ecx, 0x5c
mov word [eax], cx
add eax, 2
push esi
push eax
call fcn.004ac350
add esp, 8
lea eax, [ebp - 0x2018]
push eax
lea eax, [ebp - 0x2014]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea eax, [ebp - 0x2010]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x2010]
push edi
push eax
call fcn.004ac350
lea ecx, [ebp - 0x2010]
add esp, 8
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488e26
sub ecx, edx
mov edx, 2
sar ecx, 1
lea eax, [ecx + 3]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004d8b4b
mov esi, eax
mov dword [ebp - 0x201c], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2010]
push eax
push 0x540300
push esi
call fcn.00451240
mov ecx, esi
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488e77
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push str.InstalledFolder
push dword [ebp - 0x2014]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x488eb8
push esi
call fcn.004d8b08
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d8af7
mov esp, ebp
pop ebp
ret
Function at 0x489660
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x55b2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
xor edi, edi
call fcn.004a9230
test eax, eax
je 0x489689
call fcn.004a9310
mov edi, eax
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.004ac350
add esp, 8
lea eax, [ebp - 0x61c]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
sbb esi, esi
test edi, edi
je 0x4896c9
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
lea eax, [esi + 1]
pop edi
xor ecx, ebp
pop esi
call fcn.004d8af7
mov esp, ebp
pop ebp
ret
Function at 0x489cc0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x55b2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [ecx]
push esi
xor esi, esi
cmp bl, 0x41
jl 0x489ce3
cmp bl, 0x5a
jle 0x489cea
lea eax, [ebx - 0x61]
cmp al, 0x19
ja 0x489d2e
cmp byte [ecx + 1], 0x3a
jne 0x489d2e
push 0x308
lea eax, [ebp - 0x30c]
mov dword [ebp - 0x310], 0x5c3a41
push 0
push eax
call fcn.004e4e70
add esp, 0xc
mov byte [ebp - 0x310], bl
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
mov ecx, 1
cmove esi, ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d8af7
mov esp, ebp
pop ebp
ret