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

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x14], 0
mov ecx, dword [ebp + 8]
je 0x5aca24
xor dword [ebp + 0x10], ecx
mov eax, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp edi, 0x10
jb 0x5acbc6
mov esi, edi
push ebx
shr esi, 4
movzx ebx, byte [ecx]
mov edx, eax
shr edx, 0x18
xor edx, ebx
mov ebx, eax
mov eax, dword [edx*4 + 0x6760f8]
shl ebx, 8
xor eax, ebx
movzx ebx, byte [ecx + 1]
mov edx, eax
shr edx, 0x18
xor edx, ebx
mov edx, dword [edx*4 + 0x6760f8]
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 0x18
shl edx, 8
inc ecx
movzx ebx, byte [ecx + 1]
xor eax, ebx
mov eax, dword [eax*4 + 0x6760f8]
xor eax, edx
inc ecx
movzx ebx, byte [ecx + 1]
mov edx, eax
shr edx, 0x18
xor edx, ebx
mov edx, dword [edx*4 + 0x6760f8]
shl eax, 8
xor edx, eax
inc ecx
movzx ebx, byte [ecx + 1]
mov eax, edx
shr eax, 0x18
xor eax, ebx
mov eax, dword [eax*4 + 0x6760f8]
shl edx, 8
xor eax, edx
inc ecx
movzx ebx, byte [ecx + 1]
mov edx, eax
shr edx, 0x18
xor edx, ebx
mov edx, dword [edx*4 + 0x6760f8]
shl eax, 8
xor edx, eax
inc ecx
movzx ebx, byte [ecx + 1]
mov eax, edx
shr eax, 0x18
xor eax, ebx
mov eax, dword [eax*4 + 0x6760f8]
shl edx, 8
xor eax, edx
inc ecx
movzx ebx, byte [ecx + 1]
mov edx, eax
shr edx, 0x18
xor edx, ebx
mov edx, dword [edx*4 + 0x6760f8]
inc ecx
movzx ebx, byte [ecx + 1]
shl eax, 8
xor edx, eax
mov eax, edx
inc ecx
shr eax, 0x18
xor eax, ebx
mov eax, dword [eax*4 + 0x6760f8]
movzx ebx, byte [ecx + 1]
shl edx, 8
xor eax, edx
inc ecx
mov edx, eax
shr edx, 0x18
xor edx, ebx
mov edx, dword [edx*4 + 0x6760f8]
shl eax, 8
xor edx, eax
inc ecx
movzx ebx, byte [ecx]
mov eax, edx
shr eax, 0x18
xor eax, ebx
mov eax, dword [eax*4 + 0x6760f8]
movzx ebx, byte [ecx + 1]
shl edx, 8
xor eax, edx
mov edx, eax
shr edx, 0x18
xor edx, ebx
mov edx, dword [edx*4 + 0x6760f8]
shl eax, 8
xor edx, eax
inc ecx
movzx ebx, byte [ecx + 1]
mov eax, edx
shr eax, 0x18
xor eax, ebx
mov eax, dword [eax*4 + 0x6760f8]
shl edx, 8
xor eax, edx
inc ecx
movzx ebx, byte [ecx + 1]
mov edx, eax
shr edx, 0x18
xor edx, ebx
mov edx, dword [edx*4 + 0x6760f8]
inc ecx
movzx ebx, byte [ecx + 1]
shl eax, 8
xor edx, eax
inc ecx
mov eax, edx
shr eax, 0x18
xor eax, ebx
mov eax, dword [eax*4 + 0x6760f8]
movzx ebx, byte [ecx + 1]
shl edx, 8
xor eax, edx
inc ecx
mov edx, eax
shr edx, 0x18
xor edx, ebx
mov edx, dword [edx*4 + 0x6760f8]
shl eax, 8
xor eax, edx
inc ecx
sub edi, 0x10
dec esi
jne 0x5aca3b
pop ebx
test edi, edi
jbe 0x5acbe4
movzx esi, byte [ecx]
mov edx, eax
shr edx, 0x18
xor edx, esi
mov edx, dword [edx*4 + 0x6760f8]
shl eax, 8
xor eax, edx
inc ecx
dec edi
jne 0x5acbca
pop edi
pop esi
pop ebp
ret
Function at 0x5d7bd0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x631c46
call fcn.005fcaec
sub esp, 0x98
push ebx
push esi
mov esi, ecx
lea eax, [esi + 4]
mov ecx, eax
neg ecx
lea edx, [eax - 4]
sbb ecx, ecx
and ecx, edx
push edi
mov dword [ebp - 0x10], esi
mov dword [0x67f220], ecx
xor ecx, ecx
push 1
pop ebx
lea edi, [esi + 0x20]
mov dword [eax], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ebx
mov dword [ebp - 4], ecx
mov dword [edi], ecx
push 0xffffffffffffffff
push dword [ebp + 8]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ecx
mov ecx, edi
mov byte [ebp - 4], bl
mov dword [esi + 0x24], ebx
mov dword [esi], 0x63aa3c
call fcn.00411754
mov eax, 0x6765f8
push eax
push eax
mov ecx, edi
call fcn.0044383d
mov ecx, eax
call fcn.004438f2
call dword [fcn.0067ffac]
mov dword [esi + 0xc], eax
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x94
call dword [fcn.006800c8]
mov ecx, dword [ebp - 0xc]
xor eax, eax
cmp dword [ebp - 0x94], ebx
pop edi
sete al
mov dword [esi + 0x14], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x5d9c07
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap force flags

