joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4eb330
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5bc7a8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov eax, 3
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], edi
mov ecx, dword [esi + 0x44]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x74], 1
or ebp, 0xffffffff
xor bl, bl
call eax
mov ecx, dword [esi + 0x4c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
test al, al
je 0x4eb3e9
mov ecx, dword [esi + 0x4c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x4c]
push eax
mov bl, 1
call edx
push ebp
push edi
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c], 2
call fcn.00406e60
cmp dword [esp + 0x64], 4
mov byte [esp + 0x70], bl
jb 0x4eb3dd
mov eax, dword [esp + 0x50]
push eax
call fcn.0058984a
add esp, 4
mov ecx, dword [esi + 0x4c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov ebp, eax
cmp dword [esi + 0x1c], 4
mov ecx, dword [esi + 0x18]
lea edi, [esi + 4]
jb 0x4eb3fa
mov eax, dword [edi + 4]
jmp 0x4eb3fd
lea eax, [edi + 4]
push ecx
mov ecx, dword [esp + 0x48]
push eax
push ecx
push 0
lea ecx, [esp + 0x40]
call fcn.00401920
test eax, eax
jne 0x4eb444
cmp dword [esi + 0x38], 4
mov ecx, dword [esi + 0x34]
jb 0x4eb421
mov eax, dword [esi + 0x24]
jmp 0x4eb424
lea eax, [esi + 0x24]
mov edx, dword [esp + 0x28]
push ecx
push eax
push edx
push 0
lea ecx, [esp + 0x24]
call fcn.00401920
test eax, eax
jne 0x4eb444
cmp ebp, dword [esi + 0x3c]
jne 0x4eb444
cmp bl, byte [esi + 0x40]
je 0x4eb449
mov eax, 1
push 0xffffffffffffffff
mov byte [esi + 0x41], al
push 0
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call fcn.00406e60
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 0x20]
call fcn.00406e60
mov dword [esi + 0x3c], ebp
mov byte [esi + 0x40], bl
mov esi, 4
cmp dword [esp + 0x2c], esi
jb 0x4eb48b
mov edx, dword [esp + 0x18]
push edx
call fcn.0058984a
add esp, 4
cmp dword [esp + 0x48], esi
jb 0x4eb49e
mov eax, dword [esp + 0x34]
push eax
call fcn.0058984a
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
Function at 0x4f7c30
Capabilities:
Decompress data using quicklz

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
mov ecx, esi
call fcn.004d5360
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.004d5280
mov edi, dword [esp + 0x30]
mov ebx, eax
mov eax, dword [edi + 4]
push eax
mov ecx, esi
call fcn.004d5640
mov esi, dword [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.004d5360
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.004d5280
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 4]
push eax
mov ecx, esi
call fcn.004d5640
push ebx
mov esi, eax
call fcn.0049a970
cdq
and edx, 7
add eax, edx
mov ebx, eax
mov eax, dword [esp + 0x34]
push eax
sar ebx, 3
call fcn.0049a970
cdq
and edx, 7
add eax, edx
mov edx, dword [ebp + 8]
sar eax, 3
mov dword [esp + 0x20], eax
lea eax, [ebp + 8]
lea ecx, [edi + 8]
add esp, 8
cmp edx, dword [ecx]
jl 0x4f7cc7
mov eax, ecx
mov edx, dword [eax]
lea eax, [ebp + 0xc]
lea ecx, [edi + 0xc]
mov edi, dword [eax]
cmp edi, dword [ecx]
mov dword [esp + 0x1c], edx
jl 0x4f7cdb
mov eax, ecx
mov eax, dword [eax]
test eax, eax
jle 0x4f7e24
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x3c], ebp
mov eax, 1
lea ebx, [ebx]
mov edi, esi
test edx, edx
jle 0x4f7e02
mov dword [esp + 0x30], edx
mov edi, edi
mov dl, byte [ebp]
movzx ax, dl
shl ax, 8
movzx ecx, ax
movzx edx, dl
or ecx, edx
mov dx, word [edi]
add ecx, 0x3ff
mov eax, ecx
and eax, 0xffff0000
add eax, 0x7fff0000
sar eax, 0x1f
shr ax, 0xb
shr cx, 0xb
or al, cl
movzx cx, al
shl cx, 0xb
mov eax, 0x7ff
and dx, ax
or cx, dx
mov word [edi], cx
mov dl, byte [ebp + 1]
movzx ax, dl
shl ax, 8
movzx esi, ax
movzx edx, dl
or esi, edx
add esi, 0x1ff
mov eax, esi
and eax, 0xffff0000
add eax, 0x7fff0000
sar eax, 0x1f
shr ax, 0xa
mov dx, si
shr dx, 0xa
or al, dl
movzx dx, al
and ecx, 0xf81f
shl dx, 5
or dx, cx
mov word [edi], dx
mov cl, byte [ebp + 2]
movzx ax, cl
shl ax, 8
movzx esi, ax
movzx ecx, cl
or esi, ecx
add esi, 0x3ff
mov eax, esi
and eax, 0xffff0000
add eax, 0x7fff0000
sar eax, 0x1f
shr ax, 0xb
mov cx, si
shr cx, 0xb
or al, cl
movzx ax, al
and edx, 0xffe0
or ax, dx
mov word [edi], ax
add edi, dword [esp + 0x18]
mov eax, 1
add ebp, ebx
sub dword [esp + 0x30], eax
jne 0x4f7d10
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
add ebp, dword [esp + 0x20]
add esi, dword [esp + 0x24]
sub dword [esp + 0x14], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x10], esi
jne 0x4f7d00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x4f7e30
Capabilities:
Decompress data using quicklz

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
mov ecx, esi
call fcn.004d5360
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.004d5280
mov edi, dword [esp + 0x30]
mov ebx, eax
mov eax, dword [edi + 4]
push eax
mov ecx, esi
call fcn.004d5640
mov esi, dword [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.004d5360
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.004d5280
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 4]
push eax
mov ecx, esi
call fcn.004d5640
push ebx
mov esi, eax
call fcn.0049a970
cdq
and edx, 7
add eax, edx
mov ebx, eax
mov eax, dword [esp + 0x34]
push eax
sar ebx, 3
call fcn.0049a970
cdq
and edx, 7
add eax, edx
mov edx, dword [ebp + 8]
sar eax, 3
mov dword [esp + 0x20], eax
lea eax, [ebp + 8]
lea ecx, [edi + 8]
add esp, 8
cmp edx, dword [ecx]
jl 0x4f7ec7
mov eax, ecx
mov edx, dword [eax]
lea eax, [ebp + 0xc]
lea ecx, [edi + 0xc]
mov edi, dword [eax]
cmp edi, dword [ecx]
mov dword [esp + 0x1c], edx
jl 0x4f7edb
mov eax, ecx
mov eax, dword [eax]
test eax, eax
jle 0x4f8024
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x3c], ebp
mov eax, 1
lea ebx, [ebx]
mov edi, esi
test edx, edx
jle 0x4f8002
mov dword [esp + 0x30], edx
mov edi, edi
mov dl, byte [ebp + 2]
movzx ax, dl
shl ax, 8
movzx ecx, ax
movzx edx, dl
or ecx, edx
mov dx, word [edi]
add ecx, 0x3ff
mov eax, ecx
and eax, 0xffff0000
add eax, 0x7fff0000
sar eax, 0x1f
shr ax, 0xb
shr cx, 0xb
or al, cl
movzx cx, al
shl cx, 0xb
mov eax, 0x7ff
and dx, ax
or cx, dx
mov word [edi], cx
mov dl, byte [ebp + 1]
movzx ax, dl
shl ax, 8
movzx esi, ax
movzx edx, dl
or esi, edx
add esi, 0x1ff
mov eax, esi
and eax, 0xffff0000
add eax, 0x7fff0000
sar eax, 0x1f
shr ax, 0xa
mov dx, si
shr dx, 0xa
or al, dl
movzx dx, al
and ecx, 0xf81f
shl dx, 5
or dx, cx
mov word [edi], dx
mov cl, byte [ebp]
movzx ax, cl
shl ax, 8
movzx esi, ax
movzx ecx, cl
or esi, ecx
add esi, 0x3ff
mov eax, esi
and eax, 0xffff0000
add eax, 0x7fff0000
sar eax, 0x1f
shr ax, 0xb
mov cx, si
shr cx, 0xb
or al, cl
movzx ax, al
and edx, 0xffe0
or ax, dx
mov word [edi], ax
add edi, dword [esp + 0x18]
mov eax, 1
add ebp, ebx
sub dword [esp + 0x30], eax
jne 0x4f7f10
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
add ebp, dword [esp + 0x20]
add esi, dword [esp + 0x24]
sub dword [esp + 0x14], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x10], esi
jne 0x4f7f00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x4f8030
Capabilities:
Decompress data using quicklz

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
mov ecx, esi
call fcn.004d5360
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.004d5280
mov edi, dword [esp + 0x30]
mov ebx, eax
mov eax, dword [edi + 4]
push eax
mov ecx, esi
call fcn.004d5640
mov esi, dword [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.004d5360
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.004d5280
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 4]
push eax
mov ecx, esi
call fcn.004d5640
push ebx
mov esi, eax
call fcn.0049a970
cdq
and edx, 7
add eax, edx
mov ebx, eax
mov eax, dword [esp + 0x34]
push eax
sar ebx, 3
call fcn.0049a970
cdq
and edx, 7
add eax, edx
mov edx, dword [ebp + 8]
sar eax, 3
mov dword [esp + 0x20], eax
lea eax, [ebp + 8]
lea ecx, [edi + 8]
add esp, 8
cmp edx, dword [ecx]
jl 0x4f80c7
mov eax, ecx
mov edx, dword [eax]
lea eax, [ebp + 0xc]
lea ecx, [edi + 0xc]
mov edi, dword [eax]
cmp edi, dword [ecx]
mov dword [esp + 0x1c], edx
jl 0x4f80db
mov eax, ecx
mov eax, dword [eax]
test eax, eax
jle 0x4f8240
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x3c], ebp
mov eax, 1
lea ebx, [ebx]
mov edi, esi
test edx, edx
jle 0x4f821e
mov dword [esp + 0x30], edx
mov edi, edi
mov ecx, dword [ebp]
shr ecx, 0x14
and ecx, 0x3ff
movzx edx, cx
shl ecx, 6
movzx eax, cx
shr edx, 4
or edx, eax
add edx, 0x3ff
mov ecx, edx
and ecx, 0xffff0000
add ecx, 0x7fff0000
sar ecx, 0x1f
shr cx, 0xb
shr dx, 0xb
or cl, dl
mov dx, word [edi]
movzx cx, cl
shl cx, 0xb
mov eax, 0x7ff
and dx, ax
or cx, dx
mov word [edi], cx
mov edx, dword [ebp]
shr edx, 0xa
and edx, 0x3ff
movzx esi, dx
shl edx, 6
movzx edx, dx
shr esi, 4
or esi, edx
add esi, 0x1ff
mov eax, esi
and eax, 0xffff0000
add eax, 0x7fff0000
sar eax, 0x1f
shr ax, 0xa
mov dx, si
shr dx, 0xa
or al, dl
and ecx, 0xf81f
movzx dx, al
shl dx, 5
or dx, cx
mov word [edi], dx
mov ax, word [ebp]
mov ecx, 0x3ff
and ax, cx
movzx ecx, ax
movzx esi, cx
shl ecx, 6
movzx eax, cx
shr esi, 4
or esi, eax
add esi, 0x3ff
mov ecx, esi
and ecx, 0xffff0000
add ecx, 0x7fff0000
sar ecx, 0x1f
shr cx, 0xb
mov ax, si
shr ax, 0xb
or cl, al
movzx cx, cl
and edx, 0xffe0
or cx, dx
mov word [edi], cx
add edi, dword [esp + 0x18]
mov eax, 1
add ebp, ebx
sub dword [esp + 0x30], eax
jne 0x4f8110
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
add ebp, dword [esp + 0x20]
add esi, dword [esp + 0x24]
sub dword [esp + 0x14], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x10], esi
jne 0x4f8100
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x4f8250
Capabilities:
Decompress data using quicklz

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
mov ecx, esi
call fcn.004d5360
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.004d5280
mov edi, dword [esp + 0x30]
mov ebx, eax
mov eax, dword [edi + 4]
push eax
mov ecx, esi
call fcn.004d5640
mov esi, dword [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.004d5360
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.004d5280
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 4]
push eax
mov ecx, esi
call fcn.004d5640
push ebx
mov esi, eax
call fcn.0049a970
cdq
and edx, 7
add eax, edx
mov ebx, eax
mov eax, dword [esp + 0x34]
push eax
sar ebx, 3
call fcn.0049a970
cdq
and edx, 7
add eax, edx
mov edx, dword [ebp + 8]
sar eax, 3
mov dword [esp + 0x20], eax
lea eax, [ebp + 8]
lea ecx, [edi + 8]
add esp, 8
cmp edx, dword [ecx]
jl 0x4f82e7
mov eax, ecx
mov edx, dword [eax]
lea eax, [ebp + 0xc]
lea ecx, [edi + 0xc]
mov edi, dword [eax]
cmp edi, dword [ecx]
mov dword [esp + 0x1c], edx
jl 0x4f82fb
mov eax, ecx
mov eax, dword [eax]
test eax, eax
jle 0x4f845e
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x3c], ebp
mov eax, 1
lea ebx, [ebx]
mov edi, esi
test edx, edx
jle 0x4f843c
mov dword [esp + 0x30], edx
mov edi, edi
mov ax, word [ebp]
mov ecx, 0x3ff
and ax, cx
movzx edx, ax
movzx ecx, dx
shr ecx, 4
shl edx, 6
movzx edx, dx
or ecx, edx
mov dx, word [edi]
add ecx, 0x3ff
mov eax, ecx
and eax, 0xffff0000
add eax, 0x7fff0000
shr cx, 0xb
sar eax, 0x1f
shr ax, 0xb
or al, cl
movzx cx, al
shl cx, 0xb
mov eax, 0x7ff
and dx, ax
or cx, dx
mov word [edi], cx
mov edx, dword [ebp]
shr edx, 0xa
and edx, 0x3ff
movzx esi, dx
shl edx, 6
movzx edx, dx
shr esi, 4
or esi, edx
add esi, 0x1ff
mov eax, esi
and eax, 0xffff0000
add eax, 0x7fff0000
sar eax, 0x1f
mov dx, si
shr ax, 0xa
shr dx, 0xa
or al, dl
and ecx, 0xf81f
movzx dx, al
shl dx, 5
or dx, cx
mov word [edi], dx
mov ecx, dword [ebp]
shr ecx, 0x14
and ecx, 0x3ff
movzx esi, cx
shl ecx, 6
movzx eax, cx
shr esi, 4
or esi, eax
add esi, 0x3ff
mov ecx, esi
and ecx, 0xffff0000
add ecx, 0x7fff0000
sar ecx, 0x1f
shr cx, 0xb
mov ax, si
shr ax, 0xb
or cl, al
movzx cx, cl
and edx, 0xffe0
or cx, dx
mov word [edi], cx
add edi, dword [esp + 0x18]
mov eax, 1
add ebp, ebx
sub dword [esp + 0x30], eax
jne 0x4f8330
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
add ebp, dword [esp + 0x20]
add esi, dword [esp + 0x24]
sub dword [esp + 0x14], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x10], esi
jne 0x4f8320
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x4f8470
Capabilities:
Decompress data using quicklz

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
mov ecx, esi
call fcn.004d5360
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.004d5280
mov edi, dword [esp + 0x30]
mov ebp, eax
mov eax, dword [edi + 4]
push eax
mov ecx, esi
call fcn.004d5640
mov esi, dword [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.004d5360
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.004d5280
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 4]
push eax
mov ecx, esi
call fcn.004d5640
push ebp
mov esi, eax
call fcn.0049a970
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
push eax
call fcn.0049a970
mov ebp, dword [ebx + 8]
cdq
and edx, 7
add eax, edx
lea ecx, [ebx + 8]
lea edx, [edi + 8]
add esp, 8
sar eax, 3
cmp ebp, dword [edx]
jl 0x4f8505
mov ecx, edx
mov edx, dword [ecx]
lea ecx, [ebx + 0xc]
mov ebx, dword [ecx]
add edi, 0xc
cmp ebx, dword [edi]
mov dword [esp + 0x1c], edx
jl 0x4f8519
mov ecx, edi
mov ecx, dword [ecx]
test ecx, ecx
jle 0x4f8690
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x14], ecx
mov edi, esi
test edx, edx
jle 0x4f866d
mov dword [esp + 0x30], edx
mov cx, word [ebp]
shr cx, 0xb
and cl, 0x1f
mov dl, cl
add cl, cl
shr dl, 2
add cl, cl
add cl, cl
or dl, cl
movzx cx, dl
movzx edx, dl
shl cx, 8
movzx ecx, cx
or ecx, edx
add ecx, 0x3ff
mov edx, ecx
and edx, 0xffff0000
add edx, 0x7fff0000
sar edx, 0x1f
shr dx, 0xb
shr cx, 0xb
or dl, cl
movzx cx, dl
movzx edx, word [edi]
shl cx, 0xb
mov esi, 0x7ff
and dx, si
or cx, dx
mov word [edi], cx
mov dx, word [ebp]
shr dx, 5
and dl, 0x3f
mov bl, dl
add dl, dl
add dl, dl
shr bl, 4
or bl, dl
movzx dx, bl
shl dx, 8
movzx esi, dx
movzx edx, bl
or esi, edx
add esi, 0x1ff
mov edx, esi
and edx, 0xffff0000
add edx, 0x7fff0000
sar edx, 0x1f
and ecx, 0xf81f
shr dx, 0xa
mov bx, si
shr bx, 0xa
or dl, bl
movzx dx, dl
shl dx, 5
or dx, cx
mov word [edi], dx
mov cl, byte [ebp]
and cl, 0x1f
mov bl, cl
add cl, cl
add cl, cl
add cl, cl
shr bl, 2
or bl, cl
movzx cx, bl
shl cx, 8
movzx esi, cx
movzx ecx, bl
or esi, ecx
add esi, 0x3ff
mov ecx, esi
and ecx, 0xffff0000
add ecx, 0x7fff0000
sar ecx, 0x1f
shr cx, 0xb
mov bx, si
shr bx, 0xb
or cl, bl
movzx cx, cl
and edx, 0xffe0
or cx, dx
add ebp, dword [esp + 0x18]
mov word [edi], cx
add edi, eax
sub dword [esp + 0x30], 1
jne 0x4f8541
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
add ebp, dword [esp + 0x20]
add esi, dword [esp + 0x24]
sub dword [esp + 0x14], 1
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x10], esi
jne 0x4f8533
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x4f86a0
Capabilities:
Decompress data using quicklz

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
mov ecx, esi
call fcn.004d5360
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.004d5280
mov edi, dword [esp + 0x30]
mov ebp, eax
mov eax, dword [edi + 4]
push eax
mov ecx, esi
call fcn.004d5640
mov esi, dword [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.004d5360
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.004d5280
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 4]
push eax
mov ecx, esi
call fcn.004d5640
push ebp
mov esi, eax
call fcn.0049a970
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
push eax
call fcn.0049a970
mov ebp, dword [ebx + 8]
cdq
and edx, 7
add eax, edx
lea ecx, [ebx + 8]
lea edx, [edi + 8]
add esp, 8
sar eax, 3
cmp ebp, dword [edx]
jl 0x4f8735
mov ecx, edx
mov edx, dword [ecx]
lea ecx, [ebx + 0xc]
mov ebx, dword [ecx]
add edi, 0xc
cmp ebx, dword [edi]
mov dword [esp + 0x1c], edx
jl 0x4f8749
mov ecx, edi
mov ecx, dword [ecx]
test ecx, ecx
jle 0x4f88c5
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x14], ecx
mov edi, esi
test edx, edx
jle 0x4f88a2
mov dword [esp + 0x30], edx
mov cx, word [ebp]
shr cx, 0xa
and cl, 0x1f
mov dl, cl
add cl, cl
shr dl, 2
add cl, cl
add cl, cl
or dl, cl
movzx cx, dl
movzx edx, dl
shl cx, 8
movzx ecx, cx
or ecx, edx
add ecx, 0x3ff
mov edx, ecx
and edx, 0xffff0000
add edx, 0x7fff0000
sar edx, 0x1f
shr dx, 0xb
shr cx, 0xb
or dl, cl
movzx cx, dl
movzx edx, word [edi]
shl cx, 0xb
mov esi, 0x7ff
and dx, si
or cx, dx
mov word [edi], cx
mov dx, word [ebp]
shr dx, 5
and dl, 0x1f
mov bl, dl
add dl, dl
add dl, dl
add dl, dl
shr bl, 2
or bl, dl
movzx dx, bl
shl dx, 8
movzx esi, dx
movzx edx, bl
or esi, edx
add esi, 0x1ff
mov edx, esi
and edx, 0xffff0000
add edx, 0x7fff0000
and ecx, 0xf81f
sar edx, 0x1f
mov bx, si
shr bx, 0xa
shr dx, 0xa
or dl, bl
movzx dx, dl
shl dx, 5
or dx, cx
mov word [edi], dx
mov cl, byte [ebp]
add cl, cl
add cl, cl
add cl, cl
mov bl, cl
add cl, cl
add cl, cl
add cl, cl
shr bl, 2
or bl, cl
movzx cx, bl
shl cx, 8
movzx esi, cx
movzx ecx, bl
or esi, ecx
add esi, 0x3ff
mov ecx, esi
and ecx, 0xffff0000
add ecx, 0x7fff0000
sar ecx, 0x1f
mov bx, si
shr cx, 0xb
shr bx, 0xb
or cl, bl
add ebp, dword [esp + 0x18]
movzx cx, cl
and edx, 0xffe0
or cx, dx
mov word [edi], cx
add edi, eax
sub dword [esp + 0x30], 1
jne 0x4f8771
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
add ebp, dword [esp + 0x20]
add esi, dword [esp + 0x24]
sub dword [esp + 0x14], 1
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x10], esi
jne 0x4f8763
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x4f88d0
Capabilities:
Decompress data using quicklz

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
mov ecx, esi
call fcn.004d5360
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.004d5280
mov edi, dword [esp + 0x30]
mov ebp, eax
mov eax, dword [edi + 4]
push eax
mov ecx, esi
call fcn.004d5640
mov esi, dword [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.004d5360
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.004d5280
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 4]
push eax
mov ecx, esi
call fcn.004d5640
push ebp
mov esi, eax
call fcn.0049a970
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
push eax
call fcn.0049a970
mov ebp, dword [ebx + 8]
cdq
and edx, 7
add eax, edx
lea ecx, [ebx + 8]
lea edx, [edi + 8]
add esp, 8
sar eax, 3
cmp ebp, dword [edx]
jl 0x4f8965
mov ecx, edx
mov edx, dword [ecx]
lea ecx, [ebx + 0xc]
mov ebx, dword [ecx]
add edi, 0xc
cmp ebx, dword [edi]
mov dword [esp + 0x1c], edx
jl 0x4f8979
mov ecx, edi
mov ecx, dword [ecx]
test ecx, ecx
jle 0x4f8af5
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x14], ecx
mov edi, esi
test edx, edx
jle 0x4f8ad2
mov dword [esp + 0x30], edx
mov cl, byte [ebp]
add cl, cl
add cl, cl
add cl, cl
mov dl, cl
add cl, cl
shr dl, 2
add cl, cl
add cl, cl
or dl, cl
movzx cx, dl
movzx edx, dl
shl cx, 8
movzx ecx, cx
or ecx, edx
add ecx, 0x3ff
mov edx, ecx
and edx, 0xffff0000
add edx, 0x7fff0000
sar edx, 0x1f
shr dx, 0xb
shr cx, 0xb
or dl, cl
movzx cx, dl
movzx edx, word [edi]
shl cx, 0xb
mov esi, 0x7ff
and dx, si
or cx, dx
mov word [edi], cx
mov dx, word [ebp]
shr dx, 5
and dl, 0x1f
mov bl, dl
add dl, dl
add dl, dl
add dl, dl
shr bl, 2
or bl, dl
movzx dx, bl
shl dx, 8
movzx esi, dx
movzx edx, bl
or esi, edx
add esi, 0x1ff
mov edx, esi
and edx, 0xffff0000
add edx, 0x7fff0000
sar edx, 0x1f
and ecx, 0xf81f
mov bx, si
shr bx, 0xa
shr dx, 0xa
or dl, bl
movzx dx, dl
shl dx, 5
or dx, cx
mov word [edi], dx
mov cx, word [ebp]
shr cx, 0xa
and cl, 0x1f
mov bl, cl
add cl, cl
add cl, cl
add cl, cl
shr bl, 2
or bl, cl
movzx cx, bl
shl cx, 8
movzx esi, cx
movzx ecx, bl
or esi, ecx
add esi, 0x3ff
mov ecx, esi
and ecx, 0xffff0000
add ecx, 0x7fff0000
sar ecx, 0x1f
mov bx, si
shr cx, 0xb
shr bx, 0xb
or cl, bl
add ebp, dword [esp + 0x18]
movzx cx, cl
and edx, 0xffe0
or cx, dx
mov word [edi], cx
add edi, eax
sub dword [esp + 0x30], 1
jne 0x4f89a1
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
add ebp, dword [esp + 0x20]
add esi, dword [esp + 0x24]
sub dword [esp + 0x14], 1
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x10], esi
jne 0x4f8993
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x4f8b00
Capabilities:
Decompress data using quicklz

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
mov ecx, esi
call fcn.004d5360
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.004d5280
mov edi, dword [esp + 0x30]
mov ebp, eax
mov eax, dword [edi + 4]
push eax
mov ecx, esi
call fcn.004d5640
mov esi, dword [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.004d5360
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.004d5280
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 4]
push eax
mov ecx, esi
call fcn.004d5640
push ebp
mov esi, eax
call fcn.0049a970
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
push eax
call fcn.0049a970
mov ebp, dword [ebx + 8]
cdq
and edx, 7
add eax, edx
lea ecx, [ebx + 8]
lea edx, [edi + 8]
add esp, 8
sar eax, 3
cmp ebp, dword [edx]
jl 0x4f8b95
mov ecx, edx
mov edx, dword [ecx]
lea ecx, [ebx + 0xc]
mov ebx, dword [ecx]
add edi, 0xc
cmp ebx, dword [edi]
mov dword [esp + 0x1c], edx
jl 0x4f8ba9
mov ecx, edi
mov ecx, dword [ecx]
test ecx, ecx
jle 0x4f8d09
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x14], ecx
mov edi, esi
test edx, edx
jle 0x4f8ce6
mov dword [esp + 0x30], edx
mov dl, byte [ebp + 1]
and dl, 0xf
mov cl, dl
shl cl, 4
or cl, dl
movzx dx, cl
shl dx, 8
movzx ecx, cl
movzx edx, dx
or edx, ecx
add edx, 0x3ff
mov ecx, edx
and ecx, 0xffff0000
add ecx, 0x7fff0000
sar ecx, 0x1f
shr dx, 0xb
shr cx, 0xb
or cl, dl
mov dx, word [edi]
movzx cx, cl
shl cx, 0xb
mov esi, 0x7ff
and dx, si
or cx, dx
mov word [edi], cx
mov dl, byte [ebp]
shr dl, 4
and dl, 0xf
mov bl, dl
shl bl, 4
or bl, dl
movzx dx, bl
shl dx, 8
movzx esi, dx
movzx edx, bl
or esi, edx
add esi, 0x1ff
mov edx, esi
and edx, 0xffff0000
add edx, 0x7fff0000
sar edx, 0x1f
mov bx, si
shr dx, 0xa
shr bx, 0xa
or dl, bl
and ecx, 0xf81f
movzx dx, dl
shl dx, 5
or dx, cx
mov word [edi], dx
mov bl, byte [ebp]
and bl, 0xf
mov cl, bl
shl cl, 4
or cl, bl
movzx si, cl
movzx ecx, cl
shl si, 8
add ebp, dword [esp + 0x18]
movzx esi, si
or esi, ecx
add esi, 0x3ff
mov ecx, esi
and ecx, 0xffff0000
add ecx, 0x7fff0000
sar ecx, 0x1f
shr cx, 0xb
mov bx, si
shr bx, 0xb
or cl, bl
movzx cx, cl
and edx, 0xffe0
or cx, dx
mov word [edi], cx
add edi, eax
sub dword [esp + 0x30], 1
jne 0x4f8bd1
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
add ebp, dword [esp + 0x20]
add esi, dword [esp + 0x24]
sub dword [esp + 0x14], 1
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x10], esi
jne 0x4f8bc3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret