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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x48
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov edi, dword [edx]
mov ebp, dword [edx + 4]
mov dword [esp + 0x1c], edx
call 0x4663a1
pop eax
mov dword [esp + 0x14], eax
mov edx, ecx
lea esi, [ebx + 0x1b]
dec ebp
inc edi
mov byte [ebx + 0x1a], 4
lea ecx, [edx + 0x100]
mov dword [esp + 0xc], esi
lea esi, [edx + 0x78]
mov dword [esp + 0x10], ecx
lea ecx, [edx + 0xc]
mov dword [esp + 8], esi
mov dword [esp + 0x18], ecx
jmp 0x4663fe
movzx eax, bl
mov ebx, dword [esp + 0x60]
mov ecx, edx
mov edx, ebx
push esi
push eax
call fcn.00466680
mov edx, dword [esp + 0x64]
add esp, 8
nop dword [eax + eax]
movzx eax, byte [ebx + 0x1a]
dec ebp
inc edi
cmp al, 4
jne 0x466587
cmp ebp, 0xffffffff
je 0x466570
mov eax, dword [esp + 0x1c]
mov dword [eax], edi
mov dword [eax + 4], ebp
movzx eax, byte [edx + 0x109]
movzx esi, byte [edi - 1]
cmp eax, 0xf
jne 0x466450
mov ecx, dword [esp + 0x18]
mov edx, esi
call fcn.00468bb0
mov edx, dword [esp + 0x5c]
cmp eax, 0x110000
je 0x4663f0
mov ecx, ebx
mov edx, eax
call fcn.004653c0
mov edx, dword [esp + 0x5c]
mov byte [edx + 0x109], 0xc
jmp 0x4663f0
mov bh, byte [esi + 0x58da20]
test bh, bh
jne 0x466466
mov ecx, eax
shl ecx, 8
mov bh, byte [ecx + esi + 0x58da20]
mov bl, bh
mov cl, bh
shr bl, 4
and cl, 0xf
mov byte [esp + 3], cl
je 0x4663cf
cmp al, 0xd
jne 0x466493
mov ecx, edx
mov edx, dword [esp + 0x60]
push esi
push 8
call fcn.00466680
mov edx, dword [esp + 0x64]
add esp, 8
cmp bh, 0x10
jb 0x4664af
mov ecx, edx
mov edx, dword [esp + 0x60]
movzx eax, bl
push esi
push eax
call fcn.00466680
mov edx, dword [esp + 0x64]
add esp, 8
movzx eax, byte [esp + 3]
mov ebx, dword [esp + 0x60]
dec eax
cmp eax, 0xc
ja 0x466511
mov eax, dword [eax*4 + 0x466648]
add eax, dword [esp + 0x14]
jmp eax
movzx eax, byte [esp + 3]
mov byte [edx + 0x109], al
jmp 0x4663f0
cmp dword [ebx + 8], 0
je 0x466617
movzx eax, byte [ebx + 0xc]
mov edx, dword [esp + 4]
lea ecx, [ebx + 0xd]
jmp 0x466599
cmp dword [ebx + 8], 0
je 0x466617
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0xc]
movsd xmm1, qword [ecx + 5]
movsd xmm0, qword [ecx]
mov ecx, dword [ebx + 8]
movsd qword [esp + 0x31], xmm1
movsd qword [esp + 0x2c], xmm0
mov dword [esp + 0x28], ecx
movsd xmm1, qword [esp + 0x31]
movsd xmm0, qword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
movsd qword [edx + 6], xmm1
movsd qword [edx + 1], xmm0
movsd xmm0, qword [ebx]
mov dword [esp + 0x44], ecx
mov dword [ebx], 0
mov dword [ebx + 4], 1
mov dword [ebx + 8], 0
mov byte [edx], al
movsd qword [esp + 0x20], xmm0
movsd xmm0, qword [esp + 0x20]
movsd qword [esp + 0x3c], xmm0
movsd xmm0, qword [esp + 0x3a]
movsd xmm1, qword [esp + 0x40]
movsd qword [edx + 0xe], xmm0
movsd qword [edx + 0x14], xmm1
jmp 0x466622
mov eax, dword [esp + 4]
mov dword [eax + 0x10], 0x80000000
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4acb70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov esi, esp
mov dword [esi + 0xc8], ebp
mov dword [esi + 0xcc], esp
mov dword [esi + 0xd8], 0xffffffff
mov dword [esi + 0xd4], 0x578af0
mov dword [esi + 0x14], ecx
mov eax, dword [ebp + 8]
mov ebx, 0x58eeac
mov dword [esi + 0x5c], edx
mov ecx, dword fs:[0]
mov dword [esi + 0xd0], ecx
lea ecx, [esi + 0xd0]
mov dword fs:[0], ecx
lea ecx, [edx + 0x28]
mov edi, dword [eax + 8]
shl edi, 4
cmp dword [edx + 0x28], 5
cmovne ebx, ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x70], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x78], ecx
lea ecx, [eax + edi]
mov dword [esi + 0x18], eax
mov dword [esi + 8], ecx
mov dword [esi + 0x7c], ecx
mov ecx, dword [ebx]
mov dword [esi + 0x58], ecx
mov ecx, dword [ebx + 4]
mov dword [esi + 0x40], ecx
mov ecx, dword [ebx + 8]
mov ebx, dword [edx + 0xfc]
mov edx, dword [edx + 0x100]
mov dword [esi + 0x3c], ecx
mov ecx, edi
call 0x4acc17
pop edi
mov dword [esi + 4], edx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x54], edi
mov edi, dword [ebp + 0x10]
add ecx, 0xfffffff0
mov edx, dword [edi + 0x24]
mov ebx, dword [edi + 0x28]
mov dword [esi + 0x34], edx
mov edx, dword [edi + 0x34]
mov edi, dword [edi + 0x30]
mov dword [esi + 0x50], ebx
lea ebx, [ebx*8]
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x20], edx
lea edx, [eax + 0x14]
mov dword [esi + 0x24], edi
jmp 0x4acc6c
cmp eax, dword [esi + 8]
je 0x4ace96
lea edi, [eax + 0x10]
mov dword [esi + 0x74], edi
mov ebx, dword [eax]
cmp ebx, 0x80000000
mov dword [esi + 0x10], ebx
je 0x4ace5d
mov dword [esi + 0x2c], edx
mov edx, dword [esi + 0x58]
mov ebx, dword [eax + 4]
movsd xmm0, qword [eax + 8]
mov eax, dword [esi + 0x14]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x28], edi
mov ecx, 0x58f258
mov edx, dword [edx*4 + 0x4acff0]
inc dword [eax + 0xc]
mov eax, str._rustc_aedd173a2c086e558c2b66d3743b344f977621a7librarycore_src_strpattern.rs
add edx, dword [esi + 0x54]
jmp edx
cmp dword [esi + 8], edi
je 0x4ace96
shr ecx, 4
jmp 0x4ace76
add edx, 0x10
dec ecx
je 0x4ace96
cmp dword [edx - 4], 0
je 0x4ace70
push dword [edx]
push 0
push dword [0x5fd290]
mov ebx, ecx
mov edi, edx
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, edi
mov ecx, ebx
jmp 0x4ace70
cmp dword [esi + 0x1c], 0
je 0x4acead
push dword [esi + 0x18]
push 0
push dword [0x5fd290]
call dword [sym.imp.kernel32.dll_HeapFree]
xor eax, eax
jmp 0x4acf28
mov ecx, dword [esi + 0xd0]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4b4370
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, edx
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
xor esi, esi
lea edx, [eax + edx*2]
movzx ebx, byte [eax + 1]
cmp byte [eax], ch
lea eax, [eax + 2]
lea edi, [esi + ebx]
jne 0x4b43c0
cmp esi, edi
ja 0x4b4428
cmp edi, dword [esp + 0x1c]
ja 0x4b4436
add esi, dword [esp + 0x18]
nop word [eax + eax]
test ebx, ebx
je 0x4b43c2
dec ebx
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x4b43b0
jmp 0x4b441f
ja 0x4b43c8
cmp eax, edx
mov esi, edi
jne 0x4b4383
mov edi, dword [esp + 0x24]
movzx ecx, cx
mov al, 1
add edi, ebp
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebp]
lea esi, [ebp + 1]
test dl, dl
js 0x4b4400
mov ebp, esi
sub ecx, edx
jns 0x4b4417
jmp 0x4b4421
cmp esi, edi
je 0x4b4446
movzx esi, byte [ebp + 1]
and edx, 0x7f
add ebp, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x4b4421
xor al, 1
cmp ebp, edi
jne 0x4b43e0
jmp 0x4b4421
xor eax, eax
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x5928f8
call fcn.0057f990
mov edx, dword [esp + 0x1c]
mov ecx, edi
push 0x5928f8
call fcn.0057f770
mov ecx, 0x5928e8
call fcn.0057fb10
Function at 0x4b77e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xffffffc0
sub esp, 0x240
mov esi, esp
mov dword [esi + 0x218], ebp
mov dword [esi + 0x21c], esp
mov dword [esi + 0x228], 0xffffffff
mov dword [esi + 0x224], 0x578b20
lea eax, [esi + 0x220]
mov edx, 0x40c
mov ecx, dword fs:[0]
mov dword [esi + 0x220], ecx
mov dword fs:[0], eax
mov dword [esi + 0x40], 0
mov dword [esi + 4], 0
mov dword [esi + 0x80], 0
xor ecx, ecx
movzx eax, byte [0x5fd2ec]
call fcn.0056a9f0
test eax, eax
je 0x4b7a11
mov dword [eax + 0x408], 0
mov dword [esi + 0x40], eax
mov dword [esi + 0x80], eax
xor ecx, ecx
mov edx, 0x180
movaps xmm1, xmmword [esi + 0xa0]
movaps xmm2, xmmword [esi + 0x90]
movaps xmm0, xmmword [esi + 0xb0]
mov eax, dword [esi + 0x78]
movaps xmmword [esi + 0x160], xmm1
movaps xmm1, xmmword [esi + 0x80]
movaps xmmword [esi + 0x150], xmm2
movaps xmm2, xmmword [esi + 0x70]
movaps xmmword [esi + 0x170], xmm0
movaps xmmword [esi + 0x140], xmm1
movaps xmm1, xmmword [esi + 0x60]
movaps xmmword [esi + 0x130], xmm2
movaps xmm2, xmmword [esi + 0x40]
movaps xmmword [esi + 0x120], xmm1
movaps xmm1, xmmword [esi + 0x50]
movaps xmmword [esi + 0x100], xmm2
movsd xmm2, qword [esi + 0x68]
movaps xmmword [esi + 0x110], xmm1
movsd xmm1, qword [esi + 0x70]
mov dword [esi + 0xc0], 1
mov dword [esi + 0xc4], 1
mov dword [esi + 0x180], 0
movsd qword [esi + 0x1ac], xmm2
movsd xmm2, qword [esi + 0x58]
mov dword [esi + 0x1bc], eax
mov eax, dword [esi + 0x3c]
movsd qword [esi + 0x1b4], xmm1
movsd xmm1, qword [esi + 0x60]
movsd qword [esi + 0x19c], xmm2
movsd xmm2, qword [esi + 0x40]
movsd qword [esi + 0x1a4], xmm1
movsd xmm1, qword [esi + 0x50]
movsd qword [esi + 0x184], xmm2
movsd xmm2, qword [esi + 0x2c]
movsd qword [esi + 0x194], xmm1
movsd xmm1, qword [esi + 0x48]
movsd qword [esi + 0x18c], xmm1
movsd xmm1, qword [esi + 0x34]
mov dword [esi + 0x1c0], 0
movsd qword [esi + 0x1ec], xmm2
movsd xmm2, qword [esi + 0x1c]
mov dword [esi + 0x1fc], eax
movsd qword [esi + 0x1f4], xmm1
movsd xmm1, qword [esi + 0x24]
movsd qword [esi + 0x1dc], xmm2
movsd xmm2, qword [esi + 4]
movsd qword [esi + 0x1e4], xmm1
movsd xmm1, qword [esi + 0x14]
movsd qword [esi + 0x1c4], xmm2
movsd qword [esi + 0x1d4], xmm1
movsd xmm1, qword [esi + 0xc]
movsd qword [esi + 0x1cc], xmm1
movzx eax, byte [0x5fd2ec]
call fcn.0056a9f0
test eax, eax
je 0x4b7a2c
mov edi, eax
and edi, 0xffffffc0
mov dword [edi + 0x3c], eax
add edi, 0x40
lea eax, [esi + 0xc0]
push 0x140
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x220]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 4
mov edx, 0x40c
mov dword [esi + 0x228], 1
call fcn.0057f230
jmp 0x4b7a45
mov ecx, 0x40
mov edx, 0x140
mov dword [esi + 0x228], 2
call fcn.0057f230
ud2
Function at 0x4b86e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x810
mov eax, dword [section..data]
test eax, eax
je 0x4b8715
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x4b872b
cmp dword [eax + 4], 0
mov edi, eax
je 0x4b872b
add edi, 8
jmp 0x4b88e6
mov ecx, section..data
call fcn.005878a0
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jae 0x4b8705
mov eax, dword [section..data]
test eax, eax
je 0x4b88ca
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x4b88e4
mov esi, eax
test eax, eax
jne 0x4b878f
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, 0xc
call fcn.0056a9f0
test eax, eax
je 0x4b8924
mov dword [eax], section..data
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [section..data]
test eax, eax
je 0x4b8906
dec eax
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov eax, dword [0x5fd1f8]
cmp eax, 3
jne 0x4b88f0
mov edi, dword [0x5fd1fc]
lock inc dword [edi]
jle 0x4b8904
movsd xmm0, qword [0x599688]
movsd xmm1, qword [0x599680]
mov eax, 0xfffffc00
nop word cs:[eax + eax]
nop dword [eax + eax]
movsd qword [esp + eax + 0x410], xmm0
movsd qword [esp + eax + 0x408], xmm1
add eax, 0x10
jne 0x4b87d0
lea eax, [esp + 8]
mov dword [esp + 4], esi
lea ecx, [esp + 0x408]
push 0x400
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, 0x4c0
call fcn.0056a9f0
test eax, eax
je 0x4b8915
mov esi, eax
and esi, 0xffffffc0
mov dword [esi + 0x3c], eax
lea ebx, [esi + 0x40]
lea eax, [esi + 0x48]
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], edi
push 0x400
lea ecx, [esp + 0x40c]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movaps xmm0, xmmword [0x589270]
movups xmmword [esi + 0x448], xmm0
mov dword [esi + 0x480], 0
mov eax, dword [edi + 0x100]
mov dword [esi + 0x40], eax
lock cmpxchg dword [edi + 0x100], ebx
je 0x4b888c
nop dword [eax]
mov dword [ebx], eax
lock cmpxchg dword [edi + 0x100], ebx
jne 0x4b8880
mov eax, dword [esp + 4]
mov ecx, dword [eax + 8]
cmp dword [eax + 4], 0
lea edi, [eax + 8]
mov dword [eax + 4], 1
mov dword [eax + 8], ebx
je 0x4b88e6
mov eax, dword [ecx + 0x410]
lea edx, [eax - 1]
mov dword [ecx + 0x410], edx
cmp dword [ecx + 0x40c], 0
jne 0x4b88e6
cmp eax, 1
jne 0x4b88e6
call fcn.0057ffd0
jmp 0x4b88e6
mov ecx, section..data
call fcn.005878a0
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
jne 0x4b8749
xor edi, edi
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00580280
mov edi, dword [0x5fd1fc]
lock inc dword [edi]
jg 0x4b87ac
ud2
mov ecx, section..data
call fcn.005878a0
jmp 0x4b8787
mov ecx, 0x40
mov edx, 0x480
call fcn.0057f230
mov ecx, 4
mov edx, 0xc
call fcn.0057f230
int3
Function at 0x4b8fa0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x578bc0
mov esi, ecx
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 0
push 0
push edx
call sub.shell32.dll_SHGetKnownFolderPath
test eax, eax
mov eax, dword [ebp - 0x20]
je 0x4b8ff9
push eax
call sub.ole32.dll_CoTaskMemFree
mov dword [esi], 0x80000000
jmp 0x4b9037
mov dword [ebp - 0x24], esi
push eax
call sub.kernel32.dll_lstrlenW
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x34]
push eax
call fcn.0055fdf0
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 0
push eax
call sub.ole32.dll_CoTaskMemFree
movsd xmm0, qword [ebp - 0x34]
mov eax, dword [ebp - 0x24]
movsd xmm1, qword [ebp - 0x2c]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4f1bc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov eax, dword [ecx + 0x14]
mov esi, ecx
lock dec dword [eax]
jne 0x4f1bd3
mov ecx, dword [esi + 0x14]
call fcn.004c73f0
cmp dword [esi + 8], 0
je 0x4f1bea
push dword [esi + 0xc]
push 0
push dword [0x5fd290]
call dword [sym.imp.kernel32.dll_HeapFree]
lea ecx, [esi + 0x268]
call fcn.004f1ca0
mov eax, dword [esi + 0x2d4]
cmp eax, 0x80000000
je 0x4f1c37
test eax, eax
je 0x4f1c1a
push dword [esi + 0x2d8]
push 0
push dword [0x5fd290]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esi + 0x2e0], 0
je 0x4f1c37
push dword [esi + 0x2e4]
push 0
push dword [0x5fd290]
call dword [sym.imp.kernel32.dll_HeapFree]
test dword [esi + 0x258], 0x7fffffff
jne 0x4f1c57
cmp dword [esi + 0x248], 2
jne 0x4f1c74
cmp dword [esi + 0xc8], 2
jne 0x4f1c93
pop esi
ret
push dword [esi + 0x25c]
push 0
push dword [0x5fd290]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esi + 0x248], 2
je 0x4f1c4c
lea ecx, [esi + 0xd8]
call fcn.004d9da0
lea ecx, [esi + 0x198]
call fcn.004d9da0
cmp dword [esi + 0xc8], 2
je 0x4f1c55
add esi, 0x18
mov ecx, esi
pop esi
jmp fcn.004d9da0
Function at 0x4f2aa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], esp
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x34], 0x579170
mov ebx, ecx
lea eax, [esi + 0x30]
mov ecx, dword fs:[0]
mov dword [esi + 0x30], ecx
lea ecx, [esi + 8]
mov dword fs:[0], eax
call fcn.00523470
cmp dword [esi + 8], 0x80000004
jne 0x4f2b2c
mov edi, dword [esi + 0xc]
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, 0x10
call fcn.0056a9f0
test eax, eax
je 0x4f2b69
mov dword [eax], 1
mov dword [eax + 4], 1
mov dword [eax + 8], edi
mov byte [eax + 0xc], bl
mov edx, 0x59c6a8
mov ecx, dword [esi + 0x30]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movsd xmm0, qword [esi + 8]
movsd xmm1, qword [esi + 0x10]
mov dword [esi + 0x38], 0
lea eax, [esi + 0x18]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
movsd qword [esi + 0x20], xmm1
movsd qword [esi + 0x18], xmm0
push 0x59c590
push 0x59aa0c
push eax
call fcn.0057fa90
add esp, 0xc
jmp 0x4f2b82
mov ecx, 4
mov edx, 0x10
mov dword [esi + 4], edi
mov dword [esi + 0x38], 1
call fcn.0057f230
ud2

