joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4448b0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x140
push ebx
mov ebx, dword [esp + 0x154]
push ebp
push esi
mov esi, dword [ebx]
push edi
mov edi, dword [esp + 0x154]
xor ebp, ebp
test edi, edi
je 0x444930
push edi
call dword [0x5a448c]
add esp, 4
test eax, eax
jbe 0x444930
test esi, esi
je 0x4448ee
cmp esi, 0xffffffff
je 0x4448ee
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebx], esi
je 0x444972
mov eax, dword [esp + 0x15c]
test eax, eax
je 0x44491c
mov ecx, dword [esp + 0x10]
and ecx, 0x10
cmp cl, 0x10
je 0x444930
jmp 0x44492b
mov edx, dword [esp + 0x158]
mov eax, dword [esp + 0x10]
test edx, eax
je 0x444930
mov ebp, 1
test esi, esi
je 0x444972
cmp esi, 0xffffffff
je 0x444972
test ebp, ebp
jne 0x4449a9
mov eax, dword [esp + 0x15c]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
lea eax, [esp + 0x10]
push eax
push esi
je 0x44497f
call edi
test eax, eax
je 0x444972
mov ecx, dword [esp + 0x10]
and ecx, 0x10
cmp cl, 0x10
jne 0x4449a9
lea edx, [esp + 0x10]
push edx
push esi
call edi
test eax, eax
jne 0x44495a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x140
ret
call edi
test eax, eax
je 0x444972
mov ebx, dword [esp + 0x158]
test dword [esp + 0x10], ebx
jne 0x4449a9
lea ecx, [esp + 0x10]
push ecx
push esi
call edi
test eax, eax
jne 0x44498c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
lea edx, [esp + 0x3c]
push edx
call dword [0x5a448c]
inc eax
push eax
call fcn.00441cf0
mov edx, eax
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret

Function at 0x444a10
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
ret

Function at 0x4450f0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x445182
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x445174
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x44516c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x445135
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
Function at 0x445310
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x445379
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.00441cf0
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x446f6b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x446f97
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0044ceb6
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x446fa8
push ebx
call fcn.0044ceb0
add esp, 4
pop eax
mov dword [ebp - 4], eax
test eax, eax
je 0x447010
mov ecx, dword [eax + 4]
mov ebx, dword [ebp + 0xc]
test ecx, ecx
je 0x447010
mov edx, ebx
mov esp, ecx
or bh, bl
cmp edx, 0xff
cmovbe edx, ebx
mov ebx, edx
and esp, 0xfffffffc
shl ebx, 0x10
sub ecx, esp
or bx, dx
cmp edx, 0xffff
cmovbe edx, ebx
lea ebx, [eax + 8]
test esp, esp
je 0x446ff1
add esp, ebx
xor dword [ebx], edx
add ebx, 4
cmp esp, ebx
jne 0x446fe8
test ecx, ecx
je 0x447010
xor byte [ebx], dl
test ecx, 2
je 0x447010
xor byte [ebx + 1], dh
test ecx, 1
je 0x447010
shr edx, 0x10
xor byte [ebx + 2], dl
leave
ret 8

Function at 0x44704b
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x80000301
push 0
push 0x7fff
push 1
mov ebx, 0x184
call fcn.0044d700
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x447097
push ebx
call fcn.0044ceb0
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0x7fff
push dword [ebp - 4]
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4470d1
push 0x4f
push 0x402e875
push 6
call fcn.0044cebc
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4470e8
mov eax, 0
jmp 0x447141
push 0x80000301
push 0
push dword [ebp - 8]
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x447105
mov eax, 0x5a47aa
push eax
push 2
mov ebx, 0x134
call fcn.0044d740
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x447131
push ebx
call fcn.0044ceb0
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, 1
jmp 0x447141
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x447152
push ebx
call fcn.0044ceb0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44b8da
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
inc eax
push dword [eax]
pop word [ebp - 4]
cmp dword [ebp - 4], 0xc25e
je 0x44b90f
cmp dword [ebp - 4], 0xc35e
je 0x44b90f
jmp 0x44b912
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x44b8f4
cmp dword [ebp - 4], 0xc25e
jne 0x44b9b2
push eax
mov dword [ebp - 0xc], esp
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push dword [ebp - 8]
push 0xffffffff
xor eax, eax
call dword [sym.imp.kernel32.dll_VirtualProtectEx]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x44b965
push 0x1c8
push 0x40100a7
push 6
call fcn.0044cebc
add esp, 0xc
pop eax
push 0x9090c35e
pop dword [eax]
mov dword [ebp - 0xc], esp
mov eax, 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push 4
push dword [ebp - 8]
push 0xffffffff
xor eax, eax
call dword [sym.imp.kernel32.dll_VirtualProtectEx]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x44b9b2
push 0x261
push 0x40100a7
push 6
call fcn.0044cebc
add esp, 0xc
mov esp, ebp
pop ebp
ret 4

Function at 0x44e370
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x46d038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x5a6758]
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], 0x41
mov dword [esp + 0x2c], 0x1a
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push 0x5a5238
push edx
call fcn.004673f4
mov esi, dword [esp + 0x34]
add esp, 0xc
test esi, esi
jne 0x44e3e8
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x44e3e1
jmp dword [eax*4 + 0x44e46c]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, esi
jne case.default.0x44e3e1
push 3
call fcn.0044f06c
mov edi, dword [esp + 0x14]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [ebx], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebp
rep movsb byte es:[edi], byte [esi]
add ebx, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
inc ecx
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], eax
jne 0x44e3af
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.004681c0
mov ecx, dword [esp + 0x18]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x459dd5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5a5940]
jne 0x459ddf
repz ret
jmp fcn.00460266
Function at 0x45ac8b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5a5940]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004516e3
and dword [ebp - 0x14], 0
cmp dword [0x5c33dc], 0
mov dword [ebp - 0x18], eax
jne 0x45ad3e
push 0x4734a8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x45ade6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x47349c
push ebx
call edi
test eax, eax
je 0x45ade6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x47348c
push ebx
mov dword [0x5c33dc], eax
call edi
push eax
call esi
push 0x473478
push ebx
mov dword [0x5c33e0], eax
call edi
push eax
call esi
push 0x47345c
push ebx
mov dword [0x5c33e4], eax
call edi
push eax
call esi
mov dword [0x5c33ec], eax
test eax, eax
je 0x45ad3e
push 0x473444
push ebx
call edi
push eax
call esi
mov dword [0x5c33e8], eax
mov eax, dword [0x5c33e8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x45ad97
cmp dword [0x5c33ec], ecx
je 0x45ad97
push eax
call esi
push dword [0x5c33ec]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x45ad97
test ebx, ebx
je 0x45ad97
call edi
test eax, eax
je 0x45ad8e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x45ad8e
test byte [ebp - 8], 1
jne 0x45ad97
or dword [ebp + 0x10], 0x200000
jmp 0x45adca
mov eax, dword [0x5c33e0]
cmp eax, dword [ebp - 0x18]
je 0x45adca
push eax
call esi
test eax, eax
je 0x45adca
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x45adca
mov eax, dword [0x5c33e4]
cmp eax, dword [ebp - 0x18]
je 0x45adca
push eax
call esi
test eax, eax
je 0x45adca
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5c33dc]
call esi
test eax, eax
je 0x45ade6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x45ade8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00459dd5
leave
ret
Function at 0x464993
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x46d3c6
call fcn.004601fb
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
je 0x464a8a
cmp byte [esi + 0x4a], bl
je 0x464a8a
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
jne 0x4649cf
xor al, al
jmp 0x464a8c
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00464759
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x464a2d
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x1c]
add eax, ebx
push eax
push edx
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x18]
sub eax, 0
je 0x464a32
dec eax
je 0x464a36
dec eax
dec eax
je 0x464a86
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00463cc9
mov al, bl
jmp 0x464a8c
mov edx, dword [ebp - 0x2c]
jmp 0x4649f8
mov byte [esi + 0x4a], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x464a42
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x464a68
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x464a55
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call fcn.0044f72e
add esp, 0x10
cmp edi, eax
jne 0x464a1b
cmp byte [esi + 0x4a], 0
je 0x464a86
test edi, edi
jne 0x4649ea
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004646ab
jmp 0x4649ea
mov bl, 1
jmp 0x464a1d
mov al, 1
call fcn.00460245
ret
Function at 0x464a92
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x46d399
call fcn.004601fb
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x464ab4
xor eax, eax
jmp 0x464c27
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
xor ebx, ebx
cmp ecx, ebx
je 0x464ae2
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
lea edx, [ecx + edx*2]
cmp ecx, edx
jae 0x464ae2
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 2]
mov dword [esi], ecx
mov word [eax], di
mov ax, di
jmp 0x464c27
cmp dword [esi + 0x54], ebx
je 0x464c22
mov ecx, esi
call fcn.00463aad
cmp dword [esi + 0x44], ebx
jne 0x464b12
push dword [esi + 0x54]
push edi
call fcn.00463f4d
pop ecx
test al, al
pop ecx
movzx eax, di
jne 0x464c27
jmp 0x464c22
movzx eax, di
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00464759
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x464bcf
lea eax, [ebp - 0x2c]
mov edx, eax
add eax, dword [ebp - 0x1c]
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x34]
push ebx
push eax
push edx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2e]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x14]
xor ebx, ebx
inc ebx
test eax, eax
js 0x464c17
cmp eax, ebx
jg 0x464bd7
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x464b81
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x464ba6
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x464b94
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push ebx
push eax
call fcn.0044f72e
add esp, 0x10
cmp edi, eax
jne 0x464c17
lea eax, [ebp - 0x30]
mov byte [esi + 0x4a], bl
cmp dword [ebp - 0x38], eax
jne 0x464c06
test edi, edi
jne 0x464b33
cmp dword [ebp - 0x1c], 0x20
push edi
lea ecx, [ebp - 0x2c]
jae 0x464c1c
push 8
call fcn.004646ab
jmp 0x464b33
mov edx, dword [ebp - 0x2c]
jmp 0x464b45
cmp eax, 3
jne 0x464c17
push dword [esi + 0x54]
push dword [ebp - 0x30]
call fcn.00463f4d
movzx esi, word [ebp + 8]
pop ecx
pop ecx
test al, al
jne 0x464bf6
mov esi, 0xffff
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00463cc9
mov ax, si
jmp 0x464c27
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00463cc9
mov ax, word [ebp + 8]
jmp 0x464c27
push 0
lea ecx, [ebp - 0x2c]
push ebx
call fcn.00463cc9
mov eax, 0xffff
call fcn.00460245
ret 4
Function at 0x403030
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x71d934]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403200
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 0x40b9b0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x71d934]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40bb7b
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b9d9
mov eax, 0x7000000
jmp 0x40b9e1
test eax, eax
je 0x40bb56
mov dword [esp + 0x34], eax
mov ecx, dword [0x71d934]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x448]
mov ebx, dword [ecx + 0x44c]
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 + 0x448], ebx
mov dword [ecx + 0x44c], 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, [0x6e4f40]
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 0x40bb6e
cmp edx, 0x21
jae 0x40bb62
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 [0x5fa840]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x5fa880]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40bb31
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x5fa8b8]
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 0x413990
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x71d934]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x413b8e
sub esp, 0x18
mov eax, dword [0x71d848]
test eax, eax
jne 0x413b77
nop
nop
lea eax, [0x71d838]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x71d83c]
test eax, eax
je 0x4139d8
cmp dword [eax + 8], 0xcc
jne 0x413a4e
mov edx, dword [0x71d840]
test edx, edx
jne 0x413a30
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x71ffd0]
mov dword [esp + 8], eax
call sym.runtime.persistentalloc
mov eax, dword [esp + 0xc]
mov dword [0x71d840], eax
mov ecx, dword [0x71d844]
mov dword [eax], ecx
mov eax, dword [0x71d840]
mov dword [0x71d844], eax
movzx eax, byte [0x71dd60]
test al, al
jne 0x413a30
xor eax, eax
jmp 0x413b48
mov edx, dword [0x71d840]
mov ebx, dword [edx + 4]
mov dword [0x71d840], ebx
mov ebx, dword [0x71d83c]
mov dword [edx + 4], ebx
mov dword [0x71d83c], edx
mov edx, dword [0x71d83c]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x413b27
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.internal_runtime_atomic.Xadd
mov eax, dword [0x71da68]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x413aa0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x413ae0
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, [0x71d838]
mov dword [esp], eax
call sym.runtime.unlock2
nop
lea eax, [0x71d834]
mov dword [esp], eax
mov dword [esp + 4], 8
call sym.internal_runtime_atomic.Or
add esp, 0x18
ret
mov ecx, 0xcc
call sym.runtime.panicIndexU
lea edx, [0x6e1368]
movzx ebx, byte [edx + eax]
lea ebp, [0x71dd60]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x413a30
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 0x413b31
mov ecx, 5
call sym.runtime.panicIndex
lea eax, [0x5bfef4]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.queuefinalizer
Function at 0x418970
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x71d934]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4189f9
sub esp, 0x10
mov eax, dword [esp + 0x14]
test byte [eax], al
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 1
call sym.internal_runtime_atomic.Cas
movzx eax, byte [esp + 0xc]
test al, al
je 0x4189de
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x4189e2
mov dword [esp], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
call sym.runtime._gcCPULimiterState_.updateLocked
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym.runtime._gcCPULimiterState_.unlock
add esp, 0x10
ret
add esp, 0x10
ret
lea eax, [0x5bff0c]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime._gcCPULimiterState_.update