joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c1280
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6dc
mov eax, dword [0x54a2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea edx, [ebp - 0x630]
xor edi, edi
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4c12a0
lea eax, [ebp - 0x630]
push eax
call fcn.00438b5d
add esp, 4
lea eax, [ebp - 0x62e]
cmp word [ebp - 0x630], 0x22
lea esi, [ebp - 0x630]
cmove esi, eax
movzx ecx, word [esi]
lea eax, [ecx - 0x61]
cmp ax, 0x19
ja 0x4c1401
cmp word [esi + 2], 0x3a
jne 0x4c1401
cmp dword [ecx*4 + 0x5623cc], edi
je 0x4c13eb
lea ecx, [ebp - 0x6d8]
call fcn.004c9cf0
cmp dword [ebp - 0x6c8], 2
jne 0x4c13eb
movzx eax, word [esi + 2]
push eax
movzx eax, word [esi]
push eax
lea eax, [ebp - 0x14]
push str.._c_c
push eax
call fcn.00404640
add esp, 0x10
lea eax, [ebp - 0x14]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4c1390
push 0
lea eax, [ebp - 0x634]
push eax
push 0
push 0
push 0
push 0
push 0x2d4800
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x4c1390
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004259b7
mov esp, ebp
pop ebp
ret
movzx eax, word [esi]
push eax
lea eax, [ebp - 0x14]
push 0x52eb84
push eax
call fcn.00404640
mov ebx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
add esp, 0xc
push 1
call ebx
push 0
push 0
mov edi, eax
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x63c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push edi
mov esi, eax
call ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004259b7
mov esp, ebp
pop ebp
ret
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004259b7
mov esp, ebp
pop ebp
ret
cmp ecx, 0x5c
jne 0x4c1412
cmp word [esi + 2], cx
mov eax, 1
cmove edi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004259b7
mov esp, ebp
pop ebp
ret
Function at 0x4c1ec0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1864
call fcn.00426620
mov eax, dword [0x54a2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
xor ecx, ecx
call fcn.004c0dd0
mov edx, ebx
mov ecx, 0x52ec04
call fcn.004c0db0
push 0x52c730
push esi
call fcn.004f3680
add esp, 8
test eax, eax
je 0x4c1f7a
lea eax, [ebp - 0x1864]
push esi
push eax
call fcn.004f34d0
add esp, 8
lea eax, [ebp - 0x1864]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4c1f90
test al, 0x10
je 0x4c1f3f
mov ecx, esi
call fcn.004c0dd0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004259b7
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0x310]
push esi
push eax
call fcn.004f3660
add esp, 8
lea ecx, [ebp - 0x310]
call fcn.004f2ec0
mov edi, eax
test edi, edi
je 0x4c1f8a
lea ecx, [ebp - 0x310]
mov byte [edi], 0
call fcn.004c0dd0
lea ecx, [edi + 1]
mov edx, ebx
call fcn.004c0db0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004259b7
mov esp, ebp
pop ebp
ret
mov edx, ebx
mov ecx, esi
jmp 0x4c1f74
push esi
lea eax, [ebp - 0x928]
push eax
lea eax, [ebp - 0xc34]
push eax
lea edx, [ebp - 0x310]
lea ecx, [ebp - 0x61c]
call fcn.0047c040
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0xf40]
push 0x52eb44
push eax
call fcn.004013a0
lea eax, [ebp - 0x928]
push eax
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0x124c]
push 0x52eb44
push eax
call fcn.004013a0
add esp, 0x2c
lea ecx, [ebp - 0xf40]
call fcn.004c0dd0
mov edx, ebx
lea ecx, [ebp - 0x124c]
call fcn.004c0db0
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004259b7
mov esp, ebp
pop ebp
ret
Function at 0x4c3190
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
xor cl, cl
mov dword [ebp - 0x10], esi
xor bl, bl
mov dword [ebp - 0xc], edi
xor eax, eax
mov dword [ebp - 8], ecx
test esi, esi
je 0x4c3269
cmp esi, 0x20
jb 0x4c3269
mov ecx, esi
xorps xmm2, xmm2
and ecx, 0xffffffe0
xorps xmm4, xmm4
xorps xmm3, xmm3
xorps xmm5, xmm5
nop
movups xmm1, xmmword [edi + eax]
movaps xmm0, xmm1
pxor xmm5, xmm1
movups xmm1, xmmword [edi + eax + 0x10]
add eax, 0x20
paddb xmm2, xmm0
movaps xmm0, xmm1
pxor xmm3, xmm1
paddb xmm4, xmm0
cmp eax, ecx
jb 0x4c31d0
pxor xmm3, xmm5
paddb xmm4, xmm2
movaps xmm0, xmm3
psrldq xmm0, 8
pxor xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 4
pxor xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 2
pxor xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 1
pxor xmm3, xmm0
movaps xmm0, xmm4
psrldq xmm0, 8
paddb xmm4, xmm0
movd ebx, xmm3
movups xmm0, xmm4
psrldq xmm0, 4
paddb xmm4, xmm0
movups xmm0, xmm4
psrldq xmm0, 2
paddb xmm4, xmm0
movups xmm0, xmm4
psrldq xmm0, 1
paddb xmm4, xmm0
movd ecx, xmm4
mov dword [ebp - 8], ecx
xor dh, dh
mov byte [ebp - 1], 0
cmp eax, esi
jae 0x4c32b4
mov ecx, esi
sub ecx, eax
cmp ecx, 2
mov ch, byte [ebp - 1]
jb 0x4c32a1
lea edi, [esi - 1]
mov esi, dword [ebp - 0xc]
mov dl, byte [esi + eax]
mov cl, byte [esi + eax + 1]
add ch, dl
xor dl, cl
add eax, 2
add dh, cl
xor bl, dl
cmp eax, edi
jb 0x4c3285
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
cmp eax, esi
jae 0x4c32ad
mov al, byte [eax + edi]
add byte [ebp - 8], al
xor bl, al
add dh, ch
mov ecx, dword [ebp - 8]
add cl, dh
cmp byte [ebp + 8], cl
jne 0x4c32ca
cmp byte [ebp + 0xc], bl
jne 0x4c32ca
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c32e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor bl, bl
push edi
mov dword [ebp - 0xc], ecx
mov edi, edx
xor cl, cl
mov dword [ebp - 0x10], edi
xor eax, eax
mov dword [ebp - 8], ecx
test esi, esi
je 0x4c33bb
cmp esi, 0x20
jb 0x4c33bb
mov edx, dword [ebp + 8]
mov ecx, esi
and ecx, 0xffffffe0
xorps xmm2, xmm2
xorps xmm4, xmm4
xorps xmm3, xmm3
xorps xmm5, xmm5
movups xmm1, xmmword [edx + eax]
movaps xmm0, xmm1
pxor xmm5, xmm1
movups xmm1, xmmword [edx + eax + 0x10]
add eax, 0x20
paddb xmm2, xmm0
movaps xmm0, xmm1
pxor xmm3, xmm1
paddb xmm4, xmm0
cmp eax, ecx
jb 0x4c3322
pxor xmm3, xmm5
paddb xmm4, xmm2
movaps xmm0, xmm3
psrldq xmm0, 8
pxor xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 4
pxor xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 2
pxor xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 1
pxor xmm3, xmm0
movaps xmm0, xmm4
psrldq xmm0, 8
paddb xmm4, xmm0
movd ebx, xmm3
movups xmm0, xmm4
psrldq xmm0, 4
paddb xmm4, xmm0
movups xmm0, xmm4
psrldq xmm0, 2
paddb xmm4, xmm0
movups xmm0, xmm4
psrldq xmm0, 1
paddb xmm4, xmm0
movd ecx, xmm4
mov dword [ebp - 8], ecx
xor dh, dh
mov byte [ebp - 1], 0
cmp eax, esi
jae 0x4c3417
mov ecx, esi
sub ecx, eax
cmp ecx, 2
mov ch, byte [ebp - 1]
jb 0x4c33f3
lea edi, [esi - 1]
mov esi, dword [ebp + 8]
mov dl, byte [esi + eax]
mov cl, byte [esi + eax + 1]
add ch, dl
xor dl, cl
add eax, 2
add dh, cl
xor bl, dl
cmp eax, edi
jb 0x4c33d7
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 0x10]
cmp eax, esi
jae 0x4c3402
mov esi, dword [ebp + 8]
mov al, byte [eax + esi]
add byte [ebp - 8], al
xor bl, al
mov eax, dword [ebp - 8]
add dh, ch
add al, dh
mov edx, dword [ebp - 0xc]
mov byte [edx], al
mov byte [edi], bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0xc]
mov byte [edx], cl
mov byte [edi], bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c4620
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50cd64
mov eax, dword fs:[0]
push eax
sub esp, 0x658
mov eax, dword [0x54a2f8]
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 dword [ebp - 0x63c], ecx
push edx
lea eax, [ebp - 0x628]
or ebx, 0xffffffff
push eax
call fcn.004f34d0
add esp, 8
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
mov dword [ebp - 0x634], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4c46c2
mov dword [esi], vtable.Gdiplus::Image.0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x628]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
mov dword [ebp - 0x62c], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromFile]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x62c]
mov dword [esi + 4], eax
mov byte [ebp - 4], 0
jmp 0x4c46c4
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov edx, esi
push dword [ebp + 8]
lea ecx, [ebp - 0x630]
call fcn.004c4850
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x4c4801
mov dword [ebp - 0x634], edi
cmp edi, 1
jne 0x4c470a
mov dword [ebp - 0x630], 0x26200a
mov dword [ebp - 0x634], 2
jmp 0x4c4716
mov eax, dword [ebp - 0x630]
mov dword [ebp - 0x630], eax
lea eax, [ebp - 0x638]
mov dword [ebp - 0x638], 0
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x4c4737
mov dword [esi + 8], eax
lea eax, [ebp - 0x62c]
mov dword [ebp - 0x62c], 0
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x4c4758
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x62c]
mov dword [ebp - 0x644], eax
mov eax, dword [ebp - 0x638]
mov dword [ebp - 0x640], eax
lea eax, [ebp - 0x664]
push eax
push dword [ebp - 0x630]
lea eax, [ebp - 0x64c]
mov dword [ebp - 0x64c], 0
push 1
push eax
push dword [esi + 4]
mov dword [ebp - 0x648], 0
call dword [sym.imp.gdiplus.dll_GdipBitmapLockBits]
test eax, eax
je 0x4c47ac
mov dword [esi + 8], eax
jmp 0x4c481c
mov ebx, dword [ebp - 0x63c]
mov ecx, ebx
mov edx, dword [ebp - 0x664]
push 1
push 0
push dword [ebp - 0x654]
push dword [ebp - 0x634]
push dword [ebp - 0x660]
call fcn.0044f570
add esp, 0x14
cmp edi, 1
jne 0x4c47e6
mov edx, edi
mov ecx, ebx
call fcn.0044f2f0
lea eax, [ebp - 0x664]
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipBitmapUnlockBits]
test eax, eax
je 0x4c47fd
mov dword [esi + 8], eax
xor ebx, ebx
jmp 0x4c481c
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
add ebx, 0x80000001
test esi, esi
je 0x4c4828
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
mov eax, ebx
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.004259b7
mov esp, ebp
pop ebp
ret
Function at 0x4c52d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
cmp dword [0x5628c4], 0
jne 0x4c53f0
lea ecx, [ebp - 0x94]
call fcn.004c9cf0
mov eax, dword [ebp - 0x90]
cmp eax, 6
jne 0x4c5309
cmp dword [ebp - 0x8c], 1
jae 0x4c5312
mov esp, ebp
pop ebp
ret
cmp eax, 7
jb 0x4c53f0
push 0x5e
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test al, al
jns 0x4c53f0
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 [0x5628e0], eax
call edi
push eax
call esi
push str.RegisterTouchWindow
push str.user32.dll
mov dword [0x5628e4], eax
call edi
push eax
call esi
push str.UnregisterTouchWindow
push str.user32.dll
mov dword [0x5628ec], eax
call edi
push eax
call esi
push str.GetTouchInputInfo
push str.user32.dll
mov dword [0x5628f4], eax
call edi
push eax
call esi
push str.CloseTouchInputHandle
push str.user32.dll
mov dword [0x5628f0], eax
call edi
push eax
call esi
cmp dword [0x5628e0], 0
pop edi
mov dword [0x5628f8], eax
pop esi
je 0x4c53e9
cmp dword [0x5628e4], 0
je 0x4c53e9
cmp dword [0x5628ec], 0
je 0x4c53e9
cmp dword [0x5628f4], 0
je 0x4c53e9
cmp dword [0x5628f0], 0
je 0x4c53e9
test eax, eax
je 0x4c53e9
mov eax, 1
mov dword [0x5628c4], eax
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [0x5628c4], eax
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x54a2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.004f34d0
add esp, 8
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4c5e09
test al, 0x10
je 0x4c5e09
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c5db1
sub ecx, edx
push esi
cmp byte [esi + ecx - 1], 0x5c
je 0x4c5de8
push 0x52ec10
push 0x562aa8
call fcn.004013a0
add esp, 0xc
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004259b7
mov esp, ebp
pop ebp
ret
push 0x562aa8
call fcn.004f3660
add esp, 8
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004259b7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004259b7
mov esp, ebp
pop ebp
ret
Function at 0x4c84d0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov eax, ecx
xor esi, esi
push edi
sub eax, 1
je 0x4c84ee
sub eax, 1
jne 0x4c84fe
call fcn.004ebbd0
cmp eax, 1
jne 0x4c84fe
xor ecx, ecx
jmp 0x4c84fe
call fcn.004ebbd0
cmp eax, 1
mov edx, 2
cmove esi, edx
call fcn.004ebbe0
test eax, eax
je 0x4c8526
mov eax, ecx
sub eax, 1
je 0x4c8518
sub eax, 1
jne 0x4c8526
lea ecx, [eax + 1]
jmp 0x4c8526
xor eax, eax
mov ecx, 2
test esi, esi
setne al
mov esi, eax
xor edi, edi
cmp ecx, 7
je 0x4c8539
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edi, ax
jmp 0x4c8548
call fcn.004c5130
test eax, eax
mov ecx, 0x8000
cmovne edi, ecx
test esi, esi
je 0x4c8556
push esi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
or edi, eax
call fcn.004fa030
test eax, eax
jne 0x4c856d
call fcn.004c83a0
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret
mov ax, di
pop edi
pop esi
ret
Function at 0x4ca4f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x54a2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
xor edi, edi
call fcn.004ef0f0
test eax, eax
je 0x4ca519
call fcn.004ef140
mov edi, eax
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.004f34d0
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 0x4ca559
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.004259b7
mov esp, ebp
pop ebp
ret
Function at 0x4cb010
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50cf2e
mov eax, dword fs:[0]
push eax
sub esp, 0x940
mov eax, dword [0x54a2f8]
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.004f2a00
add esp, 8
lea ecx, [ebp - 0x94c]
call fcn.0047c2f0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x934]
push eax
lea ecx, [ebp - 0x94c]
call fcn.0047bf90
mov dword [ebp - 0x940], eax
test eax, eax
je 0x4cb18d
lea ecx, [ebp - 0x94c]
call fcn.0047c190
mov esi, eax
lea ecx, [esi + 1]
push ecx
call fcn.00425a0b
add esp, 4
lea ecx, [ebp - 0x94c]
mov edi, eax
mov dword [ebp - 0x938], edi
push esi
push edi
call fcn.0047c200
lea ecx, [ebp - 0x94c]
call fcn.0047c230
mov eax, edi
mov byte [edi + esi], 0
mov cl, byte [eax]
test cl, cl
je 0x4cb184
nop dword [eax]
lea eax, [ebp - 0x31c]
cmp cl, 0xa
je 0x4cb0fb
nop dword [eax + eax]
inc edi
mov byte [eax], cl
inc eax
mov cl, byte [edi]
cmp cl, 0xa
jne 0x4cb0f0
mov byte [eax], 0
inc edi
cmp byte [ebp - 0x31c], 0x40
je 0x4cb174
lea eax, [ebp - 0x31c]
push str.uninst.lst
push eax
call fcn.004f3680
add esp, 8
test eax, eax
je 0x4cb174
mov eax, dword [ebx]
xor esi, esi
test eax, eax
je 0x4cb145
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.004f3680
add esp, 8
test eax, eax
je 0x4cb145
mov eax, dword [ebx + esi*4 + 4]
inc esi
test eax, eax
jne 0x4cb128
cmp dword [ebx + esi*4], 0
jne 0x4cb174
mov edx, dword [ebp - 0x93c]
lea eax, [ebp - 0x31c]
push eax
push ecx
lea ecx, [ebp - 0x934]
call fcn.004f2a00
add esp, 8
lea eax, [ebp - 0x934]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov cl, byte [edi]
test cl, cl
jne 0x4cb0e0
mov eax, dword [ebp - 0x938]
push eax
call fcn.004259c8
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94c]
call fcn.0047c150
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.004259b7
mov esp, ebp
pop ebp
ret

