joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cabd0
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
push 0x6b04b8
push str.interface.cfg
mov edi, ecx
call fcn.00610579
mov esi, eax
add esp, 8
test esi, esi
jne 0x4cabf1
pop edi
xor al, al
pop esi
ret
push esi
push 0xc8
lea eax, [edi + 0x2660]
push 1
push eax
call fcn.00611473
push esi
call fcn.00610889
add esp, 0x14
mov al, 1
pop edi
pop esi
ret

Function at 0x4cac20
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x265c], 0
je 0x4cac8f
push edi
push 0x6afba8
call dword [0x67b86c]
push eax
push str.OnSaveInterfaceStatus
push dword [esi + 0x265c]
call fcn.005bca80
push 0x6b04b4
push str.interface.cfg
call fcn.00610579
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x4cac71
push str.Cannot_open_interface.cfg
call fcn.005165c0
add esp, 4
pop edi
pop esi
ret
push edi
push 0xc8
lea eax, [esi + 0x2660]
push 1
push eax
call fcn.006107af
push edi
call fcn.00610889
add esp, 0x14
pop edi
pop esi
ret

Function at 0x4cebd0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x667b39
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x70ab0c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x799700], edi
mov dword [ebp - 4], 0
lea esi, [edi + 4]
mov dword [edi], vtable.CPythonTextTail.0
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005c795a
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0xc]
mov byte [ebp - 4], 1
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005c795a
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x14]
mov byte [ebp - 4], 2
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005c795a
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 3
push 0xc
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
call fcn.005c795a
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x1c], eax
mov byte [ebp - 4], 4
push 0xc
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
call fcn.005c795a
add esp, 0x14
mov ecx, edi
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x2c], vtable.CDynamicPool_struct_CPythonTextTail::STextTail_.0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
call fcn.004ceb10
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 0x4d0230
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x70ab0c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push 0x6b04b8
push esi
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], 0x10325476
call fcn.00610579
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4d029b
push esi
push str._s_cant_be_opened_n
call fcn.00455400
add esp, 8
jmp 0x4d03ae
push ebx
push 0x400
lea eax, [ebp - 0x40c]
push 1
push eax
call fcn.00611473
add esp, 0x10
test eax, eax
je 0x4d02e0
push eax
lea eax, [ebp - 0x40c]
mov ecx, edi
push eax
call fcn.004d0180
push ebx
push 0x400
lea eax, [ebp - 0x40c]
push 1
push eax
call fcn.00611473
add esp, 0x10
test eax, eax
jne 0x4d02b6
xor edx, edx
lea ecx, [edi + 0x12]
movzx eax, byte [ecx - 2]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0xc], al
movzx eax, byte [ecx - 5]
mov byte [ebp + edx - 0xb], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0xa], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 9], al
add edx, 4
cmp edx, 8
jb 0x4d02e5
mov edx, dword [edi + 0x10]
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
mov ecx, edi
push eax
push 0x70f080
call fcn.004d0180
push 8
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call fcn.004d0180
lea ecx, [edi + 0x5a]
mov esi, 4
lea edx, [edi + 2]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
mov byte [ecx - 2], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 5]
mov byte [ecx - 5], al
movzx eax, byte [edx - 4]
mov byte [ecx - 4], al
movzx eax, byte [edx - 3]
mov byte [ecx - 3], al
sub esi, 1
jne 0x4d0352
push 0x58
push esi
push edi
call fcn.00603590
add esp, 0xc
movzx eax, byte [edi + esi + 0x58]
push eax
lea eax, [edi + 0x68]
lea eax, [eax + esi*2]
push str._02x
push eax
call fcn.00446300
inc esi
add esp, 0xc
cmp esi, 0x10
jl 0x4d0385
push ebx
call fcn.00610889
add esp, 4
mov ecx, dword [ebp - 4]
lea eax, [edi + 0x68]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c791b
mov esp, ebp
pop ebp
ret 4
Function at 0x4d1710
Capabilities:
Hash data with md5
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x70ab0c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x280], 0
xor edi, edi
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x294], 0x67452301
mov dword [ebp - 0x290], 0xefcdab89
mov dword [ebp - 0x28c], 0x98badcfe
mov dword [ebp - 0x288], 0x10325476
nop dword [eax]
nop word [eax + eax]
push dword [edi*8 + 0x6aff00]
mov esi, dword [edi*8 + 0x6aff04]
lea ecx, [ebp - 0x294]
call fcn.004d0230
nop dword [eax]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x4d17b0
test cl, cl
je 0x4d17ac
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x4d17b0
add eax, 2
add esi, 2
test cl, cl
jne 0x4d1790
xor eax, eax
jmp 0x4d17b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4d17cf
inc edi
cmp edi, 0xa
jb 0x4d1770
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005c791b
mov esp, ebp
pop ebp
ret
push dword [edi*8 + 0x6aff00]
lea eax, [ebp - 0x208]
push str._s_has_been_modified__please_run_autopatcher.
push 0x201
push eax
call fcn.00455f00
add esp, 0x10
mov edx, str.APP_NAME
mov ecx, 1
push 0x10
call fcn.004d07b0
push eax
lea eax, [ebp - 0x208]
push eax
push 0
call dword [0x67b4cc]
push 0
call fcn.0060d00f
int3
Function at 0x4d2e60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x70ab0c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x68ac58
push 0x64
mov esi, edx
call fcn.005c87c8
mov edi, eax
add esp, 8
test edi, edi
je 0x4d300a
push 0x63
lea ecx, [edi + 1]
push 0
push ecx
call fcn.00603590
add esp, 0xc
mov byte [edi], 1
lea eax, [edi + 4]
push 2
push eax
call fcn.006425a9
lea eax, [edi + 0x34]
push eax
call fcn.00642752
add esp, 0xc
mov dword [0x7953c8], edi
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
movq qword [edi + 0x5c], xmm0
push 0x20
push eax
push 0xffffffffffffffff
push str.881720715726979152
push 0
push 0xfde9
call dword [0x67b1b8]
xor edx, edx
lea ecx, [ebp - 0x48]
call fcn.004d70c0
call dword [0x67b1c8]
push 0x763e80
mov dword [0x7994ec], eax
call fcn.006425ca
add esp, 4
test eax, eax
jne 0x4d3024
test esi, esi
je 0x4d2f1e
movups xmm0, xmmword [esi]
movups xmmword [0x7952b0], xmm0
movq xmm0, qword [esi + 0x10]
jmp 0x4d2f28
xorps xmm0, xmm0
movups xmmword [0x7952b0], xmm0
movq qword [0x7952c0], xmm0
xorps xmm0, xmm0
push 0x763e80
movups xmmword [0x7954d0], xmm0
movq qword [0x7954e0], xmm0
call fcn.006425ef
add esp, 4
cmp dword [0x7995f0], 0
jne 0x4d3014
cmp byte [str.881720715726979152], 0
mov edx, 0x784f30
mov dword [0x784f20], 0x710480
je 0x4d2f93
mov eax, str.881720715726979152
mov esi, 1
sub esi, eax
lea ecx, [eax + esi]
cmp ecx, 0x40
jae 0x4d2f93
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
cmp byte [eax], 0
jne 0x4d2f80
mov esi, dword [0x7953c8]
mov al, 1
mov byte [edx], 0
mov dword [0x7995f0], 0x784f20
mov dword [0x784f28], 0x4d3430
mov dword [0x784f2c], 0x4d3440
xchg byte [esi], al
push 4
call fcn.005c795a
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x4d3810
push 0
push 0
call fcn.00618135
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x4d302f
cmp dword [esi + 0x60], 0
jne 0x4d302a
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c791b
mov esp, ebp
pop ebp
ret
mov dword [0x7953c8], 0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005c791b
mov esp, ebp
pop ebp
ret
push eax
call fcn.0064286c
call fcn.0061fc94
push 6
mov dword [ebp - 0x4c], 0
call fcn.00642899
int3
Function at 0x517600
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
or eax, 0xffffffff
push edi
mov edi, dword [ebp + 0xc]
cmp edi, 0x10
jb 0x517692
mov ecx, edi
shr ecx, 4
push ebx
mov dword [ebp + 0xc], ecx
push esi
lea esi, [edx + 2]
mov ebx, 4
nop dword [eax + eax]
movsx ecx, byte [esi - 2]
lea esi, [esi + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6f2370]
movsx ecx, byte [esi - 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6f2370]
movsx ecx, byte [esi - 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6f2370]
movsx ecx, byte [esi - 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6f2370]
sub ebx, 1
jne 0x517630
add edx, 0x10
sub edi, 0x10
sub dword [ebp + 0xc], 1
jne 0x517620
pop esi
pop ebx
test edi, edi
je 0x5176b0
movsx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6f2370]
sub edi, 1
jne 0x517696
not eax
pop edi
pop ebp
ret
Function at 0x518460
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov ebx, 0x20
mov edx, edi
mov ecx, edi
shl ecx, 4
dec ebx
shr edx, 5
xor edx, ecx
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 0x10]
mov ecx, eax
and ecx, 3
add edx, edi
mov ecx, dword [ebx + ecx*4]
add ecx, eax
sub eax, 0x61c88647
xor edx, ecx
add esi, edx
mov edx, esi
mov ecx, esi
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, eax
shr ecx, 0xb
add edx, esi
and ecx, 3
mov ecx, dword [ebx + ecx*4]
mov ebx, dword [ebp + 0xc]
add ecx, eax
xor edx, ecx
add edi, edx
test ebx, ebx
jne 0x518473
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov dword [eax + 4], edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x5184d0
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, 0xc6ef3720
push edi
mov edi, dword [ebp + 8]
mov ebx, 0x20
mov edx, esi
mov ecx, esi
shl ecx, 4
dec ebx
shr edx, 5
xor edx, ecx
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 0x10]
mov ecx, eax
shr ecx, 0xb
add edx, esi
and ecx, 3
mov ecx, dword [ebx + ecx*4]
add ecx, eax
add eax, 0x61c88647
xor edx, ecx
sub edi, edx
mov edx, edi
mov ecx, edi
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, eax
and ecx, 3
add edx, edi
mov ecx, dword [ebx + ecx*4]
mov ebx, dword [ebp + 0xc]
add ecx, eax
xor edx, ecx
sub esi, edx
test ebx, ebx
jne 0x5184e6
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov dword [eax + 4], edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x524140
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66c016
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x70ab0c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea ecx, [edi + 0x4c]
mov dword [edi], vtable.CNetworkStream.0
call fcn.006365b0
lea ecx, [edi + 0x60]
mov dword [ebp - 4], 0
call fcn.005449b0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x5c], 0xffffffff
mov byte [edi + 0x48], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x70], 0
mov byte [edi + 0x74], 0
mov ecx, dword [edi + 0x7c]
mov byte [ebp - 4], 2
cmp ecx, 0x8000
jbe 0x524239
mov dword [edi + 0x7c], 0x8000
jmp 0x524271
jae 0x524271
cmp dword [edi + 0x80], 0x8000
jae 0x52425a
lea eax, [ebp - 0xd]
push eax
push 0x8000
lea ecx, [edi + 0x78]
call fcn.00455df0
jmp 0x524271
mov esi, ecx
sub esi, ecx
add esi, 0x8000
push esi
push ecx
call fcn.00455ee0
add esp, 8
mov dword [edi + 0x7c], esi
push 0x8000
push 0x6f2898
push dword [edi + 0x78]
call fcn.00603010
add esp, 0xc
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52f1e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66c62e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x70ab0c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.0052c8f0
mov dword [ebp - 4], 0
mov dword [edi + 4], vtable.CLightBase.0
mov eax, edi
mov dword [edi + 8], vtable.CSingleton_class_CLightManager_.0
mov dword [0x72320c], eax
mov dword [edi], vtable.CLightManager.0
lea esi, [edi + 0xc]
mov dword [edi + 4], vtable.CLightManager.1.0
mov dword [edi + 8], vtable.CLightManager.2.0
push 8
mov byte [ebp - 4], 2
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.005c795a
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
lea esi, [edi + 0x20]
mov byte [ebp - 4], 3
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005c795a
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
unpcklps xmm0, xmm0
add esp, 8
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, dword [ebp - 0x18]
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x48], vtable.CDynamicPool_class_CLight_.0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
movq qword [edi + 0x34], xmm0
mov dword [edi + 0x3c], eax
mov eax, edi
mov dword [edi + 0x40], 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x53e870
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66cbc0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x70ab0c]
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 + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
lea esi, [edi + 0x1c]
mov dword [ebp - 4], 0
push 0x20
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005c795a
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
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 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 0x53ef50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00517600
Function at 0x54a5d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66d435
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x70ab0c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov edi, dword [ebp + 0xc]
mov edx, edi
cmp dword [edi + 0x14], 0x10
jb 0x54a60a
mov edx, dword [edi]
mov ecx, dword [edi + 0x10]
xor ebx, ebx
add ecx, edx
mov dword [ebp + 0xc], ebx
cmp edx, ecx
jae 0x54a633
nop dword [eax + eax]
movzx eax, byte [edx]
inc edx
imul ebx, ebx, 0x1000193
xor ebx, eax
cmp edx, ecx
jb 0x54a620
mov dword [ebp + 0xc], ebx
movzx eax, byte [esi]
lea ecx, [esi + 1]
and eax, 1
add ecx, eax
lea eax, [ecx + 1]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push edi
push ebx
mov ecx, esi
call fcn.0054a810
mov ecx, eax
test ecx, ecx
je 0x54a674
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ebx, [esi + 3]
mov dword [ebp - 0x18], 0
lea eax, [ebx + 1]
neg ebx
sbb ebx, ebx
and ebx, eax
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.0054bf70
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp + 0x10]
push esi
lea ecx, [edi + 8]
call fcn.004530f0
mov eax, dword [esi + 0x18]
lea ecx, [ebp - 0x1c]
mov dword [edi + 0x20], eax
mov dword [ebp - 0x18], 0
call fcn.004b95c0
mov esi, edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 4], 1
cmp dword [ebx + 0x14], 0
mov eax, dword [ebx + 8]
lea edi, [eax + 1]
jne 0x54a6f5
push edi
mov ecx, ebx
call fcn.0054c1d0
mov ecx, dword [ebx + 4]
cmp ecx, eax
cmovb ecx, eax
push ecx
mov ecx, ebx
call fcn.0054be00
jmp 0x54a722
cmp edi, dword [ebx + 0x10]
jbe 0x54a722
mov ecx, eax
mov edx, 1
shr ecx, 1
add eax, ecx
cmp edi, eax
cmovb edx, ecx
mov ecx, ebx
add edx, dword [ebx + 8]
push edx
call fcn.0054c1d0
cmp eax, dword [ebx + 4]
je 0x54a722
push eax
mov ecx, ebx
call fcn.0054c330
mov eax, dword [ebp + 0xc]
xor edx, edx
div dword [ebx + 4]
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x18], 0
lea edi, [eax + edx*4]
and edx, 0x7fffffff
mov dword [esi + 4], edx
mov eax, dword [edi]
test eax, eax
jne 0x54a76a
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0x14]
lea ecx, [edx + eax*4]
mov eax, dword [ecx]
test eax, eax
je 0x54a760
mov eax, dword [eax + 4]
and eax, 0x7fffffff
mov dword [edx + eax*4], esi
mov dword [edi], ecx
mov eax, dword [ecx]
mov dword [esi], eax
mov dword [ecx], esi
jmp 0x54a772
mov eax, dword [eax]
mov dword [esi], eax
mov eax, dword [edi]
mov dword [eax], esi
inc dword [ebx + 8]
lea ecx, [ebp - 0x1c]
call fcn.0054aa40
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x54bff0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ecx]
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 1
push esi
push edi
lea edi, [ecx + 1]
mov dword [ebp - 4], ecx
add edi, eax
mov ecx, ebx
lea eax, [edi + 1]
neg edi
sbb edi, edi
and edi, eax
cmp dword [ebx + 0x14], 0x10
jb 0x54c01b
mov ecx, dword [ebx]
mov esi, dword [ebx + 0x10]
xor edx, edx
add esi, ecx
cmp ecx, esi
jae 0x54c036
movzx eax, byte [ecx]
inc ecx
imul edx, edx, 0x1000193
xor edx, eax
cmp ecx, esi
jb 0x54c026
mov ecx, dword [ebp - 4]
push edi
push ebx
push edx
call fcn.0054a810
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, ecx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 4], esi
call fcn.0054be00
mov edx, dword [esi + 4]
mov eax, dword [esi + 0x14]
lea edi, [eax + edx*4]
mov dword [ebp + 8], edi
mov edi, dword [edi]
test edi, edi
je 0x54c3ff
push ebx
nop word [eax + eax]
cmp dword [edi + 0x1c], 0x10
lea eax, [edi + 8]
mov esi, edi
jb 0x54c36e
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x18]
xor edx, edx
add ebx, eax
cmp eax, ebx
jae 0x54c390
nop dword [eax]
movzx ecx, byte [eax]
inc eax
imul edx, edx, 0x1000193
xor edx, ecx
cmp eax, ebx
jb 0x54c380
mov ebx, dword [ebp - 4]
mov eax, edx
xor edx, edx
div dword [ebx + 4]
mov eax, edx
and eax, 0x7fffffff
mov dword [edi + 4], eax
mov eax, dword [edi]
test eax, eax
je 0x54c3d0
nop word [eax + eax]
mov ecx, dword [eax + 4]
shr ecx, 0x1f
not ecx
test cl, 1
jne 0x54c3d0
mov ecx, edx
mov esi, eax
or ecx, 0x80000000
mov dword [eax + 4], ecx
mov eax, dword [eax]
test eax, eax
jne 0x54c3b0
mov eax, dword [ebx + 0x14]
lea ecx, [eax + edx*4]
mov edx, dword [ebp + 8]
mov eax, dword [ecx]
test eax, eax
jne 0x54c3e8
mov dword [ecx], edx
mov edi, dword [esi]
mov dword [ebp + 8], esi
jmp 0x54c3f6
mov eax, dword [eax]
mov edi, dword [esi]
mov dword [esi], eax
mov ecx, dword [ecx]
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [edx], edi
test edi, edi
jne 0x54c360
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x54f9e0
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, ecx
push 0x6b04b8
lea esi, [edi + 0x255]
push esi
call fcn.00610579
add esp, 8
test eax, eax
je 0x54fa0a
push eax
call fcn.00610889
add esp, 4
mov al, 1
pop edi
pop esi
ret
cmp byte [edi + 0x364], 0
jne 0x54fa64
push 0x6b04b4
push esi
call fcn.00610579
mov esi, eax
add esp, 8
test esi, esi
je 0x54fa64
push esi
push 1
push 4
push str.EPKD
call fcn.006107af
push esi
push 1
push 4
push 0x6804a0
call fcn.006107af
push esi
push 1
lea eax, [edi + 0x150]
push 4
push eax
call fcn.006107af
push esi
call fcn.00610889
add esp, 0x34
mov al, 1
pop edi
pop esi
ret
pop edi
xor al, al
pop esi
ret
Function at 0x54fab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x13e4], 0x20
je 0x54fac6
xor al, al
pop esi
pop ebp
ret 4
cmp byte [esi + 0x365], 0
jne 0x54fb05
cmp dword [esi + 0x13e8], 0x10
push edi
lea edi, [esi + 0x13d4]
jb 0x54fae1
mov edi, dword [edi]
mov edx, dword [ebp + 8]
xor ecx, ecx
xor dword [edi + ecx*4], edx
inc ecx
mov eax, dword [esi + 0x13e4]
add edx, 0x1000193
shr eax, 2
cmp ecx, eax
jne 0x54fae6
mov byte [esi + 0x365], 1
pop edi
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x550f00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x70ab0c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x550fc2
cmp byte [esi + 0x3e], 0
je 0x550fc2
mov eax, dword [esi]
push edi
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x550fb0
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x550f78
sub eax, 1
je 0x550f7c
sub eax, 2
jne 0x550fb0
mov byte [esi + 0x3e], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c791b
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x550f99
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.006107af
add esp, 0x10
cmp edi, eax
jne 0x550fb0
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c791b
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c791b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.005c791b
mov esp, ebp
pop ebp
ret