Disassembly:
mov eax, 0x6320e7
call fcn.005fcaec
push ecx
push ecx
push ebx
push esi
mov esi, ecx
lea eax, [esi + 4]
mov ecx, eax
neg ecx
lea edx, [eax - 4]
sbb ecx, ecx
and ecx, edx
push edi
mov dword [ebp - 0x14], esi
mov dword [0x67f170], ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [eax], edi
push 0x64
pop ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0x1f
mov dword [esi + 0x28], edi
mov dword [esi + 0x1c], 0x63aa74
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], 0x18
lea eax, [ebp - 0xd]
push eax
lea ecx, [esi + 0x44]
mov dword [esi + 0x3c], 0x10
mov dword [esi + 0x40], edi
push edi
mov byte [ebp - 4], 4
mov dword [ecx], edi
call fcn.0042ed41
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x34], 0x63aa70
mov dword [esi + 0x48], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x54], 0x1f
mov dword [esi + 0x4c], 0x63aa6c
mov dword [esi + 0x60], 0x18
pop edi
mov dword [esi], 0x63aa68
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x5dc96f
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, 0x680918
jmp 0x5dc963
mov eax, 0x632441
call fcn.005fcaec
push ecx
push ebx
push esi
mov esi, ecx
lea eax, [esi + 4]
mov ecx, eax
neg ecx
lea edx, [eax - 4]
sbb ecx, ecx
and ecx, edx
push edi
mov dword [ebp - 0x10], esi
mov dword [0x67f178], ecx
xor edi, edi
lea ecx, [esi + 0xc]
mov dword [ebp - 4], edi
mov dword [eax], edi
call fcn.005e1b23
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x40], edi
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 4
call fcn.00462bda
lea ecx, [esi + 0xbc]
call fcn.0058824f
lea eax, [esi + 0x5b4]
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax + 4], 0x63aa8c
mov dword [eax], 0x63aa88
mov dword [esi + 0x5dc], edi
mov dword [esi + 0x6c8], edi
push fcn.004b04ce
mov ebx, 0x5e1ba7
push ebx
push 0x11
push 8
lea eax, [esi + 0x6cc]
push eax
mov byte [ebp - 4], 6
call fcn.005fda2e
push fcn.004b04ce
push ebx
push 0x11
push 8
lea eax, [esi + 0x754]
push eax
mov byte [ebp - 4], 7
call fcn.005fda2e
lea ecx, [esi + 0x7dc]
mov byte [ebp - 4], 8
call fcn.00514db0
lea ecx, [esi + 0x804]
mov byte [ebp - 4], 9
call fcn.00592137
lea ecx, [esi + 0x810]
mov byte [ebp - 4], 0xa
call fcn.00592137
mov dword [esi + 0x834], edi
mov dword [esi + 0x83c], edi
mov dword [esi + 0x844], edi
mov dword [esi + 0x84c], edi
mov dword [esi + 0x854], edi
mov dword [esi + 0x85c], edi
mov dword [esi + 0x864], edi
mov dword [esi + 0x86c], edi
mov dword [esi + 0x874], edi
mov dword [esi + 0x87c], edi
mov dword [esi + 0x884], edi
mov dword [esi + 0x88c], edi
mov dword [esi + 0x894], edi
mov dword [esi + 0x89c], edi
mov dword [esi + 0x8a4], edi
push 0x5e1ba2
push 0x5e1ba7
push 2
push 8
lea eax, [esi + 0x8a8]
push eax
mov byte [ebp - 4], 0x1a
call fcn.005fda2e
mov dword [esi + 0x8bc], edi
mov dword [esi + 0x8c4], edi
mov dword [esi + 0x8cc], edi
mov dword [esi + 0x8d4], edi
mov dword [esi + 0x8dc], edi
mov dword [esi + 0x8e4], edi
lea eax, [esi + 0x8e8]
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax], 0x63aa84
lea eax, [esi + 0x8fc]
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax], 0x636674
lea ecx, [esi + 0x910]
mov byte [ebp - 4], 0x23
call fcn.00520b37
mov dword [esi + 0x920], edi
mov dword [esi + 0x924], edi
mov dword [esi + 0x928], edi
mov dword [esi + 0x92c], edi
mov dword [esi + 0x938], edi
mov dword [esi + 0x93c], edi
mov byte [ebp - 4], 0x2a
mov dword [esi], 0x63aa80
call dword [fcn.006802e8]
mov dword [esi + 0x38], eax
mov dword [esi + 0x828], eax
add eax, 0xfffb6c20
or edi, 0xffffffff
mov dword [esi + 0x820], eax
mov dword [esi + 0x82c], eax
mov edx, edi
lea eax, [esi + 0x5cc]
mov ecx, 0x3b9ac9ff
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x5efbe4
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x6345e6
call fcn.005fcaec
push ecx
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 4], 0x63b07c
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x24], 0x63b078
push eax
mov byte [ebp - 4], 1
mov dword [esi], 0x63b074
call fcn.005f0006
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x1c], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x5f5450
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x634974
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x11b4]
mov dword [esp + 0x14], 1
call fcn.005fa740
lea ecx, [esi + 0x105c]
mov byte [esp + 0x14], 0
call fcn.005fb860
add esi, 0x20
mov dword [esp + 4], esi
mov eax, dword [esi]
mov dword [esp + 0x14], 2
cmp eax, 0xffffffff
je 0x5f55df
push ebp
push edi
lea edi, [esi + 0x101c]
push edi
call dword [fcn.00635090]
mov eax, dword [esi + 0x1034]
test eax, eax
je 0x5f54d4
mov ecx, dword [esi + 0x1038]
cmp ecx, eax
mov eax, 0x677468
ja 0x5f54d9
mov eax, 0x67f140
push eax
xor eax, eax
mov ax, word [esi + 0x102a]
xor ecx, ecx
mov cx, word [esi + 0x1028]
push eax
xor edx, edx
xor eax, eax
mov dx, word [esi + 0x1026]
mov ax, word [esi + 0x1024]
push ecx
push edx
xor ecx, ecx
push eax
mov cx, word [esi + 0x1022]
xor edx, edx
mov dx, word [esi + 0x101e]
xor eax, eax
mov ax, word [edi]
push ecx
push edx
push eax
push 0x677410
lea ebp, [esi + 0x1c]
call fcn.005fbf00
add esp, 4
push eax
push ebp
call fcn.005fce85
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
add esp, 0x28
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x1030]
not ecx
dec ecx
test eax, eax
je 0x5f5577
test ecx, ecx
jle 0x5f55a7
mov edi, 0xffffffe4
mov eax, ebp
sub edi, esi
mov edx, dword [esi + 0x1030]
add edx, 2
mov dword [esi + 0x1030], edx
add dl, 0x43
xor byte [eax], dl
inc eax
lea edx, [edi + eax]
cmp edx, ecx
jl 0x5f5559
jmp 0x5f55a7
test ecx, ecx
jle 0x5f55a7
mov edi, 0xffffffe4
push ebx
mov eax, ebp
sub edi, esi
mov edx, dword [esi + 0x102c]
lea edx, [edx + edx*2 + 1]
mov dword [esi + 0x102c], edx
mov bl, byte [eax]
add dl, 0x65
xor bl, dl
mov byte [eax], bl
inc eax
lea edx, [eax + edi]
cmp edx, ecx
jl 0x5f5585
pop ebx
cmp dword [esi + 0x1034], 0x3e7
je 0x5f55c5
lea eax, [esp + 0x10]
push 0
push eax
push ecx
mov ecx, dword [esi]
push ebp
push ecx
call dword [fcn.006350f8]
mov edx, dword [esi]
push edx
call dword [0x6350f4]
mov eax, dword [esi]
push eax
call dword [fcn.006350d4]
pop edi
mov dword [esi], 0xffffffff
pop ebp
add esi, 4
push esi
call dword [0x6350f0]
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5f7020
Capabilities:
Check for software breakpoints
Encode data using xor

