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

Disassembly:
call 0x7720c134
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x7720c164
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x7720c180
xor edx, 0
jmp 0x7720c18b
xor edx, edx
jmp 0x7720c1a2
jmp 0x7720c1ae
xor eax, eax
push 0x8427d7c0
call 0x7720c1bb
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x7720c1f7
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x7720c1d0
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x7720c20e
add eax, 0
jno 0x7720c213
add esi, 0
ret 0x10

Function at 0x7720cf7c
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x7720cf9e
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x7720d140
cmp edi, dword [ebp + 0x10]
jb 0x7720d140
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.7720ca68
inc edi
jmp 0x7720d027
jmp 0x7720d034
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.7720ca68
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.7720ca68
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x7720d088
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x7720d06c
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.7720d0b6
add dword [eax], 0x39
jle 0x7720d092
sub al, 0xf5
mov ch, al
call fcn.7720d0cb
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x7720eda3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x7720edb9
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x7720edca
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.7720ee0b
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x77211177
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 0x772110c0
add ebx, 0
push ecx
call 0x772110d5
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, 0x6bce53b9
sub ebx, dword [0x6bd04bf8]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6bd04be8
call fcn.7720cb9f
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.7720c0ad
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x77211233
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x77211233
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 0x772111ea
mov eax, 1
lock xchg dword [0x6bd04bf4], eax
push 0x3dd1fc71
call 0x77211177
push esi
add esp, 8
cmp eax, 0
jne 0x77211160
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x77211186
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x7721119b
cmp ecx, edx
cmp eax, 0
je 0x772111c0
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 0x772111aa
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.772111d9
dec eax
loope 0x772111dc
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6bd04bf4], 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 0x77211210
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x77211225
jmp 0x77211230
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x7721111e
Function at 0x77218298
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 0x7721856e
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6bcf186c
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6bce8832
push 0xffffffffffffffff
call fcn.7720f498
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 0x77218302
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.7721831a
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 0x77218562
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x77218536
Function at 0x77227d68
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 0x77227d8a
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x77227d8a
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x77227d8a
ret
cmp word [ebx + 4], 0x14c
jne 0x77227d8a
test word [ebx + 0x16], 2
je 0x77227d8a
test word [ebx + 0x16], 0x100
je 0x77227d8a
cmp word [ebx + 0x18], 0x10b
jne 0x77227d8a
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x77227d8a
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x77227e16
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x77227daa
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.7720ecf5
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x77227d8a
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 0x77227e16
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 0x77227d8a
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x77227d8a
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x77227d8a
ret
cmp word [ebx + 4], 0x14c
jne 0x77227d8a
test word [ebx + 0x16], 2
je 0x77227d8a
test word [ebx + 0x16], 0x100
je 0x77227d8a
cmp word [ebx + 0x18], 0x10b
jne 0x77227d8a
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x77227d8a
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x77227e16
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x77227daa
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.7720ecf5
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x77227d8a
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 0x77227ecd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x77227f26
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x77227ecd
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x77227edc
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 0x7762db7f
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 0x77227f2d
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.7720eda3
cmp eax, dword [ebp + 0xc]
pop eax
je 0x77227fcc
add edi, 4
add eax, 2
dec ecx
jne 0x77227f12
call 0x77227f79
loope 0x77227f6f
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x77227fc9
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 0x77227fda
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 0x77227f8d
cmp eax, ecx
ja 0x77227f8d
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x77228017
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x7722800d
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.7720f282
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x77227edc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x77227f26
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x77227ecd
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x77227edc
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 0x7762db7f
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 0x77227f2d
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.7720eda3
cmp eax, dword [ebp + 0xc]
pop eax
je 0x77227fcc
add edi, 4
add eax, 2
dec ecx
jne 0x77227f12
call 0x77227f79
loope 0x77227f6f
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x77227fc9
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 0x77227fda
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 0x77227f8d
cmp eax, ecx
ja 0x77227f8d
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x77228017
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x7722800d
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.7720f282
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x403d80
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
test ecx, ecx
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xe8], ecx
jne 0x403dd0
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
ret
mov dword [eax + 8], 0xc1059ed8
mov dword [eax + 0xc], 0x367cd507
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0xf70e5939
mov dword [eax + 0x18], 0xffc00b31
mov dword [eax + 0x1c], 0x68581511
mov dword [eax + 0x20], 0x64f98fa7
mov dword [eax + 0x24], 0xbefa4fa4
ret

