joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4063c3
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
add esi, 0x7ba4
and esi, 0x1348e
pop esi
push edx
add edx, 0xf98
xor edx, 0x10341
pop edx
mov dword [ebp - 0xb34], 0
Function at 0x40709f
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ebp - 0x7d4]
add eax, 1
mov dword [ebp - 0x7d4], eax
add esp, 4
or eax, 0x5991
xor eax, 0x69eb
pop eax
mov ecx, dword [ebp - 0x7d8]
lea ebp, [eax]
clc
invalid
inc dword [ebx]
lea ecx, [esi + edi*8 - 1]
dec dword [edi]
mov esi, 0x20ca8311
mov eax, dword [ebp - 0x1b4]
movsx ecx, byte [ebp + eax - 0x914]
or ecx, 0x20
cmp edx, ecx
jge 0x4070e2
mov dword [ebp - 0xda8], 0xffffffff
jmp 0x4070ec
mov dword [ebp - 0xda8], 1
cmp dword [ebp - 0xda8], 0
jne 0x407103
mov edx, dword [ebp - 0x1b5c]
mov dword [ebp - 0x428], edx
jmp 0x407114
jmp 0x406eed
Function at 0x40740e
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop edi
movzx ecx, word [ebp - 0x40]
test ecx, ecx
jne 0x40742f
movzx edx, word [ebp - 0x23c]
movzx eax, word [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x17b8], edx
jmp 0x407489
invalid

Function at 0x4074c0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
call 0x4074c0
add byte [ebx], dh
cmp al, 0x40
dec ebp
inc ecx
dec ebp
inc edi
dec edx
inc esp
inc edx
add esp, 4
pop esi
mov edx, dword [ebp - 0x558]
mov dword [ebp - 0x338], edx
jmp 0x40753a
Function at 0x407c1d
Capabilities:
Get number of processors

Disassembly:
push ecx
call fcn.00407c1d
add byte [ecx + 0x36], cl
dec ebx
dec ebp
aas
xor al, byte [ebx - 0x3e7efb3c]
add esp, 4
add ecx, 0x179dc
sub ecx, 0x5bb2
add ecx, 0x7459
pop ecx
push edi
add esp, 4
add ecx, 0x179dc
sub ecx, 0x5bb2
add ecx, 0x7459
pop ecx
push edi
sub edi, 0xf811
or edi, 0x16d43
pop edi
mov edx, dword [ebp - 0xdbc]
mov ax, word [edx]
mov word [ebp - 0x114a], ax
mov ecx, dword [ebp - 0xdbc]
add ecx, 2
mov dword [ebp - 0xdbc], ecx
mov dx, word [ebp - 0x114a]
mov word [ebp - 0x240], dx
mov eax, dword [ebp - 0xdc0]
mov cx, word [eax]
mov word [ebp - 0x114c], cx
mov edx, dword [ebp - 0xdc0]
add edx, 2
mov dword [ebp - 0xdc0], edx
mov ax, word [ebp - 0x114c]
mov word [ebp - 0x44], ax
push edi
push edi
add esp, 4
and edi, 0xce90
pop edi
push esi
push esi
add esp, 4
sub esi, 0x135e1
or esi, 0xaa5a
and esi, 0xdab6
or esi, 0x12297
pop esi
push ecx
sub ecx, 0x6c80
pop ecx
movzx ecx, word [ebp - 0x44]
test ecx, ecx
jne 0x407ce7
movzx edx, word [ebp - 0x240]
movzx eax, word [ebp - 0x44]
sub edx, eax
mov dword [ebp - 0x17d0], edx
jmp 0x407d41
movzx ecx, word [ebp - 0x240]
movzx edx, word [ebp - 0x44]
cmp ecx, edx
je 0x407c0f
movzx eax, word [ebp - 0x240]
xor eax, 0x20
movzx ecx, word [ebp - 0x44]
cmp eax, ecx
je 0x407c0f
movzx edx, word [ebp - 0x240]
movzx eax, word [ebp - 0x44]
cmp edx, eax
jge 0x407d2b
mov dword [ebp - 0x17cc], 0xffffffff
jmp 0x407d35
mov dword [ebp - 0x17cc], 1
mov ecx, dword [ebp - 0x17cc]
mov dword [ebp - 0x17d0], ecx
cmp dword [ebp - 0x17d0], 0
jne 0x407d8a
push edi
or edi, 0xa77e
add edi, 0xfbff
xor edi, 0x146d6
add edi, 0xb98d
pop edi
push edx
push ebx
add esp, 4
add edx, 0x9ce0
xor edx, 0x10039
and edx, 0xb565
pop edx
mov edx, dword [ebp - 0x560]
mov dword [ebp - 0x324], edx
jmp 0x407df2
push edx
push ebx
add esp, 4
jmp 0x407d97
xor edx, 0x6341
pop edx
push edi
push edx
add esp, 4
xor edi, 0xfdd1
add edi, 0x3250
sub edi, 0x14728
jmp 0x407dbb
pop edi
mov eax, dword [ebp - 0x560]
mov ecx, dword [eax]
mov dword [ebp - 0x560], ecx
mov edx, dword [ebp - 0x560]
cmp edx, dword [ebp - 0xdc4]
je 0x407de8
mov eax, dword [ebp - 0x560]
cmp dword [eax + 0x30], 0
jne 0x407bb3
mov dword [ebp - 0x324], 0
Function at 0x4081de
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
or edi, 0x92ce
pop edi
push eax
push edi
add esp, 4
jmp 0x4081f3
and eax, 0x99a4
pop eax
mov eax, dword [ebp - 0x564]
mov dword [ebp - 0x7f0], eax
jmp 0x408270
Function at 0x40c9f0
Capabilities:
Encode data using xor