Disassembly:
mov eax, 0x1008
call fcn.005fcfe0
push ebx
push esi
mov esi, dword [esp + 0x1014]
cmp dword [esi], 0xffffffff
je 0x5f71a5
mov eax, dword [esi + 0x1034]
test eax, eax
je 0x5f7067
mov ecx, dword [esp + 0x1018]
cmp byte [ecx], 0x21
je 0x5f7067
mov ecx, dword [esi + 0x1038]
cmp ecx, eax
ja 0x5f71a5
inc ecx
mov dword [esi + 0x1038], ecx
lea ebx, [esi + 4]
push ebx
mov dword [esp + 0xc], ebx
call dword [fcn.00635150]
mov eax, dword [esp + 0x1018]
lea edx, [esp + 0x101c]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.005ff16c
add esp, 0xc
lea edx, [esi + 0x101c]
push edx
call dword [fcn.00635090]
mov eax, fcn.005fce85
cmp byte [eax], 0xcc
je 0x5f719e
mov ecx, dword [fcn.006350f8]
cmp byte [ecx], 0xcc
je 0x5f719e
xor eax, eax
push ebp
mov ax, word [esi + 0x102a]
lea edx, [esp + 0x14]
push edi
push edx
xor ecx, ecx
push eax
mov cx, word [esi + 0x1028]
xor edx, edx
mov dx, word [esi + 0x1026]
xor eax, eax
mov ax, word [esi + 0x1024]
push ecx
push edx
push eax
push 0x677b44
lea ebp, [esi + 0x1c]
call fcn.005fbf00
add esp, 4
push eax
push ebp
call fcn.005fce85
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
add esp, 0x1c
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x1030]
not ecx
dec ecx
test eax, eax
je 0x5f714e
test ecx, ecx
jle 0x5f7178
mov edi, 0xffffffe4
mov eax, ebp
sub edi, esi
mov edx, 2
mov ebx, dword [esi + 0x1030]
add ebx, edx
mov dword [esi + 0x1030], ebx
add bl, 0x43
xor byte [eax], bl
inc eax
lea ebx, [edi + eax]
cmp ebx, ecx
jl 0x5f712d
mov ebx, dword [esp + 0x10]
jmp 0x5f7178
test ecx, ecx
jle 0x5f7178
mov edi, 0xffffffe4
mov eax, ebp
sub edi, esi
mov edx, dword [esi + 0x102c]
lea edx, [edx + edx*2 + 1]
mov dword [esi + 0x102c], edx
add dl, 0x65
xor byte [eax], dl
inc eax
lea edx, [eax + edi]
cmp edx, ecx
jl 0x5f715b
lea eax, [esp + 0x14]
push 0
push eax
push ecx
mov ecx, dword [esi]
push ebp
push ecx
call dword [fcn.006350f8]
push ebx
call dword [fcn.0063514c]
pop edi
pop ebp
pop esi
mov al, 1
pop ebx
add esp, 0x1008
ret
push ebx
call dword [fcn.0063514c]
pop esi
xor al, al
pop ebx
add esp, 0x1008
ret

Function at 0x5f7d50
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [0x6815c1]
test al, al
je 0x5f7d63
xor eax, eax
mov esp, ebp
pop ebp
ret
mov al, byte [ecx + 0x1269]
mov dword [ebp - 4], 0
test al, al
je 0x5f7d8b
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
movzx eax, byte [eax + 2]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov al, byte fs:[0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x5fa4d0
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x240
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx], 0
je 0x5fa4e5
call fcn.005fa690
push ebp
lea eax, [esp + 0x14c]
push 0x104
push eax
call dword [0x63517c]
mov edi, 0x671ff8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x14c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x254]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [ebx + 4]
push esi
push 0x104
call dword [0x635194]
push esi
push 0
push 0x678984
push esi
call dword [0x635190]
push 0
lea eax, [esp + 0x150]
push esi
push eax
call dword [0x63518c]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push esi
call dword [fcn.00635130]
mov edi, eax
cmp edi, 0xffffffff
je 0x5fa643
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x1c]
push 0x40
push edx
push edi
call dword [fcn.00635114]
cmp word [esp + 0x14], 0x5a4d
jne 0x5fa63c
mov eax, dword [esp + 0x50]
mov ebp, dword [fcn.00635118]
push 0
push 0
push eax
push edi
call ebp
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x5c]
push 0xf8
push edx
push edi
call dword [fcn.00635114]
cmp dword [esp + 0x54], 0x4550
jne 0x5fa63c
cmp dword [esp + 0x88], 0x80000000
jbe 0x5fa63c
mov eax, dword [esp + 0x50]
push 0
push 0
push eax
push edi
mov dword [esp + 0x98], 0x10000000
call ebp
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x5c]
push 0xf8
push edx
push edi
call dword [fcn.006350f8]
push edi
call dword [fcn.006350d4]
mov edi, dword [0x635188]
push 8
push 0
push esi
call edi
test eax, eax
mov dword [ebx], eax
pop ebp
je 0x5fa668
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x240
ret 4
mov eax, dword [esp + 0x250]
push 8
push 0
push eax
mov byte [esi], 0
call edi
xor ecx, ecx
pop edi
test eax, eax
setne cl
mov dword [ebx], eax
pop esi
mov eax, ecx
pop ebx
add esp, 0x240
ret 4
Function at 0x5fbe60
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
push edi
call dword [fcn.00635064]
test eax, eax
je 0x5fbef7
mov ecx, edi
push ebx
and ecx, 0xff
push esi
mov byte [0x681689], cl
mov byte [0x681688], 1
lea edx, [ecx + ecx*2 + 0x65]
lea ecx, [ecx + ecx*2 + 1]
mov dword [esp + 0x10], edx
mov esi, 4
lea ecx, [ecx + ecx*2]
lea edx, [ecx + 0x65]
inc ecx
test eax, eax
jle 0x5fbecc
push ebp
sub edi, 0x68168c
mov ebp, eax
mov bl, byte [edi + esi + 0x681688]
lea ecx, [ecx + ecx*2]
mov al, cl
add al, 0x65
xor bl, al
mov byte [esi + 0x681688], bl
inc esi
inc ecx
dec ebp
jne 0x5fbeb0
pop ebp
mov bl, byte [esp + 0x10]
lea ecx, [esi - 4]
mov eax, ecx
mov byte [esi + 0x681688], 0
sar eax, 8
xor al, bl
xor dl, cl
pop esi
mov byte [0x68168a], al
pop ebx
mov byte [0x68168b], dl
mov eax, 0x681688
pop edi
ret
mov eax, 0x681688
pop edi
ret

