joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4032c9
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x601ff0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov dword [ebp - 0x3c], edx
mov edx, ecx
mov dword [ebp - 0x34], edx
push esi
push edi
test edx, edx
je 0x403442
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x70]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x70]
push eax
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ebx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x68]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x4c], esi
test ebx, ebx
je 0x403442
test esi, esi
je 0x403442
mov eax, esi
imul eax, ebx
shl eax, 2
push eax
mov dword [ebp - 0x38], eax
call fcn.0057ae37
mov edi, eax
mov dword [ebp - 0x50], edi
pop ecx
test edi, edi
je 0x403442
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov dword [ebp - 0x58], eax
xor eax, eax
push 0x20
inc eax
mov dword [ebp - 0x30], 0x28
mov word [ebp - 0x24], ax
pop eax
push edx
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x30]
push eax
push edi
push esi
push edx
push dword [ebp - 0x34]
mov dword [ebp - 0x2c], ebx
push dword [ebp - 0x40]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.GDI32.dll_GetDIBits]
mov eax, dword [ebp - 0x3c]
mov ecx, esi
imul ecx, ebx
mov edx, eax
mov dword [ebp - 0x34], eax
shr dword [ebp - 0x34], 0x10
shr edx, 8
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x403410
mov ecx, dword [ebp - 0x34]
lea esi, [edi + 3]
mov ebx, dword [ebp - 0x38]
movzx ecx, cl
mov dword [ebp - 0x3c], ecx
mov edi, ecx
movzx ecx, dl
movzx eax, al
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x34], 0xff
movzx ecx, byte [esi]
xor edx, edx
mov eax, ecx
lea esi, [esi + 4]
imul eax, edi
div dword [ebp - 0x34]
xor edx, edx
mov byte [esi - 7], al
mov eax, ecx
imul eax, dword [ebp - 0x44]
imul ecx, dword [ebp - 0x48]
div dword [ebp - 0x34]
xor edx, edx
mov byte [esi - 6], al
mov eax, ecx
mov ecx, 0xff
div ecx
mov byte [esi - 5], al
sub ebx, 1
jne 0x4033cf
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x54]
xor ecx, ecx
lea eax, [ebp - 0x30]
push ecx
push eax
push edi
push esi
push ecx
push ecx
push ecx
push esi
push ebx
mov ebx, dword [ebp - 0x40]
push ecx
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SetDIBitsToDevice]
push dword [ebp - 0x58]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call fcn.0057ae42
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00570fd6
mov esp, ebp
pop ebp
ret
Function at 0x405105
Capabilities:
Get hostname
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x601ff0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0x104
push eax
lea eax, [ebp - 0x108]
xor ebx, ebx
push eax
mov esi, ecx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x110], ebx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x4052a5
push edi
push ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x110], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
lea eax, [ebp - 0x10c]
push eax
push ebx
lea eax, [ebp - 0x108]
push eax
push ebx
call edi
mov eax, dword [ebp - 0x10c]
test eax, eax
jne 0x405206
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
lea eax, [ebp - 0x108]
dec eax
add ecx, eax
push ecx
push 0x5d91c8
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x405200
push 0x5d91c8
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
lea eax, [ebp - 0x10c]
push eax
push ebx
lea eax, [ebp - 0x108]
push eax
push ebx
call edi
mov eax, dword [ebp - 0x10c]
test eax, eax
je 0x4052a2
jmp 0x405206
mov eax, dword [ebp - 0x10c]
push eax
call fcn.0057ae37
push dword [ebp - 0x110]
mov edi, eax
call fcn.0057ae37
pop ecx
pop ecx
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x11c], eax
push ecx
lea ecx, [ebp - 0x110]
push ecx
push eax
lea eax, [ebp - 0x10c]
push eax
push edi
lea eax, [ebp - 0x108]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
je 0x405286
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0xff
push eax
mov edx, esi
mov ecx, edi
call fcn.004052b5
pop ecx
test eax, eax
je 0x405286
mov eax, ebx
cmp byte [esi], al
je 0x405283
cmp byte [esi], 0x2d
jne 0x40527a
inc eax
cmp eax, 7
je 0x405281
inc esi
cmp byte [esi], bl
jne 0x40526f
jmp 0x405283
mov byte [esi], bl
xor ebx, ebx
inc ebx
test edi, edi
je 0x405291
push edi
call fcn.0057ae42
pop ecx
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x4052a2
push eax
call fcn.0057ae42
pop ecx
mov eax, ebx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00570fd6
mov esp, ebp
pop ebp
ret
Function at 0x4053d8
Capabilities:
Check http status code
Connect to http server
Create http request
Parse url
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1860
call fcn.00571a00
mov eax, dword [0x601ff0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x1000
mov dword [ebp - 0x1818], ecx
push ebx
lea eax, [ebp - 0x1804]
mov esi, edx
push 0
push eax
call fcn.005744c0
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.005744c0
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x1860]
push 0
push eax
call fcn.005744c0
lea eax, [ebp - 0x1804]
mov dword [ebp - 0x1830], ebx
mov dword [ebp - 0x1834], eax
add esp, 0x24
lea eax, [ebp - 0x404]
mov dword [ebp - 0x184c], 0x400
mov dword [ebp - 0x1850], eax
xor ebx, ebx
mov eax, 0x1bb
mov dword [ebp - 0x1860], edi
mov word [ebp - 0x1848], ax
lea eax, [ebp - 0x1860]
push eax
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov dword [ebp - 0x1814], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push ebx
push ebx
push ebx
push str.ModernMix
mov edi, ebx
mov esi, ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
mov dword [ebp - 0x181c], ebx
test ebx, ebx
je 0x4055e1
xor eax, eax
push eax
push eax
push 3
push eax
push eax
push dword [ebp - 0x1848]
lea eax, [ebp - 0x404]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
test edi, edi
je 0x4055e1
xor ecx, ecx
mov dword [ebp - 0x1824], 0x5d9210
push ecx
push 0x84c00100
lea eax, [ebp - 0x1824]
mov dword [ebp - 0x1820], ecx
push eax
push ecx
push str.HTTP_1.1
lea eax, [ebp - 0x1804]
push eax
push ecx
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x4055e1
xor eax, eax
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x4055e1
and dword [ebp - 0x1810], 0
push 4
pop eax
push 0
mov dword [ebp - 0x180c], eax
lea eax, [ebp - 0x180c]
push eax
lea eax, [ebp - 0x1810]
push eax
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x4055e1
mov eax, dword [ebp - 0x180c]
cmp dword [ebp - 0x1810], 0xc8
push 4
pop ecx
cmove eax, ecx
mov dword [ebp - 0x180c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [ebp - 0x1808], 0
mov ebx, dword [ebp - 0x1818]
lea eax, [ebp - 0x1808]
push eax
push 0x400
lea eax, [ebp - 0x804]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4055d2
cmp dword [ebp - 0x1808], 0
mov dword [ebp - 0x1814], 1
je 0x4055db
push dword [ebp - 0x1808]
lea eax, [ebp - 0x804]
mov ecx, ebx
push eax
call fcn.004096a1
cmp dword [ebp - 0x1808], 0
jne 0x40558d
mov ebx, dword [ebp - 0x181c]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
push ebx
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1814]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00570fd6
mov esp, ebp
pop ebp
ret
Function at 0x405607
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x601ff0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
lea edi, [ebp - 0x28]
push 8
pop ecx
mov esi, str.SOFTWAREStardockMiscModernMix
mov byte [ebx], 0
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsb byte es:[edi], byte [esi]
mov al, byte [ebp + ecx - 0x28]
mov byte [ebp + ecx - 0x128], al
inc ecx
test al, al
jne 0x405632
lea eax, [ebp - 0x12c]
push eax
push 0x201
push 0
lea eax, [ebp - 0x128]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x405672
mov esi, str.stardock
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
jmp 0x4056d1
lea eax, [ebp - 0x130]
mov dword [ebp - 0x134], 1
push eax
push ebx
lea eax, [ebp - 0x134]
mov dword [ebp - 0x130], 0xff
push eax
push 0
push str.Affiliate
push dword [ebp - 0x12c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4056ad
sub ecx, edx
cmp ecx, 2
jae 0x4056c5
mov esi, str.stardock
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push dword [ebp - 0x12c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00570fd6
mov esp, ebp
pop ebp
ret
Function at 0x405a41
Capabilities:
Create directory
Get common file path
Get hostname
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x601ff0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], edx
push eax
mov ebx, 0x60d3e0
mov dword [ebp - 0x420], 0x400
push ebx
mov byte [0x60d3e0], 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov ecx, ebx
xor edx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405a87
sub ecx, esi
je 0x405aba
mov al, byte [edx + 0x60d3e0]
cmp al, 0x7a
ja 0x405aa0
cmp al, 0x2c
jae 0x405aa7
mov byte [edx + 0x60d3e0], 0x20
mov ecx, ebx
inc edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405aad
sub ecx, esi
cmp edx, ecx
jb 0x405a92
push edi
push 0
call fcn.0057aec6
mov ebx, eax
mov dword [ebp - 0x41c], edx
push 0xa
lea eax, [ebp - 0x208]
push eax
push ebx
call fcn.0057ccba
add esp, 0x10
lea eax, [ebp - 0x108]
push eax
xor eax, eax
push eax
push eax
push 0x23
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea edi, [ebp - 0x108]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405af7
push 6
pop ecx
lea eax, [ebp - 0x108]
mov esi, str.StardockRegistrations
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0057ceee
lea edi, [ebp - 0x108]
pop ecx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405b1d
push 5
pop ecx
mov esi, str.ModernMixTrial2.bin
lea eax, [ebp - 0x108]
rep movsd dword es:[edi], dword [esi]
push 0x5d928c
push eax
movsb byte es:[edi], byte [esi]
call fcn.0057b0a1
pop ecx
pop ecx
lea ecx, [ebp - 0x208]
mov esi, eax
lea edx, [ecx + 1]
pop edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405b4f
push esi
sub ecx, edx
lea eax, [ebp - 0x208]
push 1
push ecx
push eax
call fcn.0057b2f0
push esi
call fcn.0057b3be
add esp, 0x14
lea ecx, [ebp - 0x408]
call fcn.00405105
mov eax, dword [ebp - 0x41c]
add ebx, 0xb6109100
push 0
push 0x989680
adc eax, 2
push eax
push ebx
call fcn.00571bf0
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x428], edx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0xff
lea eax, [ebp - 0x308]
push 0
push eax
call fcn.005744c0
lea ecx, [ebp - 0x308]
call fcn.00405607
lea eax, [ebp - 0x308]
push eax
movzx eax, word [ebp - 0x412]
push eax
movzx eax, word [ebp - 0x416]
push eax
movzx eax, word [ebp - 0x418]
push eax
push 0x60d3e0
lea eax, [ebp - 0x408]
push eax
push 0xa3c
push str.AppId_dMachineSID_sCPUName_sTrialBeginDate_d__02d__02dSource_sformathtml
push dword [ebp - 0x424]
call fcn.00405081
mov ecx, dword [ebp - 4]
add esp, 0x30
xor ecx, ebp
pop esi
pop ebx
call fcn.00570fd6
mov esp, ebp
pop ebp
ret
Function at 0x406599
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x601ff0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, edx
xor ecx, ecx
mov al, byte [ecx + str.SoftwareStardockSettings]
mov byte [ebp + ecx - 0x208], al
inc ecx
test al, al
jne 0x4065b1
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x208]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov edx, dword [ebp + 8]
lea esi, [ebp - 0x108]
mov ecx, edx
sub esi, edx
mov al, byte [ecx]
mov byte [esi + ecx], al
inc ecx
test al, al
jne 0x4065ea
pop esi
cmp byte [edx], al
jne 0x406608
push edi
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x406633
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406611
sub ecx, edx
lea eax, [ebp - 0x108]
push ecx
push eax
push 1
push 0
push edi
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00570fd6
mov esp, ebp
pop ebp
ret