Function at 0x404100
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push ebp
push edi
push 0x40
lea ebp, [esi + 0x68]
push 0x36
push ebp
call fcn.0045c6f6
push 0x40
lea edi, [esi + 0xa8]
push 0x5c
push edi
call fcn.0045c6f6
mov ecx, dword [esp + 0x28]
mov eax, edi
add esp, 0x18
mov edi, 0x14
mov edi, edi
movzx edx, byte [ecx]
xor byte [eax - 0x40], dl
movzx edx, byte [ecx]
xor byte [eax], dl
add ecx, 1
add eax, 1
sub edi, 1
jne 0x404130
push ebx
xor ecx, ecx
mov eax, esi
call fcn.00403d80
lea edi, [ecx + 0x40]
mov ecx, dword [esi]
mov eax, ecx
and eax, 0x3f
mov ebx, edi
add ecx, edi
sub ebx, eax
cmp ecx, edi
mov dword [esp + 0xc], eax
mov dword [esi], ecx
jae 0x40416e
add dword [esi + 4], 1
test eax, eax
je 0x40419f
cmp ebx, edi
ja 0x40419f
push ebx
lea eax, [eax + esi + 0x28]
push ebp
push eax
call fcn.0045c754
lea eax, [esi + 0x28]
push esi
call fcn.004013e0
sub edi, ebx
add esp, 0x10
add ebp, ebx
cmp edi, 0x40
mov dword [esp + 0xc], 0
jb 0x4041ba
mov ebx, edi
shr ebx, 6
push esi
mov eax, ebp
call fcn.004013e0
add esp, 4
add ebp, 0x40
sub edi, 0x40
sub ebx, 1
jne 0x4041a4
test edi, edi
pop ebx
jbe 0x4041d2
mov ecx, dword [esp + 8]
push edi
lea edx, [ecx + esi + 0x28]
push ebp
push edx
call fcn.0045c754
add esp, 0xc
pop edi
pop ebp
pop ecx
ret
Function at 0x405030
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Manually build aes constants