Function at 0x5fbf00
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x5fbf09
ret
cmp byte [eax], 1
jne 0x5fbf64
movsx ecx, byte [eax + 1]
push ebx
mov bl, byte [eax + 2]
lea ecx, [ecx + ecx*2]
push esi
mov dl, cl
push edi
add dl, 0x65
lea ecx, [ecx + ecx*2 + 3]
xor bl, dl
mov dl, cl
mov byte [eax + 2], bl
mov bl, byte [eax + 3]
add dl, 0x65
xor esi, esi
xor bl, dl
xor edx, edx
mov dh, byte [eax + 2]
inc ecx
mov dl, bl
mov byte [eax + 3], bl
mov edi, edx
test edi, edi
jle 0x5fbf5d
mov bl, byte [esi + eax + 4]
lea ecx, [ecx + ecx*2]
mov dl, cl
add dl, 0x65
xor bl, dl
inc ecx
mov byte [esi + eax], bl
inc esi
cmp esi, edi
jl 0x5fbf46
mov byte [edi + eax], 0
pop edi
pop esi
pop ebx
ret
Function at 0x5fbf70
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [0x681680]
sub esp, 0x40c
test al, 1
push ebx
push edi
jne 0x5fbfa4
mov bl, al
push 0x681600
or bl, 1
mov byte [0x681680], bl
call dword [fcn.006350ec]
push 0x5fc140
call fcn.005fc68f
add esp, 4
mov edi, dword [esp + 0x418]
test edi, edi
jne 0x5fbfba
pop edi
xor eax, eax
pop ebx
add esp, 0x40c
ret
push ebp
push esi
push 0x681600
call dword [fcn.00635150]
cmp byte [edi], 1
jne 0x5fc01c
movsx eax, byte [edi + 1]
mov dl, byte [edi + 2]
mov bl, byte [edi + 3]
lea eax, [eax + eax*2]
xor esi, esi
mov cl, al
add cl, 0x65
lea eax, [eax + eax*2 + 3]
xor dl, cl
xor ecx, ecx
mov byte [edi + 2], dl
mov ch, byte [edi + 2]
mov dl, al
add dl, 0x65
xor bl, dl
inc eax
mov cl, bl
mov byte [edi + 3], bl
mov ebp, ecx
test ebp, ebp
jle 0x5fc018
mov cl, byte [esi + edi + 4]
lea eax, [eax + eax*2]
mov dl, al
add dl, 0x65
xor cl, dl
inc eax
mov byte [esi + edi], cl
inc esi
cmp esi, ebp
jl 0x5fc001
mov byte [edi + ebp], 0
xor ebx, ebx
call dword [fcn.00635144]
mov edx, 1
mov ecx, 0x68161c
cmp dword [ecx], eax
je 0x5fc040
add ecx, 4
inc edx
cmp ecx, 0x681640
jl 0x5fc02e
jmp 0x5fc046
test edx, edx
mov ebx, edx
jne 0x5fc061
mov ecx, dword [0x681a88]
cmp ecx, 9
jae 0x5fc061
inc ecx
mov dword [0x681a88], ecx
mov ebx, ecx
mov dword [ecx*4 + 0x681618], eax
mov esi, dword [ebx*4 + 0x681640]
mov dword [ebx*4 + 0x681640], edi
test esi, esi
je 0x5fc11b
cmp esi, edi
je 0x5fc11b
cmp byte [edi], 1
je 0x5fc11b
cmp byte [esi], 1
je 0x5fc11b
lea edx, [esp + 0x1c]
push esi
push edx
call dword [0x63508c]
lea eax, [esp + 0x1c]
push eax
call dword [fcn.00635064]
test eax, eax
mov dword [esp + 0x18], eax
je 0x5fc11b
lea ecx, [esp + 0x1c]
mov byte [esi], 1
and ecx, 0xff
mov ebp, 4
mov byte [esi + 1], cl
lea edx, [ecx + ecx*2 + 0x65]
lea ecx, [ecx + ecx*2 + 1]
mov dword [esp + 0x14], edx
xor edx, edx
lea ecx, [ecx + ecx*2]
lea ebx, [ecx + 0x65]
inc ecx
test eax, eax
mov dword [esp + 0x10], ebx
jle 0x5fc101
mov bl, byte [esp + edx + 0x1c]
lea ecx, [ecx + ecx*2]
mov al, cl
add al, 0x65
xor bl, al
mov eax, dword [esp + 0x18]
mov byte [esi + ebp], bl
inc ebp
inc ecx
inc edx
cmp edx, eax
jl 0x5fc0e2
mov ebx, dword [esp + 0x10]
mov dl, byte [esp + 0x14]
lea eax, [ebp - 4]
mov ecx, eax
mov byte [esi + ebp], 0
sar ecx, 8
xor cl, dl
xor bl, al
mov byte [esi + 2], cl
mov byte [esi + 3], bl
push 0x681600
call dword [fcn.0063514c]
pop esi
mov eax, edi
pop ebp
pop edi
pop ebx
add esp, 0x40c
ret

Function at 0x5fc3d0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
mov eax, ecx
push edi
xor esi, esi
mov edi, eax
mov edx, esi
mov ebx, 8
test dl, 1
je 0x5fc3ef
shr edx, 1
xor edx, 0xedb88320
jmp 0x5fc3f1
shr edx, 1
dec ebx
jne 0x5fc3e0
mov dword [edi], edx
inc esi
add edi, 4
cmp esi, 0x100
jl 0x5fc3d9
pop edi
pop esi
pop ebx
ret
Function at 0x5fc420
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1004
call fcn.005fcfe0
mov eax, dword [esp + 0x1008]
push ebp
push esi
mov esi, dword [esp + 0x1014]
test eax, eax
push edi
mov ebp, ecx
mov dword [esi], 0xffffffff
je 0x5fc525
cmp byte [eax], 0
je 0x5fc525
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [fcn.00635130]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5fc48c
pop edi
mov dword [ebp + 0x400], 2
pop esi
xor al, al
pop ebp
add esp, 0x1004
ret 8
push ebx
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x1c]
push 0x1000
push ecx
push edi
call dword [fcn.00635114]
test eax, eax
je 0x5fc4ff
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x5fc4fb
lea ecx, [esp + ecx + 0x14]
lea edx, [esp + 0x14]
cmp edx, ecx
lea eax, [esp + 0x14]
jae 0x5fc4dd
xor edx, edx
xor ebx, ebx
mov dl, byte [esi]
mov bl, byte [eax]
xor edx, ebx
mov ebx, dword [esi]
shr ebx, 8
mov edx, dword [ebp + edx*4]
xor edx, ebx
inc eax
cmp eax, ecx
mov dword [esi], edx
jb 0x5fc4c1
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x1c]
push 0x1000
push ecx
push edi
call dword [fcn.00635114]
test eax, eax
jne 0x5fc4a9
jmp 0x5fc4ff
test eax, eax
jne 0x5fc509
mov dword [ebp + 0x400], 3
push edi
call dword [fcn.006350d4]
mov edx, dword [esi]
pop ebx
not edx
mov dword [esi], edx
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x1004
ret 8
pop edi
mov dword [ebp + 0x400], 1
pop esi
xor al, al
pop ebp
add esp, 0x1004
ret 8
Function at 0x6c0620
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
push ebp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add dl, dl
jne 0x6c063d
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x6c062e
add dl, dl
jne 0x6c0648
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x6c0694
xor eax, eax
add dl, dl
jne 0x6c0655
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x6c0731
add dl, dl
jne 0x6c0664
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6c066f
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6c067a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6c0685
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x6c068f
push edi
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
jmp 0x6c0634
mov eax, 1
add dl, dl
jne 0x6c06a2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6c06ad
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x6c0699
sub eax, 2
jne 0x6c06dc
mov ecx, 1
add dl, dl
jne 0x6c06c2
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x6c06cd
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x6c06b9
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6c0634
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x6c06f3
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x6c06fe
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x6c06ea
cmp eax, 0x7d00
jae 0x6c0721
cmp eax, 0x500
jb 0x6c071c
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6c0634
cmp eax, 0x7f
ja 0x6c0724
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6c0634
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x6c074d
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6c0634
pop ebp
sub edi, dword [ebp + 0xc]
mov dword [ebp - 4], edi
popal
pop ebp
ret 8