joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423ca4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x423dcb
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00423aac
mov esi, eax
mov eax, dword [0x4b5a60]
cmp byte [eax], 0
je 0x423d71
mov eax, dword [0x4b58a4]
call fcn.00405c84
call fcn.00405510
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x423c74]
call fcn.0040ae04
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x423de4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x423dad
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4b586c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4b9634]
call fcn.0040b4d4
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423dd2
lea eax, [ebp - 4]
mov edx, dword [0x423c74]
call fcn.0040af28
pop eax
jmp eax
Function at 0x424c68
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
mov dword [ebp - 0x11c], 0x114
lea eax, [ebp - 0x11c]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x424cab
mov eax, dword [ebp - 0x10c]
mov dword [0x4b98e8], eax
mov eax, 0x4b98ec
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.00408af0
mov eax, 0x4b98f0
call fcn.00407ff0
xor eax, eax
mov dword [0x4b98f4], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x4b97ac], 0xa
jl 0x424e01
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x424e0c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x424e01
xor eax, eax
push ebp
push 0x424dfa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x424e68
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x424d5a
cmp dword [ebp - 8], 2
jle 0x424d5a
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x424d2d
adc edx, 0
mov eax, 0x4b98f0
call fcn.00408bc8
lea eax, [ebp - 8]
push eax
mov eax, dword [0x4b98f0]
call fcn.00408a54
push eax
push 0
push 0
push 0x424e68
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
jmp 0x424db4
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x424e88
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x424db4
cmp dword [ebp - 8], 2
jle 0x424db4
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x424d89
adc edx, 0
mov eax, 0x4b98f0
call fcn.00408bc8
lea eax, [ebp - 8]
push eax
mov eax, dword [0x4b98f0]
call fcn.00408a54
push eax
push 0
push 0
push 0x424e88
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x4b98f4
push 0
push 0
push 0x424e9c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x424de1
xor eax, eax
mov dword [0x4b98f4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424e01
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
mov byte [0x4b4320], 1
mov esp, ebp
pop ebp
ret
Function at 0x4266e4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x426702
mov eax, dword [eax - 4]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x42671a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x426715
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
jmp 0x42671f
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x42678d
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x4267d6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42674b
inc dword [ebp - 0xc]
jmp 0x426763
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x426763
cmp dword [ebp - 0xc], 0
jle 0x426763
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x426785
xor eax, eax
jmp 0x426781
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x426780
mov eax, esi
jmp 0x4267d9
inc eax
cmp eax, ecx
jle 0x42676d
inc esi
cmp esi, dword [ebp - 8]
jl 0x426737
jmp 0x4267d6
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x4267d6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x4267ae
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x4267d0
xor eax, eax
jmp 0x4267cc
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x4267cb
mov eax, esi
jmp 0x4267d9
inc eax
cmp eax, ecx
jle 0x4267b8
inc esi
cmp esi, dword [ebp - 8]
jl 0x426796
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x426948
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x426965
mov eax, dword [eax - 4]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x426973
mov eax, dword [eax - 4]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x426a95
test ebx, ebx
jl 0x426a95
test esi, esi
jle 0x426a95
mov eax, dword [ebp - 8]
call fcn.00408a54
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00408a54
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x426a32
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x426a95
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x426a17
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x4269e6
inc dword [ebp - 0x14]
jmp 0x4269f6
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x4269f6
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x426a01
or eax, 0xffffffff
jmp 0x426a17
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x426a14
inc eax
jmp 0x426a17
or eax, 0xffffffff
test eax, eax
jl 0x426a1f
cmp esi, eax
jg 0x4269d4
cmp esi, eax
jg 0x426a2a
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x426a98
inc edx
dec dword [ebp - 0x1c]
jne 0x4269d0
jmp 0x426a95
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x426a95
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x426a7c
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x426a5b
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x426a66
or eax, 0xffffffff
jmp 0x426a7c
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x426a79
inc eax
jmp 0x426a7c
or eax, 0xffffffff
test eax, eax
jl 0x426a84
cmp esi, eax
jg 0x426a44
cmp esi, eax
jg 0x426a8f
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x426a98
inc edx
dec dword [ebp - 0x1c]
jne 0x426a40
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x434950
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x434958
mov eax, edx
pop esi
pop ebx
ret

Function at 0x437458
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x43746f
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x43745f
mov eax, ecx
pop ebx
ret
Function at 0x448b34
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x448b48
add esp, 0xfffffff0
call fcn.0040682c
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x442ab8]
call fcn.00464818
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x447b04]
call fcn.00465f34
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x447b04]
call fcn.00465f34
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x10], eax
mov eax, esi
test bl, bl
je 0x448b9d
call fcn.00406884
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49d94c
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x49d99a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0049d330
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49d9b3
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4a9780
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a993f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00408428
mov eax, dword [ebp - 4]
call fcn.004a94b8
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x4a97d2
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00408e5c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004a9c14
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4a98b3
xor eax, eax
push ebp
push 0x4a98ac
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004a9648
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004a9950
test al, al
je 0x4a9888
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00408188
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4a9888
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00408a54
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004a95a8
test al, al
je 0x4a9882
mov eax, dword [ebp - 8]
call fcn.00408a54
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00408ab4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004a9780
dec ebx
cmp ebx, 0xffffffff
jne 0x4a9831
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a98b3
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004a9648
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
cmp byte [0x4bc8b0], 0
je 0x4a98f3
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.00408a54
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004a9634
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004a95a8
mov ebx, eax
jmp 0x4a991a
mov eax, dword [ebp - 4]
call fcn.00408a54
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004a9634
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004a95a8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9946
lea eax, [ebp - 0x3c]
call fcn.00407ff0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408050
pop eax
jmp eax
Function at 0x4a9ba0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.004a94d0
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00408a54
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.004a95a8
test al, al
jne 0x4a9c08
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4b5978]
mov dl, 1
mov eax, dword [0x4a810c]
call fcn.00423ef0
call fcn.004076d8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4aa634
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov eax, dword [ebp - 4]
call fcn.004080e4
xor eax, eax
push ebp
push 0x4aa745
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov edx, dword [ebp - 4]
mov eax, edx
test eax, eax
je 0x4aa66c
mov eax, dword [eax - 4]
test eax, eax
je 0x4aa728
mov eax, edx
test eax, eax
je 0x4aa67d
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 4]
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x4aa6a5
mov ebx, edx
test ebx, ebx
je 0x4aa691
mov ebx, dword [ebx - 4]
lea eax, [ebp - 4]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00408e14
mov edx, dword [ebp - 4]
mov eax, 0x4aa764
call fcn.0041daa8
mov ebx, eax
test ebx, ebx
jle 0x4aa728
lea eax, [ebp - 8]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00408e14
lea eax, [ebp - 0x10]
push eax
push 0xf013f
push 0
mov eax, dword [ebp - 8]
call fcn.00408a54
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x4aa728
mov esi, dword [ebp - 4]
test esi, esi
je 0x4aa6f4
mov esi, dword [esi - 4]
lea eax, [ebp - 8]
push eax
mov ecx, esi
sub ecx, ebx
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
call fcn.00408e14
mov eax, dword [ebp - 8]
call fcn.00408a54
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegDeleteKeyW
test eax, eax
sete byte [ebp - 9]
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa74c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408050
pop eax
jmp eax
Function at 0x4aaadc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
xor eax, eax
push ebp
push 0x4aabaa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x4aabc4
call fcn.00408428
lea eax, [ebp - 8]
mov edx, 0x4aac0c
call fcn.00408428
lea eax, [ebp - 0x10]
mov edx, 0x4aac60
call fcn.00408428
push 0x4aac88
push dword [ebp - 4]
push 0x4aacb0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00408d2c
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00408a54
push eax
mov eax, dword [ebp - 0x10]
call fcn.00408a54
mov ebx, eax
push ebx
push 0x4aacb8
push 0
call sub.shell32.dll_ShellExecuteW
push 0x4aac88
push dword [ebp - 8]
push 0x4aacb0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00408d2c
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00408a54
push eax
push ebx
push 0x4aacb8
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aabb1
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00408050
pop eax
jmp eax
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x77327a50
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..rsrc
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x39581404
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x530090
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd9000]
push edi
jmp 0x5300aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5300b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5300a0
mov eax, 1
add ebx, ebx
jne 0x5300c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5300d4
jne 0x5300f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5300f3
dec eax
add ebx, ebx
jne 0x5300e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5300b8
add ebx, ebx
jne 0x5300ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x530145
xor ecx, ecx
sub eax, 3
jb 0x53010b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53017a
sar eax, 1
mov ebp, eax
jmp 0x530116
add ebx, ebx
jne 0x530116
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5300e4
inc ecx
add ebx, ebx
jne 0x530124
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5300e4
add ebx, ebx
jne 0x530131
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x530126
jne 0x530142
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x530126
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x530164
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x530156
jmp 0x5300a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x530164
add edi, ecx
jmp 0x5300a6
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x530182
cmp byte [edi], 0x11
jne 0x530182
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x530187
lea edi, [esi + 0x129000]
mov eax, dword [edi]
or eax, eax
je 0x5301ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x186e8c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x187008]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5301b4
mov ecx, edi
jns 0x5301e3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18700c]
or eax, eax
je 0x5301f9
mov dword [ebx], eax
add ebx, 4
jmp 0x5301d1
call dword [esi + 0x18701c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x530230
cmp al, 0xef
ja 0x530223
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x530205
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x530212
mov ebp, dword [esi + 0x187010]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x530264
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x404870
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5915c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x404a40
mov eax, dword [esp + 8]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x61707865
mov dword [eax + 8], 0x61707865
mov dword [eax + 0xc], 0x61707865
mov dword [eax + 0x10], 0x3320646e
mov dword [eax + 0x14], 0x3320646e
mov dword [eax + 0x18], 0x3320646e
mov dword [eax + 0x1c], 0x3320646e
mov dword [eax + 0x20], 0x79622d32
mov dword [eax + 0x24], 0x79622d32
mov dword [eax + 0x28], 0x79622d32
mov dword [eax + 0x2c], 0x79622d32
mov dword [eax + 0x30], 0x6b206574
mov dword [eax + 0x34], 0x6b206574
mov dword [eax + 0x38], 0x6b206574
mov dword [eax + 0x3c], 0x6b206574
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc0], ecx
lea edx, [ecx + 1]
mov dword [eax + 0xc4], edx
lea edx, [ecx + 2]
mov dword [eax + 0xc8], edx
add ecx, 3
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
ret
call fcn.0046c370
jmp fcn.00404870