Disassembly:
sub esp, 0x800
push ebx
push ebp
xor ecx, ecx
push esi
lea eax, [ecx + 1]
push edi
nop
mov edx, eax
and dl, 0x80
neg dl
lea esi, [eax + eax]
mov dword [esp + ecx*4 + 0x410], eax
mov dword [esp + eax*4 + 0x10], ecx
sbb edx, edx
and edx, 0x1b
xor edx, esi
xor edx, eax
and edx, 0xff
add ecx, 1
cmp ecx, 0x100
mov eax, edx
jl 0x405040
mov eax, 1
mov ecx, 0x46b6f0
jmp 0x405080
mov edx, eax
and dl, 0x80
neg dl
mov dword [ecx], eax
sbb edx, edx
and edx, 0x1b
add eax, eax
xor edx, eax
and edx, 0xff
add ecx, 4
cmp ecx, 0x46b718
mov eax, edx
jl 0x405080
mov byte [0x46adf0], 0x63
mov byte [0x46cf7b], 0
mov ebx, 1
mov ecx, dword [esp + ebx*4 + 0x10]
add ecx, ecx
add ecx, ecx
lea edx, [esp + 0x80c]
sub edx, ecx
mov eax, dword [edx]
mov ecx, eax
sar ecx, 7
lea edx, [eax + eax]
or ecx, edx
and ecx, 0xff
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
and edx, 0xff
xor eax, edx
mov ecx, edx
add edx, edx
sar ecx, 7
or ecx, edx
and ecx, 0xff
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
xor edx, 0x63
and edx, 0xff
xor eax, edx
mov byte [ebx + 0x46adf0], al
mov byte [eax + 0x46cf18], bl
add ebx, 1
cmp ebx, 0x100
jl 0x4050b8
xor ecx, ecx
lea esp, [esp]
movzx edx, byte [ecx + 0x46adf0]
mov eax, edx
and al, 0x80
neg al
lea esi, [edx + edx]
sbb eax, eax
and eax, 0x1b
xor eax, esi
and eax, 0xff
mov esi, eax
xor eax, edx
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, esi
mov dword [ecx*4 + 0x46cb18], eax
rol eax, 8
mov dword [ecx*4 + 0x46c718], eax
rol eax, 8
mov dword [ecx*4 + 0x46c318], eax
rol eax, 8
mov dword [ecx*4 + 0x46bf18], eax
movzx eax, byte [ecx + 0x46cf18]
test eax, eax
je 0x4051e1
mov esi, dword [esp + eax*4 + 0x10]
mov edx, dword [esp + 0x48]
lea eax, [esi + edx]
cdq
mov edi, 0xff
idiv edi
mov eax, dword [esp + 0x34]
add eax, esi
mov ebp, dword [esp + edx*4 + 0x410]
cdq
idiv edi
mov ebx, dword [esp + edx*4 + 0x410]
mov edx, dword [esp + 0x44]
lea eax, [esi + edx]
cdq
idiv edi
mov eax, dword [esp + 0x3c]
add eax, esi
mov esi, 0xff
mov edi, dword [esp + edx*4 + 0x410]
cdq
idiv esi
mov edx, dword [esp + edx*4 + 0x410]
jmp 0x4051e9
xor ebp, ebp
xor ebx, ebx
xor edi, edi
xor edx, edx
shl edx, 8
xor edx, edi
shl edx, 8
xor edx, ebx
shl edx, 8
xor edx, ebp
mov dword [ecx*4 + 0x46bb18], edx
rol edx, 8
mov dword [ecx*4 + 0x46b718], edx
rol edx, 8
mov dword [ecx*4 + 0x46b2f0], edx
rol edx, 8
mov dword [ecx*4 + 0x46aef0], edx
add ecx, 1
cmp ecx, 0x100
jl 0x405130
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x800
ret
Function at 0x405820
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
test cl, 0xf
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
mov esi, eax
mov edi, edx
je 0x40583f
pop edi
pop esi
mov eax, 0xffffffde
pop ebp
add esp, 0x28
ret
cmp dword [esp + 0x3c], 0
push ebx
jne 0x4058ee
test ecx, ecx
jbe 0x4059d0
lea eax, [ecx - 1]
mov ebx, ebp
shr eax, 4
sub ebx, esi
add eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
mov ecx, edi
mov dword [esp + 0x30], edx
call fcn.004044a0
mov eax, esi
lea ecx, [ebp + 2]
mov esi, 4
movzx edx, byte [ebx + eax]
xor byte [eax], dl
movzx edx, byte [ecx - 1]
xor byte [eax + 1], dl
movzx edx, byte [ecx]
xor byte [eax + 2], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 3], dl
add eax, 4
add ecx, 4
sub esi, 1
jne 0x405894
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x30]
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x34]
add edi, 0x10
sub ebx, 0x10
sub dword [esp + 0x14], 1
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
mov esi, eax
jne 0x405864
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x28
ret
test ecx, ecx
jbe 0x4059d0
mov eax, ebp
sub eax, esi
mov dword [esp + 0x14], eax
mov eax, ebp
sub eax, edi
mov dword [esp + 0x10], eax
lea eax, [ecx - 1]
shr eax, 4
add eax, 1
mov dword [esp + 0x20], eax
lea eax, [ebp + 3]
mov edx, esi
sub edx, edi
mov dword [esp + 0x18], eax
lea ecx, [esi + 1]
mov eax, edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], 4
jmp 0x405935
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
movzx ebx, byte [eax + ebx]
xor bl, byte [eax]
add eax, 4
mov byte [edx + eax - 4], bl
mov edx, dword [esp + 0x14]
mov dl, byte [ecx + edx]
xor dl, byte [eax - 3]
add ecx, 4
mov byte [ecx - 4], dl
movzx ebx, byte [eax - 2]
mov edx, dword [esp + 0x18]
xor bl, byte [edx - 1]
add edx, 4
mov byte [ecx - 3], bl
movzx ebx, byte [eax - 1]
xor bl, byte [edx - 4]
mov dword [esp + 0x18], edx
mov byte [ecx - 2], bl
mov ebx, 1
sub dword [esp + 0x1c], ebx
jne 0x405931
cmp dword [esp + 0x40], ebx
mov eax, dword [esp + 0x3c]
jne 0x405997
push eax
mov eax, esi
call fcn.00404a60
add esp, 4
jmp 0x40599e
mov ecx, esi
call fcn.004044a0
mov ecx, dword [esi]
mov dword [ebp], ecx
mov edx, dword [esi + 4]
mov dword [ebp + 4], edx
mov eax, dword [esi + 8]
mov dword [ebp + 8], eax
mov ecx, dword [esi + 0xc]
mov eax, 0x10
sub dword [esp + 0x10], eax
sub dword [esp + 0x14], eax
add edi, eax
add esi, eax
sub dword [esp + 0x20], ebx
mov dword [ebp + 0xc], ecx
jne 0x405913
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x28
ret
Function at 0x4059e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
push ebx
push esi
push edi
push 0x118
mov edi, eax
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0045c6f6
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ecx
lea edx, [esp + 0x20]
lea esi, [edi + 8]
push edx
mov dword [edi + 4], esi
call fcn.00405290
add esp, 0x14
test eax, eax
mov dword [esp + 0xc], eax
jne 0x405b08
mov ecx, dword [esp + 0x10]
mov dword [edi], ecx
shl ecx, 4
add ecx, dword [esp + 0x14]
add esi, 4
mov edx, dword [ecx]
mov dword [esi - 4], edx
mov edx, dword [ecx + 4]
add ecx, 4
mov dword [esi], edx
mov edx, dword [ecx + 4]
add ecx, 4
add esi, 4
mov dword [esi], edx
mov edx, dword [ecx + 4]
add ecx, 4
add esi, 4
mov dword [esi], edx
mov edx, dword [edi]
sub edx, 1
add esi, 4
sub ecx, 0x1c
test edx, edx
jle 0x405ae8
mov edi, edi
mov edi, 4
jmp 0x405a80
movzx eax, byte [ecx + 3]
movzx eax, byte [eax + 0x46adf0]
movzx ebx, byte [ecx + 2]
movzx ebx, byte [ebx + 0x46adf0]
mov eax, dword [eax*4 + 0x46aef0]
xor eax, dword [ebx*4 + 0x46b2f0]
movzx ebx, byte [ecx + 1]
movzx ebx, byte [ebx + 0x46adf0]
xor eax, dword [ebx*4 + 0x46b718]
mov ebx, dword [ecx]
and ebx, 0xff
movzx ebx, byte [ebx + 0x46adf0]
xor eax, dword [ebx*4 + 0x46bb18]
add esi, 4
mov dword [esi - 4], eax
add ecx, 4
sub edi, 1
jne 0x405a80
sub edx, 1
sub ecx, 0x20
test edx, edx
jg 0x405a70
mov eax, dword [esp + 0xc]
mov edx, dword [ecx]
mov dword [esi], edx
mov edx, dword [ecx + 4]
add ecx, 4
add esi, 4
mov dword [esi], edx
mov edx, dword [ecx + 4]
add esi, 4
add ecx, 4
mov dword [esi], edx
mov ecx, dword [ecx + 4]
mov dword [esi + 4], ecx
mov ecx, 0x118
lea edx, [esp + 0x10]
sub ecx, 1
mov byte [edx], 0
add edx, 1
test ecx, ecx
jne 0x405b11
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x406ff0
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
ret