Function at 0x4f2bd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], esp
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x34], 0x579180
mov ebx, ecx
lea eax, [esi + 0x30]
mov dword [esi + 4], edx
mov ecx, dword fs:[0]
mov dword [esi + 0x30], ecx
lea ecx, [esi + 8]
mov dword fs:[0], eax
call fcn.00523470
cmp dword [esi + 8], 0x80000004
jne 0x4f2c65
mov edi, dword [esi + 0xc]
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, 0x10
call fcn.0056a9f0
test eax, eax
je 0x4f2ca2
mov ecx, dword [esi + 4]
mov dword [eax], 1
mov dword [eax + 4], 1
mov dword [eax + 8], edi
mov byte [eax + 0xc], bl
mov edx, 0x59c6fc
mov byte [eax + 0xd], cl
mov ecx, dword [esi + 0x30]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movsd xmm0, qword [esi + 8]
movsd xmm1, qword [esi + 0x10]
mov dword [esi + 0x38], 0
lea eax, [esi + 0x18]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
movsd qword [esi + 0x20], xmm1
movsd qword [esi + 0x18], xmm0
push 0x59c590
push 0x59aa0c
push eax
call fcn.0057fa90
add esp, 0xc
jmp 0x4f2cbb
mov ecx, 4
mov edx, 0x10
mov dword [esi + 4], edi
mov dword [esi + 0x38], 1
call fcn.0057f230
ud2
Function at 0x4f2d00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], esp
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x34], 0x579190
mov ebx, ecx
lea eax, [esi + 0x30]
mov ecx, dword fs:[0]
mov dword [esi + 0x30], ecx
lea ecx, [esi + 8]
mov dword fs:[0], eax
call fcn.00523470
cmp dword [esi + 8], 0x80000004
jne 0x4f2d93
mov edi, dword [esi + 0xc]
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, 0x10
call fcn.0056a9f0
test eax, eax
je 0x4f2dd0
mov dword [eax], 1
mov dword [eax + 4], 1
mov dword [eax + 8], edi
mov word [eax + 0xc], bx
shr ebx, 0x10
mov edx, 0x59c654
mov byte [eax + 0xe], bl
mov ecx, dword [esi + 0x30]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movsd xmm0, qword [esi + 8]
movsd xmm1, qword [esi + 0x10]
mov dword [esi + 0x38], 0
lea eax, [esi + 0x18]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
movsd qword [esi + 0x20], xmm1
movsd qword [esi + 0x18], xmm0
push 0x59c590
push 0x59aa0c
push eax
call fcn.0057fa90
add esp, 0xc
jmp 0x4f2de9
mov ecx, 4
mov edx, 0x10
mov dword [esi + 4], edi
mov dword [esi + 0x38], 1
call fcn.0057f230
ud2
Function at 0x51caa0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov ebx, dword [esp + 0x34]
mov dword [esp + 8], ecx
lea eax, [ebx - 1]
cmp eax, edx
jae 0x51cc30
cmp ebx, edx
jae 0x51cc28
mov ecx, dword [esp + 8]
mov eax, ebx
mov dword [esp + 0x10], edx
shl eax, 4
lea eax, [eax + ecx - 0x10]
mov dword [esp + 0xc], eax
jmp 0x51cb1c
add esi, 0xfffffff0
mov ebp, esi
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov ch, byte [esp + 3]
movzx edx, word [esp + 4]
mov cl, byte [esp + 6]
mov ebx, dword [esp + 0x14]
mov dword [ebp], eax
mov dword [ebp + 4], esi
mov dword [ebp + 8], edi
mov byte [ebp + 0xc], ch
mov word [ebp + 0xd], dx
mov edx, dword [esp + 0x10]
mov byte [ebp + 0xf], cl
add dword [esp + 0xc], 0x10
inc ebx
cmp ebx, edx
je 0x51cc28
mov ebp, dword [esp + 8]
mov esi, ebx
mov dword [esp + 0x14], ebx
shl esi, 4
mov edi, dword [ebp + esi + 8]
mov eax, dword [ebp + esi - 8]
mov ecx, dword [ebp + esi + 4]
mov ebx, edi
sub ebx, eax
cmovb eax, edi
push eax
push dword [ebp + esi - 0xc]
mov dword [esp + 0x20], ecx
push ecx
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
movzx ecx, byte [ebp + esi + 0xc]
test eax, eax
mov edx, dword [esp + 0x10]
cmovne ebx, eax
xor eax, eax
mov byte [esp + 3], cl
sub cl, byte [ebp + esi - 4]
cmp cl, 0xff
sete al
xor ecx, ecx
test ebx, ebx
mov ebx, dword [esp + 0x14]
sets cl
cmovne eax, ecx
cmp al, 1
jne 0x51cb0e
add esi, dword [esp + 8]
mov ebp, dword [esp + 0xc]
dec ebx
mov eax, dword [esi]
movzx edx, byte [esi + 0xf]
movzx ecx, word [esi + 0xd]
movsd xmm0, qword [esi - 0x10]
movsd xmm1, qword [esi - 8]
mov dword [esp + 0x1c], eax
mov byte [esp + 6], dl
mov word [esp + 4], cx
movsd qword [esi], xmm0
movsd qword [esi + 8], xmm1
je 0x51cad9
nop word [eax + eax]
mov eax, dword [ebp - 8]
mov esi, edi
sub esi, eax
cmovb eax, edi
push eax
push dword [ebp - 0xc]
push dword [esp + 0x20]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
movzx ecx, byte [esp + 3]
test eax, eax
cmovne esi, eax
xor eax, eax
sub cl, byte [ebp - 4]
cmp cl, 0xff
sete al
xor ecx, ecx
test esi, esi
sets cl
cmove ecx, eax
cmp cl, 1
jne 0x51cade
lea eax, [ebp - 0x10]
dec ebx
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
test ebx, ebx
movsd qword [ebp + 8], xmm1
movsd qword [ebp], xmm0
mov ebp, eax
jne 0x51cbc0
mov ebp, dword [esp + 8]
jmp 0x51cade
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, str.assertion_failed:_offset___0__offset___len
mov edx, 0x2e
push 0x59f7f4
call fcn.0057f7d0
int3
Function at 0x525680
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
sub esp, 0x18
mov eax, dword [0x5fd05c]
test eax, eax
je 0x5256a8
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x5256be
cmp dword [eax + 4], 0
je 0x5256be
add eax, 8
add esp, 0x18
pop esi
ret
mov ecx, 0x5fd05c
call fcn.005878a0
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jae 0x52569a
mov eax, dword [0x5fd05c]
test eax, eax
je 0x525739
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x52574f
mov esi, eax
test eax, eax
jne 0x525716
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, 0xc
call fcn.0056a9f0
test eax, eax
je 0x525795
mov dword [eax], 0x5fd05c
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x5fd05c]
test eax, eax
je 0x525756
dec eax
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov ecx, 1
lock xadd dword [0x5fd058], ecx
test ecx, ecx
je 0x525762
lea eax, [esi + 8]
mov dword [esi + 4], 1
mov dword [esi + 8], ecx
add esp, 0x18
pop esi
ret
mov ecx, 0x5fd05c
call fcn.005878a0
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
jne 0x5256d4
xor eax, eax
add esp, 0x18
pop esi
ret
mov ecx, 0x5fd05c
call fcn.005878a0
jmp 0x52570e
mov ecx, esp
mov edx, 0x59f3e0
mov dword [esp], str.regex:_thread_ID_allocation_space_exhausted
mov dword [esp + 4], 1
mov dword [esp + 0x10], 0
mov dword [esp + 8], str._rustc_aedd173a2c086e558c2b66d3743b344f977621a7librarycore_src_strpattern.rs
mov dword [esp + 0xc], 0
call fcn.0057f680
mov ecx, 4
mov edx, 0xc
call fcn.0057f230
int3