joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4971e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x61000]
push edi
jmp 0x4971fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x497201
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4971f0
mov eax, 1
add ebx, ebx
jne 0x497213
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x497224
jne 0x497243
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x497243
dec eax
add ebx, ebx
jne 0x497230
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x497208
add ebx, ebx
jne 0x49723f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x497295
xor ecx, ecx
sub eax, 3
jb 0x49725b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4972ca
sar eax, 1
mov ebp, eax
jmp 0x497266
add ebx, ebx
jne 0x497266
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x497234
inc ecx
add ebx, ebx
jne 0x497274
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x497234
add ebx, ebx
jne 0x497281
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x497276
jne 0x497292
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x497276
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4972b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4972a6
jmp 0x4971f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4972b4
add edi, ecx
jmp 0x4971f6
pop esi
mov edi, esi
mov ecx, 0x2f90
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4972d2
cmp byte [edi], 0x1b
jne 0x4972d2
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 0x4972d7
lea edi, [esi + 0x94000]
mov eax, dword [edi]
or eax, eax
je 0x49734f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9dfa0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9e0b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x497304
mov ecx, edi
jns 0x497333
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 + 0x9e0bc]
or eax, eax
je 0x497349
mov dword [ebx], eax
add ebx, 4
jmp 0x497321
call dword [esi + 0x9e0cc]
mov ebp, dword [esi + 0x9e0c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x497383
sub esp, 0xffffff80
jmp 0x450aed
Function at 0x40182d
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, 0x1010
call fcn.0046efd0
mov eax, dword [0x4b6074]
mov esi, dword [esp + 0x1024]
mov ebp, dword [esp + 0x1030]
mov ebx, dword [esp + 0x102c]
xor eax, esp
mov dword [esp + 0x100c], eax
cmp byte [esi], 0x2d
jne 0x401d2c
mov edi, dword [esp + 0x1028]
push str._load
push esi
call fcn.0047e370
add esp, 8
test eax, eax
je 0x401db3
push str._ssh
push esi
call fcn.0047e370
add esp, 8
test eax, eax
je 0x401df0
push str._telnet
push esi
call fcn.0047e370
add esp, 8
test eax, eax
je 0x401e52
push str._rlogin
push esi
call fcn.0047e370
add esp, 8
test eax, eax
je 0x401f23
push str._raw
push esi
call fcn.0047e370
add esp, 8
xor edi, edi
test eax, eax
je 0x401f70
push str._serial
push esi
call fcn.0047e370
add esp, 8
test eax, eax
je 0x402034
push 0x49d784
push esi
call fcn.0047e370
add esp, 8
test eax, eax
jne 0x401918
test ebx, ebx
js 0x401dab
or byte [0x4b866c], 1
xor edi, edi
inc edi
push 0x4a25e2
push esi
call fcn.0047e370
add esp, 8
test eax, eax
je 0x40209b
push 0x49db11
push esi
call fcn.0047e370
add esp, 8
test eax, eax
je 0x4020e7
push str._hostkey
push esi
call fcn.0047e370
add esp, 8
test eax, eax
je 0x4021f4
push 0x4a6bf9
push esi
call fcn.0047e370
add esp, 8
test eax, eax
invalid
invalid
Function at 0x40421e
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x7e4
mov eax, dword [0x4b6074]
mov ebp, dword [esp + 0x7f8]
xor eax, esp
mov dword [esp + 0x7e0], eax
push 0x409cdb
push 0x30
push ebp
call fcn.0040bfed
add esp, 0xc
xor ebx, ebx
mov esi, eax
mov edi, 0x4ac4e7
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x28], ebx
push edi
call fcn.0045562a
add esp, 4
mov dword [esi + 0x2c], eax
mov al, byte [esp + 0x7fc]
mov byte [esi + 0x28], al
push edi
push edi
push edi
push ebp
call fcn.0040bef7
add esp, 0x10
mov ecx, 0x14
push ecx
push ecx
push ecx
push ecx
push ecx
push 5
mov dword [esp + 0x18], eax
push eax
call fcn.0040c072
add esp, 0x1c
push esi
call fcn.0040bbd8
add esp, 4
mov dword [esp + 0x7d4], eax
push ebx
call fcn.0040bbd8
add esp, 4
cmp byte [esp + 0x7fc], 0
mov dword [esp + 0x7d0], eax
mov al, 0x61
jne 0x4042e2
mov al, 0x6f
mov ecx, str.Apply
mov edx, str.Open
mov ebp, dword [esp + 0x7d0]
mov edi, 0x409cff
movzx eax, al
cmovne edx, ecx
mov ecx, dword [esp + 0x7d4]
push ecx
push edi
push ebp
push eax
push edx
mov edi, dword [esp + 0x14]
push edi
call fcn.0040c39b
lea esp, [esp + 0x18]
mov cl, 1
mov dword [esi + 0x14], eax
mov byte [eax + 0x1d], cl
mov eax, dword [esi + 0x14]
mov dword [eax + 0xc], 3
push esi
call fcn.0040bbd8
lea esp, [esp + 4]
mov dword [esp + 0x7cc], eax
push ebx
call fcn.0040bbd8
lea esp, [esp + 4]
mov dword [esp + 0x7c8], eax
mov eax, dword [esp + 0x7cc]
mov ecx, dword [esp + 0x7c8]
push eax
mov eax, 0x409cff
push eax
push ecx
push 0x63
push str.Cancel
push edi
call fcn.0040c39b
lea esp, [esp + 0x18]
mov cl, 1
mov dword [esi + 0x18], eax
mov byte [eax + 0x1e], cl
mov ecx, 4
mov eax, dword [esi + 0x18]
mov dword [eax + 0xc], ecx
mov eax, dword [0x48e058]
push eax
push str.Basic_options_for_your__s_session
call fcn.004555e0
lea esp, [esp + 8]
mov edi, eax
push eax
push 0x4a1b6f
mov eax, dword [esp + 0x800]
invalid