Function at 0x4cb1d0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.00426620
mov eax, dword [0x54a2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, edx
test ecx, ecx
je 0x4cb263
test esi, esi
je 0x4cb263
push ecx
mov edx, str.Software_
lea ecx, [ebp - 0x2004]
call fcn.004f2900
lea eax, [ebp - 0x2004]
add esp, 4
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4cb210
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.004f34d0
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.004259b7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004259b7
mov esp, ebp
pop ebp
ret
Function at 0x4cb380
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.00426620
mov eax, dword [0x54a2f8]
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 0x4cb4b8
test edi, edi
je 0x4cb4b8
push edx
mov edx, str.Software_
lea ecx, [ebp - 0x2004]
call fcn.004f2900
lea ecx, [ebp - 0x2004]
add esp, 4
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cb3d0
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.004f34d0
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 0x4cb4b8
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 0x4cb4ac
cmp dword [ebp - 0x2010], 1
jne 0x4cb4ac
cmp word [ebp - 0x2004], 0x22
lea esi, [ebp - 0x2004]
jne 0x4cb49b
lea eax, [ebp - 0x2002]
push 0x22
push eax
call fcn.00430967
add esp, 8
test eax, eax
je 0x4cb49b
cmp word [eax + 2], 0
jne 0x4cb49b
xor ecx, ecx
lea esi, [ebp - 0x2002]
mov word [eax], cx
push 1
push esi
push ebx
call fcn.004f3140
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.004259b7
mov esp, ebp
pop ebp
ret

Function at 0x4cb4d0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x92c
mov eax, dword [0x54a2f8]
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.004c19e0
push ebx
push ecx
lea edx, [ebp - 0x310]
lea ecx, [ebp - 0x928]
call fcn.004f2a00
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.004c19e0
push esi
push ecx
lea edx, [ebp - 0x310]
lea ecx, [ebp - 0x928]
call fcn.004f2a00
lea eax, [ebp - 0x928]
add esp, 8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4cb555
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.004f34d0
add esp, 8
lea eax, [ebp - 0x928]
push eax
call edi
push dword [ebp - 0x92c]
push esi
call fcn.004f34d0
add esp, 8
lea eax, [ebp - 0x928]
push eax
call edi
cmp dword [ebp + 0xc], 0
je 0x4cb5bc
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.004259b7
mov esp, ebp
pop ebp
ret
Function at 0x4cba70
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x54a2f8]
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 0x510420
push 1
xor esi, esi
mov dword [ebp - 0x628], ecx
push esi
push 0x5104a0
mov ebx, edx
mov dword [ebp - 0x620], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x4cbb93
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.004f34d0
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 0x4cbb87
mov edx, 0x52c6bc
test edi, edi
je 0x4cbb05
lea eax, [ebp - 0x61c]
push edi
push eax
call fcn.004f34d0
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 0x4cbb87
mov ecx, dword [ebp - 0x620]
push 0x52c6bc
push ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jne 0x4cbb87
mov ecx, dword [ebp - 0x620]
lea edx, [ebp - 0x624]
push edx
mov dword [ebp - 0x624], esi
push 0x510480
mov eax, dword [ecx]
push ecx
call dword [eax]
test eax, eax
jne 0x4cbb87
push dword [ebp - 0x628]
lea eax, [ebp - 0x61c]
push eax
call fcn.004f34d0
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.004259b7
mov esp, ebp
pop ebp
ret