joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102aa287
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x102aa1d0
add ebx, 0
push ecx
call 0x102aa1e5
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6c565076
sub ebx, dword [0x6c5848b5]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c5848a5
call fcn.102a5caf
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.102a51bd
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x102aa343
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x102aa343
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x102aa2fa
mov eax, 1
lock xchg dword [0x6c5848b1], eax
push 0x3dd1fc71
call 0x102aa287
push esi
add esp, 8
cmp eax, 0
jne 0x102aa270
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x102aa296
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x102aa2ab
cmp ecx, edx
cmp eax, 0
je 0x102aa2d0
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x102aa2ba
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.102aa2e9
dec eax
loope 0x102aa2ec
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c5848b1], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x102aa320
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x102aa335
jmp 0x102aa340
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x102aa22e
Function at 0x102b13a8
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x102b167e
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c571529
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c5684ef
push 0xffffffffffffffff
call fcn.102a85a8
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x102b1412
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.102b142a
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x102b1672
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x102b1646
Function at 0x102c0e78
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x102c0e9a
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x102c0e9a
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x102c0e9a
ret
cmp word [ebx + 4], 0x14c
jne 0x102c0e9a
test word [ebx + 0x16], 2
je 0x102c0e9a
test word [ebx + 0x16], 0x100
je 0x102c0e9a
cmp word [ebx + 0x18], 0x10b
jne 0x102c0e9a
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x102c0e9a
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x102c0f26
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x102c0eba
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.102a7e05
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x102c0e9a
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x102c0f26
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x102c0e9a
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x102c0e9a
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x102c0e9a
ret
cmp word [ebx + 4], 0x14c
jne 0x102c0e9a
test word [ebx + 0x16], 2
je 0x102c0e9a
test word [ebx + 0x16], 0x100
je 0x102c0e9a
cmp word [ebx + 0x18], 0x10b
jne 0x102c0e9a
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x102c0e9a
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x102c0f26
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x102c0eba
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.102a7e05
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x102c0e9a
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x102c0fdd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x102c1036
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x102c0fdd
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x102c0fec
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x106c6c8f
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x102c103d
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.102a7eb3
cmp eax, dword [ebp + 0xc]
pop eax
je 0x102c10dc
add edi, 4
add eax, 2
dec ecx
jne 0x102c1022
call 0x102c1089
loope 0x102c107f
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x102c10d9
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x102c10ea
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x102c109d
cmp eax, ecx
ja 0x102c109d
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x102c1127
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x102c111d
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.102a8392
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x102c0fec
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x102c1036
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x102c0fdd
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x102c0fec
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x106c6c8f
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x102c103d
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.102a7eb3
cmp eax, dword [ebp + 0xc]
pop eax
je 0x102c10dc
add edi, 4
add eax, 2
dec ecx
jne 0x102c1022
call 0x102c1089
loope 0x102c107f
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x102c10d9
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x102c10ea
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x102c109d
cmp eax, ecx
ja 0x102c109d
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x102c1127
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x102c111d
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.102a8392
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x401aa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, edx
mov dword [ebp - 0xc], ebx
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 8], edi
cmp esi, 4
jb 0x401b00
mov eax, dword [ebp - 8]
sub ebx, edx
sub eax, edx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, 4
sub eax, edx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x14], eax
nop dword [eax]
mov eax, dword [edx + edi]
add ecx, 4
xor eax, dword [edi]
mov dword [ebx + edi], eax
add edi, 4
mov eax, dword [ebp - 0x14]
add eax, edi
cmp eax, esi
jbe 0x401ae0
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov eax, esi
sub eax, ecx
mov dword [ebp - 0x10], eax
cmp ecx, esi
jae 0x401bf2
cmp eax, 0x20
jb 0x401bc9
lea eax, [ecx + ebx]
add edx, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
dec eax
add eax, esi
cmp dword [ebp - 4], eax
ja 0x401b38
lea eax, [esi - 1]
add eax, ebx
cmp eax, edx
jae 0x401bc9
lea eax, [ecx + edi]
mov dword [ebp - 0x14], eax
lea eax, [esi - 1]
add eax, edi
cmp dword [ebp - 4], eax
ja 0x401b52
lea eax, [esi - 1]
add eax, ebx
cmp eax, dword [ebp - 0x14]
jae 0x401bc9
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], esi
and eax, 0x1f
sub dword [ebp - 4], eax
mov esi, edi
sub esi, dword [ebp + 8]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x10], esi
add eax, ecx
mov esi, ebx
mov dword [ebp - 0x14], eax
sub esi, dword [ebp + 8]
mov dword [ebp - 0x18], esi
mov esi, edi
mov edi, dword [ebp - 0x18]
sub esi, ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], esi
mov esi, eax
mov eax, dword [ebp - 0x1c]
nop dword [eax + eax]
movups xmm0, xmmword [edx]
add ecx, 0x20
lea edx, [edx + 0x20]
lea esi, [esi + 0x20]
movups xmm1, xmmword [edx + ebx - 0x20]
pxor xmm1, xmm0
movups xmmword [edx + edi - 0x20], xmm1
movups xmm1, xmmword [eax + esi - 0x20]
movups xmm0, xmmword [edx - 0x10]
pxor xmm1, xmm0
movups xmmword [esi - 0x20], xmm1
cmp ecx, dword [ebp - 4]
jb 0x401b90
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov eax, dword [ebp + 8]
cmp ecx, esi
jae 0x401bf2
sub edi, dword [ebp + 8]
add eax, ecx
sub ebx, dword [ebp + 8]
sub esi, ecx
nop word [eax + eax]
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [eax + ebx - 1], cl
sub esi, 1
jne 0x401be0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402170
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x4902b4]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
lea esi, [esp + 0x1c]
mov dword [esp + 0x18], edx
push 0x30
mov eax, esi
mov dword [esp + 0x14], esi
push 0
push eax
mov edi, ecx
call fcn.00447c10
add esp, 0xc
mov dword [esp + 0x14], 0
lea edx, [edi + 0x20]
nop
mov eax, 3
mov ecx, dword [edi + eax*4]
bswap ecx
add ecx, 1
bswap ecx
mov dword [edi + eax*4], ecx
jne 0x4021cb
test eax, eax
je 0x4021cb
dec eax
jmp 0x4021b5
mov ecx, edx
call fcn.004090e0
cmp dword [0x49411c], 0
jne 0x402216
mov eax, 1
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [0x494108], eax
mov eax, ecx
mov dword [0x49410c], esi
mov esi, dword [esp + 0x10]
mov dword [0x494110], ecx
mov dword [0x494114], edx
mov dword [0x494118], eax
mov dword [0x49411c], 1
jmp 0x40221b
mov eax, dword [0x494118]
test eax, 0x2000000
je 0x402257
mov eax, dword [edi + 0x24]
lea edx, [edi + 0x20]
movups xmm0, xmmword [edi]
lea eax, [edx + eax*4]
mov ecx, dword [edx]
movaps xmm1, xmmword [eax + 8]
add eax, 0x18
pxor xmm1, xmm0
sub ecx, 1
je 0x40224d
aesenc xmm1, xmmword [eax]
add eax, 0x10
sub ecx, 1
jne 0x402240
aesenclast xmm1, xmmword [eax]
movups xmmword [esi], xmm1
jmp 0x40226e
push esi
mov edx, edi
lea ecx, [edi + 0x20]
call fcn.00408700
mov edx, eax
add esp, 4
test edx, edx
jne 0x4022bc
lea edx, [edi + 0x20]
mov ecx, dword [esp + 0x14]
add esi, 0x10
add ecx, 0x10
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ecx
cmp ecx, 0x30
jl 0x4021b0
push 0x30
push dword [esp + 0x1c]
lea edx, [esp + 0x24]
mov ecx, edx
call fcn.00401aa0
push 0x100
lea edx, [esp + 0x28]
lea ecx, [edi + 0x20]
call fcn.00407430
mov edx, eax
add esp, 0xc
test edx, edx
jne 0x4022bc
movups xmm0, xmmword [esp + 0x3c]
movups xmmword [edi], xmm0
mov ecx, 0x30
lea eax, [esp + 0x1c]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4022c5
mov ecx, dword [esp + 0x4c]
mov eax, edx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00444b60
mov esp, ebp
pop ebp
ret
Function at 0x4024e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x4902b4]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 8], edx
push edi
mov edi, ecx
cmp esi, 0x400
jbe 0x40251f
mov eax, 0xffffffca
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00444b60
mov esp, ebp
pop ebp
ret
push 0x30
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00447c10
mov eax, dword [edi + 0x10]
add esp, 0xc
cmp eax, dword [edi + 0x1c]
jg 0x40253e
cmp dword [edi + 0x14], 0
je 0x402556
push 0
push 0
xor edx, edx
mov ecx, edi
call fcn.004022f0
add esp, 8
test eax, eax
jne 0x40267d
test esi, esi
je 0x40264f
lea edx, [edi + 0x20]
mov eax, 3
mov ecx, dword [edi + eax*4]
bswap ecx
add ecx, 1
bswap ecx
mov dword [edi + eax*4], ecx
jne 0x40257c
test eax, eax
je 0x40257c
dec eax
jmp 0x402566
mov ecx, edx
call fcn.004090e0
cmp dword [0x49411c], 0
jne 0x4025c6
mov eax, 1
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [0x494108], eax
mov eax, ecx
mov dword [0x49410c], esi
mov esi, dword [ebp + 8]
mov dword [0x494110], ecx
mov dword [0x494114], edx
mov dword [0x494118], eax
mov dword [0x49411c], 1
jmp 0x4025cb
mov eax, dword [0x494118]
lea ecx, [edi + 0x20]
test eax, 0x2000000
je 0x402609
mov eax, dword [ecx + 4]
movups xmm0, xmmword [edi]
lea eax, [ecx + eax*4]
mov ecx, dword [ecx]
movaps xmm1, xmmword [eax + 8]
add eax, 0x18
pxor xmm1, xmm0
sub ecx, 1
je 0x4025fd
aesenc xmm1, xmmword [eax]
add eax, 0x10
sub ecx, 1
jne 0x4025f0
aesenclast xmm1, xmmword [eax]
movups xmmword [esp + 0x40], xmm1
jmp 0x40261e
lea eax, [esp + 0x40]
mov edx, edi
push eax
call fcn.00408700
mov edx, eax
add esp, 4
test edx, edx
jne 0x402663
cmp dword [ebp + 8], 0x10
mov eax, 0x10
cmova esi, eax
lea eax, [esp + 0x40]
push esi
push eax
push dword [esp + 0x14]
call fcn.00447690
add dword [esp + 0x18], esi
lea edx, [edi + 0x20]
add esp, 0xc
sub dword [ebp + 8], esi
mov esi, dword [ebp + 8]
jne 0x402561
lea edx, [esp + 0x10]
mov ecx, edi
call fcn.00402170
mov edx, eax
test edx, edx
jne 0x402663
inc dword [edi + 0x10]
mov ecx, 0x40
lea eax, [esp + 0x10]
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x402670
mov eax, edx
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00444b60
mov esp, ebp
pop ebp
ret
Function at 0x405c60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x4902b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x60], eax
call fcn.00406840
mov edi, eax
test edi, edi
jne 0x405ca0
pop edi
mov eax, 0xffffbf80
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444b60
mov esp, ebp
pop ebp
ret
push ebx
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
push ecx
mov edx, edi
movq qword [ebp - 0x5c], xmm0
lea ecx, [ebp - 0x5c]
call fcn.004069c0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x405dc0
movzx edi, byte [edi + 4]
push 0x40
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x50], edi
push eax
call fcn.00447c10
mov eax, dword [ebp - 0x4c]
add esp, 0xc
mov dword [ebp - 0x48], ebx
test eax, eax
je 0x405dc0
nop dword [eax]
cmp eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x5c]
cmovb edi, eax
call fcn.00406b60
mov ebx, eax
test ebx, ebx
jne 0x405dc0
push dword [ebp + 0xc]
mov edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x5c]
call fcn.00406d70
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x405dc0
push 4
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x5c]
call fcn.00406d70
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x405dc0
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.00406e10
mov ebx, eax
test ebx, ebx
jne 0x405dc0
xor ecx, ecx
test edi, edi
je 0x405dac
cmp edi, 0x20
jb 0x405d9c
lea edx, [esi - 1]
lea eax, [ebp + edi - 0x45]
add edx, edi
cmp esi, eax
ja 0x405d6d
lea eax, [ebp - 0x44]
cmp edx, eax
jae 0x405d9c
mov eax, edi
and eax, 0xffffffe0
movups xmm0, xmmword [esi]
movups xmm1, xmmword [ebp + ecx - 0x44]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
movups xmm0, xmmword [esi + 0x10]
movups xmm1, xmmword [ebp + ecx - 0x34]
add ecx, 0x20
pxor xmm1, xmm0
movups xmmword [esi + 0x10], xmm1
add esi, 0x20
cmp ecx, eax
jb 0x405d72
cmp ecx, edi
jae 0x405dac
mov al, byte [ebp + ecx - 0x44]
inc ecx
xor byte [esi], al
inc esi
cmp ecx, edi
jb 0x405da0
mov eax, dword [ebp - 0x4c]
inc byte [ebp - 0x45]
sub eax, edi
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
jne 0x405cf0
mov ecx, 0x40
lea eax, [ebp - 0x44]
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x405dd0
lea ecx, [ebp - 0x5c]
call fcn.004068e0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00444b60
mov esp, ebp
pop ebp
ret
Function at 0x407080
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, edx
mov edx, ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 8], eax
mov eax, esi
mov dword [ebp - 0x14], edx
sub ecx, eax
push edi
mov edx, 4
mov dword [ebp - 4], ecx
xor edi, edi
sub ebx, eax
sub edx, eax
nop word [eax + eax]
mov eax, dword [ebx + esi]
lea esi, [esi + 4]
xor eax, dword [esi - 4]
add edi, 4
mov dword [ecx + esi - 4], eax
lea eax, [edx + esi]
cmp eax, 0x10
jbe 0x4070b0
mov edx, 0x10
mov eax, edx
sub eax, edi
mov dword [ebp - 0x18], eax
cmp edi, edx
jae 0x407192
cmp eax, 0x20
jb 0x407172
mov eax, dword [ebp - 0x14]
lea esi, [edi + eax]
lea ecx, [eax + 0xf]
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
lea ecx, [edi + eax]
add eax, 0xf
cmp esi, eax
ja 0x407106
cmp dword [ebp - 0xc], ecx
jae 0x40716d
mov esi, dword [ebp - 8]
lea eax, [esi + 0xf]
cmp dword [ebp - 0x10], eax
ja 0x407119
lea eax, [edi + esi]
cmp dword [ebp - 0xc], eax
jae 0x40716d
mov eax, dword [ebp - 0x18]
and eax, 0x1f
sub edx, eax
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebp - 0x18], edx
sub esi, dword [ebp - 0x14]
mov dword [ebp - 8], esi
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
movups xmm0, xmmword [ecx]
add edi, 0x20
lea ecx, [ecx + 0x20]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ecx + ebx - 0x20]
pxor xmm1, xmm0
movups xmmword [ecx + esi - 0x20], xmm1
movups xmm1, xmmword [edx + eax - 0x20]
movups xmm0, xmmword [ecx - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edi, dword [ebp - 0x18]
jb 0x407136
mov edx, 0x10
jmp 0x407174
mov esi, dword [ebp - 4]
jmp 0x407174
mov esi, ecx
cmp edi, 0x10
jae 0x407192
mov eax, dword [ebp + 8]
add eax, edi
sub edx, edi
mov cl, byte [eax + ebx]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [eax + esi - 1], cl
sub edx, 1
jne 0x407180
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4071a0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4902b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov dl, 1
nop word [eax + eax]
movzx eax, dl
mov cl, dl
sar cl, 7
and cl, 0x1b
mov byte [ebp + ebx - 0x204], dl
mov byte [ebp + eax - 0x104], bl
mov al, dl
add al, al
inc ebx
xor cl, al
xor dl, cl
cmp ebx, 0x100
jl 0x4071c0
mov cl, 1
mov edx, 0x494130
movzx eax, cl
mov dword [edx], eax
mov al, cl
sar al, 7
add cl, cl
and al, 0x1b
add edx, 4
xor cl, al
cmp edx, 0x494158
jl 0x4071f1
mov byte [0x494160], 0x63
xor ebx, ebx
mov byte [0x4946c3], 0
nop dword [eax]
movzx eax, byte [ebp + ebx - 0x103]
lea ecx, [ebp - 0x105]
sub ecx, eax
mov dl, byte [ecx]
mov cl, dl
rol cl, 1
xor dl, cl
rol cl, 1
xor dl, cl
rol cl, 1
mov al, cl
rol al, 1
xor al, cl
xor al, dl
xor al, 0x63
mov byte [ebx + 0x494161], al
inc ebx
movzx eax, al
mov byte [eax + 0x494660], bl
lea eax, [ebx + 1]
cmp eax, 0x100
jl 0x407220
xor edi, edi
mov dword [ebp - 0x20c], 0xff
nop
mov dl, byte [edi + 0x494160]
mov bl, dl
movzx ecx, dl
sar bl, 7
mov al, dl
add al, al
and bl, 0x1b
xor bl, al
movzx eax, dl
movzx esi, bl
xor esi, eax
movzx eax, bl
shl esi, 8
xor esi, ecx
shl esi, 8
xor esi, ecx
shl esi, 8
xor esi, eax
mov al, byte [edi + 0x494660]
mov dword [edi*4 + 0x495b60], esi
rol esi, 8
mov dword [edi*4 + 0x495760], esi
rol esi, 8
mov dword [edi*4 + 0x494b60], esi
rol esi, 8
mov dword [edi*4 + 0x494760], esi
test al, al
je 0x40734d
movzx eax, al
xor edx, edx
mov ebx, 0xff
movzx ecx, byte [ebp + eax - 0x104]
mov eax, dword [ebp - 0xf6]
movzx eax, al
add eax, ecx
div ebx
mov eax, dword [ebp - 0xfb]
movzx eax, al
add eax, ecx
movzx esi, byte [ebp + edx - 0x204]
xor edx, edx
div ebx
mov eax, dword [ebp - 0xf7]
movzx eax, al
add eax, ecx
movzx ebx, byte [ebp + edx - 0x204]
xor edx, edx
div dword [ebp - 0x20c]
movzx eax, byte [ebp + edx - 0x204]
xor edx, edx
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0xf9]
movzx eax, al
add eax, ecx
mov ecx, 0xff
div ecx
movzx eax, byte [ebp + edx - 0x204]
jmp 0x407359
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x208], ebx
xor eax, eax
shl eax, 8
xor eax, dword [ebp - 0x208]
shl eax, 8
xor eax, ebx
shl eax, 8
xor eax, esi
mov dword [edi*4 + 0x495360], eax
rol eax, 8
mov dword [edi*4 + 0x494f60], eax
rol eax, 8
mov dword [edi*4 + 0x495f60], eax
rol eax, 8
mov dword [edi*4 + 0x494260], eax
inc edi
cmp edi, 0x100
jl 0x407270
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444b60
mov esp, ebp
pop ebp
ret