Function at 0x40f546
Capabilities:
Write file on windows

Disassembly:
push ebx
push edi
push esi
mov eax, dword [ecx + 4]
mov edi, edx
mov esi, ecx
test eax, eax
jne 0x40f560
push esi
call fcn.0040f0c7
add esp, 4
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, 2
je 0x40f57e
cmp eax, 1
jne 0x40f5d7
add esi, 8
push ebx
push edi
push esi
call fcn.00455ce8
add esp, 0xc
jmp 0x40f5d7
mov eax, dword [esi]
test eax, eax
jne 0x40f59a
push 0x2f
push str..._logging.c
push str.ctx__lgfp
call fcn.0047b26f
add esp, 0xc
mov eax, dword [esi]
push eax
push ebx
push 1
push edi
call fcn.0047d680
add esp, 0x10
cmp eax, ebx
jae 0x40f5d7
mov eax, dword [esi]
test eax, eax
je 0x40f5c0
push eax
call fcn.0047ce08
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 3
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
push str.Disabled_writing_session_log_due_to_error_while_writing
push eax
call dword [ecx]
add esp, 8
pop esi
pop edi
pop ebx
ret
Function at 0x413418
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
push eax
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi]
cmp eax, dword [esi]
je 0x413444
push 0x75
push str..._mpint.c
push str.x0__nw__x1__nw
call fcn.0047b26f
add esp, 0xc
mov eax, dword [edi]
and ebx, 1
neg ebx
test eax, eax
mov dword [esp], ebx
je 0x413474
xor eax, eax
mov edx, dword [esi + 4]
mov ecx, dword [edi + 4]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [esp]
and ecx, edx
mov edx, dword [edi + 4]
xor dword [edx + eax*4], ecx
mov edx, dword [esi + 4]
xor dword [edx + eax*4], ecx
inc eax
cmp eax, dword [edi]
jb 0x413452
add esp, 4
pop esi
pop edi
pop ebx
ret

Function at 0x413659
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [esp + 0x20]
cmp eax, 0x40000000
jb 0x413686
push 0xd5
push str..._mpint.c
push str.hex.len_____size_t_0____4
mov esi, eax
call fcn.0047b26f
mov eax, esi
add esp, 0xc
lea ecx, [eax*4 + 0x1f]
mov esi, eax
shr ecx, 5
xor eax, eax
inc eax
cmp ecx, eax
cmovbe ecx, eax
call fcn.0041327b
test esi, esi
je 0x413712
xor edx, edx
mov dword [esp], 0
mov ecx, dword [esp + 0x1c]
mov edi, 0x66
mov dword [esp + 4], esi
movsx ecx, byte [ecx + esi - 1]
mov esi, 0x46
lea ebp, [ecx - 0x61]
sub edi, ecx
sub esi, ecx
lea ebx, [ecx - 0x57]
or edi, ebp
lea ebp, [ecx - 0x41]
or esi, ebp
lea ebp, [ecx - 0x30]
sar edi, 0x1f
add ecx, 0xffffffc9
xor ebp, ebx
sar esi, 0x1f
and ebp, edi
mov edi, dword [eax + 4]
xor ebp, ebx
mov ebx, dword [esp]
xor ebp, ecx
and ebp, esi
mov esi, edx
inc edx
xor ebp, ecx
shr esi, 3
mov ecx, ebx
and ebp, 0xf
add ebx, 4
and cl, 0x1c
shl ebp, cl
or dword [edi + esi*4], ebp
mov dword [esp], ebx
mov esi, dword [esp + 4]
dec esi
jne 0x4136ac
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4137d3
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x41384f
mov eax, dword [eax + 4]
mov dword [esp + 4], 0
mov dword [esp], ecx
mov dword [esp + 8], eax
xor eax, eax
xor ebx, ebx
xor ebp, ebp
dec eax
mov edx, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov esi, edx
mov eax, dword [eax + ebp*4]
mov edi, ecx
mov edx, eax
or edi, eax
and eax, 1
shr edx, 1
xor edi, esi
or eax, edx
neg eax
mov edx, eax
shr edx, 0x1f
neg edx
sbb ecx, ecx
and edx, edi
mov edi, dword [esp + 0xc]
sar eax, 0x1f
and ecx, ebx
xor edx, esi
xor ebx, ecx
mov ecx, ebp
inc ebp
xor ecx, edi
and eax, ecx
xor eax, edi
cmp dword [esp], ebp
jne 0x4137ff
shl eax, 5
or eax, 1
jmp 0x413857
xor edx, edx
mov eax, 0xffffffe1
dec edx
mov ecx, 0x10
xor esi, esi
mov edi, edx
shr edi, cl
mov ebx, edi
xor edi, edx
neg ebx
sar ebx, 0x1f
and edi, ebx
and ebx, ecx
xor edx, edi
add esi, ebx
shr ecx, 1
jne 0x41385e
add eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x41397d
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x4139aa
xor esi, esi
lea eax, [ebx - 1]
dec esi
movzx edi, byte [ecx + eax]
xor ebx, eax
xor edi, 0x30
dec edi
sar edi, 0x1f
and ebx, edi
xor ebx, eax
dec eax
cmp eax, esi
jne 0x413992
jmp 0x4139ac
xor ebx, ebx
test edx, edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
je 0x413a10
xor ecx, ecx
mov dword [esp], edx
xor ebx, ebx
mov esi, dword [esp + 0xc]
mov dword [esp + 4], ecx
inc ebx
shl ebx, cl
cmp ebx, edx
jae 0x413a00
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ebp, dword [esp]
xor edi, edi
shr eax, cl
sub ebp, ebx
add ebx, esi
and al, 1
neg al
mov ecx, eax
mov al, byte [esi + edi]
mov ah, byte [ebx + edi]
mov edx, ecx
xor ah, al
and ah, dl
xor al, ah
mov byte [esi + edi], al
xor byte [ebx + edi], ah
inc edi
cmp ebp, edi
jne 0x4139e7
mov ecx, dword [esp + 4]
mov edx, dword [esp]
inc ecx
mov eax, edx
shr eax, cl
test eax, eax
jne 0x4139bd
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x413ef8
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
test edx, edx
je 0x413f3c
mov ebx, dword [eax + 4]
xor ecx, ecx
xor eax, eax
xor edi, edi
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
shrd ebp, esi, cl
shr esi, cl
test cl, 0x20
cmove esi, ebp
cmp ecx, 0x40
mov ebp, 0
cmovae esi, ebp
add ecx, 0x20
xor esi, dword [ebx + edi*4]
inc edi
or eax, esi
cmp edi, edx
jb 0x413f0f
jmp 0x413f3e
xor eax, eax
mov ecx, eax
and eax, 1
shr ecx, 1
or eax, ecx
neg eax
shr eax, 0x1f
xor eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x41ac67
Capabilities:
Get session user name

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x36
push esi
call fcn.004031c8
add esp, 8
cmp byte [eax], 0
je 0x41ac87
push eax
call fcn.0045562a
add esp, 4
pop esi
ret
push 0x37
push esi
call fcn.00402fe3
add esp, 8
test al, al
je 0x41ac9c
pop esi
jmp fcn.00466a01
xor eax, eax
pop esi
ret
Function at 0x4346bd
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x100
mov eax, dword [0x4b6074]
mov esi, edx
xor eax, esp
mov dword [esp + 0xfc], eax
lea eax, [edx*4]
mov ebp, eax
add ebp, 0x1c
je 0x43479a
neg eax
xor edx, edx
xor ebx, ebx
mov dword [esp + 4], ecx
mov dword [esp], ebp
lea eax, [esp + eax + 0xc]
mov dword [esp + 8], eax
cmp ebx, esi
jae 0x43470a
mov edi, dword [ecx + ebx*4]
jmp 0x43478d
mov edi, dword [esp + ebx*4 + 8]
mov ebp, edx
xor edx, edx
mov eax, ebx
div esi
test edx, edx
je 0x434740
cmp esi, 8
jne 0x43473c
mov eax, ebx
and eax, 7
cmp eax, 4
jne 0x43473c
movd xmm0, edi
pshufd xmm0, xmm0, 0x51
aeskeygenassist xmm0, xmm0, 0
movd edi, xmm0
mov edx, ebp
jmp 0x434783
movd xmm0, edi
mov edx, ebp
cmp ebp, 0xa
pshufd xmm0, xmm0, 0x51
aeskeygenassist xmm0, xmm0, 0
pextrd edi, xmm0, 1
jb 0x434779
push 0x537
push str..._sshaes.c
push str.rconpos___lenof_key_setup_round_constants_
call fcn.0047b26f
mov ecx, dword [esp + 0x10]
mov edx, ebp
add esp, 0xc
movzx eax, byte [edx + 0x492238]
inc edx
xor edi, eax
mov eax, dword [esp + 8]
mov ebp, dword [esp]
xor edi, dword [eax + ebx*4]
mov dword [esp + ebx*4 + 0xc], edi
inc ebx
cmp ebp, ebx
jne 0x4346fe
mov edi, dword [esp + 0x118]
mov ebx, dword [esp + 0x114]
add esi, 6
xor eax, eax
xor ecx, ecx
movdqu xmm0, xmmword [esp + eax + 0xc]
inc ecx
movdqa xmmword [ebx + eax], xmm0
add eax, 0x10
cmp ecx, esi
jbe 0x4347af
lea eax, [esp + 0xc]
push 0xf0
push eax
call fcn.00467158
add esp, 8
mov eax, esi
shl eax, 4
add edi, eax
xor eax, eax
movdqa xmm0, xmmword [ebx]
test eax, eax
je 0x4347ee
cmp esi, eax
je 0x4347ee
aesimc xmm0, xmm0
inc eax
movdqa xmmword [edi], xmm0
add edi, 0xfffffff0
add ebx, 0x10
cmp esi, eax
jae 0x4347dd
mov ecx, dword [esp + 0xfc]
xor ecx, esp
call fcn.0046ef41
add esp, 0x100
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x434977
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov edi, dword [esp + 0x1c]
mov cl, byte [ecx]
mov al, byte [esi + 1]
test edi, edi
mov dword [esp + 4], edi
jle 0x4349dd
mov ebx, dword [esp + 0x1c]
mov byte [esp + 3], cl
mov ah, bl
mov ah, cl
mov byte [esp + 2], bl
inc ah
movzx edi, ah
inc ah
movzx ebx, byte [esi + edi + 2]
add al, bl
movzx ebp, al
mov cl, byte [esi + ebp + 2]
mov byte [esi + edi + 2], cl
mov byte [esi + ebp + 2], bl
movzx ecx, byte [esi + edi + 2]
add ecx, ebx
movzx ecx, cl
mov cl, byte [esi + ecx + 2]
xor byte [edx], cl
inc edx
dec dword [esp + 4]
jne 0x4349a3
mov cl, byte [esp + 3]
add cl, byte [esp + 2]
mov byte [esi], cl
mov byte [esi + 1], al
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43662e
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [0x4b6074]
mov ebx, ecx
mov ecx, 0x10
mov esi, ebx
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, esp
mov edi, eax
rep movsd dword es:[edi], dword [esi]
movdqu xmm1, xmmword [eax + 0x30]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm0, xmmword [eax]
movdqu xmm3, xmmword [eax + 0x10]
xor ecx, ecx
pshufd xmm1, xmm1, 0x93
pshufd xmm2, xmm2, 0x4e
paddd xmm0, xmm3
add ecx, 2
pshufd xmm4, xmm0, 0x93
cmp ecx, 0x14
pxor xmm4, xmm1
movdqa xmm1, xmm4
pslld xmm4, 0x10
psrld xmm1, 0x10
por xmm4, xmm1
pshufd xmm5, xmm4, 0x93
paddd xmm5, xmm2
pshufd xmm6, xmm5, 0x4e
pxor xmm6, xmm3
movdqa xmm1, xmm6
pslld xmm6, 0xc
psrld xmm1, 0x14
por xmm6, xmm1
paddd xmm0, xmm6
pshufd xmm3, xmm6, 0x39
pshufd xmm1, xmm0, 0x93
pxor xmm1, xmm4
movdqa xmm2, xmm1
pslld xmm1, 8
psrld xmm2, 0x18
por xmm1, xmm2
pshufd xmm2, xmm1, 0x93
paddd xmm2, xmm5
pshufd xmm4, xmm2, 0x93
pxor xmm3, xmm4
movdqa xmm4, xmm3
pslld xmm3, 7
psrld xmm4, 0x19
por xmm3, xmm4
paddd xmm0, xmm3
pxor xmm1, xmm0
movdqa xmm4, xmm1
pslld xmm1, 0x10
psrld xmm4, 0x10
por xmm1, xmm4
paddd xmm2, xmm1
pxor xmm3, xmm2
movdqa xmm4, xmm3
pslld xmm3, 0xc
psrld xmm4, 0x14
por xmm3, xmm4
paddd xmm0, xmm3
pxor xmm1, xmm0
movdqa xmm4, xmm1
pslld xmm1, 8
psrld xmm4, 0x18
por xmm1, xmm4
paddd xmm2, xmm1
pxor xmm3, xmm2
pshufd xmm3, xmm3, 0x93
movdqa xmm4, xmm3
pslld xmm3, 7
psrld xmm4, 0x19
por xmm3, xmm4
jb 0x43666d
pshufd xmm1, xmm1, 0x39
pshufd xmm2, xmm2, 0x4e
movdqu xmmword [esp + 0x10], xmm3
movdqu xmmword [esp], xmm0
movd ecx, xmm0
movdqu xmmword [esp + 0x30], xmm1
movdqu xmmword [esp + 0x20], xmm2
add ecx, dword [ebx]
mov dword [esp], ecx
mov ecx, 0xfffffff1
mov edx, dword [ebx + ecx*4 + 0x40]
add dword [esp + ecx*4 + 0x40], edx
inc ecx
jne 0x4367a0
movaps xmm0, xmmword [0x492310]
movdqa xmm1, xmmword [0x4923d0]
movdqa xmm2, xmmword [0x493610]
mov ecx, 0xffffffc0
movsd xmm3, qword [esp + ecx + 0x40]
shufps xmm3, xmm3, 0xd4
movaps xmm4, xmm3
shufps xmm3, xmm3, 0xe8
andps xmm4, xmm0
pshuflw xmm3, xmm3, 0xe8
movaps xmm5, xmm4
movaps xmm6, xmm4
psrlq xmm4, 0x18
psrlq xmm5, 8
psrlq xmm6, 0x10
pshufd xmm4, xmm4, 0xe8
pshufd xmm5, xmm5, 0xe8
pshuflw xmm4, xmm4, 0xe8
pshuflw xmm5, xmm5, 0xe8
punpckldq xmm3, xmm5
pshufd xmm5, xmm6, 0xe8
pshuflw xmm5, xmm5, 0xe8
pand xmm3, xmm1
punpckldq xmm5, xmm4
pshuflw xmm3, xmm3, 0xd8
pand xmm5, xmm1
pshufd xmm3, xmm3, 0xd4
pshuflw xmm4, xmm5, 0xd8
packuswb xmm3, xmm0
movdqa xmm5, xmm2
pshufd xmm4, xmm4, 0x60
pand xmm3, xmm2
packuswb xmm4, xmm0
pandn xmm5, xmm4
por xmm3, xmm5
movq qword [ebx + ecx + 0x80], xmm3
add ecx, 8
jne 0x4367c7
mov dword [ebx + 0x80], 0
push 0x40
push eax
call fcn.00467158
add esp, 8
inc dword [ebx + 0x30]
jne 0x43687e
inc dword [ebx + 0x34]
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0046ef41
add esp, 0x44
pop esi
pop edi
pop ebx
ret
Function at 0x437ad0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test ecx, ecx
je 0x437b2b
mov edx, dword [esp + 0x18]
movzx esi, byte [edx]
inc edx
xor esi, eax
mov eax, esi
shr esi, 4
and eax, 0xf
imul edi, eax, 0x11111044
xor edi, esi
imul esi, eax, 0x8840020
imul eax, eax, 0x4220000
xor esi, edi
and edi, 0xf
xor esi, eax
imul ebx, edi, 0x11111044
imul eax, edi, 0x4220000
imul ebp, edi, 0x8840020
shr esi, 4
xor eax, ebx
xor eax, esi
xor eax, ebp
dec ecx
jne 0x437ae4
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x437d81
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov edi, ecx
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
xor eax, eax
mov esi, edx
test ecx, ecx
je 0x437dc9
mov edx, dword [edi]
mov ebp, dword [edi + 4]
xor edx, dword [ecx]
xor ebp, dword [ecx + 4]
or ebp, edx
jne 0x437dc9
mov ebp, 4
push ebp
push 0x4b6040
push 0
call fcn.00437ad0
add esp, 0xc
push ebp
push 0x4b6a98
push eax
call fcn.00437ad0
add esp, 0xc
test ebx, ebx
jle 0x437e0e
add ebx, esi
mov ebp, 4
mov ecx, dword [edi]
mov edx, dword [edi + 4]
xor ecx, dword [esi]
xor edx, dword [esi + 4]
or edx, ecx
mov ecx, 0x4b6a98
mov edx, 0x4b6040
cmove ecx, edx
push ebp
push ecx
push eax
call fcn.00437ad0
add esp, 0xc
push ebp
push 0x4b6a98
push eax
call fcn.00437ad0
add esp, 0xc
add esi, 8
cmp esi, ebx
jb 0x437dd4
test eax, eax
sete al
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x438ed8
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov ebx, edx
mov dword [esp], ecx
mov dword [esp + 4], edx
rol ebx, 4
mov edi, dword [esi + eax*4]
xor ebx, dword [esi + eax*4 + 0x40]
mov eax, 0x493ce8
xor edi, edx
movd xmm0, edi
shr edi, 8
movd xmm1, edi
punpckldq xmm1, xmm0
movd xmm0, ebx
shr ebx, 8
movd xmm2, ebx
punpckldq xmm2, xmm0
pxor xmm0, xmm0
punpcklqdq xmm1, xmm2
movdqa xmm2, xmmword [str._b_b_b_b_b_b_b_b]
pand xmm1, xmmword [0x493ef0]
por xmm1, xmmword [0x493f00]
movdqa xmm3, xmm1
movdqu xmm4, xmmword [eax]
add eax, 0x10
cmp eax, 0x493ee8
pshufd xmm4, xmm4, 0x1b
pand xmm4, xmm3
paddd xmm3, xmm2
pxor xmm0, xmm4
jb 0x438f43
mov esi, 0x493ce8
pshufd xmm3, xmm1, 0xe5
pshufd xmm2, xmm1, 0xe7
not esi
movd ebx, xmm3
movd eax, xmm2
pshufd xmm2, xmm1, 0x4e
lea esi, [esi + 0x493ee8]
shr esi, 4
mov edi, esi
shl edi, 0x13
lea esi, [edi + esi*8]
movd edi, xmm2
lea ebp, [ebx + esi + 0x80008]
movd ebx, xmm1
pshufd xmm1, xmm0, 0xe7
lea eax, [eax + esi + 0x80008]
lea edi, [edi + esi + 0x80008]
movd ecx, xmm1
lea ebx, [ebx + esi + 0x80008]
and eax, 0x40004
pshufd xmm1, xmm0, 0x4e
and edi, 0x40004
and ebp, 0x40004
mov esi, ecx
imul eax, eax, 0x3c00
imul edi, edi, 0x3c00
and ebx, 0x40004
shl esi, 4
imul ebx, ebx, 0x3c00
and eax, esi
xor eax, ecx
movd ecx, xmm1
pshufd xmm1, xmm0, 0xe5
mov esi, ecx
movd edx, xmm1
shr eax, 0xc
shl esi, 4
and eax, 0xf000f
and edi, esi
imul esi, ebp, 0x3c00
xor edi, ecx
mov ecx, edx
shl ecx, 4
shr edi, 4
and esi, ecx
movd ecx, xmm0
and edi, 0xf000f00
xor esi, edx
mov edx, ecx
shl edx, 4
shr esi, 8
and ebx, edx
and esi, 0xf000f0
xor ebx, ecx
or esi, edi
and ebx, 0xf000f000
or esi, ebx
or eax, esi
shr esi, 4
xor esi, eax
and esi, 0x7030702
xor eax, esi
shl esi, 4
xor esi, eax
mov ecx, esi
shr ecx, 8
xor ecx, eax
and ecx, 0x4e009e
mov eax, ecx
shl eax, 8
xor eax, esi
xor eax, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
and ecx, 0xd9d3
mov esi, ecx
shl esi, 0x10
xor esi, eax
xor esi, ecx
mov eax, esi
shr eax, 4
xor eax, esi
and eax, 0x5040004
mov ecx, eax
shl eax, 4
xor ecx, esi
shr esi, 1
xor eax, dword [esp]
xor esi, ecx
and esi, 0x4045015
xor ecx, esi
add esi, esi
xor esi, ecx
xor esi, eax
mov eax, dword [esp + 4]
mov edx, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret