joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4020e0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using xxtea

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
cmp ebx, 1
push edi
jle 0x4021f1
mov eax, 0x34
mov edi, dword [esp + 0x1c]
cdq
idiv ebx
xor ecx, ecx
add eax, 6
mov dword [esp + 0x14], eax
xor eax, eax
mov al, byte [edi + ebx - 1]
jmp 0x402115
mov ebx, dword [esp + 0x20]
sub ecx, 0x61c88647
xor esi, esi
mov ebp, ecx
mov dword [esp + 0x10], ecx
shr ebp, 2
lea ecx, [ebx - 1]
and ebp, 3
test ecx, ecx
jbe 0x402189
xor ecx, ecx
mov bl, al
mov cl, byte [esi + edi + 1]
mov edx, ecx
mov dword [esp + 0x1c], ecx
shr edx, 3
shl bl, 4
xor dl, bl
mov ebx, eax
shr ebx, 5
shl cl, 2
xor bl, cl
mov ecx, esi
and ecx, 3
add dl, bl
mov ebx, dword [esp + 0x24]
xor ecx, ebp
mov cl, byte [ebx + ecx*4]
mov bl, byte [esp + 0x1c]
xor cl, al
mov al, byte [esp + 0x10]
xor al, bl
mov bl, byte [esi + edi]
add cl, al
xor dl, cl
mov ecx, dword [esp + 0x20]
add bl, dl
mov al, bl
mov byte [esi + edi], bl
and eax, 0xff
inc esi
dec ecx
cmp esi, ecx
jb 0x402130
xor ecx, ecx
mov bl, al
mov cl, byte [edi]
and esi, 3
mov edx, ecx
mov dword [esp + 0x1c], ecx
shr edx, 3
shl bl, 4
xor dl, bl
mov ebx, eax
shr ebx, 5
shl cl, 2
xor bl, cl
mov ecx, dword [esp + 0x24]
xor esi, ebp
add dl, bl
mov bl, byte [ecx + esi*4]
mov ecx, dword [esp + 0x10]
xor bl, al
mov al, cl
xor al, byte [esp + 0x1c]
add bl, al
mov eax, dword [esp + 0x20]
xor dl, bl
mov bl, byte [edi + eax - 1]
add bl, dl
mov edx, dword [esp + 0x14]
mov byte [edi + eax - 1], bl
mov al, bl
and eax, 0xff
dec edx
mov dword [esp + 0x14], edx
jne 0x402111
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp ebx, 0xffffffff
jge 0x4022f4
mov eax, 0x34
mov edi, dword [esp + 0x1c]
cdq
neg ebx
idiv ebx
mov dword [esp + 0x20], ebx
add eax, 6
mov ebp, eax
mov dword [esp + 0x14], eax
imul ebp, ebp, 0x9e3779b9
xor eax, eax
mov dword [esp + 0x10], ebp
mov al, byte [edi]
jmp 0x402229
mov ebx, dword [esp + 0x20]
shr ebp, 2
lea esi, [ebx - 1]
and ebp, 3
test esi, esi
jbe 0x40228c
xor ecx, ecx
mov edx, eax
mov cl, byte [esi + edi - 1]
mov bl, cl
mov dword [esp + 0x1c], ecx
shr edx, 3
shl bl, 4
xor dl, bl
mov bl, al
shr ecx, 5
shl bl, 2
xor cl, bl
mov ebx, dword [esp + 0x24]
add dl, cl
mov ecx, esi
and ecx, 3
xor ecx, ebp
mov cl, byte [ebx + ecx*4]
mov bl, byte [esp + 0x1c]
xor cl, bl
mov bl, byte [esp + 0x10]
xor bl, al
add cl, bl
mov bl, byte [esi + edi]
xor dl, cl
sub bl, dl
mov al, bl
mov byte [esi + edi], bl
and eax, 0xff
dec esi
jne 0x402236
mov ebx, dword [esp + 0x20]
xor ecx, ecx
mov edx, eax
mov cl, byte [edi + ebx - 1]
and esi, 3
mov bl, cl
mov dword [esp + 0x1c], ecx
shr edx, 3
shl bl, 4
xor dl, bl
mov bl, al
shr ecx, 5
shl bl, 2
xor cl, bl
mov bl, byte [esp + 0x1c]
add dl, cl
mov ecx, dword [esp + 0x24]
xor esi, ebp
mov ebp, dword [esp + 0x10]
add ebp, 0x61c88647
mov cl, byte [ecx + esi*4]
xor cl, bl
mov bl, byte [esp + 0x10]
xor bl, al
mov dword [esp + 0x10], ebp
add cl, bl
mov bl, byte [edi]
xor dl, cl
mov ecx, dword [esp + 0x14]
sub bl, dl
mov al, bl
mov byte [edi], bl
and eax, 0xff
dec ecx
mov dword [esp + 0x14], ecx
jne 0x402225
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x416180
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040b3d0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x41624b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x41624b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4161fe
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x416209
or bh, 8
and edi, 0x8000000
je 0x416224
mov eax, dword [0x47d61c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x41624b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416620
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x41664b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x41666f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x41668a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x41a81a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x41a85c
call fcn.0041ef51
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x41a85c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x41a853
xor eax, eax
jmp 0x41a864
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041a86a
pop edi
pop esi
pop ebx
ret 4
Function at 0x44a010
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0
push 0
push 3
push 0
push 3
push 0x40000000
push str.CONOUT_
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
mov dword [0x64f054], esi
je 0x44a05f
mov ecx, dword [0x64fd3c]
push 0x64fa58
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, esi
pop edi
pop esi
pop ecx
ret

Function at 0x4928d3
Capabilities:
Encode data using xor

Disassembly:
cmp esi, dword [0x2082ab2f]
push cs
insd dword es:[edi], dx
xchg edx, eax
pop es
or eax, 0x4497b282
je 0x492926
push ebp
test eax, 0x415f3c14
pop edi
inc ecx
xchg esp, eax
call 0xd6fbaea4
mov bl, byte [ebx + 0x37]
in al, 7
aaa
push esi
rcl byte [edi], cl
push edi
das
xor eax, dword [edx + 0x70]
jno 0x4928e8
jnp 0x492943
and ebx, dword [ebx - 0x3d]
aas
xor ebx, 0x5fc401d2
pop edi
cmp dword [eax + ecx - 0x14], ecx
xchg ebp, eax
je 0x49290b
xor dword ss:[eax - 0x54f0526e], esi
sbb esp, edx
cmp al, ah
adc esi, dword [edi - 0x30]
shl ecx, 0x50
adc dword [esp + eax - 0x1351242], eax
inc ecx
in eax, dx
xchg byte [ecx - 0x79dd25ae], dh
retf
test byte [esi + edi*4], al
in eax, dx
retf 0x41fe
mov esi, 0xe681a28e
hlt

Function at 0x525172
Capabilities:
Encode data using xor

Disassembly:
lock or ah, byte [edi + 0x16cfaf8c]
mov dl, 0xef
and eax, 0xf4899203
xor al, 0x86
inc esi
iretd
push esi
xchg esi, eax
jp 0x525101
pop ds
rcr byte [0x188de6f], 0x10
outsd dx, dword [esi]
fimul word [eax - 0x6999efff]
outsd dx, dword [esi]
fimul word [eax - 0x6999efff]
add ebx, edi
adc bl, byte [edx - 0x5c]
inc esp
mov cl, 0x5c
cmpsd dword [esi], dword es:[edi]
aam 0xf2
or eax, 0x1a009a73
add ecx, dword [edx + 0x61]
cmp bh, ch
enter 0xffffffffffffedbd, 0x6d
dec ecx
push ds
clc
sbb al, 0xe3
call 0xb8cc5a91
jecxz 0x52516b
add bl, dl
mov cs, word [edx + 0x5b]
jg 0x525201
insb byte es:[edi], dx
lodsb al, byte [esi]
inc ecx
stosb byte es:[edi], al
mov esi, 0x9e2ccf69
in eax, dx
mov eax, 0xddfa41a5
lcall 0x56ca, 0x3c6a5b6a
wait
pop edx
wait
bound eax, qword [ebx + 0x52]
mov ebx, 0xca01f75f
mov dh, 0x62
cmpsd dword [esi], dword es:[edi]
xchg ebx, eax
retf 0x9f1c
mov byte [eax + 0x50], dh
sti
popal
xor al, 0x58
push ds
in eax, 0x61
sbb dword [edi + 0xe3f313d], ecx
cmpsd dword [esi], dword es:[edi]
push dword [esi - 0x145166f]
ficomp dword [eax + 0x175bd280]
pushal
xchg edx, eax
ja 0x525264
out 0x44, al
push ss
mov ebp, dword [edx + 0x78]
mov eax, 0x315ca483
sub dword [ebx], edi
mov cl, 0xd9
xchg ecx, eax
dec ebx
cld
adc ch, byte [edi]
pushfd
stosd dword es:[edi], eax
out 0xdd, al
in al, dx
cmp al, 0x3a
dec ecx
jno 0x5252b0
pop es
inc ebx
mov al, byte [0x5e0a3fbf]
jno 0x52523b
rcl byte [ebx]
int3
js 0x525299
into
invalid
pushfd
out 0x61, eax
invalid
fisttp dword [eax + 0xeeaffd8]
xchg byte [edx], al
add al, byte [ecx + 0x5a]
popal
in eax, dx
mov byte [0x8074df57], al
invalid
Function at 0x402ef0
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

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

Disassembly:
mov ecx, dword [0x5fdb74]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40cb1b
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40c979
mov eax, 0x7000000
jmp 0x40c981
test eax, eax
je 0x40caf6
mov dword [esp + 0x34], eax
mov ecx, dword [0x5fdb74]
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, [0x5b7d40]
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 0x40cb0e
cmp edx, 0x21
jae 0x40cb02
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 [0x546584]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x5465f4]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40cad1
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x546634]
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 0x4160f0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x5fdb74]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4162ee
sub esp, 0x18
mov eax, dword [0x5fdab0]
test eax, eax
jne 0x4162d7
nop
nop
lea eax, [0x5fdaa0]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x5fdaa4]
test eax, eax
je 0x416138
cmp dword [eax + 8], 0xcc
jne 0x4161ae
mov edx, dword [0x5fdaa8]
test edx, edx
jne 0x416190
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x600b90]
mov dword [esp + 8], eax
call sym.runtime.persistentalloc
mov eax, dword [esp + 0xc]
mov dword [0x5fdaa8], eax
mov ecx, dword [0x5fdaac]
mov dword [eax], ecx
mov eax, dword [0x5fdaa8]
mov dword [0x5fdaac], eax
movzx eax, byte [0x5fdf00]
test al, al
jne 0x416190
xor eax, eax
jmp 0x4162a8
mov edx, dword [0x5fdaa8]
mov ebx, dword [edx + 4]
mov dword [0x5fdaa8], ebx
mov ebx, dword [0x5fdaa4]
mov dword [edx + 4], ebx
mov dword [0x5fdaa4], edx
mov edx, dword [0x5fdaa4]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x416287
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 [0x5fdc28]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x416200
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x416240
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, [0x5fdaa0]
mov dword [esp], eax
call sym.runtime.unlock2
nop
lea eax, [0x5fda9c]
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, [0x5b7220]
movzx ebx, byte [edx + eax]
lea ebp, [0x5fdf00]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x416190
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 0x416291
mov ecx, 5
call sym.runtime.panicIndex
lea eax, [0x4bc037]
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 0x42a150
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5fdb74]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42a294
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 0x42a27d
mov dword [esp + 0xc], eax
lea ecx, [eax + 0x4c]
mov dword [esp + 0x18], ecx
mov edx, dword [0x5fdb74]
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 0x42a1e7
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x42a212
movzx esi, word [ebp + 4]
cmp esi, edx
jne 0x42a1fc
cmp byte [ebp + 6], bl
je 0x42a207
cmp esi, edx
ja 0x42a20e
jne 0x42a1e5
cmp byte [ebp + 6], bl
jbe 0x42a1e5
jmp 0x42a20e
mov ebx, 1
jmp 0x42a214
xor ebx, ebx
jmp 0x42a214
xor ebx, ebx
mov byte [esp + 0xb], bl
test bl, bl
jne 0x42a232
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 [0x5fdb74]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x42a26d
movzx eax, byte [ebx + 0x65]
test al, al
je 0x42a26d
mov dword [ebx + 8], 0xfffffade
movzx eax, byte [esp + 0xb]
xor eax, 1
mov byte [esp + 0x28], al
add esp, 0x1c
ret
lea eax, [0x4bd564]
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 0x42a710
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5fdb74]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42a880
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x42a810
cmp cl, 1
je 0x42a7a2
cmp cl, 2
jne 0x42a869
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, [0x5c9f00]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x5c9ea4]
sub eax, dword [0x5c9e88]
nop
mov dword [0x5c9ea4], eax
mov eax, dword [0x5c9e94]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5c9e94], ecx
nop
lea eax, [0x5c9f00]
mov dword [esp], eax
call sym.runtime.unlock2
jmp 0x42a865
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, [0x5c9f00]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x5c9e7c]
sub eax, dword [0x5c9e60]
nop
mov dword [0x5c9e7c], eax
mov eax, dword [0x5c9e6c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5c9e6c], ecx
nop
lea eax, [0x5c9f00]
mov dword [esp], eax
call sym.runtime.unlock2
jmp 0x42a865
cmp cl, 3
jne 0x42a81b
mov byte [eax + 8], 1
jmp 0x42a865
cmp cl, 4
jne 0x42a869
nop
nop
lea eax, [0x5c9f00]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x5c9ef4]
sub eax, dword [0x5c9ed8]
nop
mov dword [0x5c9ef4], eax
mov eax, dword [0x5c9ee4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5c9ee4], ecx
nop
nop
lea eax, [0x5c9f00]
mov dword [esp], eax
call sym.runtime.unlock2
add esp, 0x14
ret
lea eax, [0x4b9d0b]
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 0x4304a0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x5fdb74]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x430586
sub esp, 0x2c
mov eax, dword [esp + 0x30]
mov dword [eax + 0x88], 0
lea ecx, [0x5fdeb0]
mov dword [esp], ecx
call sym.runtime_internal_atomic.Loadint32
mov eax, dword [esp + 4]
test eax, eax
je 0x430562
mov dword [esp + 8], 0
mov ecx, dword [0x5fdb74]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x30]
lea edi, [esp + 0x10]
xor eax, eax
call fcn.00467ef9
lea ecx, [sym.runtime._mLockProfile_.captureStack.func1]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 3
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
lea edx, [esp + 0x10]
mov dword [esp], edx
call sym.runtime.systemstack
mov eax, dword [esp + 8]
cmp eax, 0x20
jge 0x43055e
jae 0x43057b
mov ecx, dword [esp + 0x30]
mov dword [ecx + eax*4 + 8], 0
add esp, 0x2c
ret
lea eax, [sym.runtime._LostContendedRuntimeLock]
inc eax
mov ecx, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
add esp, 0x2c
ret
mov ecx, 0x20
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime._mLockProfile_.captureStack