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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
push esi
push edi
mov edi, dword [ebp + 0x10]
cmp edi, dword [eax]
jne 0x465a14
cmp ecx, eax
jne 0x465a14
mov edi, ebx
call fcn.00465980
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x10
cmp edi, ecx
je 0x465b16
lea esp, [esp]
mov edx, dword [edi]
mov dword [ebp + 0x10], edx
cmp dword [edi + 0x1c], 0x10
jb 0x465a30
mov ecx, dword [edi + 8]
jmp 0x465a33
lea ecx, [edi + 8]
mov edx, dword [edi + 0x18]
add edx, ecx
mov eax, 0x811c9dc5
cmp ecx, edx
je 0x465a54
movsx ebx, byte [ecx]
imul eax, eax, 0x1000193
inc ecx
xor eax, ebx
cmp ecx, edx
jne 0x465a41
mov ebx, dword [ebp + 8]
and eax, 0x7fffffff
push 0x1f31d
push eax
call dword [0x4a8420]
imul edx, edx, 0x41a7
imul eax, eax, 0xb14
add esp, 8
sub edx, eax
jns 0x465a7e
add edx, 0x7fffffff
mov ecx, dword [ebx + 0x20]
mov eax, ecx
and eax, edx
cmp dword [ebx + 0x24], eax
ja 0x465a93
shr ecx, 1
or edx, 0xffffffff
sub edx, ecx
add eax, edx
mov ecx, dword [ebx + 0x10]
cmp dword [ecx + eax*8 + 4], edi
lea ecx, [ecx + eax*8]
jne 0x465abc
cmp dword [ecx], edi
jne 0x465ab4
mov edx, dword [ebx + 4]
mov dword [ecx], edx
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov dword [ecx + eax*8 + 4], edx
jmp 0x465ac4
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x465ac4
cmp dword [ecx], edi
jne 0x465ac4
mov edx, dword [edi]
mov dword [ecx], edx
cmp edi, dword [ebx + 4]
je 0x465b0a
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov dword [eax], ecx
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
cmp dword [edi + 0x1c], 0x10
jb 0x465aeb
mov ecx, dword [edi + 8]
push ecx
call dword [0x4a8494]
add esp, 4
mov dword [edi + 0x1c], 0xf
mov dword [edi + 0x18], 0
push edi
mov byte [edi + 8], 0
call dword [0x4a8494]
add esp, 4
dec dword [ebx + 8]
mov edi, dword [ebp + 0x10]
cmp edi, dword [ebp + 0x14]
jne 0x465a20
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x10

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