Function at 0x40664e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x601ff0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, edx
mov dword [ebp - 0x20c], eax
mov ecx, ebx
mov byte [esi], bl
mov al, byte [ecx + str.SoftwareStardockSettings]
mov byte [ebp + ecx - 0x204], al
inc ecx
test al, al
jne 0x406678
lea eax, [ebp - 0x208]
push eax
push 1
push ebx
lea eax, [ebp - 0x204]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4066ae
mov byte [esi], bl
jmp 0x406703
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 1
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x210]
push eax
push ebx
push edi
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4066e3
mov byte [esi], bl
jmp 0x4066f7
lea ecx, [ebp - 0x104]
mov eax, ecx
sub esi, eax
mov al, byte [ecx]
mov byte [esi + ecx], al
inc ecx
test al, al
jne 0x4066ed
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00570fd6
mov esp, ebp
pop ebp
ret
Function at 0x4076b0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x601ff0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x314], eax
call fcn.004185b1
test eax, eax
jne 0x407895
push ebx
push esi
push ecx
push 0x5d89e8
xor esi, esi
mov edx, 0x5d9a7c
push esi
mov ecx, str.Groupy
call fcn.0040df52
push esi
mov ebx, eax
call fcn.0057aec6
mov esi, eax
add esp, 0x10
mov eax, edx
mov edx, esi
sub edx, ebx
mov ecx, eax
sbb ecx, 0
test ecx, ecx
jg 0x407735
jl 0x40771c
cmp edx, 0xe10
jae 0x407735
xor ecx, ecx
cmp ecx, eax
jg 0x407735
jl 0x407728
cmp ebx, esi
ja 0x407735
call fcn.00418514
test eax, eax
jne 0x407893
push 0xa
lea eax, [ebp - 0x104]
push eax
push esi
call fcn.0057cc17
pop ecx
pop ecx
lea eax, [ebp - 0x104]
mov edx, 0x5d9a7c
push 0x5d89e8
push eax
mov ecx, str.Groupy
call fcn.0040e371
add esp, 0xc
call fcn.0042648f
call fcn.00418514
test eax, eax
jne 0x407887
call fcn.0041849d
test eax, eax
je 0x407882
push 0x124
push str.Uninstall_product_
push str.As_your_trial_has_now_expired_would_you_like_to_uninstall_this_product_
mov ecx, edi
call fcn.00432bf0
cmp eax, 6
jne 0x407882
push 0x104
xor ebx, ebx
lea eax, [ebp - 0x310]
push ebx
push eax
call fcn.005744c0
add esp, 0xc
lea ecx, [ebp - 0x310]
call fcn.004163fb
lea edi, [ebp - 0x310]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4077cb
mov esi, str.uninstall.exe
lea eax, [ebp - 0x108]
push 0x104
push ebx
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.005744c0
add esp, 0xc
lea ecx, [ebp - 0x108]
call fcn.004163fb
lea edi, [ebp - 0x108]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407805
push 6
pop ecx
mov esi, str.UninstallUninstall.xml
lea eax, [ebp - 0x20b]
rep movsd dword es:[edi], dword [esi]
push 0x103
push ebx
push eax
movsb byte es:[edi], byte [esi]
call fcn.005744c0
mov eax, dword [str.__U:]
lea edx, [ebp - 0x108]
mov dword [ebp - 0x20c], eax
add esp, 0xc
mov al, byte [0x5d9b70]
mov esi, edx
mov byte [ebp - 0x208], al
mov al, byte [edx]
inc edx
test al, al
jne 0x40784b
lea edi, [ebp - 0x20c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40785b
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x20c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407878
jmp 0x4078a9
xor eax, eax
push eax
jmp 0x4078e6
push dword [0x61db6c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
pop edi
call fcn.00570fd6
mov esp, ebp
pop ebp
ret 8
mov ax, word [0x5d9b74]
lea ecx, [ebp - 0x108]
mov word [edi], ax
call fcn.004163fb
push 1
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
push str.open
push dword [ebp - 0x314]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push ebx
call fcn.0057c187
int3
Function at 0x4078ec
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x601ff0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ecx
push 0x5d89e8
xor ebx, ebx
mov edx, 0x5d9a7c
push ebx
mov ecx, str.Groupy
call fcn.0040df52
push ebx
mov edi, eax
call fcn.0057aec6
mov esi, eax
add esp, 0x10
mov eax, edx
mov edx, esi
sub edx, edi
mov ecx, eax
sbb ecx, ebx
cmp ecx, ebx
jg 0x407952
jl 0x40793f
cmp edx, 0xe10
jae 0x407952
cmp ebx, eax
jg 0x407952
jl 0x407949
cmp edi, esi
ja 0x407952
call fcn.00418514
test eax, eax
je 0x4079b2
push 0xa
lea eax, [ebp - 0x104]
push eax
push esi
call fcn.0057cc17
pop ecx
pop ecx
lea eax, [ebp - 0x104]
mov edx, 0x5d9a7c
push 0x5d89e8
push eax
mov ecx, str.Groupy
call fcn.0040e371
add esp, 0xc
push dword [0x61db68]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x407998
call fcn.0042648f
jmp 0x40799d
call fcn.00426479
call fcn.00418514
test eax, eax
je 0x4079c8
push dword [0x61db6c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00570fd6
mov esp, ebp
pop ebp
ret 8
push ebx
call fcn.0057c187
int3
Function at 0x40896e
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x60d3d4]
push ebx
mov ebx, ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x5f0
push dword [ebx + 0x20]
test eax, eax
jne 0x408a16
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
push 0x5f2
push dword [ebx + 0x20]
call esi
push 0
push eax
call edi
push 0x5f1
push dword [ebx + 0x20]
call esi
push 0
push eax
call edi
push 0x3ee
push dword [ebx + 0x20]
call esi
mov esi, eax
push 0
push esi
call edi
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
lea ecx, [ebx + 0x318]
call fcn.00437b2c
push 0
lea ecx, [ebx + 0x288]
call fcn.00437b2c
push 5
lea ecx, [ebx + 0xd0]
call fcn.00437b2c
push 5
lea ecx, [ebx + 0x160]
call fcn.00437b2c
push 5
lea ecx, [ebx + 0x1f0]
call fcn.00437b2c
jmp 0x408a68
dec eax
mov dword [0x60d3d4], eax
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
push 0x5f2
push dword [ebx + 0x20]
call esi
push 0
push eax
call edi
push 0x5f1
push dword [ebx + 0x20]
call esi
push 5
push eax
call edi
push 0x3ee
push dword [ebx + 0x20]
call esi
mov esi, eax
push 5
push esi
call edi
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebx
ret
Function at 0x409e56
Capabilities:
Create new key via cryptacquirecontext
Decode data using base64 via winapi
Encrypt data using des via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x601ff0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
xor ebx, ebx
push edi
push 0xf0000000
push 1
push 0x5da300
mov edi, ecx
push ebx
push edi
call esi
test eax, eax
jne 0x409ea8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x409ea1
push 8
push 1
push ebx
push ebx
push edi
call esi
test eax, eax
jne 0x409ea8
xor eax, eax
jmp 0x409f6e
push 0x2c
lea esi, [edi + 8]
mov dword [ebp - 0xc], ebx
push ebx
push esi
mov dword [ebp - 8], ebx
call fcn.005744c0
add esp, 0xc
mov dword [edi + 0xc], 0x6601
xor eax, eax
mov byte [edi + 9], 2
mov word [edi + 0xa], ax
lea eax, [ebp - 0x10]
push 8
pop ecx
push ebx
push ebx
push eax
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
push eax
push 1
push ebx
push str.xR75rUpVhLq
mov byte [esi], cl
mov dword [ebp - 0x10], ecx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
lea ebx, [edi + 4]
push ebx
push 0
push 0
push 0x14
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
push 0
test eax, eax
jne 0x409f14
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x409ea1
mov esi, dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
lea eax, [ebp - 0x14]
push eax
push 4
push dword [ebx]
mov dword [ebp - 0x14], 1
call esi
test eax, eax
jne 0x409f3b
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
jmp 0x409f0a
xor edi, edi
mov dword [ebp - 0x10], 8
push edi
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
push 0xc
push str.a3F_1bZDuMg
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
push edi
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebx]
call esi
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00570fd6
mov esp, ebp
pop ebp
ret