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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6dc
mov eax, dword [0x5472f8]
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 0x4bfc70
lea eax, [ebp - 0x630]
push eax
call fcn.004377ae
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 0x4bfdd1
cmp word [esi + 2], 0x3a
jne 0x4bfdd1
cmp dword [ecx*4 + 0x55f3cc], edi
je 0x4bfdbb
lea ecx, [ebp - 0x6d8]
call fcn.004c86c0
cmp dword [ebp - 0x6c8], 2
jne 0x4bfdbb
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.00404110
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 0x4bfd60
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 0x4bfd60
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424b17
mov esp, ebp
pop ebp
ret
movzx eax, word [esi]
push eax
lea eax, [ebp - 0x14]
push 0x52cb84
push eax
call fcn.00404110
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.00424b17
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.00424b17
mov esp, ebp
pop ebp
ret
cmp ecx, 0x5c
jne 0x4bfde2
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.00424b17
mov esp, ebp
pop ebp
ret
Function at 0x4c0890
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1864
call fcn.00425790
mov eax, dword [0x5472f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
xor ecx, ecx
call fcn.004bf7a0
mov edx, ebx
mov ecx, 0x52cc04
call fcn.004bf780
push 0x52a730
push esi
call fcn.004f2060
add esp, 8
test eax, eax
je 0x4c094a
lea eax, [ebp - 0x1864]
push esi
push eax
call fcn.004f1eb0
add esp, 8
lea eax, [ebp - 0x1864]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4c0960
test al, 0x10
je 0x4c090f
mov ecx, esi
call fcn.004bf7a0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424b17
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0x310]
push esi
push eax
call fcn.004f2040
add esp, 8
lea ecx, [ebp - 0x310]
call fcn.004f18a0
mov edi, eax
test edi, edi
je 0x4c095a
lea ecx, [ebp - 0x310]
mov byte [edi], 0
call fcn.004bf7a0
lea ecx, [edi + 1]
mov edx, ebx
call fcn.004bf780
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424b17
mov esp, ebp
pop ebp
ret
mov edx, ebx
mov ecx, esi
jmp 0x4c0944
push esi
lea eax, [ebp - 0x928]
push eax
lea eax, [ebp - 0xc34]
push eax
lea edx, [ebp - 0x310]
lea ecx, [ebp - 0x61c]
call fcn.0047aa40
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0xf40]
push 0x52cb44
push eax
call fcn.00401420
lea eax, [ebp - 0x928]
push eax
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0x124c]
push 0x52cb44
push eax
call fcn.00401420
add esp, 0x2c
lea ecx, [ebp - 0xf40]
call fcn.004bf7a0
mov edx, ebx
lea ecx, [ebp - 0x124c]
call fcn.004bf780
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00424b17
mov esp, ebp
pop ebp
ret
Function at 0x4c1b60
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 0x4c1c39
cmp esi, 0x20
jb 0x4c1c39
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 0x4c1ba0
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 0x4c1c84
mov ecx, esi
sub ecx, eax
cmp ecx, 2
mov ch, byte [ebp - 1]
jb 0x4c1c71
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 0x4c1c55
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
cmp eax, esi
jae 0x4c1c7d
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 0x4c1c9a
cmp byte [ebp + 0xc], bl
jne 0x4c1c9a
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 0x4c1cb0
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 0x4c1d8b
cmp esi, 0x20
jb 0x4c1d8b
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 0x4c1cf2
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 0x4c1de7
mov ecx, esi
sub ecx, eax
cmp ecx, 2
mov ch, byte [ebp - 1]
jb 0x4c1dc3
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 0x4c1da7
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 0x10]
cmp eax, esi
jae 0x4c1dd2
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 0x4c2ff0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a9a4
mov eax, dword fs:[0]
push eax
sub esp, 0x658
mov eax, dword [0x5472f8]
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.004f1eb0
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 0x4c3092
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 0x4c3094
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov edx, esi
push dword [ebp + 8]
lea ecx, [ebp - 0x630]
call fcn.004c3220
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x4c31d1
mov dword [ebp - 0x634], edi
cmp edi, 1
jne 0x4c30da
mov dword [ebp - 0x630], 0x26200a
mov dword [ebp - 0x634], 2
jmp 0x4c30e6
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 0x4c3107
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 0x4c3128
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 0x4c317c
mov dword [esi + 8], eax
jmp 0x4c31ec
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.0044df70
add esp, 0x14
cmp edi, 1
jne 0x4c31b6
mov edx, edi
mov ecx, ebx
call fcn.0044dcf0
lea eax, [ebp - 0x664]
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipBitmapUnlockBits]
test eax, eax
je 0x4c31cd
mov dword [esi + 8], eax
xor ebx, ebx
jmp 0x4c31ec
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 0x4c31f8
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.00424b17
mov esp, ebp
pop ebp
ret
Function at 0x4c3ca0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
cmp dword [0x55f8c4], 0
jne 0x4c3dc0
lea ecx, [ebp - 0x94]
call fcn.004c86c0
mov eax, dword [ebp - 0x90]
cmp eax, 6
jne 0x4c3cd9
cmp dword [ebp - 0x8c], 1
jae 0x4c3ce2
mov esp, ebp
pop ebp
ret
cmp eax, 7
jb 0x4c3dc0
push 0x5e
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test al, al
jns 0x4c3dc0
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 [0x55f8e0], eax
call edi
push eax
call esi
push str.RegisterTouchWindow
push str.user32.dll
mov dword [0x55f8e4], eax
call edi
push eax
call esi
push str.UnregisterTouchWindow
push str.user32.dll
mov dword [0x55f8ec], eax
call edi
push eax
call esi
push str.GetTouchInputInfo
push str.user32.dll
mov dword [0x55f8f4], eax
call edi
push eax
call esi
push str.CloseTouchInputHandle
push str.user32.dll
mov dword [0x55f8f0], eax
call edi
push eax
call esi
cmp dword [0x55f8e0], 0
pop edi
mov dword [0x55f8f8], eax
pop esi
je 0x4c3db9
cmp dword [0x55f8e4], 0
je 0x4c3db9
cmp dword [0x55f8ec], 0
je 0x4c3db9
cmp dword [0x55f8f4], 0
je 0x4c3db9
cmp dword [0x55f8f0], 0
je 0x4c3db9
test eax, eax
je 0x4c3db9
mov eax, 1
mov dword [0x55f8c4], eax
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [0x55f8c4], eax
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x5472f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.004f1eb0
add esp, 8
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4c47d9
test al, 0x10
je 0x4c47d9
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c4781
sub ecx, edx
push esi
cmp byte [esi + ecx - 1], 0x5c
je 0x4c47b8
push 0x52cc10
push 0x55faa8
call fcn.00401420
add esp, 0xc
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424b17
mov esp, ebp
pop ebp
ret
push 0x55faa8
call fcn.004f2040
add esp, 8
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424b17
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00424b17
mov esp, ebp
pop ebp
ret
Function at 0x4c6ea0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov eax, ecx
xor esi, esi
push edi
sub eax, 1
je 0x4c6ebe
sub eax, 1
jne 0x4c6ece
call fcn.004ea5a0
cmp eax, 1
jne 0x4c6ece
xor ecx, ecx
jmp 0x4c6ece
call fcn.004ea5a0
cmp eax, 1
mov edx, 2
cmove esi, edx
call fcn.004ea5b0
test eax, eax
je 0x4c6ef6
mov eax, ecx
sub eax, 1
je 0x4c6ee8
sub eax, 1
jne 0x4c6ef6
lea ecx, [eax + 1]
jmp 0x4c6ef6
xor eax, eax
mov ecx, 2
test esi, esi
setne al
mov esi, eax
xor edi, edi
cmp ecx, 7
je 0x4c6f09
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edi, ax
jmp 0x4c6f18
call fcn.004c3b00
test eax, eax
mov ecx, 0x8000
cmovne edi, ecx
test esi, esi
je 0x4c6f26
push esi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
or edi, eax
call fcn.004f8a10
test eax, eax
jne 0x4c6f3d
call fcn.004c6d70
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret
mov ax, di
pop edi
pop esi
ret
Function at 0x4c8ec0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x5472f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
xor edi, edi
call fcn.004edad0
test eax, eax
je 0x4c8ee9
call fcn.004edb20
mov edi, eax
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.004f1eb0
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 0x4c8f29
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.00424b17
mov esp, ebp
pop ebp
ret
Function at 0x4c99e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ab6e
mov eax, dword fs:[0]
push eax
sub esp, 0x940
mov eax, dword [0x5472f8]
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.004f13e0
add esp, 8
lea ecx, [ebp - 0x94c]
call fcn.0047acf0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x934]
push eax
lea ecx, [ebp - 0x94c]
call fcn.0047a990
mov dword [ebp - 0x940], eax
test eax, eax
je 0x4c9b5d
lea ecx, [ebp - 0x94c]
call fcn.0047ab90
mov esi, eax
lea ecx, [esi + 1]
push ecx
call fcn.00424b6b
add esp, 4
lea ecx, [ebp - 0x94c]
mov edi, eax
mov dword [ebp - 0x938], edi
push esi
push edi
call fcn.0047ac00
lea ecx, [ebp - 0x94c]
call fcn.0047ac30
mov eax, edi
mov byte [edi + esi], 0
mov cl, byte [eax]
test cl, cl
je 0x4c9b54
nop dword [eax]
lea eax, [ebp - 0x31c]
cmp cl, 0xa
je 0x4c9acb
nop dword [eax + eax]
inc edi
mov byte [eax], cl
inc eax
mov cl, byte [edi]
cmp cl, 0xa
jne 0x4c9ac0
mov byte [eax], 0
inc edi
cmp byte [ebp - 0x31c], 0x40
je 0x4c9b44
lea eax, [ebp - 0x31c]
push str.uninst.lst
push eax
call fcn.004f2060
add esp, 8
test eax, eax
je 0x4c9b44
mov eax, dword [ebx]
xor esi, esi
test eax, eax
je 0x4c9b15
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.004f2060
add esp, 8
test eax, eax
je 0x4c9b15
mov eax, dword [ebx + esi*4 + 4]
inc esi
test eax, eax
jne 0x4c9af8
cmp dword [ebx + esi*4], 0
jne 0x4c9b44
mov edx, dword [ebp - 0x93c]
lea eax, [ebp - 0x31c]
push eax
push ecx
lea ecx, [ebp - 0x934]
call fcn.004f13e0
add esp, 8
lea eax, [ebp - 0x934]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov cl, byte [edi]
test cl, cl
jne 0x4c9ab0
mov eax, dword [ebp - 0x938]
push eax
call fcn.00424b28
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94c]
call fcn.0047ab50
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.00424b17
mov esp, ebp
pop ebp
ret

