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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x46c698]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43053d
cmp word [ebx], dx
jne 0x43053d
or byte [eax + edi + 0x28], 4
jmp 0x430542
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x4306a5
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x430685
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x430583
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4305b9
cmp eax, edx
jae 0x4305c7
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x43055e
jmp 0x4306a5
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x430680
cmp dword [ebp - 0x18], 0
je 0x430680
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x46c698]
test byte [eax + edi + 0x28], 0x48
je 0x430656
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x43061a
mov word [esi], cx
jmp 0x430651
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x46c698]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x46c698]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x46c698]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x4306a5
pop eax
cmp word [ebp - 4], ax
jne 0x430666
cmp esi, ebx
jne 0x430666
mov word [esi], ax
jmp 0x4306a2
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00430f12
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x4306a5
push 0xd
pop eax
jmp 0x430661
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x46c698]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x43069f
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x4306a5
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x432e08
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4566b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x432e53
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00432fa3
test al, al
jne 0x432e4d
sub edx, 2
cmp edx, edi
jne 0x432e33
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x432e75
lea eax, [edi + 2]
cmp edx, eax
je 0x432e75
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00432d54
add esp, 0x10
jmp 0x432f6f
push esi
lea ecx, [ebp - 0x255]
call fcn.00432fa3
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x432eb8
push dword [ebp - 0x25c]
jmp 0x432e65
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x432ef5
cmp word [ebp - 0x226], 0
je 0x432f16
cmp word [ebp - 0x226], ax
jne 0x432ef5
cmp word [ebp - 0x224], 0
je 0x432f16
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00432d54
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x432f62
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x432ecf
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x432f4a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x432f6f
push 0x432b84
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00439370
add esp, 0x10
jmp 0x432f3f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410400
leave
ret
Function at 0x43386c
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x433909
push ebx
push esi
call fcn.00433835
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0042cd10
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4338b6
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x433908
push edi
push eax
call fcn.0042ad9b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4338d6
call fcn.0042ad61
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x433907
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042cd10
add esp, 0x20
test eax, eax
jne 0x4338f5
push edi
call fcn.0042ad61
jmp 0x4338fd
push ebx
call fcn.0042ad61
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x43390c
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x43391d
pop esi
ret
push ebx
push edi
push esi
call fcn.00433835
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0042ad9b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x433945
push ebx
push esi
push edi
call fcn.00411940
add esp, 0xc
push 0
call fcn.0042ad61
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x43611e
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042a447
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43618d
cmp esi, dword [ebp - 4]
je 0x436188
cmp dword [ebp + 0xc], 0
je 0x436188
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x436165
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00435c70
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x43618f
xor eax, eax
inc eax
jmp 0x43618f
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4361f4
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4566b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0042a447
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0042a447
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x43626b
cmp word [ecx], dx
je 0x43626b
mov eax, dword [0x448fb4]
push edi
dec eax
push eax
push 0x448ea0
call fcn.00436193
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4362de
cmp word [eax], dx
je 0x4362de
mov eax, dword [edi]
test eax, eax
je 0x43628f
cmp word [eax], dx
je 0x43628f
lea eax, [ebp - 0x10]
push eax
call fcn.00435b76
jmp 0x436298
lea eax, [ebp - 0x10]
push eax
call fcn.00435c11
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x436308
mov eax, dword [0x448e9c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x448b90
call fcn.00436193
add esp, 0xc
test al, al
je 0x436308
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4362d3
cmp word [eax], di
je 0x4362d3
lea eax, [ebp - 0x10]
push eax
call fcn.00435b76
pop ecx
jmp 0x43630a
lea eax, [ebp - 0x10]
push eax
call fcn.00435c11
jmp 0x4362d0
mov eax, dword [edi]
test eax, eax
je 0x4362f5
cmp word [eax], dx
je 0x4362f5
lea eax, [ebp - 0x10]
push eax
call fcn.00435b2b
pop ecx
jmp 0x436308
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x4363d3
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00436018
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4363d3
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4363d3
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4363d3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x436360
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0042df50
test ebx, ebx
je 0x4363ce
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0042df50
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4363d3
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4363d3
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00431b60
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4363d5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410400
leave
ret
Function at 0x438e65
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4566b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x438ea8
call fcn.00422e95
mov dword [eax], 0xf
call fcn.00422ea8
mov dword [eax], 0xd
call fcn.004253f4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410400
leave
ret
test eax, eax
jne 0x438eaf
inc eax
jmp 0x438e9c
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x438e9a
xor eax, eax
cmp ecx, 1
setne al
jmp 0x438e9c

Function at 0x43aed0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43aefd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43aefd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x1b073f94
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x35b44aeb
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x6c7c3d50
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x6cb24420]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6c7c3f20
mov eax, dword [esp + 8]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x61707865
mov dword [eax + 8], 0x61707865
mov dword [eax + 0xc], 0x61707865
mov dword [eax + 0x10], 0x3320646e
mov dword [eax + 0x14], 0x3320646e
mov dword [eax + 0x18], 0x3320646e
mov dword [eax + 0x1c], 0x3320646e
mov dword [eax + 0x20], 0x79622d32
mov dword [eax + 0x24], 0x79622d32
mov dword [eax + 0x28], 0x79622d32
mov dword [eax + 0x2c], 0x79622d32
mov dword [eax + 0x30], 0x6b206574
mov dword [eax + 0x34], 0x6b206574
mov dword [eax + 0x38], 0x6b206574
mov dword [eax + 0x3c], 0x6b206574
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc0], ecx
lea edx, [ecx + 1]
mov dword [eax + 0xc4], edx
lea edx, [ecx + 2]
mov dword [eax + 0xc8], edx
add ecx, 3
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
ret
call fcn.6c82ac40
jmp fcn.6c7c3d50
Function at 0x6c7c5b50
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x34
mov eax, dword [0x6cb24420]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x50], eax
je 0x6c7c5b9a
call fcn.6c7fbc60
lea eax, [0x6c9c008c]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.6c7fc4d0
call fcn.6c7fbcc0
mov dword [esp], 2
call fcn.6c7f67f0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov byte [esp + 8], 0
call fcn.6c7c5910
mov eax, dword [0x6cb24420]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
nop
inc dword [eax + 0x140]
mov eax, dword [0x6cb24420]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, eax
nop
mov dword [ecx + 0xb8], eax
mov eax, dword [edx + 0x18]
mov dword [edx + 0x84], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x30], ecx
test byte [ecx], al
lea esi, [ecx + 0x234]
lea edi, [esp + 0xc]
call fcn.6c82c7a4
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x24], edx
call fcn.6c828620
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x18]
mov byte [ecx + 0x8c], 0
mov ecx, dword [eax + 0x18]
movzx edx, byte [ecx + 0x8d]
test dl, dl
je 0x6c7c5c3a
mov byte [ecx + 0x8e], 0
mov ecx, dword [eax + 0x18]
test byte [ecx], al
add ecx, 0x374
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.6c7c3550
mov eax, dword [esp + 0x2c]
movzx ecx, byte [eax + 0x71]
test cl, cl
jne 0x6c7c5d06
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call fcn.6c7c5d20
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x18]
mov byte [ecx + 0x8c], 1
call fcn.6c806d90
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x18]
movzx edx, byte [ecx + 0x8d]
test dl, dl
je 0x6c7c5cad
mov byte [ecx + 0x8e], 1
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x30]
cmp ecx, edx
jne 0x6c7c5cf0
mov dword [esp], ecx
call fcn.6c7f8060
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.6c804fb0
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x18]
test byte [eax], al
lea edi, [eax + 0x234]
lea esi, [esp + 0xc]
call fcn.6c82c7a4
add esp, 0x34
ret
lea eax, [0x6c9c2734]
mov dword [esp], eax
mov dword [esp + 4], 0x26
call fcn.6c7f9fb0
lea eax, [0x6c98c540]
mov dword [esp], eax
lea eax, [0x6c9fb2d8]
mov dword [esp + 4], eax
call fcn.6c7f9540
nop
int3
Function at 0x6c7cdae0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x6cb24420]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6c7cdcab
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x6c7cdb09
mov eax, 0x7000000
jmp 0x6c7cdb11
test eax, eax
je 0x6c7cdc86
mov dword [esp + 0x34], eax
mov ecx, dword [0x6cb24420]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x4a4]
mov ebx, dword [ecx + 0x4a8]
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x4a4], ebx
mov dword [ecx + 0x4a8], ebp
mov dword [esp], edx
call fcn.6c82c010
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x24]
shr ebx, 0x1b
or ebx, eax
lea eax, [0x6c948520]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x6c7cdc9e
cmp edx, 0x21
jae 0x6c7cdc92
movsd qword [esp + 0x14], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x1c], xmm0
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.6c823d10
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.6c823de0
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x6c9fb228]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x6c9fb288]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x6c7cdc61
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x6c9fb2c8]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, edx
mov ecx, 0x21
call fcn.6c82c0f0
mov eax, edx
mov ecx, 0x21
call fcn.6c82c1d0
nop
call fcn.6c82ac40
jmp fcn.6c7cdae0
Function at 0x6c7d7dc0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x6cb24420]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6c7d7fbe
sub esp, 0x18
mov eax, dword [0x6cb2430c]
test eax, eax
jne 0x6c7d7fa7
nop
nop
lea eax, [0x6cb242fc]
mov dword [esp], eax
call fcn.6c7cb6c0
mov eax, dword [0x6cb24300]
test eax, eax
je 0x6c7d7e08
cmp dword [eax + 8], 0xcc
jne 0x6c7d7e7e
mov edx, dword [0x6cb24304]
test edx, edx
jne 0x6c7d7e60
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x6cb26fb0]
mov dword [esp + 8], eax
call fcn.6c7cdcc0
mov eax, dword [esp + 0xc]
mov dword [0x6cb24304], eax
mov ecx, dword [0x6cb24308]
mov dword [eax], ecx
mov eax, dword [0x6cb24304]
mov dword [0x6cb24308], eax
movzx eax, byte [0x6cb248e0]
test al, al
jne 0x6c7d7e60
xor eax, eax
jmp 0x6c7d7f78
mov edx, dword [0x6cb24304]
mov ebx, dword [edx + 4]
mov dword [0x6cb24304], ebx
mov ebx, dword [0x6cb24300]
mov dword [edx + 4], ebx
mov dword [0x6cb24300], edx
mov edx, dword [0x6cb24300]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x6c7d7f57
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.6c7c3480
mov eax, dword [0x6cb24500]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x6c7d7ed0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x6c7d7f10
call fcn.6c82c0d0
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + ecx*4 + 0x10]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x2c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0x14], esi
mov esi, dword [esp + 0x1c]
mov dword [edi + 0x18], esi
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x1c], esi
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov dword [edx + ecx*4 + 0x1c], ebx
mov dword [edx + ecx*4 + 0x20], ebp
mov eax, dword [esp + 0x1c]
mov dword [edx + ecx*4 + 0x14], eax
nop
nop
lea eax, [0x6cb242fc]
mov dword [esp], eax
call fcn.6c7cb8e0
nop
lea eax, [0x6cb242f8]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.6c7c3600
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.6c82c0f0
lea edx, [0x6c946744]
movzx ebx, byte [edx + eax]
lea ebp, [0x6cb248e0]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x6c7d7e60
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 5
jb 0x6c7d7f61
mov ecx, 5
call fcn.6c82c0e0
lea eax, [0x6c9bd5cf]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.6c7f9fb0
nop
call fcn.6c82ac40
jmp fcn.6c7d7dc0