joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d530
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x45d3a0], ecx
add edx, 1
cmp edx, 0x100
jb 0x41d532
ret

Function at 0x41d5f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
or eax, 0xffffffff
test ecx, ecx
push esi
mov esi, edx
jbe 0x41d61f
lea ebx, [ebx]
movzx edx, byte [esi]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45d3a0]
sub ecx, 1
add esi, 1
test ecx, ecx
ja 0x41d600
pop esi
ret
Function at 0x41d640
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 8
push ebp
push esi
mov esi, dword [ecx]
xor ebp, ebp
and esi, 7
cmp eax, 5
jae 0x41d65d
pop esi
xor eax, eax
pop ebp
add esp, 8
ret
mov edx, dword [esp + 0x14]
push ebx
lea ebx, [edx + eax - 4]
push edi
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], ebx
lea edi, [edx + ebp]
cmp edi, ebx
jae 0x41d68f
lea ebx, [ebx]
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x41d68f
add edi, 1
cmp edi, ebx
jb 0x41d680
mov ebp, edi
sub ebp, edx
mov eax, ebp
sub eax, dword [esp + 0x10]
cmp edi, ebx
jae 0x41d798
cmp eax, 3
jbe 0x41d6c4
xor esi, esi
mov al, byte [edi + 4]
test al, al
mov dword [esp + 0x10], ebp
je 0x41d701
cmp al, 0xff
je 0x41d701
and esi, 3
add esi, esi
or esi, 1
add ebp, 1
jmp 0x41d673
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x41d6a8
movzx ecx, byte [esi + 0x44efb8]
mov eax, edi
sub eax, ecx
cmp byte [esi + 0x44efb0], 0
mov al, byte [eax + 4]
je 0x41d6ed
test al, al
je 0x41d6ed
cmp al, 0xff
jne 0x41d6a8
and esi, 3
add esi, esi
mov dword [esp + 0x10], ebp
or esi, 1
add ebp, 1
jmp 0x41d673
movzx ecx, byte [edi + 2]
xor edx, edx
mov dh, al
movzx eax, byte [edi + 1]
mov dl, byte [edi + 3]
shl edx, 8
or edx, ecx
shl edx, 8
or edx, eax
lea ebx, [ebx]
sub edx, ebp
sub edx, 5
test esi, esi
mov eax, edx
je 0x41d769
movzx edx, byte [esi + 0x44efb8]
add edx, edx
add edx, edx
add edx, edx
mov ecx, 0x18
sub ecx, edx
mov ebx, eax
shr ebx, cl
test bl, bl
je 0x41d74c
cmp bl, 0xff
jne 0x41d765
mov ebx, dword [esp + 0x14]
mov ecx, 0x20
sub ecx, edx
mov edx, 1
shl edx, cl
sub edx, 1
xor edx, eax
jmp 0x41d720
mov ebx, dword [esp + 0x14]
mov ecx, eax
shr ecx, 0x18
and cl, 1
sub cl, 1
not cl
mov byte [edi + 4], cl
mov edx, eax
shr edx, 0x10
mov ecx, eax
shr ecx, 8
mov byte [edi + 3], dl
mov edx, dword [esp + 0x1c]
mov byte [edi + 2], cl
mov byte [edi + 1], al
add ebp, 5
jmp 0x41d673
cmp eax, 3
pop edi
pop ebx
jbe 0x41d7af
mov edx, dword [esp + 0x18]
xor esi, esi
mov dword [edx], esi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
mov edx, dword [esp + 0x18]
lea ecx, [eax - 1]
shl esi, cl
mov eax, ebp
and esi, 7
mov dword [edx], esi
pop esi
pop ebp
add esp, 8
ret
Function at 0x421130
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
push 0xa
mov esi, eax
push 0x94
push esi
call dword [0x44831c]
mov edi, eax
push edi
push esi
call dword [0x448320]
mov ebx, eax
push ebx
call dword [0x448328]
push edi
push esi
mov ebp, eax
call dword [0x448318]
test ebp, ebp
jne 0x42116d
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov ecx, dword [esp + 0x14]
push ecx
push eax
mov eax, ebp
call fcn.00420d30
add esp, 8
push ebx
mov esi, eax
call dword [0x448288]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x421210
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [0x45ae34]
push edi
push eax
call dword [0x448318]
mov ecx, dword [0x45ae34]
push edi
push ecx
mov esi, eax
call dword [0x448320]
mov ebx, eax
test ebx, ebx
jne 0x42123e
pop edi
pop esi
pop ebx
pop ecx
ret
push ebp
push esi
push 0
call dword [0x448278]
mov edi, eax
push edi
call dword [0x448280]
push esi
push ebx
push eax
call fcn.004386a0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0
push edi
call dword [0x4485d4]
mov ebp, dword [esp + 0x10]
push 0x10
call fcn.00444bc2
mov esi, eax
test esi, esi
je 0x421296
lea eax, [esi + 4]
push eax
push ebp
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call fcn.00444bbc
mov dword [esi + 8], eax
jmp 0x421298
xor esi, esi
mov ebp, dword [esp + 0x18]
push edi
mov dword [ebp], esi
call dword [0x44827c]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call dword [0x448288]
xor eax, eax
cmp dword [ebp], eax
pop ebp
pop edi
pop esi
setne al
pop ebx
pop ecx
ret
Function at 0x429002
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x429045
call fcn.0042e258
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [0x44831c]
test eax, eax
je 0x429045
push eax
push esi
call dword [0x448320]
mov edi, eax
test edi, edi
je 0x429060
push edi
call dword [0x448328]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00428bbc
test ebx, ebx
mov esi, eax
je 0x42905e
test edi, edi
je 0x42905e
push edi
call dword [0x448288]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x429a8c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x44520f
call fcn.0043364a
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.0042e258
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x429ad7
call fcn.0042e258
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [0x44831c]
push eax
push edi
call dword [0x448320]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x429ae8
push dword [ebp - 0x18]
call dword [0x448328]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x429af5
or eax, 0xffffffff
jmp 0x429c51
mov ecx, esi
call fcn.004295d3
mov dword [ebp - 0x14], eax
call fcn.0042654d
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x429b73
call dword [0x4483b8]
cmp dword [ebp - 0x14], eax
je 0x429b73
push dword [ebp - 0x14]
call dword [0x4483c8]
test eax, eax
je 0x429b73
push 0
push dword [ebp - 0x14]
call dword [0x448558]
mov dword [ebp - 0x2c], 1
call fcn.00402e90
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x429b73
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x429b73
mov ecx, ebx
call fcn.00429227
test eax, eax
je 0x429b73
push 0
mov ecx, ebx
call fcn.00429242
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.00427ee8
push dword [ebp - 0x14]
call fcn.004264a5
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00429894
xor edi, edi
cmp eax, edi
je 0x429bd0
test byte [esi + 0x3c], 0x10
je 0x429bba
push 4
pop edi
mov ecx, esi
call fcn.0042913d
test ax, 0x100
je 0x429bb0
push 5
pop edi
push edi
mov ecx, esi
call fcn.0042603b
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x429bd0
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004292a9
or dword [ebp - 4], 0xffffffff
jmp 0x429bfb
cmp dword [ebp - 0x28], edi
je 0x429c09
push 1
mov ecx, ebx
call fcn.00429242
cmp dword [ebp - 0x2c], edi
je 0x429c19
push 1
push dword [ebp - 0x14]
call dword [0x448558]
cmp dword [ebp - 0x14], edi
je 0x429c32
call dword [0x4484a4]
cmp eax, dword [esi + 0x20]
jne 0x429c32
push dword [ebp - 0x14]
call dword [0x44840c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0042960d
cmp dword [esi + 0x58], edi
je 0x429c4e
push dword [ebp - 0x18]
call dword [0x448288]
mov eax, dword [esi + 0x44]
call fcn.004336b6
ret

Function at 0x432218
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x456c74]
jne 0x432222
repz ret
jmp fcn.00438d75
Function at 0x4040af
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7e0
mov eax, dword [0x444664]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0x3e8
mov dword [ebp - 0x7dc], eax
mov dword [ebp - 0x7d8], edi
mov ecx, esi
lea eax, [ebp - 0x3ec]
mov byte [eax], 0
inc eax
dec ecx
jne 0x4040e3
mov ecx, esi
lea eax, [ebp - 0x7d4]
mov byte [eax], 0
inc eax
dec ecx
jne 0x4040f2
lea eax, [ebp - 0x3ec]
push str.Lorem_ipsum_dolor_sit_amet__consectetur_adipiscing_elit__sed_do_eiusmod_tempor_incididunt_ut_labore_et_dolore_magna_aliqua.
push eax
call fcn.0041f740
lea eax, [ebp - 0x7d4]
push str.Ut_enim_ad_minim_veniam__quis_nostrud_exercitation_ullamco_laboris_nisi_ut_aliquip_ex_ea_commodo_consequat.
push eax
call fcn.0041f740
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.0041f6a0
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.0041f6a0
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.0041f6a0
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.0041f6a0
add esp, 0x30
lea eax, [edi + 1]
push eax
push 0x40
call dword [section..rdata]
mov ebx, eax
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.0041f6a0
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.0041f6a0
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x3ec]
push eax
mov byte [edi + ebx], 0
call fcn.0041f6a0
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.0041f6a0
xor edi, edi
add esp, 0x20
cmp dword [ebp - 0x7d8], edi
jbe 0x404286
mov eax, dword [ebp + 8]
sub eax, ebx
mov dword [ebp - 0x7e0], eax
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.0041f6a0
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.0041f6a0
add esp, 0x10
push dword [ebp - 0x7dc]
lea esi, [edi + ebx]
call dword [0x435010]
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov eax, dword [ebp - 0x7dc]
mov ecx, dword [ebp - 0x7e0]
mov al, byte [edx + eax]
xor al, byte [ecx + esi]
mov byte [esi], al
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.0041f6a0
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.0041f6a0
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.0041f6a0
add esp, 0x18
inc edi
cmp edi, dword [ebp - 0x7d8]
jb 0x4041e4
mov esi, 0x3e8
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.0041f6a0
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.0041f6a0
push esi
lea eax, [ebp - 0x3ec]
push 0
push eax
call fcn.0041f620
push esi
lea eax, [ebp - 0x7d4]
push 0
push eax
call fcn.0041f620
mov ecx, dword [ebp - 4]
add esp, 0x28
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0041f603
leave
ret 8
Function at 0x4042e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
push 0x40
push 0
push esi
call fcn.00404876
add esp, 0x10
test eax, eax
jne 0x404300
xor eax, eax
inc eax
jmp 0x404393
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x404390
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x404390
push dword [ebp + 8]
lea edi, [esi + 0x40]
push 0xf8
push eax
push edi
call fcn.00404876
add esp, 0x10
test eax, eax
je 0x4042f8
cmp dword [edi], 0x4550
jne 0x404390
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0x404390
movzx eax, word [esi + 0x46]
test ax, ax
je 0x404390
mov edi, eax
imul edi, edi, 0x28
push edi
mov dword [esi + 0x140], edi
call fcn.0041fbcb
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0x40436a
push 3
jmp 0x404392
movzx ecx, word [esi + 0x54]
push dword [ebp + 8]
mov edx, dword [esi + 0x3c]
lea ecx, [ecx + edx + 0x18]
push edi
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.00404876
add esp, 0x10
neg eax
sbb eax, eax
inc eax
jmp 0x404393
push 2
pop eax
pop edi
pop ebp
ret

Function at 0x40697c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x406987
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x406a3b
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43ec48]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43ec48]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43ec48]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43ec48]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43ec48]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43ec48]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43ec48]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43ec48]
add ecx, 8
sub edi, 8
dec esi
jne 0x40699e
pop ebx
test edi, edi
je 0x406a54
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x43ec48]
inc ecx
dec edi
jne 0x406a3f
pop esi
not eax
pop edi
ret

Function at 0x406a59
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x43ec48]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x43ec48]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x416126
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x4332ca
call fcn.004235e9
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x416207
cmp byte [edi + 0x49], bl
je 0x416207
mov eax, dword [edi]
push 0xffffffffffffffff
mov ecx, edi
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x41615b
xor al, al
jmp 0x416209
lea esi, [ebp - 0x2c]
call fcn.00415f0b
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4161a9
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x1c]
add eax, ebx
push eax
push edx
lea eax, [edi + 0x4c]
push eax
call dword [esi + 0x18]
sub eax, 0
je 0x4161ae
dec eax
je 0x4161b2
dec eax
dec eax
je 0x416203
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004049f7
mov al, bl
jmp 0x416209
mov edx, dword [ebp - 0x2c]
jmp 0x416174
mov byte [edi + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4161be
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, eax
je 0x4161e4
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4161d1
lea eax, [ebp - 0x2c]
push dword [edi + 0x54]
push esi
push 1
push eax
call fcn.00422bbb
add esp, 0x10
cmp esi, eax
jne 0x416197
cmp byte [edi + 0x49], 0
je 0x416203
test esi, esi
jne 0x416166
push esi
push 8
pop ebx
lea esi, [ebp - 0x2c]
call fcn.0040d02c
jmp 0x416166
mov bl, 1
jmp 0x416199
mov al, 1
call fcn.00423633
ret

Function at 0x417652
Capabilities:
Reference http user-agent string

Disassembly:
push 0x28
mov eax, 0x433579
call fcn.004235e9
xor esi, esi
mov dword [ebp - 4], esi
mov edi, ecx
push 0x43d124
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
call fcn.0040496a
mov dword [ebp - 4], esi
xor ebx, ebx
mov esi, str.Mozilla_5.0__Windows_NT_10.0_
inc ebx
push esi
mov dword [ebp - 0x30], ebx
call fcn.00420150
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00404a3b
call fcn.0041709b
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040ce54
pop ecx
pop ecx
mov esi, eax
mov dword [ebp - 4], ebx
call fcn.004049b3
push 0
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004049f7
lea eax, [ebp - 0x2c]
push str._rv:107.0__Gecko___20100101_Firefox___107.0
push eax
call fcn.0040ce54
pop ecx
pop ecx
mov esi, eax
mov dword [ebp - 4], 2
call fcn.004049b3
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004049f7
mov eax, edi
call fcn.00423633
ret
Function at 0x41c5a7
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ebx, eax
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x41c5d5
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push edi
push eax
mov dword [esi + 0x6af6c], edi
call fcn.0041f620
mov eax, ebx
movzx ecx, word [eax*8 + 0x43d2ca]
mov dword [esi + 0x6af98], ecx
movzx ecx, word [eax*8 + 0x43d2c8]
mov dword [esi + 0x6af9c], ecx
movzx ecx, word [eax*8 + 0x43d2cc]
mov dword [esi + 0x6afa0], ecx
movzx eax, word [eax*8 + 0x43d2ce]
add esp, 0xc
mov dword [esi + 0x6af94], eax
cmp ebx, 2
jg 0x41c638
mov eax, dword [ebp + 8]
or word [eax], 4
jmp 0x41c644
cmp ebx, 8
jl 0x41c644
mov eax, dword [ebp + 8]
or word [eax], 2
push 0x10000
lea ebx, [esi + 0x1af70]
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
cmp eax, edi
je 0x41c6a9
cmp eax, 0xffffffff
je 0x41c6a9
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x41c684
call fcn.0041c7ff
mov dword [esi + 0x6af7c], edi
xor eax, eax
movzx ecx, byte [ebx + eax]
shl edi, 5
xor edi, ecx
and edi, 0x7fff
inc eax
mov dword [esi + 0x6af7c], edi
cmp eax, 2
jb 0x41c68c
jmp 0x41c6b9
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41c910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x41cb0e
push edi
mov edi, 0x7fff
cmp dword [esi + 0x6af90], 3
jb 0x41c98a
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
cmp dword [ebp - 4], 0
je 0x41c9cd
mov eax, dword [esi + 0x6af84]
sub eax, dword [ebp - 4]
cmp eax, 0x7efa
ja 0x41c9cd
mov ecx, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], ecx
jbe 0x41c9b4
mov dword [esi + 0x6afa0], ecx
push dword [ebp - 4]
mov edx, esi
call fcn.0041c6be
mov ebx, eax
mov eax, dword [esi + 0x6af90]
pop ecx
cmp ebx, eax
jbe 0x41c9cd
mov ebx, eax
cmp ebx, 3
jb 0x41ca8e
mov edx, dword [esi + 0x6af84]
sub edx, dword [esi + 0x6af88]
lea ecx, [ebx - 3]
mov eax, esi
call fcn.0041c099
sub dword [esi + 0x6af90], ebx
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x6af90]
cmp ebx, dword [esi + 0x6af98]
ja 0x41ca5b
cmp eax, 3
jb 0x41ca5b
dec ebx
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, edi
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, edi
dec ebx
mov dword [esi + edx*4 + 0x2af70], ecx
mov eax, dword [esi + 0x6af7c]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x41ca09
jmp 0x41caae
add dword [esi + 0x6af84], ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx edx, byte [edx + esi + 0x1af71]
shl ecx, 5
xor edx, ecx
xor ebx, ebx
and edx, edi
mov dword [esi + 0x6af7c], edx
jmp 0x41cab4
mov eax, dword [esi + 0x6af84]
movzx ecx, byte [eax + esi + 0x1af70]
xor edx, edx
mov eax, esi
call fcn.0041c099
dec dword [esi + 0x6af90]
mov dword [ebp - 8], eax
inc dword [esi + 0x6af84]
cmp dword [ebp - 8], 0
je 0x41caef
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x41cacd
lea edx, [ecx + esi + 0x1af70]
jmp 0x41cacf
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 0
sub eax, ecx
push edx
mov ecx, esi
call fcn.0041bed0
mov eax, dword [esi + 0x6af84]
pop ecx
pop ecx
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x41cb00
call fcn.0041c7ff
cmp dword [esi + 0x6af90], 0
jne 0x41c93a
pop edi
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x41cb21
lea edx, [ecx + esi + 0x1af70]
jmp 0x41cb23
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 1
sub eax, ecx
push edx
mov ecx, esi
call fcn.0041bed0
pop ecx
pop ecx
pop esi
pop ebx
leave
ret
Function at 0x41d6cb
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x41d6d6
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x41d78a
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d318]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d318]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d318]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d318]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d318]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d318]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d318]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d318]
add ecx, 8
sub edi, 8
dec esi
jne 0x41d6ed
pop ebx
test edi, edi
je 0x41d7a3
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x43d318]
inc ecx
dec edi
jne 0x41d78e
pop esi
not eax
pop edi
ret

Function at 0x41d7a8
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x43d318]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x43d318]
pop esi
mov dword [ecx + 8], eax
ret