Disassembly:
add al, 0x85
in al, 0x5a
add ax, 0xec04
or al, 4
add al, 4
add al, 0x42
dec eax
inc esi
cmp ecx, dword [edx + edx*2 + 0x45]
xchg eax, ecx
or byte [esp + edx*2 - 0x7b], bl
in al, dx
mov eax, 0x850404ed
in al, 0xa4
rol byte [esp + eax], 1
pop esp
adc edi, dword [ebx - 0x2781faf]
xor al, 0x80
push ecx
adc edi, dword [ebx - 0x1781fa7]
cmp eax, 0x54564883
xchg eax, ecx
or byte [ebp + 0x481b9f6], al
add al, 0x85
idiv byte [0x5e04048b]
push esp
test esp, esi
xchg ecx, esp
add al, 4
test esp, esp
push ecx
mov al, byte [0x575c0404]
pop edx
xchg eax, ecx
or byte [ebp + 0x4a6e5cf], al
add al, 0x85
invalid
Function at 0x4283a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edi + 0x18]
imul ecx, ecx, 0x1000193
pop edi
pop esi
and eax, ecx
pop ebp
ret 4
Function at 0x43d5a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0x10]
shl ecx, 4
add ecx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], ecx
cmp eax, ecx
je 0x43d75f
push ebx
push esi
push edi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 0xc]
add ecx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x28], ecx
cmp edx, ecx
jge 0x43d74d
mov edi, dword [ebp + 8]
mov edi, dword [edi]
mov eax, edx
mov ebx, dword [ebp + 8]
mov esi, dword [edi + 0xc]
mov ecx, dword [ebx + 4]
sub eax, dword [ebx + 0x10]
imul esi, edx
cdq
add esi, dword [edi]
mov dword [ebx + 0x14], esi
idiv dword [ecx + 0x18]
mov eax, dword [ebp - 0x18]
imul edx, dword [ecx + 0xc]
mov dword [ebp - 8], eax
add edx, dword [ecx]
mov dword [ebx + 0x18], edx
mov eax, dword [edi + 0x10]
mov ecx, eax
imul ecx, dword [ebp - 0x1c]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
sub ebx, dword [edi + 0xc]
add ecx, esi
cmp dword [edi + 8], 0xfe
jge 0x43d700
mov esi, dword [edi + 4]
mov eax, ebx
cdq
inc ebx
mov dword [ebp - 0x24], ebx
idiv dword [esi + 0x14]
mov ebx, dword [esi + 0x10]
mov esi, 0x100
imul ebx, edx
add ebx, dword [edi + 0x18]
movzx edx, byte [ebx + 1]
or edx, 0xff0000
imul edx, dword [edi + 8]
movzx edi, byte [ebx + 2]
shl edi, 0x10
shr edx, 8
and edx, 0xff00ff
mov eax, edx
shr eax, 0x10
sub esi, eax
movzx eax, byte [ecx + 1]
imul eax, esi
shr eax, 8
add eax, edx
movzx edx, byte [ecx + 2]
mov dword [ebp - 0x20], eax
movzx eax, byte [ebx]
mov ebx, dword [ebp + 8]
or edi, eax
movzx eax, byte [ecx]
shl edx, 0x10
or edx, eax
imul edi, dword [ebx + 8]
mov ebx, dword [ebp - 0x20]
imul edx, esi
shr edi, 8
and edi, 0xff00ff
shr edx, 8
and edx, 0xff00ff
add edi, edx
mov edx, 0x100
mov eax, edi
shr eax, 8
and eax, 0xff00ff
sub edx, eax
mov eax, ebx
shr eax, 8
or edx, edi
mov edi, dword [ebp + 8]
neg al
or al, bl
and edx, 0xff00ff
mov ebx, dword [ebp - 0x24]
mov byte [ecx + 1], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 2], al
mov eax, dword [ebp - 8]
dec eax
mov byte [ecx], dl
add ecx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
test eax, eax
jg 0x43d635
jmp 0x43d73a
mov esi, dword [edi + 4]
mov eax, ebx
cdq
inc ebx
idiv dword [esi + 0x14]
mov esi, dword [esi + 0x10]
imul esi, edx
add esi, dword [edi + 0x18]
mov ax, word [esi]
mov dl, byte [esi + 2]
mov word [ebp - 4], ax
movzx eax, al
mov byte [ecx], al
movzx eax, byte [ebp - 3]
mov byte [ecx + 1], al
mov eax, dword [ebp - 8]
dec eax
mov byte [ecx + 2], dl
add ecx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
test eax, eax
jg 0x43d700
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x10], edx
cmp edx, dword [ebp - 0x28]
jl 0x43d5e6
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x2c]
jne 0x43d5c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x440c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0x18]
push ebx
mov ebx, ecx
inc edx
push esi
mov dword [ebp - 4], ebx
push edi
mov esi, dword [ebx + 8]
mov eax, esi
mov ecx, esi
mov edi, dword [ebp + 0x14]
shr ecx, 8
and eax, 0xff00ff
imul eax, edx
and ecx, 0xffff00ff
imul ecx, edx
dec edi
shr esi, 8
and esi, 0xff00ff
mov dword [ebp + 0x14], edi
imul esi, edx
shr eax, 8
xor eax, ecx
and eax, 0xff00ff
xor eax, esi
mov esi, dword [ebx]
mov edx, dword [esi + 0xc]
imul edx, dword [ebp + 0xc]
mov ecx, dword [esi]
add ecx, edx
mov dword [ebx + 4], ecx
mov ebx, dword [esi + 0x10]
imul ebx, dword [ebp + 8]
add ebx, ecx
mov ecx, eax
shr ecx, 0x18
mov dword [ebp + 8], ebx
cmp cl, 0xff
jb 0x440ca7
test edi, edi
js 0x440d9a
nop word [eax + eax]
mov edx, dword [ebp + 0x10]
mov ecx, ebx
mov esi, dword [esi + 0x10]
mov dword [ecx], eax
dec edx
add ecx, esi
test edx, edx
jg 0x440c88
mov ecx, dword [ebp - 4]
mov esi, dword [ecx]
add ebx, dword [esi + 0xc]
sub edi, 1
jns 0x440c80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test edi, edi
js 0x440d9a
mov ecx, eax
shr ecx, 8
and ecx, 0xff00ff
and eax, 0xff00ff
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
mov edi, ebx
mov dword [ebp + 0xc], edx
mov edx, dword [esi + 0x10]
mov dword [ebp + 0x18], ebx
mov dword [ebp - 0xc], edx
mov ebx, ecx
mov edx, 0x100
shr ecx, 0x10
mov esi, 0x100
sub edx, ecx
mov ecx, dword [edi]
mov edi, ecx
shr ecx, 8
and ecx, 0xff00ff
and edi, 0xff00ff
imul ecx, edx
imul edi, edx
shr ecx, 8
and ecx, 0xff00ff
shr edi, 8
add ebx, ecx
and edi, 0xff00ff
mov ecx, ebx
add edi, eax
shr ecx, 8
mov edx, edi
and ecx, 0xff00ff
shr edx, 8
sub esi, ecx
and edx, 0xff00ff
shl esi, 8
mov ecx, ebx
shl ecx, 8
or esi, ecx
mov ecx, 0x100
sub ecx, edx
mov edx, 0x100
or ecx, edi
mov edi, dword [ebp + 0x18]
xor esi, ecx
mov ecx, ebx
shr ecx, 8
and esi, 0xff00ff
and ecx, 0xff00ff
shl ebx, 8
sub edx, ecx
mov ecx, dword [ebp + 0xc]
shl edx, 8
dec ecx
or edx, ebx
mov dword [ebp + 0xc], ecx
xor esi, edx
mov dword [edi], esi
add edi, dword [ebp - 0xc]
test ecx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp + 0x18], edi
jg 0x440cd3
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 8]
mov esi, dword [ecx]
mov ecx, dword [ebp - 8]
add ebx, dword [esi + 0xc]
sub dword [ebp + 0x14], 1
mov dword [ebp + 8], ebx
jns 0x440cc2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x441bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
cmp esi, dword [edi + 0x6c]
jle 0x441be8
mov dword [edi + 0x6c], esi
push dword [edi + 0x68]
call fcn.004af8b3
push esi
call fcn.004afadb
add esp, 8
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x68]
mov ecx, edi
push esi
mov esi, dword [ebp + 8]
push esi
push eax
mov dword [ebp - 4], eax
call fcn.0042c8b0
mov eax, dword [edi + 0x48]
mov edx, dword [edi + 0x50]
imul edx, dword [ebp + 0x10]
mov eax, dword [eax + 0x10]
mov ebx, eax
imul ebx, esi
mov dword [ebp + 8], eax
sar edx, 8
mov dword [ebp + 0x10], edx
add ebx, dword [edi + 0x64]
cmp edx, 0xfe
jge 0x441cf0
mov ecx, dword [ebp - 4]
movzx eax, byte [ecx]
inc ecx
mov edi, eax
mov dword [ebp - 4], ecx
shl edi, 0x10
mov ecx, 0x100
or edi, eax
imul edi, edx
mov edx, 0x100
shr edi, 8
and edi, 0xff00ff
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and eax, 0xff00ff
and esi, 0xff00ff
imul eax, ecx
imul esi, ecx
shr eax, 8
and eax, 0xff00ff
shr esi, 8
and esi, 0xff00ff
add esi, edi
add edi, eax
mov eax, edi
mov ecx, esi
shr eax, 8
and eax, 0xff00ff
shr ecx, 8
sub edx, eax
and ecx, 0xff00ff
shl edx, 8
mov eax, edi
shl eax, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
xor edx, eax
mov eax, edi
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
dec eax
or ecx, edi
mov dword [ebp + 0xc], eax
xor edx, ecx
mov dword [ebx], edx
add ebx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
test eax, eax
jg 0x441c25
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov edx, 0x100
movzx eax, byte [ecx]
inc ecx
mov edi, eax
mov dword [ebp - 4], ecx
shl edi, 0x10
mov ecx, 0x100
or edi, eax
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and eax, 0xff00ff
and esi, 0xff00ff
imul eax, ecx
imul esi, ecx
shr eax, 8
and eax, 0xff00ff
shr esi, 8
and esi, 0xff00ff
add esi, edi
add edi, eax
mov eax, edi
mov ecx, esi
shr eax, 8
and eax, 0xff00ff
shr ecx, 8
sub edx, eax
and ecx, 0xff00ff
shl edx, 8
mov eax, edi
shl eax, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
xor edx, eax
mov eax, edi
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
dec eax
or ecx, edi
mov dword [ebp + 0xc], eax
xor edx, ecx
mov dword [ebx], edx
add ebx, dword [ebp + 8]
test eax, eax
jg 0x441cf0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x441db0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
cmp esi, dword [edi + 0x6c]
jle 0x441dd8
mov dword [edi + 0x6c], esi
push dword [edi + 0x68]
call fcn.004af8b3
push esi
call fcn.004afadb
add esp, 8
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x68]
mov ecx, edi
push esi
mov esi, dword [ebp + 8]
push esi
push eax
mov dword [ebp - 4], eax
call fcn.00443070
mov eax, dword [edi + 0x48]
mov edx, dword [edi + 0x50]
imul edx, dword [ebp + 0x10]
mov eax, dword [eax + 0x10]
mov ebx, eax
imul ebx, esi
mov dword [ebp + 8], eax
sar edx, 8
mov dword [ebp + 0x10], edx
add ebx, dword [edi + 0x64]
cmp edx, 0xfe
jge 0x441ee0
mov ecx, dword [ebp - 4]
movzx eax, byte [ecx]
inc ecx
mov edi, eax
mov dword [ebp - 4], ecx
shl edi, 0x10
mov ecx, 0x100
or edi, eax
imul edi, edx
mov edx, 0x100
shr edi, 8
and edi, 0xff00ff
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and eax, 0xff00ff
and esi, 0xff00ff
imul eax, ecx
imul esi, ecx
shr eax, 8
and eax, 0xff00ff
shr esi, 8
and esi, 0xff00ff
add esi, edi
add edi, eax
mov eax, edi
mov ecx, esi
shr eax, 8
and eax, 0xff00ff
shr ecx, 8
sub edx, eax
and ecx, 0xff00ff
shl edx, 8
mov eax, edi
shl eax, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
xor edx, eax
mov eax, edi
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
dec eax
or ecx, edi
mov dword [ebp + 0xc], eax
xor edx, ecx
mov dword [ebx], edx
add ebx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
test eax, eax
jg 0x441e15
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov edx, 0x100
movzx eax, byte [ecx]
inc ecx
mov edi, eax
mov dword [ebp - 4], ecx
shl edi, 0x10
mov ecx, 0x100
or edi, eax
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and eax, 0xff00ff
and esi, 0xff00ff
imul eax, ecx
imul esi, ecx
shr eax, 8
and eax, 0xff00ff
shr esi, 8
and esi, 0xff00ff
add esi, edi
add edi, eax
mov eax, edi
mov ecx, esi
shr eax, 8
and eax, 0xff00ff
shr ecx, 8
sub edx, eax
and ecx, 0xff00ff
shl edx, 8
mov eax, edi
shl eax, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
xor edx, eax
mov eax, edi
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
dec eax
or ecx, edi
mov dword [ebp + 0xc], eax
xor edx, ecx
mov dword [ebx], edx
add ebx, dword [ebp + 8]
test eax, eax
jg 0x441ee0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x441fa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0xc], ebx
cmp esi, dword [ebx + 0x6c]
jle 0x441fd0
mov dword [ebx + 0x6c], esi
push dword [ebx + 0x68]
call fcn.004af8b3
lea eax, [esi + esi*2]
push eax
call fcn.004afadb
add esp, 8
mov dword [ebx + 0x68], eax
mov eax, dword [ebx + 0x68]
mov ecx, ebx
mov edi, dword [ebp + 8]
push esi
push edi
push eax
mov dword [ebp - 4], eax
call fcn.00443310
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x10]
mov ebx, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
imul ebx, edi
mov edx, dword [eax + 0x50]
imul edx, dword [ebp + 0x10]
add ebx, dword [eax + 0x64]
mov dword [ebp + 8], ebx
sar edx, 8
mov dword [ebp + 0x10], edx
cmp edx, 0xfe
jge 0x442100
mov eax, dword [ebp - 4]
dec esi
mov ecx, eax
mov edi, dword [ebx]
add eax, 3
mov dword [ebp - 4], eax
movzx eax, byte [ecx + 1]
movzx ebx, byte [ecx + 2]
or eax, 0xff0000
imul eax, edx
mov edx, 0x100
shl ebx, 0x10
shr eax, 8
and eax, 0xff00ff
mov dword [ebp + 0xc], eax
shr eax, 0x10
sub edx, eax
movzx eax, byte [ecx]
or ebx, eax
mov eax, edi
imul ebx, dword [ebp + 0x10]
and eax, 0xff00ff
imul eax, edx
shr edi, 8
and edi, 0xff00ff
imul edi, edx
mov edx, 0x100
shr ebx, 8
shr eax, 8
and ebx, 0xff00ff
and eax, 0xff00ff
add ebx, eax
shr edi, 8
mov ecx, ebx
and edi, 0xff00ff
shr ecx, 8
add dword [ebp + 0xc], edi
and ecx, 0xff00ff
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 8
and eax, 0xff00ff
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, ebx
mov ebx, dword [ebp + 8]
xor edx, eax
mov eax, edi
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl edi, 8
sub ecx, eax
shl ecx, 8
or ecx, edi
xor edx, ecx
mov dword [ebx], edx
add ebx, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
mov dword [ebp + 8], ebx
test esi, esi
jg 0x442013
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 4]
dec esi
mov ecx, eax
add eax, 3
mov dword [ebp - 4], eax
mov ax, word [ecx]
movzx ecx, byte [ecx + 2]
or ecx, 0xffffff00
mov word [ebp + 0xc], ax
movzx eax, byte [ebp + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0xc]
shl ecx, 8
or ecx, eax
mov dword [ebx], ecx
add ebx, dword [ebp - 8]
test esi, esi
jg 0x442100
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x442150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0xc], ebx
cmp esi, dword [ebx + 0x6c]
jle 0x442180
mov dword [ebx + 0x6c], esi
push dword [ebx + 0x68]
call fcn.004af8b3
lea eax, [esi + esi*2]
push eax
call fcn.004afadb
add esp, 8
mov dword [ebx + 0x68], eax
mov eax, dword [ebx + 0x68]
mov ecx, ebx
mov edi, dword [ebp + 8]
push esi
push edi
push eax
mov dword [ebp - 4], eax
call fcn.004436f0
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x10]
mov ebx, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
imul ebx, edi
mov edx, dword [eax + 0x50]
imul edx, dword [ebp + 0x10]
add ebx, dword [eax + 0x64]
mov dword [ebp + 8], ebx
sar edx, 8
mov dword [ebp + 0x10], edx
cmp edx, 0xfe
jge 0x4422b0
mov eax, dword [ebp - 4]
dec esi
mov ecx, eax
mov edi, dword [ebx]
add eax, 3
mov dword [ebp - 4], eax
movzx eax, byte [ecx + 1]
movzx ebx, byte [ecx + 2]
or eax, 0xff0000
imul eax, edx
mov edx, 0x100
shl ebx, 0x10
shr eax, 8
and eax, 0xff00ff
mov dword [ebp + 0xc], eax
shr eax, 0x10
sub edx, eax
movzx eax, byte [ecx]
or ebx, eax
mov eax, edi
imul ebx, dword [ebp + 0x10]
and eax, 0xff00ff
imul eax, edx
shr edi, 8
and edi, 0xff00ff
imul edi, edx
mov edx, 0x100
shr ebx, 8
shr eax, 8
and ebx, 0xff00ff
and eax, 0xff00ff
add ebx, eax
shr edi, 8
mov ecx, ebx
and edi, 0xff00ff
shr ecx, 8
add dword [ebp + 0xc], edi
and ecx, 0xff00ff
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 8
and eax, 0xff00ff
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, ebx
mov ebx, dword [ebp + 8]
xor edx, eax
mov eax, edi
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl edi, 8
sub ecx, eax
shl ecx, 8
or ecx, edi
xor edx, ecx
mov dword [ebx], edx
add ebx, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
mov dword [ebp + 8], ebx
test esi, esi
jg 0x4421c3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 4]
dec esi
mov ecx, eax
add eax, 3
mov dword [ebp - 4], eax
mov ax, word [ecx]
movzx ecx, byte [ecx + 2]
or ecx, 0xffffff00
mov word [ebp + 0xc], ax
movzx eax, byte [ebp + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0xc]
shl ecx, 8
or ecx, eax
mov dword [ebx], ecx
add ebx, dword [ebp - 8]
test esi, esi
jg 0x4422b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x442300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
cmp esi, dword [edi + 0x6c]
jle 0x442331
mov dword [edi + 0x6c], esi
push dword [edi + 0x68]
call fcn.004af8b3
lea eax, [esi*4]
push eax
call fcn.004afadb
add esp, 8
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x68]
mov ecx, edi
push esi
mov esi, dword [ebp + 8]
push esi
push eax
mov dword [ebp - 4], eax
call fcn.00443a40
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x50]
imul ecx, dword [ebp + 0x10]
mov eax, dword [eax + 0x10]
mov ebx, eax
imul ebx, esi
mov dword [ebp - 8], eax
sar ecx, 8
mov dword [ebp + 8], ecx
add ebx, dword [edi + 0x64]
cmp ecx, 0xfe
jge 0x442452
nop
mov edx, dword [ebp - 4]
mov eax, edx
add edx, 4
mov dword [ebp - 4], edx
mov edx, dword [eax]
mov edi, edx
shr edi, 8
and edx, 0xff00ff
imul edx, dword [ebp + 8]
and edi, 0xff00ff
imul edi, ecx
mov ecx, 0x100
shr edx, 8
shr edi, 8
and edx, 0xff00ff
and edi, 0xff00ff
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and eax, 0xff00ff
and esi, 0xff00ff
imul eax, ecx
imul esi, ecx
shr eax, 8
and eax, 0xff00ff
shr esi, 8
add edi, eax
and esi, 0xff00ff
add esi, edx
mov eax, edi
shr eax, 8
mov edx, 0x100
and eax, 0xff00ff
mov ecx, esi
sub edx, eax
shr ecx, 8
shl edx, 8
mov eax, edi
shl eax, 8
and ecx, 0xff00ff
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
xor edx, eax
mov eax, edi
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
dec eax
or ecx, edi
mov dword [ebp + 0xc], eax
xor edx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebx], edx
add ebx, dword [ebp - 8]
test eax, eax
jg 0x442370
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov edi, edx
add ecx, 4
shr edi, 8
mov dword [ebp - 4], ecx
and edi, 0xff00ff
mov eax, edi
mov ecx, 0x100
shr eax, 0x10
and edx, 0xff00ff
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and eax, 0xff00ff
and esi, 0xff00ff
imul eax, ecx
imul esi, ecx
shr eax, 8
and eax, 0xff00ff
shr esi, 8
add edi, eax
and esi, 0xff00ff
add esi, edx
mov eax, edi
shr eax, 8
mov edx, 0x100
and eax, 0xff00ff
mov ecx, esi
sub edx, eax
shr ecx, 8
shl edx, 8
mov eax, edi
shl eax, 8
and ecx, 0xff00ff
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
xor edx, eax
mov eax, edi
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
dec eax
or ecx, edi
mov dword [ebp + 0xc], eax
xor edx, ecx
mov dword [ebx], edx
add ebx, dword [ebp - 8]
test eax, eax
jg 0x442452
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc