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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
mov ecx, edx
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, edx
sar ecx, 6
and eax, 0x3f
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x101735e8]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100c587a
cmp byte [ebx], 0xa
jne 0x100c587a
or byte [edi + eax + 0x28], 4
jmp 0x100c587f
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x100c5982
mov cl, byte [eax]
cmp cl, 0x1a
je 0x100c595d
lea ebx, [eax + 1]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
cmp cl, 0xd
je 0x100c58ae
mov eax, dword [ebp - 8]
jmp 0x100c58ce
mov edx, dword [ebp - 0x10]
cmp dword [ebp - 8], edx
mov edx, dword [ebp + 8]
jae 0x100c58ea
mov ebx, dword [ebp - 8]
cmp byte [ebx], 0xa
jne 0x100c58c8
add eax, 2
mov cl, 0xa
jmp 0x100c58cb
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov byte [esi], cl
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0xc]
add esi, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jb 0x100c5890
jmp 0x100c5982
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100c5958
cmp dword [ebp - 0x10], 0
je 0x100c5958
mov edx, dword [ebp - 0x18]
mov eax, dword [edx*4 + 0x101735e8]
test byte [eax + edi + 0x28], 0x48
je 0x100c5937
mov cl, byte [ebp - 1]
cmp cl, 0xa
jne 0x100c5927
mov byte [esi], 0xa
jmp 0x100c5981
mov byte [esi], 0xd
mov eax, dword [edx*4 + 0x101735e8]
mov byte [eax + edi + 0x2a], cl
jmp 0x100c5981
cmp byte [ebp - 1], 0xa
jne 0x100c5941
cmp esi, ebx
je 0x100c5922
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100c3b72
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100c5982
mov byte [esi], 0xd
jmp 0x100c5981
mov eax, edx
and edx, 0x3f
sar eax, 6
imul edx, edx, 0x38
mov edi, dword [eax*4 + 0x101735e8]
mov al, byte [edi + edx + 0x28]
test al, 0x40
jne 0x100c597f
or al, 2
mov byte [edi + edx + 0x28], al
jmp 0x100c5982
mov byte [esi], cl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100c598b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
and eax, 0x3f
push ebx
mov ebx, dword [ebp + 0xc]
sar edx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [edx*4 + 0x101735e8]
mov dword [ebp - 8], edx
mov edx, dword [eax + edi + 0x18]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x100c59cf
push 0xa
pop esi
cmp word [ebx], si
jne 0x100c59cf
or byte [eax + edi + 0x28], 4
jmp 0x100c59d4
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + edx*2]
mov eax, ebx
mov dword [ebp - 0x10], edx
mov esi, ebx
cmp ebx, edx
jae 0x100c5b3f
movzx edx, word [eax]
mov ecx, edx
mov dword [ebp - 0xc], ecx
movzx ecx, cx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
cmp edx, 0x1a
je 0x100c5b17
lea ebx, [eax + 2]
mov dword [ebp - 4], ebx
push 0xd
pop ebx
cmp dx, bx
mov ebx, dword [ebp + 0xc]
je 0x100c5a21
mov ebx, dword [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 4]
movzx ebx, bx
mov dword [ebp - 4], ebx
jmp 0x100c5a4b
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jae 0x100c5a6a
push 0xa
pop ebx
cmp word [edx], bx
jne 0x100c5a38
push ebx
add eax, 4
pop edx
jmp 0x100c5a40
mov eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, dx
movzx edx, dx
mov dword [ebp - 4], edx
mov edx, esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], 2
mov word [esi], cx
mov esi, dword [ebp - 0xc]
add esi, edx
cmp eax, dword [ebp - 0x10]
jb 0x100c59e6
jmp 0x100c5b3f
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100c5b12
cmp dword [ebp - 0x14], 0
je 0x100c5b12
mov eax, dword [ebp - 8]
push 0xa
mov eax, dword [eax*4 + 0x101735e8]
test byte [eax + edi + 0x28], 0x48
pop eax
je 0x100c5aee
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x100c5ab6
mov word [esi], ax
jmp 0x100c5b3c
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebp - 8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov eax, dword [eax*4 + 0x101735e8]
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x101735e8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x101735e8]
pop ecx
mov byte [eax + edi + 0x2c], cl
jmp 0x100c5b3c
cmp word [ebp - 4], ax
jne 0x100c5af8
cmp esi, ebx
je 0x100c5aae
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100c3b72
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x100c5b3f
push 0xd
pop eax
jmp 0x100c5aae
mov eax, ecx
and ecx, 0x3f
sar eax, 6
imul ecx, ecx, 0x38
mov edi, dword [eax*4 + 0x101735e8]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x100c5b39
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x100c5b3f
mov word [esi], dx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100c828f
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [eax + 0xc]
nop
shr eax, 3
test al, 1
je 0x100c82a9
mov al, 1
leave
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov eax, dword [eax + 0xc]
nop
test al, 0xc0
mov eax, dword [ebp + 8]
je 0x100c82c0
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x100c8318
mov eax, dword [eax + 0x10]
nop
push eax
call fcn.100d0418
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0x100c8318
xor ebx, ebx
lea eax, [ebp - 0x10]
inc ebx
xorps xmm0, xmm0
push ebx
push eax
movlpd qword [ebp - 8], xmm0
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x100c8318
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x100c8318
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jne 0x100c8312
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0x100c8314
xor bl, bl
mov al, bl
jmp 0x100c831a
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x100cea8b
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 0x100ceb28
push ebx
push esi
call fcn.100cea54
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.100ca41f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100cead5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100ceb27
push edi
push eax
call fcn.100c8b60
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100ceaf5
call fcn.100c6710
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100ceb26
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100ca41f
add esp, 0x20
test eax, eax
jne 0x100ceb14
push edi
call fcn.100c6710
jmp 0x100ceb1c
push ebx
call fcn.100c6710
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 0x100ceb2b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100ceb3c
pop esi
ret
push ebx
push edi
push esi
call fcn.100cea54
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100c8b60
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100ceb64
push ebx
push esi
push edi
call fcn.100af6b0
add esp, 0xc
push 0
call fcn.100c6710
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100cf2bb
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100cedd7

Function at 0x100d23f2
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.100c3ffa
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 0x100d2461
cmp esi, dword [ebp - 4]
je 0x100d245c
cmp dword [ebp + 0xc], 0
je 0x100d245c
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100d2439
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.100d1f47
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x100d2463
xor eax, eax
inc eax
jmp 0x100d2463
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x100d24ce
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10145040]
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.100c3ffa
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.100c3ffa
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 0x100d2545
cmp word [ecx], dx
je 0x100d2545
mov eax, dword [0x100e99a4]
push edi
dec eax
push eax
push 0x100e9890
call fcn.100d2467
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x100d25b8
cmp word [eax], dx
je 0x100d25b8
mov eax, dword [edi]
test eax, eax
je 0x100d2569
cmp word [eax], dx
je 0x100d2569
lea eax, [ebp - 0x10]
push eax
call fcn.100d1e4d
jmp 0x100d2572
lea eax, [ebp - 0x10]
push eax
call fcn.100d1ee8
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x100d25e2
mov eax, dword [0x100e988c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x100e9580
call fcn.100d2467
add esp, 0xc
test al, al
je 0x100d25e2
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x100d25ad
cmp word [eax], di
je 0x100d25ad
lea eax, [ebp - 0x10]
push eax
call fcn.100d1e4d
pop ecx
jmp 0x100d25e4
lea eax, [ebp - 0x10]
push eax
call fcn.100d1ee8
jmp 0x100d25aa
mov eax, dword [edi]
test eax, eax
je 0x100d25cf
cmp word [eax], dx
je 0x100d25cf
lea eax, [ebp - 0x10]
push eax
call fcn.100d1e02
pop ecx
jmp 0x100d25e2
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 0x100d26ad
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100d22ec
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100d26ad
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x100d26ad
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x100d26ad
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100d263a
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.100c6df9
test ebx, ebx
je 0x100d26a8
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.100c6df9
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100d26ad
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 0x100d26ad
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100cd5da
add esp, 0x10
xor eax, eax
inc eax
jmp 0x100d26af
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10096753
leave
ret
Function at 0x100d66e5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.100d6661
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100d6854
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100d6854
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100d6809
jg 0x100d6741
test eax, eax
je 0x100d67ff
push 1
push 0x1000
call fcn.100c66b0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100d6764
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100d67f6
push 0x8000
push ebx
call fcn.100d55c6
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100d678d
jg 0x100d6788
cmp ecx, 0x1000
jb 0x100d678d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100c7b11
add esp, 0x10
cmp eax, 0xffffffff
je 0x100d67d2
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100d6788
jl 0x100d67b9
test ecx, ecx
jne 0x100d677a
push dword [ebp - 0xc]
push ebx
call fcn.100d55c6
push esi
call fcn.100c6710
add esp, 0xc
xor ebx, ebx
jmp 0x100d6862
cmp byte [edi + 0x24], 0
je 0x100d67e9
cmp dword [edi + 0x20], 5
jne 0x100d67e9
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100d67f4
mov ebx, dword [edi + 0x18]
jmp 0x100d67f6
xor ebx, ebx
push esi
call fcn.100c6710
pop ecx
jmp 0x100d6862
test ecx, ecx
jg 0x100d67cb
jl 0x100d6809
test eax, eax
jae 0x100d67cb
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100c3b72
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100d6829
cmp byte [edi + 0x1c], 0
je 0x100d67cb
jmp 0x100d685a
push ebx
call fcn.100d0418
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100d67cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100d6862
cmp byte [edi + 0x1c], 0
je 0x100d685f
mov ebx, dword [edi + 0x18]
jmp 0x100d6862
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100c3b72
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100d8050
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100d807d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100d807d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402fb0
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

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

Disassembly:
mov ecx, dword [0x58a424]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40b84b
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b6a9
mov eax, 0x7000000
jmp 0x40b6b1
test eax, eax
je 0x40b826
mov dword [esp + 0x34], eax
mov ecx, dword [0x58a424]
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, [0x562bc0]
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 0x40b83e
cmp edx, 0x21
jae 0x40b832
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 [0x4eaa88]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x4eaad0]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40b801
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x4eab08]
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 0x412f30
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x58a424]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41312e
sub esp, 0x18
mov eax, dword [0x58a354]
test eax, eax
jne 0x413117
nop
nop
lea eax, [0x58a344]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x58a348]
test eax, eax
je 0x412f78
cmp dword [eax + 8], 0xcc
jne 0x412fee
mov edx, dword [0x58a34c]
test edx, edx
jne 0x412fd0
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x58ca10]
mov dword [esp + 8], eax
call sym.runtime.persistentalloc
mov eax, dword [esp + 0xc]
mov dword [0x58a34c], eax
mov ecx, dword [0x58a350]
mov dword [eax], ecx
mov eax, dword [0x58a34c]
mov dword [0x58a350], eax
movzx eax, byte [0x58a7a0]
test al, al
jne 0x412fd0
xor eax, eax
jmp 0x4130e8
mov edx, dword [0x58a34c]
mov ebx, dword [edx + 4]
mov dword [0x58a34c], ebx
mov ebx, dword [0x58a348]
mov dword [edx + 4], ebx
mov dword [0x58a348], edx
mov edx, dword [0x58a348]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x4130c7
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 [0x58a4f0]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x413040
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x413080
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, [0x58a344]
mov dword [esp], eax
call sym.runtime.unlock2
nop
lea eax, [0x58a340]
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, [0x562210]
movzx ebx, byte [edx + eax]
lea ebp, [0x58a7a0]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x412fd0
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 0x4130d1
mov ecx, 5
call sym.runtime.panicIndex
lea eax, [0x4c89c8]
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 0x417eb0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x58a424]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x417f39
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 0x417f1e
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x417f22
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, [0x4c89e0]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime._gcCPULimiterState_.update