Function at 0x4c9ba0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.00425790
mov eax, dword [0x5472f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, edx
test ecx, ecx
je 0x4c9c33
test esi, esi
je 0x4c9c33
push ecx
mov edx, str.Software_
lea ecx, [ebp - 0x2004]
call fcn.004f12e0
lea eax, [ebp - 0x2004]
add esp, 4
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c9be0
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.004f1eb0
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.00424b17
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00424b17
mov esp, ebp
pop ebp
ret
Function at 0x4c9d50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.00425790
mov eax, dword [0x5472f8]
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 0x4c9e88
test edi, edi
je 0x4c9e88
push edx
mov edx, str.Software_
lea ecx, [ebp - 0x2004]
call fcn.004f12e0
lea ecx, [ebp - 0x2004]
add esp, 4
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c9da0
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.004f1eb0
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 0x4c9e88
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 0x4c9e7c
cmp dword [ebp - 0x2010], 1
jne 0x4c9e7c
cmp word [ebp - 0x2004], 0x22
lea esi, [ebp - 0x2004]
jne 0x4c9e6b
lea eax, [ebp - 0x2002]
push 0x22
push eax
call fcn.0042f747
add esp, 8
test eax, eax
je 0x4c9e6b
cmp word [eax + 2], 0
jne 0x4c9e6b
xor ecx, ecx
lea esi, [ebp - 0x2002]
mov word [eax], cx
push 1
push esi
push ebx
call fcn.004f1b20
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.00424b17
mov esp, ebp
pop ebp
ret

Function at 0x4c9ea0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x92c
mov eax, dword [0x5472f8]
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.004c03b0
push ebx
push ecx
lea edx, [ebp - 0x310]
lea ecx, [ebp - 0x928]
call fcn.004f13e0
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.004c03b0
push esi
push ecx
lea edx, [ebp - 0x310]
lea ecx, [ebp - 0x928]
call fcn.004f13e0
lea eax, [ebp - 0x928]
add esp, 8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c9f25
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.004f1eb0
add esp, 8
lea eax, [ebp - 0x928]
push eax
call edi
push dword [ebp - 0x92c]
push esi
call fcn.004f1eb0
add esp, 8
lea eax, [ebp - 0x928]
push eax
call edi
cmp dword [ebp + 0xc], 0
je 0x4c9f8c
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.00424b17
mov esp, ebp
pop ebp
ret
Function at 0x4ca440
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x5472f8]
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 0x50e420
push 1
xor esi, esi
mov dword [ebp - 0x628], ecx
push esi
push 0x50e4a0
mov ebx, edx
mov dword [ebp - 0x620], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x4ca563
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.004f1eb0
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 0x4ca557
mov edx, 0x52a6bc
test edi, edi
je 0x4ca4d5
lea eax, [ebp - 0x61c]
push edi
push eax
call fcn.004f1eb0
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 0x4ca557
mov ecx, dword [ebp - 0x620]
push 0x52a6bc
push ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jne 0x4ca557
mov ecx, dword [ebp - 0x620]
lea edx, [ebp - 0x624]
push edx
mov dword [ebp - 0x624], esi
push 0x50e480
mov eax, dword [ecx]
push ecx
call dword [eax]
test eax, eax
jne 0x4ca557
push dword [ebp - 0x628]
lea eax, [ebp - 0x61c]
push eax
call fcn.004f1eb0
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.00424b17
mov esp, ebp
pop ebp
ret