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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d80e8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x50e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x485729
mov dword [ecx], 0
mov dword [eax], 0
cmp dword [edi], 0xffffffff
je 0x48587b
mov eax, dword [ebp + 0xc]
mov ecx, 0x100000
push 0
mov ebx, eax
mov dword [ebp - 0x1c], 0
cmp eax, 0x100000
lea eax, [ebp - 0x1c]
push eax
cmova ebx, ecx
push ebx
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
cmp dword [edi + 0x1c], 0
je 0x485846
test eax, eax
je 0x485846
mov edx, dword [ebp - 0x1c]
cmp edx, ebx
jae 0x485849
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi]
mov dword [ebp - 0x24], eax
cmp ecx, 0xffffffff
je 0x4857cb
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4857bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4857cb
mov eax, dword [ebp - 0x14]
xor ecx, ecx
add ecx, esi
adc eax, 0
jmp 0x4857d9
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
push 0
push dword [ebp - 0x24]
push eax
push ecx
sub esp, 0x18
lea eax, [edi + 4]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.00402770
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x18]
mov esi, dword [ebp - 0x20]
test eax, eax
jne 0x485846
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push ebx
add eax, esi
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, eax
xor edx, edx
test ecx, ecx
mov eax, 0x80004005
cmovne eax, edx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
test ecx, ecx
je 0x485784
jmp 0x485849
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
add dword [ecx], edx
test eax, eax
jne 0x485872
test edx, edx
je 0x48586e
mov eax, dword [ebp + 0xc]
add esi, edx
sub eax, edx
mov dword [ebp - 0x20], esi
mov dword [ebp + 0xc], eax
mov ecx, 0x100000
jne 0x485740
mov al, 1
jmp 0x48587d
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x48587b
mov dword [ecx], eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a100a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x486fa0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8458
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x50e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0x10]
mov ecx, edi
mov esi, dword [ebp + 0xc]
call fcn.00402650
test al, al
jne 0x486ffa
cmp byte [ebp + 8], al
jne 0x487001
mov eax, dword [ebx]
test eax, eax
je 0x487161
cmp byte [eax + 0xa5], 0
je 0x487161
xor al, al
jmp 0x487177
mov ecx, esi
call fcn.00402650
test al, al
jne 0x487161
push esi
call fcn.00407bf0
add esp, 4
test al, al
je 0x487029
push esi
push edi
call fcn.00486bd0
jmp 0x48715d
push 0xb
mov ecx, esi
call fcn.00405b00
push eax
mov ecx, edi
call fcn.00405b00
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push eax
call ebx
test eax, eax
je 0x48704e
mov al, 1
jmp 0x48715d
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x59], 0
call fcn.00402750
mov dword [ebp - 4], 0
lea edx, [ebp - 0x58]
mov ecx, edi
call fcn.00414cb0
movzx ecx, byte [ebp - 0x59]
test al, al
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x40]
call fcn.00402750
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.00414cb0
test al, al
jne 0x48709b
cmp byte [ebp - 0x60], al
je 0x4870d7
push 0xb
lea ecx, [ebp - 0x40]
call fcn.00405b00
push eax
lea ecx, [ebp - 0x58]
call fcn.00405b00
push eax
call ebx
test eax, eax
je 0x4870d7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00402290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00402290
mov al, 1
jmp 0x48715d
mov ecx, esi
call fcn.004144e0
cmp eax, 0xffffffff
je 0x487140
push esi
lea ecx, [ebp - 0x28]
call fcn.00402770
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00414a00
test al, al
je 0x487134
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00414580
test al, al
je 0x487134
mov edx, esi
mov ecx, edi
call fcn.00414580
lea ecx, [ebp - 0x28]
test al, al
je 0x48712d
call fcn.004147f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00402290
jmp 0x4870b5
mov edx, esi
call fcn.00414580
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00402290
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00402290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00402290
xor al, al
test al, al
jne 0x487175
push edi
call fcn.00407bf0
add esp, 4
test al, al
je 0x487175
mov ecx, edi
call fcn.004147f0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a100a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4af779
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004af439

Function at 0xee8e8c
Capabilities:
Encode data using xor

Disassembly:
jmp 0xee8e96
pushal
call 0xee8e9c
pop ebp
sub ebp, 0x10
sub ebp, 0xae8e8c
jmp 0xee8eb2
mov eax, 0xae8e8c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c9
mov edx, 0x875bf041
xor byte [eax], dl
inc eax
dec ecx
jne 0xee8ec9
jmp 0xee8edc
retf 0xca8c
Function at 0x40b3e0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40b5ae
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b40b
mov eax, 0x7000000
jmp 0x40b413
test eax, eax
je 0x40b589
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov dword [ecx + 0x94], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x98], ebp
lea ecx, [ebp + ebx]
shr ecx, 6
inc ecx
mov dword [esp], ecx
call fcn.004606d0
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0x5af7c0]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40b5a1
cmp ecx, 0x21
jae 0x40b595
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045b640
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.0045b710
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x5216f8]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x521768]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40b564
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x5217d0]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, ecx
mov ecx, 0x21
call fcn.004607b0
mov eax, ecx
mov ecx, 0x21
call fcn.00460860
nop
call fcn.0045f310
jmp fcn.0040b3e0
Function at 0x414150
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x414364
sub esp, 0x18
mov eax, dword [0x5e7794]
test eax, eax
jne 0x41434d
nop
lea eax, [0x5e777c]
mov dword [esp], eax
call fcn.00409230
mov eax, dword [0x5e7780]
test eax, eax
je 0x414199
cmp dword [eax + 8], 0xcc
jne 0x41420f
mov edx, dword [0x5e7774]
test edx, edx
jne 0x4141f1
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x5e9fb0]
mov dword [esp + 8], eax
call fcn.0040b5c0
mov eax, dword [esp + 0xc]
mov dword [0x5e7774], eax
mov ecx, dword [0x5e7738]
mov dword [eax], ecx
mov eax, dword [0x5e7774]
mov dword [0x5e7738], eax
movzx eax, byte [0x5e7c00]
test al, al
jne 0x4141f1
xor eax, eax
jmp 0x4142f9
mov edx, dword [0x5e7774]
mov ebx, dword [edx + 4]
mov dword [0x5e7774], ebx
mov ebx, dword [0x5e7780]
mov dword [edx + 4], ebx
mov dword [0x5e7780], edx
mov edx, dword [0x5e7780]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x4142e1
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004020d0
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x5e7930]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x41426d
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x41427a
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.00460720
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x5e7930]
test edx, edx
jne 0x4142a6
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
jmp 0x4142c7
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.00460720
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.00460720
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.00460720
mov byte [0x5e7706], 1
nop
lea eax, [0x5e777c]
mov dword [esp], eax
call fcn.00409430
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.004607b0
lea esi, [0x5e7c00]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x4141f1
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x414343
lea edx, [0x5ab2d8]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x4142eb
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.004607a0
mov ecx, 5
call fcn.004607a0
lea eax, [0x4fa4fd]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00436080
nop
call fcn.0045f310
jmp fcn.00414150
Function at 0x428160
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42827c
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x4281f5
cmp cl, 2
je 0x42819d
cmp cl, 3
jne 0x428265
mov byte [eax + 8], 1
jmp 0x428261
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042d8f0
nop
lea eax, [0x5cbd64]
mov dword [esp], eax
call fcn.00409230
nop
mov eax, dword [0x5cbd30]
sub eax, dword [0x5cbd14]
mov dword [0x5cbd30], eax
mov eax, dword [0x5cbd20]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5cbd20], ecx
nop
lea eax, [0x5cbd64]
mov dword [esp], eax
call fcn.00409430
jmp 0x428261
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00414150
nop
lea eax, [0x5cbd64]
mov dword [esp], eax
call fcn.00409230
nop
mov eax, dword [0x5cbd08]
sub eax, dword [0x5cbcec]
mov dword [0x5cbd08], eax
mov eax, dword [0x5cbcf8]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5cbcf8], ecx
nop
nop
lea eax, [0x5cbd64]
mov dword [esp], eax
call fcn.00409430
add esp, 0x14
ret
lea eax, [0x4f7b20]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00436080
nop
call fcn.0045f310
jmp fcn.00428160
Function at 0x450ac0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x450c47
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x450c3d
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x450b1c
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x450b1c
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x450b2f
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x450c12
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x450c04
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x450bfb
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x450b86
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x450bcf
mov eax, 1
cmp eax, ecx
ja 0x450bbd
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
add ebx, ebp
mov dword [esp + 0x2c], ebx
sub ecx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.00460810
lea esi, [ecx + 7]
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x450bf6
movzx edi, byte [eax + ebx]
lea ebp, [eax + 1]
mov eax, edi
and edi, 0x7f
mov ecx, esi
shl edi, cl
or edx, edi
test al, 0x80
jne 0x450bc2
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
jmp 0x450b8b
call fcn.004607b0
xor eax, eax
mov ecx, eax
call fcn.004607a0
call fcn.00460810
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
mov eax, edi
cmp ecx, eax
jbe 0x450c38
movzx esi, byte [eax + edx]
lea edi, [eax + 1]
mov eax, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
or ebx, esi
test al, 0x80
jne 0x450c09
mov ecx, dword [esp + 0x18]
mov eax, edi
jmp 0x450b34
call fcn.004607b0
xor eax, eax
mov ecx, eax
call fcn.004607a0
nop
call fcn.0045f310
jmp fcn.00450ac0
Function at 0x458320
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4583bf
sub esp, 0x30
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.004608f7
lea ecx, [0x4583d0]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.0045f200
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.0045f310
jmp fcn.00458320
Function at 0x4605d0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x5e79e0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x45ed9b
je 0x45edee
cmp ebx, 0x20
jbe 0x45edf4
cmp ebx, 0x40
jbe 0x45ee3a
jmp 0x45eedb
test ebx, ebx
je 0x45ede4
add eax, 0x10
test ax, 0xff0
je 0x45edd0
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x522000]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x522100]
jmp 0x45edb8
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x45edb8
pxor xmm1, xmmword [0x5e79f0]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x5e79f0]
pxor xmm2, xmmword [0x5e7a00]
pxor xmm3, xmmword [0x5e7a10]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x5e79f0]
pxor xmm2, xmmword [0x5e7a00]
pxor xmm3, xmmword [0x5e7a10]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x45ef3a
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x5e770e], 0
je 0x4605ea
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x45ed60
jmp fcn.00407d70
Function at 0x4176e3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x4176f2
pop dword [ebp - 8]
mov eax, 0x6ae21501
sub eax, 0x6aa09e0f
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x3d8d6
push 0
mov eax, 0x468b27c
add eax, 0xfbd92f98
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x10e3c333
add ecx, 0xef1c8458
xor esi, esi
add esi, eax
mov edi, 0xb769dd17
add edi, 0x48d9a2e9
add edi, dword [ebp - 8]
mov ebx, 0xf2d3de07
sub dword [ebp - 4], 0x8c3bbe55
mov edx, dword [edi]
xor dword [ebp - 4], 0xdc70dea6
xor edx, ebx
sub dword [ebp - 4], ebx
mov dword [esi], edx
sub dword [ebp - 4], 0x61b525b8
add esi, 0xdaeaf89d
sub esi, 0xdaeaf899
add edi, 0xbaebb932
add edi, 0x451446d2
loop 0x41774d
add eax, 0x110ff
mov ebx, eax
add eax, 0xc3ce873c
add eax, 0x3c3178c9
mov ecx, 0x2c9040e3
sub ecx, 0x2c5040e3
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x401460
Capabilities:
Execute command

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x34
call sym.___main
mov dword [ebp - 0x14], 0xfde9
call sym._GetConsoleOutputCP_0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._SetConsoleOutputCP_4
sub esp, 4
mov dword [esp], str.
call sym._puts
mov dword [esp], str._____Bem_vindo_ao_jogo_de_adivinhao______
call sym._puts
mov dword [esp], str._n_n
call sym._puts
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
jmp 0x4015b7
mov dword [esp], 0
call sym._time
mov dword [esp], eax
call sym._srand
mov dword [esp], 2
call sym._sleep
call sym._rand
mov ecx, eax
mov edx, 0x2e8ba2e9
mov eax, ecx
imul edx
sar edx, 1
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
add eax, edx
sub ecx, eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
mov dword [esp], str.Qual_nmero_secreto_estou_pensando_entre_0_e_10_
call sym._puts
mov dword [ebp - 0x10], 2
jmp 0x4015ad
mov dword [esp], str.Digite_um_nmero:
call sym._printf
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], 0x405136
call sym._scanf
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
jne 0x40156e
mov dword [esp], str.Parabns____Voc_acertou_:_._Mais_10_dias_de_frias_e_2_potes_de_Whey____n
call sym._puts
jmp 0x4015b3
cmp dword [ebp - 0x10], 1
jle 0x401589
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov dword [esp], str.Nmero_errado._Voc_tem_mais__d_chances._n
call sym._printf
jmp 0x4015a9
cmp dword [ebp - 0x10], 1
jne 0x40159d
mov dword [esp], str.Nmero_errado._Voc_tem_mais_1_chance.
call sym._puts
jmp 0x4015a9
mov dword [esp], str._____GAME_OVER_HA_HA_HA_HA______n
call sym._puts
sub dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 0
jns 0x401539
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 2
jle 0x4014d1
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._SetConsoleOutputCP_4
sub esp, 4
mov dword [esp], str.pause
call sym._system
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret
Function at 0x4d55e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x88000]
push edi
or ebp, 0xffffffff
jmp 0x4d5602
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4d5609
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d55f8
mov eax, 1
add ebx, ebx
jne 0x4d561b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4d562c
jne 0x4d563c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d563c
dec eax
add ebx, ebx
jne 0x4d5638
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4d5610
xor ecx, ecx
sub eax, 3
jb 0x4d5654
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4d56c6
sar eax, 1
mov ebp, eax
jmp 0x4d565f
add ebx, ebx
jne 0x4d565f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4d566c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4d5690
inc ecx
add ebx, ebx
jne 0x4d567c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4d5671
jne 0x4d568d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4d5671
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4d56b0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4d56a1
jmp 0x4d55fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4d56b0
add edi, ecx
jmp 0x4d55fe
pop esi
mov edi, esi
mov ecx, 0x23d4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4d56ce
cmp byte [edi], 4
jne 0x4d56ce
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 eax, ebx
loop 0x4d56d3
lea edi, [esi + 0xd2000]
mov eax, dword [edi]
or eax, eax
je 0x4d574b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe0b78]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe0c68]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4d5700
mov ecx, edi
jns 0x4d572f
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 + 0xe0c6c]
or eax, eax
je 0x4d5745
mov dword [ebx], eax
add ebx, 4
jmp 0x4d571d
call dword [esi + 0xe0c70]
popal
jmp 0x43ab34