Disassembly:
cmp dword [eax + 0x14], 0x10
push esi
jb 0x465e1b
mov ecx, dword [eax]
jmp 0x465e1d
mov ecx, eax
mov edx, dword [eax + 0x10]
add edx, ecx
mov eax, 0x811c9dc5
cmp ecx, edx
je 0x465e40
jmp 0x465e30
movsx esi, byte [ecx]
imul eax, eax, 0x1000193
inc ecx
xor eax, esi
cmp ecx, edx
jne 0x465e30
and eax, 0x7fffffff
push 0x1f31d
push eax
call dword [0x4a8420]
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
add esp, 8
sub edx, eax
mov eax, edx
jns 0x465e6b
add eax, 0x7fffffff
pop esi
ret
Function at 0x401fa0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x401fcb
mov edx, dword [ebp + 8]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x401fb4
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret
Function at 0x405570
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e5a5e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x68f500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x40573f
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
inc ecx
mov byte [ebp + esi - 0x14], al
inc esi
mov ah, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov dh, byte [ebp - 0x14]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0xf], ah
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], dh
cmp esi, 3
jne 0x405675
mov al, dh
mov cl, dh
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x17], cl
and ah, 0x3f
mov cl, dl
shr al, 6
and cl, 0xf
mov byte [ebp - 0x15], ah
shl cl, 2
add cl, al
xor esi, esi
mov byte [ebp - 0x16], cl
nop
cmp dword [0x694518], 0xf
mov ecx, 0x694504
movzx eax, byte [ebp + esi - 0x18]
cmova ecx, dword [0x694504]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.0040a340
inc esi
cmp esi, 4
jl 0x405640
mov ecx, dword [ebp + 0xc]
xor esi, esi
mov dl, byte [ebp - 0xd]
mov dh, byte [ebp - 0xe]
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4055e4
mov dword [ebp + 0xc], esi
test esi, esi
je 0x40573f
mov eax, esi
cmp esi, 3
jge 0x4056b1
cmp eax, 3
jae 0x405754
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x405695
mov cl, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov dh, byte [ebp - 0x14]
jmp 0x4056b4
mov cl, byte [ebp - 0xf]
mov al, dh
and dh, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl dh, 4
add dh, al
shl dl, 2
mov al, cl
mov byte [ebp - 0x17], dh
shr al, 6
and cl, 0x3f
add dl, al
mov byte [ebp - 0x15], cl
lea eax, [esi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp + 0x10], eax
test eax, eax
jle 0x40571d
xor esi, esi
nop
cmp dword [0x694518], 0xf
mov ecx, 0x694504
movzx eax, byte [ebp + esi - 0x18]
cmova ecx, dword [0x694504]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.0040a340
inc esi
cmp esi, dword [ebp + 0x10]
jl 0x4056f0
mov esi, dword [ebp + 0xc]
cmp esi, 3
jge 0x40573f
mov eax, 3
sub eax, esi
mov dword [ebp + 0xc], eax
nop dword [eax]
push 0x3d
mov ecx, edi
call fcn.0040a340
sub dword [ebp + 0xc], 1
jne 0x405730
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 0xc
call fcn.005ab5eb
int3
Function at 0x40c710
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 0x40c741
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x40c730
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x44a9e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eaab8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x68f500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi + 8], 0
movups xmmword [edi + 0xc], xmm0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0xf
mov byte [edi + 0xc], 0
lea esi, [edi + 0x24]
mov byte [ebp - 4], 1
push 0x40
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005ab6c6
xorps xmm0, xmm0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
movups xmmword [edi + 0x2c], xmm0
movq qword [edi + 0x3c], xmm0
mov dword [edi + 0x44], 0
movups xmmword [edi + 0x30], xmm0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0xf
mov byte [edi + 0x30], 0
mov dword [edi + 0x2c], vtable.cpr::Url.0
movsd qword [edi + 0x48], xmm0
mov byte [edi + 0x50], 1
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
movups xmmword [edi + 0x60], xmm0
movq qword [edi + 0x70], xmm0
mov dword [edi + 0x78], 0
mov dword [edi + 0x60], 0
movups xmmword [edi + 0x64], xmm0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0xf
mov byte [edi + 0x64], 0
movups xmmword [edi + 0x7c], xmm0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0xf
mov byte [edi + 0x7c], 0
movups xmmword [edi + 0x94], xmm0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0xf
mov byte [edi + 0x94], 0
movups xmmword [edi + 0xac], xmm0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc0], 0xf
mov byte [edi + 0xac], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44fcd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eadf5
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x68f500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x694178
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
push 0x6941a0
push 0x6941b4
lea eax, [ebp - 0x70]
mov dword [ebp - 0x48], 2
push eax
push 7
push 2
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x70], 0
push eax
push 0
push 0
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
push 0
movlpd qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x60], 0x1c
mov dword [ebp - 0x68], 0x3c
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x38], 2
mov dword [ebp - 0x4c], 0x20
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x1c], 0xb000
mov dword [ebp - 0x18], 0xa000
call dword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x44fec1
call fcn.00450390
test al, al
je 0x44fec1
push esi
call fcn.00450400
call fcn.00422ac0
cmp byte [0x694313], 0
je 0x44fdd9
sub esp, 0x18
mov ecx, esp
push 0x69429c
call fcn.0040a5a0
call fcn.004231a0
add esp, 0x18
lea ecx, [ebp - 0x88]
call fcn.00423d40
push eax
mov ecx, edi
call fcn.0040a4d0
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x44fe23
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44fe19
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fee0
push ecx
push edx
call fcn.005abc35
add esp, 8
push 4
call fcn.005ab6c6
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [eax], 0x424120
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x465ba0
push 0
push 0
call fcn.005b28cf
add esp, 0x18
mov dword [ebp - 0x30], eax
test eax, eax
je 0x44fef8
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 1
call fcn.0041e1e0
push 4
call fcn.005ab6c6
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [eax], 0x431d70
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
push ecx
push 0
push eax
push 0x465ba0
push 0
push 0
call fcn.005b28cf
add esp, 0x18
mov dword [ebp - 0x28], eax
test eax, eax
je 0x44feea
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0041e1e0
cmp dword [ebp - 0x24], 0
jne 0x44fee5
cmp dword [ebp - 0x2c], 0
jne 0x44fee5
mov al, 1
jmp 0x44fec3
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005ab3d6
mov esp, ebp
pop ebp
ret 4
call fcn.005b209a
call fcn.005b9b84
push 6
mov dword [ebp - 0x24], 0
call fcn.0059831d
push 6
mov dword [ebp - 0x2c], 0
call fcn.0059831d
int3
Function at 0x4521b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x4521e2
jl 0x4521d5
test ecx, ecx
jne 0x4521e2
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x4522a2
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.00455530
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x45224e
jg 0x45220d
test esi, esi
je 0x45224e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x452225
mov eax, dword [esp + 0x10]
jl 0x45221f
cmp eax, esi
jae 0x452225
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.005ad5b0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x45226f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x45228b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x4521f4
jl 0x45228b
test ecx, ecx
jne 0x4521f4
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov esi, dword [ebp + 0x10]
sbb esi, edx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x4522e0
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x4522e0
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push dword [esp + 0x14]
call fcn.005ad5b0
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [esp + 0x18], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x452349
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x452306
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x452334
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.005bab58
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x452349
cmp edi, eax
ja 0x452312
test edi, edi
je 0x452349
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.005bab58
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x455cb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e6a50
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x68f500]
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
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.005ab6c6
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00596ee7
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.00455c50
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 0x459360
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e59b0
mov eax, dword fs:[0]
push eax
push ebx
mov eax, dword [0x68f500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
movq qword [ecx + 0x20], xmm0
mov dword [ecx + 0x28], 0
mov eax, dword [eax]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0xc]
mov dword [ecx], 0x10000000
mov dword [ecx + 4], 4
mov eax, dword [eax]
mov dword [ecx + 0x30], eax
mov eax, dword [ecx + 4]
and eax, 0xfffffff
or eax, 0x10000000
mov dword [ecx + 4], eax
mov eax, dword [ebx + 0x10]
mov dword [ecx + 8], 8
mov eax, dword [eax]
mov dword [ecx + 0x34], eax
mov eax, dword [ecx + 8]
and eax, 0xfffffff
or eax, 0x10000000
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0x14]
mov dword [ecx + 0xc], 0xc
mov eax, dword [eax]
mov dword [ecx + 0x38], eax
mov eax, dword [ecx + 0xc]
and eax, 0xfffffff
or eax, 0x10000000
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x18]
mov dword [ecx + 0x10], 0x10
mov al, byte [eax]
mov byte [ecx + 0x3c], al
mov eax, dword [ecx + 0x10]
and eax, 0xfffffff
or eax, 0x50000000
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 0x1c]
mov edx, eax
mov dword [ecx + 0x14], 0x11
cmp dword [eax + 0x14], 0xf
jbe 0x45944a
mov edx, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x41], eax
mov dword [ecx + 0x3d], edx
mov eax, dword [ecx + 0x14]
and eax, 0xfffffff
or eax, 0xc0000000
mov dword [ecx + 0x14], eax
mov eax, dword [ebx + 0x20]
mov edx, eax
mov dword [ecx + 0x18], 0x19
cmp dword [eax + 0x14], 0xf
jbe 0x459477
mov edx, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x49], eax
mov dword [ecx + 0x45], edx
mov eax, dword [ecx + 0x18]
and eax, 0xfffffff
or eax, 0xc0000000
mov dword [ecx + 0x18], eax
mov eax, dword [ebx + 0x24]
mov edx, eax
mov dword [ecx + 0x1c], 0x21
cmp dword [eax + 0x14], 0xf
jbe 0x4594a4
mov edx, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x51], eax
mov dword [ecx + 0x4d], edx
mov eax, dword [ecx + 0x1c]
and eax, 0xfffffff
or eax, 0xc0000000
mov dword [ecx + 0x1c], eax
mov eax, dword [ebx + 0x28]
mov dword [ecx + 0x20], 0x29
mov dword [ecx + 0x55], eax
mov eax, dword [ecx + 0x20]
and eax, 0xfffffff
or eax, 0xb0000000
mov dword [ecx + 0x20], eax
mov eax, dword [ebx + 0x2c]
mov edx, eax
mov dword [ecx + 0x24], 0x2d
cmp dword [eax + 0x14], 0xf
jbe 0x4594ee
mov edx, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x5d], eax
mov dword [ecx + 0x59], edx
mov eax, dword [ecx + 0x24]
and eax, 0xfffffff
or eax, 0xc0000000
mov dword [ecx + 0x24], eax
mov eax, dword [ebx + 0x30]
mov dword [ecx + 0x28], 0x35
mov eax, dword [eax]
mov dword [ecx + 0x61], eax
mov eax, dword [ecx + 0x28]
and eax, 0xfffffff
or eax, 0x10000000
mov dword [ecx + 0x28], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x2c
Function at 0x4672f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
push esi
push edi
mov esi, edx
mov dword [ebp - 8], edx
lea eax, [ecx - 1]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], eax
mov edi, edx
sar eax, 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x18], eax
cmp edx, eax
jge 0x467392
nop word [eax + eax]
add edi, edi
lea ecx, [edi + 2]
lea eax, [ecx*8]
sub eax, ecx
lea esi, [ebx + eax*4]
lea ebx, [esi - 0x1c]
mov edx, esi
push ebx
call fcn.00466b60
movzx ecx, al
add esp, 4
xor ecx, 1
inc ecx
add edi, ecx
mov ecx, dword [ebp - 8]
test al, al
cmove ebx, esi
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [ebp - 4]
lea ecx, [ecx + eax*4]
mov eax, dword [ebx]
mov dword [ecx], eax
lea eax, [ebx + 4]
push eax
add ecx, 4
call fcn.0040a4d0
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], edi
cmp edi, eax
jl 0x467330
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0xc], edi
mov ecx, dword [ebp - 0xc]
cmp ecx, eax
jne 0x4673cf
mov edx, dword [ebp - 0x1c]
mov edi, ecx
test dl, 1
jne 0x4673cf
lea eax, [edx*8]
sub eax, edx
lea edx, [ebx + eax*4]
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [ebx + eax*4]
mov eax, dword [edx - 0x1c]
mov dword [ecx], eax
lea eax, [edx - 0x18]
push eax
add ecx, 4
call fcn.0040a4d0
mov edi, dword [ebp - 0x20]
cmp esi, edi
jge 0x467420
jmp 0x4673d8
mov ebx, dword [ebp - 4]
push dword [ebp - 0x14]
lea esi, [edi - 1]
sar esi, 1
lea eax, [esi*8]
sub eax, esi
lea ebx, [ebx + eax*4]
mov edx, ebx
call fcn.00466b60
add esp, 4
test al, al
je 0x467420
mov ecx, dword [ebp - 4]
lea eax, [edi*8]
sub eax, edi
lea ecx, [ecx + eax*4]
mov eax, dword [ebx]
mov dword [ecx], eax
lea eax, [ebx + 4]
push eax
add ecx, 4
call fcn.0040a4d0
mov edi, esi
cmp dword [ebp - 0x10], esi
jl 0x4673d5
mov edx, dword [ebp - 0x14]
lea eax, [edi*8]
mov ecx, dword [ebp - 4]
sub eax, edi
lea ecx, [ecx + eax*4]
mov eax, dword [edx]
mov dword [ecx], eax
lea eax, [edx + 4]
push eax
add ecx, 4
call fcn.0040a4d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, edx
mov dword [ebp - 8], edx
lea eax, [ecx - 1]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], eax
sar eax, 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x18], eax
cmp edx, eax
jge 0x4674e1
add edi, edi
lea ecx, [edi + 2]
lea eax, [ecx*8]
sub eax, ecx
lea esi, [ebx + eax*4]
lea ebx, [esi - 0x1c]
mov edx, esi
push ebx
call fcn.00466c50
movzx ecx, al
add esp, 4
xor ecx, 1
inc ecx
add edi, ecx
mov ecx, dword [ebp - 8]
test al, al
cmove ebx, esi
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [ebp - 4]
push ebx
lea esi, [ecx + eax*4]
mov ecx, esi
call fcn.0040a4d0
mov eax, dword [ebx + 0x18]
mov ebx, dword [ebp - 4]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], edi
cmp edi, eax
jl 0x467484
mov dword [ebp - 0xc], edi
mov ecx, dword [ebp - 0xc]
cmp ecx, eax
jne 0x46751e
mov edx, dword [ebp - 0x1c]
mov edi, ecx
test dl, 1
jne 0x46751e
lea eax, [edx*8]
sub eax, edx
add eax, 0xfffffff9
lea edi, [ebx + eax*4]
lea eax, [ecx*8]
sub eax, ecx
push edi
lea esi, [ebx + eax*4]
mov ecx, esi
call fcn.0040a4d0
mov eax, dword [edi + 0x18]
mov edi, dword [ebp - 0x20]
mov dword [esi + 0x18], eax
cmp dword [ebp - 0x10], edi
jge 0x46756e
jmp 0x467528
mov ebx, dword [ebp - 4]
push dword [ebp - 0x14]
lea esi, [edi - 1]
sar esi, 1
lea eax, [esi*8]
sub eax, esi
lea ebx, [ebx + eax*4]
mov edx, ebx
call fcn.00466c50
add esp, 4
test al, al
je 0x46756e
mov ecx, dword [ebp - 4]
lea eax, [edi*8]
sub eax, edi
push ebx
lea edi, [ecx + eax*4]
mov ecx, edi
call fcn.0040a4d0
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x18], eax
mov edi, esi
cmp dword [ebp - 0x10], esi
jl 0x467525
mov ecx, dword [ebp - 4]
lea eax, [edi*8]
mov ebx, dword [ebp - 0x14]
sub eax, edi
push ebx
lea esi, [ecx + eax*4]
mov ecx, esi
call fcn.0040a4d0
mov eax, dword [ebx + 0x18]
pop edi
mov dword [esi + 0x18], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret