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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x66ea60]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x6790e4]
movups xmm0, xmmword [str.expand_32_byte_kvss]
mov edx, dword [ebp + 8]
push edi
mov eax, dword [ecx + 0x44]
xor edi, edi
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 0x48]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x4c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0x50]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0x54]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0x58]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0x5c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x60]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0x64]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x68]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0x6c]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x8c], edx
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], eax
cmp dword [ecx + 4], edi
jl 0x44c8ca
jg 0x44c79f
cmp dword [ecx], edi
jbe 0x44c8ca
xorps xmm0, xmm0
push ebx
movlpd qword [ebp - 0x94], xmm0
mov eax, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x94]
push esi
mov esi, edx
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0044c4f0
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, edx
mov eax, dword [eax + 4]
sub ecx, ebx
sbb eax, dword [ebp - 0x88]
test eax, eax
jg 0x44c7f1
jl 0x44c7ed
cmp ecx, 0x40
jae 0x44c7f1
sub edx, edi
jmp 0x44c7f6
mov edx, 0x40
xor eax, eax
test edx, edx
je 0x44c89f
cmp edx, 0x40
jb 0x44c884
mov ebx, dword [ebp - 0x8c]
lea ecx, [ebp + edx - 0x85]
dec ebx
add ebx, edx
add ebx, edi
cmp esi, ecx
ja 0x44c829
lea ecx, [ebp - 0x84]
cmp ebx, ecx
jae 0x44c884
mov ecx, edx
and ecx, 0xffffffc0
nop
movups xmm0, xmmword [esi + eax]
movups xmm1, xmmword [ebp + eax - 0x84]
pxor xmm1, xmm0
movups xmmword [esi + eax], xmm1
movups xmm0, xmmword [esi + eax + 0x10]
movups xmm1, xmmword [ebp + eax - 0x74]
pxor xmm1, xmm0
movups xmmword [esi + eax + 0x10], xmm1
movups xmm0, xmmword [esi + eax + 0x20]
movups xmm1, xmmword [ebp + eax - 0x64]
pxor xmm1, xmm0
movups xmmword [esi + eax + 0x20], xmm1
movups xmm0, xmmword [esi + eax + 0x30]
movups xmm1, xmmword [ebp + eax - 0x54]
pxor xmm1, xmm0
movups xmmword [esi + eax + 0x30], xmm1
add eax, 0x40
cmp eax, ecx
jb 0x44c830
cmp eax, edx
jae 0x44c89f
nop dword [eax + eax]
mov cl, byte [ebp + eax - 0x84]
xor byte [esi + eax], cl
inc eax
cmp eax, edx
jb 0x44c890
mov ecx, dword [ebp + 0xc]
xor eax, eax
inc dword [ebp - 0x14]
add edi, 0x40
add esi, 0x40
mov dword [ebp - 0x88], eax
mov ebx, edi
cmp eax, dword [ecx + 4]
jl 0x44c7c0
jg 0x44c8c8
cmp ebx, dword [ecx]
jb 0x44c7c0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0059e5bd
mov esp, ebp
pop ebp
ret 8
Function at 0x44f6b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5daaeb
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x66ea60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor bl, bl
push 0x66467c
push esi
mov dword [ebp - 0x470], esi
call fcn.005ba074
test eax, eax
movzx ebx, bl
push 0x208
lea eax, [ebp - 0x21c]
mov ecx, 1
push 0
push eax
cmove ebx, ecx
call fcn.005b6630
add esp, 0x14
lea eax, [ebp - 0x21c]
push esi
push str._s.
push 0x104
push eax
call fcn.0044f670
add esp, 0x10
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44f933
test byte [ebp - 0x46c], 0x10
je 0x44f90e
lea eax, [ebp - 0x440]
push 0x664694
push eax
call fcn.005ba074
add esp, 8
test eax, eax
je 0x44f916
lea eax, [ebp - 0x440]
push 0x664698
push eax
call fcn.005ba074
add esp, 8
test eax, eax
je 0x44f916
test bl, bl
je 0x44f7d4
xor esi, esi
mov eax, str.windows
push eax
lea eax, [ebp - 0x440]
push eax
call fcn.005ba074
add esp, 8
test eax, eax
je 0x44f908
inc esi
lea eax, [esi + esi*4]
cmp word [eax*8 + str.windows], 0
lea eax, [eax*8 + str.windows]
jne 0x44f7a0
mov esi, dword [ebp - 0x470]
lea eax, [ebp - 0x440]
push eax
push esi
push str._s_s
lea eax, [ebp - 0x21c]
push 0x103
push eax
call fcn.0044f670
add esp, 0x14
mov dword [ebp - 0x47c], 0
xor eax, eax
mov dword [ebp - 0x478], 7
lea ecx, [ebp - 0x21c]
mov word [ebp - 0x48c], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44f820
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x48c]
call fcn.00450260
mov dword [ebp - 4], 0
mov edx, dword [0x679158]
mov ecx, dword [0x679150]
lea eax, [edx + 1]
cmp ecx, eax
ja 0x44f873
push ecx
mov ecx, 0x679148
call fcn.0044c8e0
mov edx, dword [0x679158]
mov ecx, dword [0x679150]
mov eax, dword [0x679154]
dec ecx
and eax, ecx
mov dword [0x679154], eax
add eax, edx
and ecx, eax
lea esi, [ecx*4]
mov ecx, dword [0x67914c]
cmp dword [esi + ecx], 0
jne 0x44f8b0
push 0x18
call fcn.0059e5d3
mov ecx, dword [0x67914c]
add esp, 4
mov dword [esi + ecx], eax
mov ecx, dword [0x67914c]
mov ecx, dword [esi + ecx]
lea eax, [ebp - 0x48c]
push eax
call fcn.00450180
inc dword [0x679158]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x478]
cmp edx, 8
jb 0x44f908
mov ecx, dword [ebp - 0x48c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f8fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f951
push edx
push ecx
call fcn.0059e603
add esp, 8
mov esi, dword [ebp - 0x470]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x46c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44f750
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059e5bd
mov esp, ebp
pop ebp
ret 4
call fcn.005b9caa
int3
Function at 0x454dd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x454dfb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00455750
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x454e1d
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x454e1f
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x454ea3
jg 0x454e34
test esi, esi
je 0x454ea3
test ecx, ecx
jl 0x454e7d
jg 0x454e3e
test eax, eax
je 0x454e7d
cmp edi, ecx
jg 0x454e52
jl 0x454e48
cmp esi, eax
jae 0x454e52
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.005b5b30
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x454e80
mov edx, dword [ebp + 8]
test edi, edi
jl 0x454ea3
jg 0x454e8a
test esi, esi
je 0x454ea3
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x454ea3
push eax
push esi
push 1
push edx
call fcn.005bd978
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x454ec0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x454eeb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00455830
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x454f0d
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x454f0f
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x454fae
jg 0x454f2c
test esi, esi
je 0x454fae
test ecx, ecx
jl 0x454f79
jg 0x454f36
test eax, eax
je 0x454f79
cmp ebx, ecx
jg 0x454f4a
jl 0x454f40
cmp esi, eax
jae 0x454f4a
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.005b5b30
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x454f80
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x454fae
jg 0x454f8a
test esi, esi
je 0x454fae
cmp dword [edi + 0x4c], 0
je 0x454fae
mov ecx, edi
call fcn.00455e40
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.005bdfb6
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
pop edi
pop esi
sbb edx, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x455310
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x66ea60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x455340
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059e5bd
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x45537c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x45537c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059e5bd
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x455461
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x4553a4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4553d7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.005bcf4b
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059e5bd
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x455461
cmp eax, 1
jle 0x455434
cmp eax, 3
jne 0x455461
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.004517e0
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059e5bd
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x455451
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.005bd978
add esp, 0x10
cmp edi, eax
jne 0x455461
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x455367
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059e5bd
mov esp, ebp
pop ebp
ret 4
Function at 0x455f00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x66ea60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x455fa1
cmp byte [esi + 0x3d], 0
je 0x455fa1
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x455f57
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x455f69
sub eax, 1
je 0x455f6d
sub eax, 2
je 0x455fa1
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059e5bd
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x455f8a
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.005bd978
add esp, 0x10
cmp edi, eax
jne 0x455f57
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059e5bd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0059e5bd
mov esp, ebp
pop ebp
ret

Function at 0x456370
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5daa50
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x66ea60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0059e5d3
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0045ce12
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x456430
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x456461
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x456450
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x457c10
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x457e20
cmp eax, 0x7c
je 0x457e20
cmp eax, 0x29
jne 0x457c51
cmp dword [esi + 0x10], 0
jne 0x457e20
cmp eax, eax
jne 0x457c51
test dword [esi + 0x50], 0x10000000
je 0x457e2d
jmp 0x457dd9
cmp eax, 0x2e
jne 0x457c62
push 5
lea ecx, [esi + 0x24]
call fcn.00457e90
jmp 0x457cdb
cmp eax, 0x5c
jne 0x457cbe
mov ecx, esi
call fcn.00457bb0
test byte [esi + 0x50], 0x80
je 0x457cb2
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x457c91
push 4
lea ecx, [esi + 0x24]
call fcn.00457e90
mov ecx, esi
call fcn.00457bb0
jmp 0x457e12
cmp al, 0x42
jne 0x457cb2
push 4
lea ecx, [esi + 0x24]
call fcn.00457e90
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00457bb0
jmp 0x457e12
mov ecx, esi
call fcn.004584c0
jmp 0x457e0b
cmp eax, 0x5b
jne 0x457d26
mov ecx, esi
call fcn.00457bb0
mov ecx, esi
call fcn.004583d0
cmp dword [esi + 0x4c], 0x5d
jne 0x457e3b
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x457d1a
cmp byte [eax], 0x5c
jne 0x457d17
lea ecx, [eax + 1]
cmp ecx, edx
je 0x457d17
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x457d04
mov bl, byte [ecx]
cmp bl, 0x28
je 0x457d15
cmp bl, 0x29
je 0x457d15
test dl, 0x10
jne 0x457d17
mov dl, byte [ecx]
cmp dl, 0x7b
je 0x457d15
cmp dl, 0x7d
jne 0x457d17
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004573c0
jmp 0x457e0b
cmp eax, 0x28
jne 0x457d95
mov ecx, esi
call fcn.00457bb0
mov ecx, esi
call fcn.00458660
cmp dword [esi + 0x4c], 0x29
mov bh, al
jne 0x457e2d
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x457d84
cmp byte [eax], 0x5c
jne 0x457d81
lea ecx, [eax + 1]
cmp ecx, edx
je 0x457d81
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x457d6e
mov bl, byte [ecx]
cmp bl, 0x28
je 0x457d7f
cmp bl, 0x29
je 0x457d7f
test dl, 0x10
jne 0x457d81
mov dl, byte [ecx]
cmp dl, 0x7b
je 0x457d7f
cmp dl, 0x7d
jne 0x457d81
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004573c0
test bh, bh
je 0x457e12
jmp 0x457e0b
cmp eax, 0x5e
jne 0x457dad
push 2
lea ecx, [esi + 0x24]
call fcn.00457e90
mov ecx, esi
call fcn.00457bb0
jmp 0x457e12
cmp eax, 0x24
jne 0x457dc5
push 3
lea ecx, [esi + 0x24]
call fcn.00457e90
mov ecx, esi
call fcn.00457bb0
jmp 0x457e12
cmp eax, 0x2a
je 0x457e26
cmp eax, 0x2b
je 0x457e26
cmp eax, 0x3f
je 0x457e26
cmp eax, 0x7b
je 0x457e26
cmp eax, 0x7d
jne 0x457de9
test dword [esi + 0x50], 0x10000000
je 0x457e34
jmp 0x457df7
cmp eax, 0x5d
jne 0x457df7
test dword [esi + 0x50], 0x10000000
je 0x457e3b
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00458910
mov ecx, esi
call fcn.00457bb0
mov ecx, esi
call fcn.00458770
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x457c23
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 0xa
call fcn.004573b0
push 5
call fcn.004573b0
push 6
call fcn.004573b0
push 4
call fcn.004573b0
int3
Function at 0x462110
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
lea edx, [eax - 1]
not eax
shr edx, 0x1f
shr eax, 0x1f
and edx, eax
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 4]
dec edx
xor eax, ecx
mov dword [esp + 0x10], edx
and eax, edx
xor ecx, eax
mov dword [ebp + 4], ecx
xor dword [ebx + 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx + 0xc]
xor eax, ecx
movd xmm0, edx
and eax, edx
pshufd xmm4, xmm0, 0
xor ecx, eax
mov dword [ebp + 0xc], ecx
xor dword [ebx + 0xc], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x10]
xor eax, ecx
and eax, edx
and eax, 4
xor ecx, eax
mov dword [ebp + 0x10], ecx
xor dword [ebx + 0x10], eax
xor eax, eax
mov esi, dword [esp + 0x1c]
test esi, esi
jle 0x462226
push edi
cmp esi, 4
jb 0x462201
mov ecx, dword [ebp]
lea edi, [esi - 1]
mov edx, dword [ebx]
lea ebp, [esi - 1]
lea ebp, [ecx + ebp*4]
cmp edx, ebp
lea edi, [edx + edi*4]
mov ebp, dword [esp + 0x18]
ja 0x4621a4
cmp edi, ecx
jae 0x462201
cmp edx, ebx
ja 0x4621ac
cmp edi, ebx
jae 0x462201
cmp edx, ebp
ja 0x4621b4
cmp edi, ebp
jae 0x462201
lea edi, [esi - 1]
lea edi, [ecx + edi*4]
cmp ecx, ebx
ja 0x4621c2
cmp edi, ebx
jae 0x462201
cmp ecx, ebp
ja 0x4621ca
cmp edi, ebp
jae 0x462201
mov edi, esi
and edi, 0xfffffffc
nop
movups xmm3, xmmword [edx + eax*4]
movups xmm2, xmmword [ecx + eax*4]
movaps xmm1, xmm3
xorps xmm1, xmm2
andps xmm1, xmm4
movaps xmm0, xmm1
xorps xmm1, xmm3
xorps xmm0, xmm2
movups xmmword [ecx + eax*4], xmm0
movups xmmword [edx + eax*4], xmm1
add eax, 4
cmp eax, edi
jl 0x4621d0
mov dword [esp + 0x18], eax
cmp eax, esi
jge 0x462225
mov ecx, dword [ebp]
mov edx, dword [ecx + eax*4]
lea esi, [ecx + eax*4]
mov ecx, dword [ebx]
mov edi, dword [ecx + eax*4]
xor edi, edx
and edi, dword [esp + 0x14]
xor edx, edi
mov dword [esi], edx
mov ecx, dword [ebx]
xor dword [ecx + eax*4], edi
inc eax
cmp eax, dword [esp + 0x20]
jl 0x462201
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4628c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.0059eec0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [eax]
add eax, 4
test byte [ecx + 0x10], 4
lea edx, [ecx + 4]
mov ebx, dword [ecx]
push esi
mov dword [esp + 0x10], eax
je 0x462984
mov ecx, dword [eax]
cmp dword [edx], ecx
jne 0x462984
push edi
xor edi, edi
mov dword [esp + 0x1c], edi
test ecx, ecx
jle 0x46297a
sub ebx, ebp
mov edx, dword [ebx + ebp]
lea ebp, [ebp + 4]
mov ecx, dword [ebp - 4]
mov esi, edx
sub esi, ecx
mov eax, edx
xor esi, ecx
xor eax, ecx
or esi, eax
xor esi, edx
shr esi, 0x1f
neg esi
mov dword [esp + 0x10], esi
not esi
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x20]
and eax, edi
mov edi, dword [esp + 0x10]
mov edx, dword [ebp - 4]
or edi, eax
mov ecx, dword [ebx + ebp - 4]
mov esi, edx
sub esi, ecx
mov eax, edx
xor esi, ecx
xor eax, ecx
or esi, eax
mov eax, dword [esp + 0x14]
xor esi, edx
shr esi, 0x1f
neg esi
mov dword [esp + 0x10], esi
not esi
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x20]
and ecx, edi
mov edi, dword [esp + 0x10]
and edi, 1
or edi, ecx
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, dword [eax]
jl 0x462904
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edx, dword [edx]
mov ecx, edx
sub ecx, dword [eax]
je 0x462995
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 8
ret
lea ecx, [edx - 1]
test ecx, ecx
js 0x4629b8
lea eax, [ecx*4]
add eax, ebp
sub ebx, ebp
mov edx, dword [eax + ebx]
mov esi, dword [eax]
cmp esi, edx
jne 0x4629c1
sub eax, 4
sub ecx, 1
jns 0x4629a7
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
sbb eax, eax
pop esi
and eax, 2
pop ebp
dec eax
pop ebx
add esp, 8
ret
Function at 0x462cb0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x24
call fcn.0059eec0
push ebx
push esi
push edi
mov edi, dword [esp + 0x34]
xor ecx, ecx
push edi
mov dword [esp + 0x14], 0
xor ebx, ebx
mov dword [esp + 0x10], ecx
call fcn.00462560
mov esi, eax
add esp, 4
lea eax, [esi + 7]
cdq
and edx, 7
lea ecx, [edx + eax]
sar ecx, 3
cmp dword [esp + 0x44], ebx
jne 0x462d21
mov ebx, dword [edi + 0xc]
mov eax, ebx
neg eax
sbb eax, eax
and eax, 0xff
mov dword [esp + 0x10], eax
lea eax, [ecx*8]
cmp eax, esi
jne 0x462d19
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 0xc], eax
jmp 0x462d23
mov eax, ebx
mov dword [esp + 0xc], eax
jmp 0x462d23
xor eax, eax
mov esi, dword [esp + 0x3c]
add eax, ecx
cmp esi, 0xffffffff
jne 0x462d61
mov esi, eax
mov dword [esp + 0x3c], esi
mov ecx, dword [edi + 8]
shl ecx, 2
test ecx, ecx
jne 0x462de0
test esi, esi
je 0x462e74
push esi
push ecx
push dword [esp + 0x40]
call fcn.005b6630
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x24
ret
cmp esi, eax
jge 0x462d34
movups xmm0, xmmword [edi]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x2c], eax
movups xmmword [esp + 0x1c], xmm0
psrldq xmm0, 4
movd ecx, xmm0
test ecx, ecx
jle 0x462da2
mov eax, dword [esp + 0x1c]
lea eax, [eax + ecx*4]
nop dword [eax + eax]
cmp dword [eax - 4], 0
lea eax, [eax - 4]
jne 0x462d9e
dec ecx
test ecx, ecx
jg 0x462d90
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x28]
xor edx, edx
test ecx, ecx
cmove eax, edx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
call fcn.00462560
add eax, 7
add esp, 4
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, dword [esp + 0xc]
cmp esi, eax
jge 0x462d34
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x24
ret
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
cmp edx, 1
je 0x462df0
dec eax
add eax, esi
mov edi, dword [edi + 4]
mov dword [esp + 0x44], eax
xor eax, eax
cmp edx, 1
push ebp
sete al
shl edi, 2
xor ebp, ebp
lea eax, [eax*2 - 1]
mov dword [esp + 0x18], eax
lea eax, [ecx - 1]
mov dword [esp + 0x1c], eax
test esi, esi
je 0x462e73
mov dword [esp + 0x10], esi
neg edi
mov esi, dword [esp + 0x38]
mov eax, dword [esi]
mov edx, ebp
shr edx, 2
mov ecx, ebp
and ecx, 3
shl ecx, 3
mov edx, dword [eax + edx*4]
mov eax, edi
shr edx, cl
mov ecx, ebp
shr eax, 0x1f
neg al
and dl, al
mov eax, dword [esp + 0x48]
xor dl, byte [esp + 0x14]
add bl, dl
cmp bl, dl
mov byte [eax], bl
sbb ebx, ebx
sub ecx, dword [esp + 0x1c]
add eax, dword [esp + 0x18]
neg ebx
shr ecx, 0x1f
inc edi
add ebp, ecx
mov dword [esp + 0x48], eax
sub dword [esp + 0x10], 1
jne 0x462e25
mov esi, dword [esp + 0x40]
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x24
ret