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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0x1c]
push ebx
push esi
push edi
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov eax, edi
or eax, ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], ebx
je 0x4fbad6
mov eax, edi
xor esi, esi
and eax, 1
mov dword [ebp - 8], esi
or eax, esi
jne 0x4fb9c3
nop
inc esi
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, edi
and ecx, ebx
or edx, ecx
je 0x4fb9a0
mov dword [ebp - 8], esi
mov eax, dword [ebp + 0xc]
xor edx, edx
dec eax
mov dword [ebp - 4], 0
xor ecx, ecx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, edi
and ecx, ebx
or edx, ecx
jne 0x4fba16
mov esi, eax
nop dword [eax]
inc dword [ebp - 4]
dec esi
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, edi
and ecx, ebx
or edx, ecx
je 0x4fb9f0
mov esi, dword [ebp - 8]
sub esi, dword [ebp - 4]
mov eax, esi
cdq
sub eax, edx
mov edi, eax
sar edi, 1
test edi, edi
jle 0x4fbad6
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
mov dword [ebp - 8], 0
mov ecx, dword [ecx + 0x20]
push dword [ebp + 0x10]
push ecx
mov ebx, dword [ecx]
mov eax, dword [ebx + 0xc]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4fbad8
mov eax, dword [ebp + 8]
add edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
mov eax, dword [ebp - 4]
mov dword [eax], ecx
cmp dword [ebp - 8], edi
jge 0x4fba8e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
mov eax, dword [ebx + 0x14]
call eax
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4fba64
push dword [ebp - 4]
mov eax, dword [ebx + 0x10]
call eax
add esp, 4
test esi, esi
je 0x4fbaab
cmp esi, 0x65
je 0x4fbaab
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
cmp esi, 0x65
sete cl
sub ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
test ecx, ecx
jle 0x4fbad6
mov eax, dword [ebp + 0x18]
movq xmm1, qword [ebp - 0x20]
movd xmm0, ecx
psrlq xmm1, xmm0
add dword [eax], ecx
mov eax, dword [ebp + 0x1c]
movq qword [eax], xmm1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4fe5b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
je 0x4fe612
push dword [esi + 0x20]
mov dword [ebp + 0x10], 0
push str.PRAGMA__Q.page_size
call fcn.004d89d0
mov edi, eax
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
call fcn.004fdb30
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x4fe636
imul ecx, dword [esi + 0x18], 0x33
mov edx, dword [ebp + 0x10]
add edx, 0xffffffc0
mov dword [esi + 0x10], edx
add ecx, 4
cmp ecx, edx
jge 0x4fe636
push edi
mov dword [esi + 0x10], ecx
call fcn.004d8ef0
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
push dword [esi + 0x24]
push dword [esi + 0x20]
push str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.004d89d0
mov edi, eax
lea eax, [esi + 0x10]
push eax
push edi
push dword [ebp + 8]
call fcn.004fdb30
add esp, 0x18
mov ebx, eax
push edi
call fcn.004d8ef0
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x507320
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov edx, dword [esi + 0x3c]
cmp dword [edx], ebx
jne 0x50735f
mov eax, dword [esi + 0x78]
mov ecx, dword [esi]
or eax, 0x1e
push ebx
and eax, 0x87f7f
push eax
mov eax, dword [ecx + 0x18]
push edx
push ebx
push ecx
call eax
mov ebx, eax
add esp, 0x14
mov dword [ebp - 4], ebx
test ebx, ebx
jne 0x507465
mov ecx, dword [esi + 0x18]
cmp ecx, dword [esi + 0x24]
jbe 0x507398
mov eax, dword [esi + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.0054d3b0
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 8], edx
lea edx, [ebp - 0xc]
push edx
push 5
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x28]
call eax
mov eax, dword [esi + 0x18]
add esp, 0xc
mov dword [esi + 0x24], eax
mov edi, dword [ebp + 0xc]
nop dword [eax + eax]
test edi, edi
je 0x507465
mov ebx, dword [edi + 0x10]
cmp ebx, dword [esi + 0x18]
ja 0x507457
test byte [edi + 0x18], 0x20
jne 0x507457
mov eax, dword [esi + 0x80]
lea ecx, [ebx - 1]
cdq
push edx
push eax
push 0
push ecx
call fcn.0054d3b0
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp ebx, 1
jne 0x5073e6
push edi
call fcn.005072a0
add esp, 4
mov eax, dword [esi + 0xac]
test eax, eax
jne 0x5073f8
mov edx, dword [edi + 4]
mov dword [ebp + 8], edx
jmp 0x507412
push 6
push ebx
push dword [edi + 4]
push dword [esi + 0xb8]
call eax
mov edx, eax
add esp, 0x10
mov dword [ebp + 8], edx
test edx, edx
je 0x50746e
push dword [ebp - 4]
mov ecx, dword [esi + 0x3c]
push dword [ebp - 8]
push dword [esi + 0x80]
mov eax, dword [ecx]
push edx
push ecx
mov eax, dword [eax + 0xc]
call eax
add esp, 0x14
mov dword [ebp - 4], eax
cmp ebx, 1
jne 0x507440
mov eax, dword [ebp + 8]
movups xmm0, xmmword [eax + 0x18]
movups xmmword [esi + 0x64], xmm0
cmp ebx, dword [esi + 0x20]
jbe 0x507448
mov dword [esi + 0x20], ebx
push dword [edi + 4]
push ebx
push dword [esi + 0x58]
call fcn.00511cb0
add esp, 0xc
mov ebx, dword [ebp - 4]
mov edi, dword [edi + 0xc]
test ebx, ebx
je 0x5073a0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50a340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
lea eax, [ecx*8]
mov esi, 0x80
cmp eax, 0x400
cmovbe esi, ecx
cmp esi, dword [ebx]
jne 0x50a36c
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x66cd08]
test eax, eax
je 0x50a377
call eax
lea eax, [esi*8]
push eax
call fcn.00526740
mov ecx, dword [0x66cd0c]
add esp, 4
mov esi, eax
mov dword [ebp - 4], esi
test ecx, ecx
je 0x50a398
call ecx
test esi, esi
je 0x50a364
push dword [ebx + 0xc]
call fcn.004d8ef0
push esi
mov dword [ebx + 0xc], esi
call dword [0x65d108]
shr eax, 3
mov dword [ebp + 0xc], eax
mov dword [ebx], eax
lea ecx, [eax*8]
push ecx
push 0
push esi
call fcn.005b9c20
mov ecx, dword [ebx + 8]
add esp, 0x14
mov dword [ebx + 8], 0
test ecx, ecx
je 0x50a47f
push edi
nop dword [eax]
mov esi, dword [ecx + 0x10]
xor edi, edi
mov ebx, dword [ecx + 0xc]
test esi, esi
jle 0x50a40d
nop dword [eax]
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
dec esi
movzx edx, byte [eax + 0x5f0120]
lea eax, [edi*8]
xor edx, eax
xor edi, edx
test esi, esi
jg 0x50a3f0
xor edx, edx
mov ebx, dword [ecx]
mov eax, edi
div dword [ebp + 0xc]
mov eax, dword [ebp - 4]
lea esi, [eax + edx*8]
test esi, esi
je 0x50a458
mov eax, dword [esi]
test eax, eax
je 0x50a42b
mov edx, dword [esi + 4]
jmp 0x50a42d
xor edx, edx
inc eax
mov dword [esi + 4], ecx
mov dword [esi], eax
test edx, edx
je 0x50a458
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x50a44d
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x50a474
mov eax, dword [ebp + 8]
mov dword [eax + 8], ecx
mov dword [edx + 4], ecx
jmp 0x50a474
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov eax, dword [edx + 8]
test eax, eax
je 0x50a46a
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edx + 8], ecx
mov ecx, ebx
test ebx, ebx
jne 0x50a3e0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x515e50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x661204]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
add ecx, ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx]
push esi
push edi
mov dword [ebp - 0x20], ebx
mov eax, dword [eax + 8]
mov esi, dword [eax + ecx*8]
mov eax, 1
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x30], eax
nop dword [eax]
push eax
push str.sqlite_stat_d
lea eax, [ebp - 0x1c]
push eax
push 0x18
call fcn.004d8a90
mov eax, dword [ebx]
lea edx, [ebp - 0x1c]
xor ebx, ebx
add esp, 0x10
cmp byte [ebp - 0x1c], bl
je 0x515eb5
inc edx
cmp byte [edx], bl
jne 0x515eb0
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x1c]
sub edx, ecx
mov dword [ebp - 0x38], eax
and edx, 0x3fffffff
xor ecx, ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], ecx
test eax, eax
jle 0x515fe5
mov eax, ecx
mov edi, ecx
xor eax, 1
cmp ecx, 2
cmovl edi, eax
test esi, esi
je 0x515f39
mov eax, esi
mov edx, edi
mov esi, dword [ebp - 0x20]
add edx, edx
mov ecx, dword [esi]
mov ecx, dword [ecx + 8]
mov esi, dword [ecx + edx*8]
mov ecx, dword [ebp - 0x24]
mov cl, byte [ecx]
test cl, cl
je 0x515f1e
movzx edx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x5f0120]
cmp cl, byte [edx + 0x5f0120]
jne 0x515f1e
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x515f01
movzx eax, byte [eax]
movzx ecx, byte [esi]
movzx eax, byte [eax + 0x5f0120]
movzx ecx, byte [ecx + 0x5f0120]
sub eax, ecx
jne 0x515faa
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
add edi, edi
mov eax, dword [ecx]
mov eax, dword [eax + 8]
mov ecx, dword [eax + edi*8 + 0xc]
add ecx, 8
mov dword [ebp - 0x34], ecx
cmp dword [ecx + 0xc], 0
je 0x515f88
xor esi, esi
lea ebx, [ebp - 0x1c]
mov edi, edx
test edx, edx
je 0x515f80
nop
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x5f0120]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x515f60
mov ecx, dword [ebp - 0x34]
mov eax, esi
xor edx, edx
div dword [ecx]
jmp 0x515f8a
xor edx, edx
push edx
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push eax
push ecx
call fcn.004f0180
add esp, 0x10
test eax, eax
je 0x515fa8
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x515fc4
jmp 0x515faa
xor ebx, ebx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
inc ecx
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [ebp - 0x38]
jl 0x515ed6
test ebx, ebx
je 0x515fe5
push dword [ebp - 0x3c]
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push dword [ebp - 0x40]
mov ebx, dword [ebp - 0x20]
push eax
push esi
push str.DELETE_FROM__Q._s_WHERE__s_Q
push ebx
call fcn.00527140
add esp, 0x18
jmp 0x515fe8
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp eax, 3
jle 0x515e90
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054c3c9
mov esp, ebp
pop ebp
ret
Function at 0x518a90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x518c05
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x518ab3
cmp dword [edi + 0x1f8], 0
jne 0x518ac2
mov eax, 0xffff
add word [esi + 0x20], ax
jne 0x518c04
push ebx
mov ebx, dword [esi + 0x10]
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x518baf
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x20], eax
test edi, edi
je 0x518ae8
cmp dword [edi + 0x1f8], 0
jne 0x518b89
mov esi, dword [ebx]
mov ecx, esi
mov dword [ebp - 0x18], esi
test esi, esi
je 0x518b06
cmp byte [esi], 0
je 0x518afe
inc ecx
cmp byte [ecx], 0
jne 0x518af8
sub ecx, esi
and ecx, 0x3fffffff
mov eax, dword [ebx + 0x24]
add eax, 0x18
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov edx, dword [eax]
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x518b65
xor ebx, ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], esi
test ecx, ecx
je 0x518b56
mov edi, ecx
mov ecx, esi
nop dword [eax + eax]
movzx eax, byte [ecx]
lea edx, [ebx*8]
dec edi
lea ecx, [ecx + 1]
movzx esi, byte [eax + 0x5f0120]
xor esi, edx
xor ebx, esi
test edi, edi
jg 0x518b30
mov ecx, dword [ebp - 4]
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x18]
mov eax, ebx
xor edx, edx
div dword [ebp - 0x1c]
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
jmp 0x518b67
xor edx, edx
push edx
push ecx
push esi
push eax
mov dword [ebp - 4], edx
call fcn.004f0180
add esp, 0x10
test eax, eax
je 0x518b89
push dword [ebp - 4]
push eax
push dword [ebp - 8]
call fcn.0050ac70
add esp, 0xc
push dword [ebx + 0x1c]
push edi
call fcn.00518300
push ebx
push edi
call fcn.00518300
mov eax, dword [ebp - 0x20]
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, eax
test eax, eax
jne 0x518ad1
mov esi, dword [ebp + 0xc]
push esi
push edi
call fcn.0051df90
push esi
push edi
call fcn.00543510
push dword [esi]
push edi
call fcn.00518300
push dword [esi + 0x28]
push edi
call fcn.00518300
mov ebx, dword [esi + 0x1c]
add esp, 0x20
test ebx, ebx
je 0x518be9
push ebx
push edi
call fcn.004e9830
push ebx
push edi
call fcn.00518300
add esp, 0x10
push dword [esi + 0x2c]
push edi
call fcn.0051bc00
push esi
push edi
call fcn.005401f0
push esi
push edi
call fcn.00518300
add esp, 0x18
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x51cf70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0xc
push ebx
push edi
xor edi, edi
mov ebx, eax
test eax, eax
je 0x51cf96
cmp byte [eax], 0
je 0x51cf8e
inc ebx
cmp byte [ebx], 0
jne 0x51cf88
sub ebx, eax
and ebx, 0x3fffffff
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 8], ecx
test ecx, ecx
jle 0x51d08f
push esi
mov esi, dword [eax + 8]
mov dword [ebp - 0xc], esi
mov ecx, edx
mov eax, edx
xor ecx, 1
cmp edx, 2
cmovl eax, ecx
mov ecx, dword [ebp + 0x10]
shl eax, 4
add esi, eax
mov eax, dword [esi + 0xc]
mov dword [ebp + 8], eax
test ecx, ecx
je 0x51d01b
mov esi, dword [esi]
mov eax, ecx
mov cl, byte [ecx]
test cl, cl
je 0x51d000
nop dword [eax]
movzx edx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x5f0120]
cmp cl, byte [edx + 0x5f0120]
jne 0x51cffd
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x51cfe0
mov edx, dword [ebp - 4]
movzx eax, byte [eax]
movzx ecx, byte [esi]
movzx eax, byte [eax + 0x5f0120]
movzx ecx, byte [ecx + 0x5f0120]
sub eax, ecx
jne 0x51d07e
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x18]
xor edx, edx
mov dword [ebp + 8], ecx
cmp dword [ecx + 0xc], edx
je 0x51d057
mov edi, dword [ebp + 0xc]
mov esi, ebx
test ebx, ebx
je 0x51d051
movzx eax, byte [edi]
lea edi, [edi + 1]
dec esi
movzx ecx, byte [eax + 0x5f0120]
lea eax, [edx*8]
xor ecx, eax
xor edx, ecx
test esi, esi
jg 0x51d031
mov ecx, dword [ebp + 8]
mov eax, edx
xor edx, edx
div dword [ecx]
push edx
push ebx
push dword [ebp + 0xc]
push ecx
call fcn.004f0180
add esp, 0x10
test eax, eax
je 0x51d079
mov edi, dword [eax + 8]
test edi, edi
je 0x51d07b
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
mov edx, dword [ebp - 4]
inc edx
mov dword [ebp - 4], edx
cmp edx, dword [ebp - 8]
jge 0x51d070
mov esi, dword [ebp - 0xc]
jmp 0x51cfb3
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51d0a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
mov ebx, eax
push esi
test eax, eax
je 0x51d0cd
cmp byte [eax], cl
je 0x51d0c5
nop word [eax + eax]
inc ebx
cmp byte [ebx], cl
jne 0x51d0c0
sub ebx, eax
and ebx, 0x3fffffff
mov esi, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 8], edx
mov eax, dword [esi + 4]
mov dword [ebp - 0xc], eax
test eax, eax
jle 0x51d1d0
push edi
mov eax, edx
mov edi, edx
xor eax, 1
cmp edx, 2
cmovl edi, eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x51d148
mov edx, eax
mov ecx, edi
mov eax, dword [esi + 8]
add ecx, ecx
mov esi, dword [eax + ecx*8]
mov eax, edx
mov al, byte [eax]
test al, al
je 0x51d12d
nop dword [eax]
movzx ecx, byte [esi]
movzx eax, al
mov al, byte [eax + 0x5f0120]
cmp al, byte [ecx + 0x5f0120]
jne 0x51d12d
mov al, byte [edx + 1]
inc edx
inc esi
test al, al
jne 0x51d110
movzx eax, byte [esi]
movzx ecx, byte [eax + 0x5f0120]
movzx eax, byte [edx]
movzx eax, byte [eax + 0x5f0120]
sub eax, ecx
jne 0x51d1b9
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
add edi, edi
xor edx, edx
mov ecx, dword [eax + edi*8 + 0xc]
add ecx, 8
mov dword [ebp - 4], ecx
cmp dword [ecx + 0xc], edx
je 0x51d18d
mov edi, dword [ebp + 0xc]
mov esi, ebx
test ebx, ebx
je 0x51d187
movzx eax, byte [edi]
lea edi, [edi + 1]
dec esi
movzx ecx, byte [eax + 0x5f0120]
lea eax, [edx*8]
xor ecx, eax
xor edx, ecx
test esi, esi
jg 0x51d167
mov ecx, dword [ebp - 4]
mov eax, edx
xor edx, edx
div dword [ecx]
push edx
push ebx
push dword [ebp + 0xc]
push ecx
call fcn.004f0180
add esp, 0x10
test eax, eax
je 0x51d1b2
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x51d1bc
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov dword [ebp - 4], ecx
jmp 0x51d1bc
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
inc edx
mov dword [ebp - 8], edx
cmp edx, dword [ebp - 0xc]
jge 0x51d1a9
mov esi, dword [ebp + 8]
jmp 0x51d0e4
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51e1c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
mov eax, dword [eax]
push esi
xor esi, esi
test dword [eax + 0xc], 0x4000000
je 0x51e2fd
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov ebx, dword [eax + 0x24]
test ebx, ebx
je 0x51e218
mov edi, dword [ebx + 0x14]
test edi, edi
jle 0x51e20e
lea edx, [ebx + 0x24]
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x51e1fd
or eax, 0xffffffff
jmp 0x51e204
mov eax, 1
shl eax, cl
or esi, eax
add edx, 8
sub edi, 1
jne 0x51e1f1
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x51e1e7
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edi, ecx
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x51e236
cmp byte [ecx], 0
je 0x51e22e
inc edi
cmp byte [edi], 0
jne 0x51e228
sub edi, ecx
and edi, 0x3fffffff
mov eax, dword [eax + 0x44]
xor edx, edx
add eax, 0x38
mov dword [ebp - 4], edi
mov dword [ebp - 8], eax
cmp dword [eax + 0xc], edx
je 0x51e282
mov dword [ebp - 0xc], ecx
mov ebx, edi
test edi, edi
je 0x51e277
mov edi, ecx
movzx eax, byte [edi]
lea edi, [edi + 1]
dec ebx
movzx ecx, byte [eax + 0x5f0120]
lea eax, [edx*8]
xor ecx, eax
xor edx, ecx
test ebx, ebx
jg 0x51e254
mov edi, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
mov eax, edx
xor edx, edx
div dword [ebx]
mov eax, ebx
push edx
push edi
push ecx
push eax
call fcn.004f0180
add esp, 0x10
test eax, eax
je 0x51e2f4
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x51e2f4
nop dword [eax]
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00500870
mov edx, dword [ebp - 8]
add esp, 0x14
test edx, edx
je 0x51e2ed
mov edi, dword [edx + 4]
test edi, edi
jle 0x51e2ed
mov edx, dword [edx + 8]
nop dword [eax]
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x51e2dc
or eax, 0xffffffff
jmp 0x51e2e3
mov eax, 1
shl eax, cl
or esi, eax
add edx, 4
sub edi, 1
jne 0x51e2d0
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x51e2a0
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5439b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
jle 0x5439e0
push ebx
mov ebx, dword [ebp + 8]
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x5f0120]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x5439c2
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x543fd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor edx, edx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], edx
mov esi, dword [esi]
mov dword [ebp - 0x14], esi
nop dword [eax]
mov al, byte [edx + 0x5f06c8]
mov byte [ebp - 1], al
test esi, esi
je 0x54409f
cmp byte [esi], 0
mov ecx, esi
je 0x54400e
inc ecx
cmp byte [ecx], 0
jne 0x544008
mov eax, dword [ebp + 8]
sub ecx, esi
add eax, 0x19c
and ecx, 0x3fffffff
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
cmp dword [eax + 0xc], 0
je 0x544075
xor edi, edi
mov dword [ebp - 0xc], esi
mov ebx, ecx
test ecx, ecx
je 0x544063
mov ecx, esi
nop word [eax + eax]
movzx eax, byte [ecx]
lea edx, [edi*8]
dec ebx
lea ecx, [ecx + 1]
movzx esi, byte [eax + 0x5f0120]
xor esi, edx
xor edi, esi
test ebx, ebx
jg 0x544040
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
mov eax, edi
xor edx, edx
mov edi, dword [ebp + 8]
div dword [edi + 0x19c]
mov eax, dword [ebp - 0x18]
jmp 0x54407a
mov edi, dword [ebp + 8]
xor edx, edx
push edx
push ecx
push esi
push eax
call fcn.004f0180
add esp, 0x10
test eax, eax
je 0x544095
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 8]
mov al, byte [ebp - 1]
jmp 0x5440a2
mov edx, dword [ebp - 8]
xor ecx, ecx
mov al, byte [ebp - 1]
jmp 0x5440a2
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x5440b2
movzx eax, al
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
add ecx, 0xffffffec
cmp dword [ecx + 0xc], 0
jne 0x5440d1
inc edx
mov dword [ebp - 8], edx
cmp edx, 3
jl 0x543ff0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
xor eax, eax
movups xmm0, xmmword [ecx]
pop edi
pop esi
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
pop ebx
mov esp, ebp
pop ebp
ret