joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1018abd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
push 0x38
xorps xmm0, xmm0
lea eax, [esp + 0x4c]
mov ebp, edx
movlpd qword [esp + 0x2c], xmm0
mov ebx, ecx
mov dword [esp + 0x20], ebp
push 0
movups xmmword [esp + 0x40], xmm0
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], 0x13
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x48]
mov edx, ebp
mov ecx, ebx
push eax
push 1
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [esp + 0xa0]
call fcn.10178870
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x1018adae
push dword [esp + 0x3c]
lea eax, [esp + 0x3c]
mov ecx, ebx
push dword [esp + 0x3c]
lea edx, [esp + 0x50]
mov dword [esp + 0x5c], eax
call fcn.10185d40
mov esi, eax
add esp, 8
test esi, esi
jne 0x1018adae
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.10186000
mov esi, eax
cmp esi, 0x64
jne 0x1018adae
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov edi, dword [esp + 0x78]
lea edx, [esp + 0x20]
mov ebp, dword [esp + 0x7c]
xorps xmm0, xmm0
mov ecx, edi
movlpd qword [esp + 0x20], xmm0
add ebp, edi
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x28], xmm0
call fcn.10174040
lea esi, [edi + eax]
cmp esi, ebp
jae 0x1018ad8e
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
xorps xmm0, xmm0
lea edx, [esp + 0x20]
mov ecx, esi
movlpd qword [esp + 0x20], xmm0
call fcn.10174040
add esi, eax
cmp esi, ebp
jae 0x1018ad8a
mov ecx, dword [esp + 0x20]
mov eax, ecx
mov edx, dword [esp + 0x24]
or eax, edx
je 0x1018ad36
cmp ecx, 1
jne 0x1018acf6
test edx, edx
je 0x1018ad36
mov eax, dword [esp + 0x28]
add ecx, 0xfffffffe
adc edx, 0xffffffff
add eax, ecx
mov ecx, dword [esp + 0x70]
adc dword [esp + 0x2c], edx
mov edx, dword [esp + 0x74]
push eax
push dword [esp + 0x34]
mov dword [esp + 0x30], eax
push edi
push ebx
push dword [esp + 0x98]
push dword [esp + 0x30]
call fcn.1018ab20
xor dword [esp + 0x2c], eax
add esp, 0x18
xor dword [esp + 0x10], edx
jmp 0x1018ad82
xorps xmm0, xmm0
or ecx, edx
movlpd qword [esp + 0x30], xmm0
mov ecx, esi
movlpd qword [esp + 0x28], xmm0
je 0x1018ad58
lea edx, [esp + 0x30]
call fcn.10174040
add esi, eax
jmp 0x1018ad82
lea edx, [esp + 0x20]
call fcn.10174040
add esi, eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xef], 0
je 0x1018ad7a
sub ebx, dword [esp + 0x20]
sbb edi, dword [esp + 0x24]
jmp 0x1018ad82
add ebx, dword [esp + 0x20]
adc edi, dword [esp + 0x24]
cmp esi, ebp
jb 0x1018acc1
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.10186000
mov esi, eax
cmp esi, 0x64
je 0x1018ac84
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
jmp 0x1018adb6
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
lea ecx, [esp + 0x48]
call fcn.10186760
mov ecx, dword [esp + 0x8c]
mov edx, edi
pop edi
mov eax, ebp
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x10196f60
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov ebx, edx
mov dword [esp + 0x10], str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
mov esi, ecx
mov dword [esp + 0x14], str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
push edi
mov edi, dword [esi + ebx*4 + 0x18]
test edi, edi
jne 0x10196f9c
push dword [esi + 8]
push dword [esi + 4]
push dword [esp + ebx*4 + 0x1c]
push esi
call fcn.10196d70
mov edi, eax
add esp, 0x10
mov dword [esi + ebx*4 + 0x18], edi
cmp dword [esi + 0x28], 0
jne 0x1019705c
mov ebp, dword [esp + 0x24]
push ebp
push dword [esp + 0x24]
push 1
push edi
call fcn.10111650
push edi
call fcn.10110240
add esp, 0x14
cmp eax, 0x65
jne 0x10196ff3
mov ecx, str.__parent
test ebx, ebx
mov eax, str.__rowid
cmove eax, ecx
mov ecx, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebp
push ecx
push str.Mapping___lld_____lld__missing_from__s_table
push esi
call fcn.10196df0
add esp, 0x1c
jmp 0x1019704a
cmp eax, 0x64
jne 0x1019704a
push 0
push edi
call fcn.10110cc0
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jne 0x10197015
cmp edx, ecx
je 0x1019704a
push ecx
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
test ebx, ebx
push ebp
push ecx
mov eax, str.__rowid
mov dword [esp + 0x20], str.__parent
cmove eax, dword [esp + 0x20]
push eax
push edx
push dword [esp + 0x2c]
push ebp
push ecx
push str.Found___lld_____lld__in__s_table__expected___lld_____lld_
push esi
call fcn.10196df0
add esp, 0x2c
push edi
call fcn.1010f0f0
add esp, 4
cmp dword [esi + 0x28], 0
jne 0x1019705c
mov dword [esi + 0x28], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x10197f90
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x10224008]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2bc], 0
push esi
mov esi, ecx
cmp edx, 0x18
jae 0x10197fbc
mov eax, 1
jmp 0x10197fd0
cmp edx, 0x28
jae 0x10197fc5
xor eax, eax
jmp 0x10197fd0
cmp edx, 0x98
sbb eax, eax
add eax, 3
lea ecx, [ebp - 0x2bc]
push ecx
push 0x101cbe1c
push eax
call dword [sym.imp.SHELL32.dll_SHGetImageList]
test eax, eax
jne 0x1019806c
cmp dword [ebp - 0x2bc], eax
je 0x1019806c
push 0x2b4
push eax
lea eax, [ebp - 0x2b8]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x10198010
mov esi, dword [esi]
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x1019806c
mov eax, dword [ebp - 0x2bc]
lea edx, [ebp - 0x2c0]
push edx
push 0
push dword [ebp - 0x2b4]
mov dword [ebp - 0x2c0], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
test eax, eax
jne 0x1019806c
mov eax, dword [ebp - 0x2c0]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1019e7b8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.1019e7b8
mov esp, ebp
pop ebp
ret
Function at 0x1019c6a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c5a28
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10224008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.10006ac0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100b5cd0
cmp dword [ebp - 0x18], 2
jbe 0x1019c7a6
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 8
cmovae eax, edx
cmp word [eax], 0x5c
jne 0x1019c717
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + 2], 0x5c
je 0x1019c809
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x2f
jne 0x1019c73a
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + 2], 0x2f
je 0x1019c80d
push 0x5c
mov edx, 0x2f
lea ecx, [ebp - 0x28]
call fcn.100b5ad0
mov edx, dword [ebp - 0x28]
mov eax, ecx
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, 8
cmovae eax, edx
cmp word [eax + 2], 0x3a
jne 0x1019c80d
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + 4], 0x5c
jne 0x1019c80d
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x61
jb 0x1019c80d
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x7a
ja 0x1019c80d
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
jmp 0x1019c7f6
jne 0x1019c80d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 8
cmovae eax, edx
cmp word [eax + 2], 0x3a
jne 0x1019c80d
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x61
jb 0x1019c80d
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x7a
ja 0x1019c80d
push 1
push 0x101dba9c
lea ecx, [ebp - 0x28]
call fcn.1001f0c0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1019c80d
shr eax, 4
and al, 1
mov byte [esi], al
mov bl, 1
jmp 0x1019c80f
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005540
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1019e7b8
mov esp, ebp
pop ebp
ret
Function at 0x40f013
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00409f7f
mov dword [ebp - 0x14], eax
cmp dword [0x815e40], esi
jne 0x40f106
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40f093
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40f1e6
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40f1e6
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40f1e6
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x815e40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x815e44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x815e48], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x815e50], eax
test eax, eax
je 0x40f103
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x815e4c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40f12b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40f11e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40f140
push 4
pop eax
jmp 0x40f1e8
cmp dword [ebp - 0x14], esi
je 0x40f140
push dword [0x815e40]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40f125
mov eax, dword [0x815e4c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40f19e
cmp dword [0x815e50], edi
je 0x40f19e
push eax
call ebx
push dword [0x815e50]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40f19e
test eax, eax
je 0x40f19e
call ecx
test eax, eax
je 0x40f193
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40f193
test byte [ebp - 8], 1
jne 0x40f19e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40f1ce
mov eax, dword [0x815e44]
cmp eax, edi
je 0x40f1cb
push eax
call ebx
test eax, eax
je 0x40f1cb
call eax
mov esi, eax
test esi, esi
je 0x40f1cb
mov eax, dword [0x815e48]
cmp eax, edi
je 0x40f1cb
push eax
call ebx
test eax, eax
je 0x40f1cb
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x815e40]
call ebx
test eax, eax
je 0x40f1e6
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40f1e8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040432c
mov esp, ebp
pop ebp
ret
Function at 0x408630
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x40864a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x408651
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x408640
mov eax, 1
add ebx, ebx
jne 0x408663
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x408658
jne 0x408674
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408658
xor ecx, ecx
sub eax, 3
jb 0x408688
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4086fa
mov ebp, eax
add ebx, ebx
jne 0x408693
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4086a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4086c4
inc ecx
add ebx, ebx
jne 0x4086b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4086a5
jne 0x4086c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4086a5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4086e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4086d5
jmp 0x408646
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4086e4
add edi, ecx
jmp 0x408646
pop esi
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x408743
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x81c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8228]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x408701
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8230]
or eax, eax
je 0x40873d
mov dword [ebx], eax
add ebx, 4
jmp 0x40871e
call dword [esi + 0x822c]
mov ebp, dword [esi + 0x8234]
lea edi, [esi - 0x1000]
mov ebx, pe_overlay
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x408777
sub esp, 0xffffff80
jmp 0x401020
Function at 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40596d
pop dword [ebp - 0x34]
mov eax, 0xea686417
add eax, 0x15d7f556
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x1d167186
add dword [ebp - 0x44], 0x313bd3c5
mov dword [ebp - 0x40], 0xbe6a3334
sub dword [ebp - 0x40], 0x8c36e6ef
mov dword [ebp - 0x3c], 0xf6df869d
sub dword [ebp - 0x3c], 0xaa93426f
mov dword [ebp - 0x38], 0x5fc6b890
sub dword [ebp - 0x38], 0x5fc6b890
lea eax, [ebp - 0x44]
push eax
mov eax, 0xec3cc0bf
sub eax, 0xebfc505f
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x2add8941
add dword [ebp - 0x44], 0x4994e015
mov dword [ebp - 0x40], 0xfc3c4e88
add dword [ebp - 0x40], 0x453012ed
mov dword [ebp - 0x3c], 0x4e7c1106
sub dword [ebp - 0x3c], 0xeb0ca49a
mov dword [ebp - 0x38], 0xb393376c
add dword [ebp - 0x38], 0x4c6cc894
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x39cbb
push 0
call eax
mov ecx, 0x173d83eb
sub ecx, 0x173d2f9a
mov edi, eax
mov ebx, 0xfb040aa7
sub ebx, 0xfac30aa7
add ebx, dword [ebp - 0x34]
mov edx, 0x1dbde176
add edx, 0x6e33c4bd
xor dword [ebp - 0x18], edi
mov esi, dword [ebx]
xor dword [ebp - 0x18], 0x84069927
add esi, edx
add dword [ebp - 0x30], edx
mov dword [edi], esi
add dword [ebp - 0xc], edx
add edi, 0x1f8ee79d
sub edi, 0x1f8ee799
add ebx, 4
loop 0x405a8a
add eax, 0x14417
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x403470
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5abd28]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403640
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 sym.runtime.morestack_noctxt
jmp sym.internal_chacha8rand.setup
Function at 0x40ce30
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x5abd28]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40cffb
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40ce59
mov eax, 0x7000000
jmp 0x40ce61
test eax, eax
je 0x40cfd6
mov dword [esp + 0x34], eax
mov ecx, dword [0x5abd28]
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 sym.runtime.uint32tofloat64
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, [0x560dc0]
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 0x40cfee
cmp edx, 0x21
jae 0x40cfe2
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 sym.runtime.int64tofloat64
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 sym.runtime.uint64tofloat64
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 [0x4ec468]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x4ec4d8]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40cfb1
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x4ec518]
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 sym.runtime.panicIndexU
mov eax, edx
mov ecx, 0x21
call sym.runtime.panicExtendIndexU
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.fastexprand
Function at 0x4168d0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x5abd28]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x416ace
sub esp, 0x18
mov eax, dword [0x5abc5c]
test eax, eax
jne 0x416ab7
nop
nop
lea eax, [0x5abc4c]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x5abc50]
test eax, eax
je 0x416918
cmp dword [eax + 8], 0xcc
jne 0x41698e
mov edx, dword [0x5abc54]
test edx, edx
jne 0x416970
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x5ae530]
mov dword [esp + 8], eax
call sym.runtime.persistentalloc
mov eax, dword [esp + 0xc]
mov dword [0x5abc54], eax
mov ecx, dword [0x5abc58]
mov dword [eax], ecx
mov eax, dword [0x5abc54]
mov dword [0x5abc58], eax
movzx eax, byte [0x5ac0a0]
test al, al
jne 0x416970
xor eax, eax
jmp 0x416a88
mov edx, dword [0x5abc54]
mov ebx, dword [edx + 4]
mov dword [0x5abc54], ebx
mov ebx, dword [0x5abc50]
mov dword [edx + 4], ebx
mov dword [0x5abc50], edx
mov edx, dword [0x5abc50]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x416a67
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime_internal_atomic.Xadd
mov eax, dword [0x5abdd0]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x4169e0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x416a20
call sym.runtime.gcWriteBarrier8
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, [0x5abc4c]
mov dword [esp], eax
call sym.runtime.unlock2
nop
lea eax, [0x5abc48]
mov dword [esp], eax
mov dword [esp + 4], 8
call sym.runtime_internal_atomic.Or
add esp, 0x18
ret
mov ecx, 0xcc
call sym.runtime.panicIndexU
lea edx, [0x56037c]
movzx ebx, byte [edx + eax]
lea ebp, [0x5ac0a0]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x416970
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 0x416a71
mov ecx, 5
call sym.runtime.panicIndex
lea eax, [0x4ca52d]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.queuefinalizer