joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100374b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x1003ce50
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
movzx eax, byte [0x100bdab8]
test al, al
je 0x10037681
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100374fc
cmp eax, 3
jne 0x1003767a
mov ebx, dword [0x100bdabc]
test ebx, ebx
je 0x1003767a
mov dword [ebp - 0x20], 0
jmp 0x10037527
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x10037558
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x100376cb
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10037520
push 0
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x10037520
test byte [ebp - 0x20], 1
je 0x1003767a
mov ebx, dword [0x100bdabc]
test ebx, ebx
je 0x1003767a
mov dword [ebp - 0x20], 0
jmp 0x10037587
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x100375b8
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x100376cb
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10037580
push 0
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x10037580
test byte [ebp - 0x20], 1
je 0x1003767a
mov ebx, dword [0x100bdabc]
test ebx, ebx
je 0x1003767a
mov dword [ebp - 0x20], 0
jmp 0x100375e7
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x10037618
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x100376cb
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100375e0
push 0
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x100375e0
test byte [ebp - 0x20], 1
je 0x1003767a
mov ebx, dword [0x100bdabc]
test ebx, ebx
je 0x1003767a
mov dword [ebp - 0x20], 0
jmp 0x10037647
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x10037674
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x100376cb
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10037640
push 0
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x10037640
test byte [ebp - 0x20], 1
jne 0x10037694
movzx eax, byte [0x10096b80]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov ebx, dword [0x100bdabc]
jmp 0x1003769f
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x1003767a
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x100376cb
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1003769c
push 0
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call edi
add esp, 4
jmp 0x1003769c
mov dword [ebp - 0x10], 0
push 0x10082434
call sym.kso.dll_core::option::unwrap_failed::hdcacef950c458f65
add esp, 4
ud2
Function at 0x10039c60
Capabilities:
Resolve dns

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1b4
mov eax, dword [esp + 0x1cc]
mov esi, dword [esp + 0x1c8]
mov edi, dword [eax]
mov ebp, dword [eax + 4]
movzx ebx, word [eax + 8]
mov eax, dword [0x100bdaa4]
cmp eax, 3
jne 0x10039d4b
cmp ebp, 0x17f
ja 0x10039d5c
mov dword [esp + 4], ebx
lea ebx, [esp + 0x34]
push ebp
push edi
push ebx
call fcn.1006f790
add esp, 0xc
mov byte [esp + ebp + 0x34], 0
inc ebp
lea eax, [esp + 8]
push ebp
push ebx
push eax
call sym.kso.dll_core::ffi::c_str::CStr::from_bytes_with_nul::h17a93bb0a9488373
add esp, 0xc
cmp dword [esp + 8], 0
je 0x10039ce6
mov eax, dword [0x10080af0]
mov ecx, dword [0x10080af4]
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
mov dword [esi], 1
jmp 0x10039d6a
mov eax, dword [esp + 0xc]
xorps xmm0, xmm0
mov ecx, esp
mov dword [esp], 0
lea edx, [esp + 0x14]
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 0x24], xmm0
mov dword [esp + 0x1c], 1
push ecx
push edx
push 0
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x10039d34
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 1
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov dword [esi], ecx
jmp 0x10039d6a
mov eax, dword [esp]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov eax, dword [esp + 4]
mov word [esi + 0xc], ax
xor eax, eax
mov dword [esi], eax
jmp 0x10039d6a
call fcn.1007c590
cmp ebp, 0x17f
jbe 0x10039c9b
mov ecx, esi
mov edx, edi
push ebx
push ebp
call fcn.1007c680
add esp, 8
mov eax, esi
add esp, 0x1b4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10039d80
Capabilities:
Connect socket

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
movzx ecx, byte [eax]
cmp cl, 4
jne 0x10039de7
mov ebp, dword [eax + 4]
mov eax, dword [0x100bdaa4]
cmp eax, 3
jne 0x10039e9d
lea edi, [esp + 4]
push 1
push ebp
push edi
call sym.kso.dll_std::sys::pal::windows::net::Socket::new::he6ec90cf0cd337f0
add esp, 0xc
movzx eax, byte [esp + 4]
cmp al, 4
jne 0x10039e03
mov eax, dword [esp + 8]
cmp word [ebp], 0
mov dword [esp], eax
je 0x10039e1f
movups xmm0, xmmword [ebp + 4]
mov edx, dword [ebp + 0x18]
lea eax, [ebp + 0x14]
add ebp, 0x1c
mov ecx, 0x1c
mov bx, 0x17
jmp 0x10039e31
movzx edx, byte [eax + 3]
movzx edi, word [eax + 1]
mov eax, dword [eax + 4]
mov byte [esi + 3], dl
mov word [esi + 1], di
mov byte [esi], cl
mov dword [esi + 4], eax
jmp 0x10039e93
movzx ecx, byte [esp + 7]
movzx edi, word [esp + 5]
mov edx, dword [esp + 8]
mov byte [esi + 3], cl
mov word [esi + 1], di
mov byte [esi], al
mov dword [esi + 4], edx
jmp 0x10039e93
lea eax, [ebp + 2]
add ebp, 6
mov ecx, 0x10
mov bx, 2
xorps xmm0, xmm0
movzx ebp, word [ebp]
mov eax, dword [eax]
mov word [esp + 4], bx
rol bp, 8
mov word [esp + 6], bp
mov dword [esp + 8], eax
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], edx
push ecx
push edi
mov edi, dword [esp + 8]
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x10039e6c
mov dword [esi + 4], edi
mov byte [esi], 4
jmp 0x10039e93
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
mov edx, eax
shr eax, 0x18
mov byte [esi], 0
shr ecx, 8
shl edx, 0x18
mov byte [esi + 7], al
mov dword [esi + 1], edx
mov word [esi + 5], cx
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.1007c590
jmp 0x10039da8
Function at 0x1003a3c0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0xa0
xorps xmm0, xmm0
mov esi, ecx
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x80
lea ecx, [esp + 0x10]
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x10], xmm0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x1003a466
movzx ecx, word [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp ecx, 2
je 0x1003a47f
cmp ecx, 0x17
jne 0x1003a4a3
cmp eax, 0x1b
jbe 0x1003a4b9
movzx eax, word [esp + 0x12]
movups xmm0, xmmword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov word [esi], 1
rol ax, 8
movups xmmword [esi + 4], xmm0
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edx
mov word [esi + 0x1c], ax
lea esp, [ebp - 4]
pop esi
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov byte [esi + 4], 0
mov byte [esi + 7], 0
mov word [esi + 5], 0
mov dword [esi + 8], eax
jmp 0x1003a4ae
cmp eax, 0xf
jbe 0x1003a4ca
movzx ecx, word [esp + 0x12]
mov eax, dword [esp + 0x14]
mov word [esi], 0
rol cx, 8
mov dword [esi + 2], eax
mov word [esi + 6], cx
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov byte [esi + 4], 2
mov dword [esi + 8], 0x100829c0
mov word [esi], 2
lea esp, [ebp - 4]
pop esi
pop ebp
ret
push 0x100829a0
push 0x43
push 0x1008295c
call sym.kso.dll_core::panicking::panic::hd53872080d8d36e0
push 0x1008294c
push 0x42
push str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
call sym.kso.dll_core::panicking::panic::hd53872080d8d36e0
int3

Function at 0x1003a7a0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
mov edx, closesocket
mov esi, dword [esp + 0x30]
cmp eax, 0x7fffffff
cmovb edx, eax
cmp word [edi], 0
je 0x1003a7de
movups xmm0, xmmword [edi + 4]
mov eax, dword [edi + 0x18]
lea ebp, [edi + 0x14]
add edi, 0x1c
mov ebx, 0x1c
mov cx, 0x17
jmp 0x1003a7f0
lea ebp, [edi + 2]
add edi, 6
mov ebx, 0x10
mov cx, 2
xorps xmm0, xmm0
movzx edi, word [edi]
mov ebp, dword [ebp]
mov word [esp], cx
rol di, 8
mov word [esp + 2], di
mov dword [esp + 4], ebp
movups xmmword [esp + 8], xmm0
mov dword [esp + 0x18], eax
mov eax, esp
push ebx
push eax
push 0
push edx
push dword [esp + 0x48]
mov eax, dword [esp + 0x48]
push dword [eax]
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
je 0x1003a834
mov dword [esi + 4], eax
mov byte [esi], 4
jmp 0x1003a84a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov byte [esi], 0
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1003a860
Capabilities:
Connect socket

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
movzx eax, byte [ecx]
cmp al, 4
jne 0x1003a89b
mov ecx, dword [ecx + 4]
mov eax, dword [esp + 0x34]
cmp word [ecx], 0
je 0x1003a8b4
movups xmm0, xmmword [ecx + 4]
mov ebx, dword [ecx + 0x18]
lea edi, [ecx + 0x14]
add ecx, 0x1c
mov edx, 0x1c
mov bp, 0x17
jmp 0x1003a8c6
movzx edx, byte [ecx + 3]
movzx edi, word [ecx + 1]
mov ecx, dword [ecx + 4]
mov byte [esi + 3], dl
mov word [esi + 1], di
mov byte [esi], al
mov dword [esi + 4], ecx
jmp 0x1003a90a
lea edi, [ecx + 2]
add ecx, 6
mov edx, 0x10
mov bp, 2
xorps xmm0, xmm0
movzx ecx, word [ecx]
mov edi, dword [edi]
mov word [esp], bp
rol cx, 8
mov word [esp + 2], cx
mov dword [esp + 4], edi
movups xmmword [esp + 8], xmm0
mov dword [esp + 0x18], ebx
mov ecx, esp
push edx
push ecx
push dword [eax]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1003a8fb
mov byte [esi], 4
jmp 0x1003a90a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 4], eax
mov dword [esi], 0
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1003aac0
Capabilities:
Enumerate pe sections

Disassembly:
push edi
push esi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp word [edx], 0
je 0x1003aaf4
movups xmm0, xmmword [edx + 4]
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 0x18]
movzx edx, word [edx + 0x1c]
mov di, 0x17
movups xmmword [eax + 8], xmm0
mov dword [eax + 0x18], esi
rol dx, 8
mov esi, 0x1c
jmp 0x1003ab0f
mov ecx, dword [edx + 2]
movzx edx, word [edx + 6]
xorps xmm0, xmm0
mov esi, 0x10
mov di, 2
movlps qword [eax + 8], xmm0
rol dx, 8
mov word [eax], di
mov word [eax + 2], dx
mov dword [eax + 4], ecx
mov dword [eax + 0x1c], esi
pop esi
pop edi
ret
Function at 0x1003b8a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
mov eax, dword [0x100bd044]
mov esi, ecx
test eax, eax
je 0x1003b8c6
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x1003b8df
cmp dword [eax + 4], 0
je 0x1003b8df
add eax, 8
pop esi
pop edi
ret
push 0x100bd044
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jae 0x1003b8ba
mov eax, dword [0x100bd044]
test eax, eax
je 0x1003b976
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x1003b993
mov edi, eax
test eax, eax
jne 0x1003b93f
movzx eax, byte [sym.kso.dll___rust_no_alloc_shim_is_unstable]
push 4
push 0x10
call sym.kso.dll___rust_alloc
add esp, 8
test eax, eax
je 0x1003b9a7
mov dword [eax], 0x100bd044
mov dword [eax + 4], 0
mov edi, eax
mov eax, dword [0x100bd044]
test eax, eax
je 0x1003b998
dec eax
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test esi, esi
je 0x1003b95f
mov eax, dword [esi]
xor ecx, ecx
mov edx, 0
mov dword [esi], 0
cmp eax, 1
jne 0x1003b963
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
jmp 0x1003b963
xor ecx, ecx
xor edx, edx
lea eax, [edi + 8]
mov dword [edi + 4], 1
mov dword [edi + 8], ecx
mov byte [edi + 0xc], dl
pop esi
pop edi
ret
push 0x100bd044
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jne 0x1003b8fd
xor eax, eax
pop esi
pop edi
ret
push 0x100bd044
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
jmp 0x1003b937
push 0x10
push 4
call sym.kso.dll_alloc::alloc::handle_alloc_error::h0f7631ec9b341a7f
Function at 0x1003b9b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
sub esp, 8
mov eax, dword [0x100bd054]
mov esi, ecx
test eax, eax
je 0x1003ba8a
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x1003b9dd
cmp dword [eax + 4], 0
mov edi, eax
jne 0x1003ba85
mov eax, dword [0x100bd054]
test eax, eax
je 0x1003baac
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x1003bac9
mov edi, eax
test eax, eax
jne 0x1003ba41
movzx eax, byte [sym.kso.dll___rust_no_alloc_shim_is_unstable]
push 4
push 0xc
call sym.kso.dll___rust_alloc
add esp, 8
test eax, eax
je 0x1003bae5
mov dword [eax], 0x100bd054
mov dword [eax + 4], 0
mov edi, eax
mov eax, dword [0x100bd054]
test eax, eax
je 0x1003bad3
dec eax
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test esi, esi
je 0x1003ba56
mov eax, dword [esi]
mov dword [esi], 0
test eax, eax
je 0x1003ba58
mov eax, dword [esi + 4]
jmp 0x1003ba58
xor eax, eax
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
test edx, edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [edi + 4], 1
mov dword [edi + 8], eax
je 0x1003ba85
test ecx, ecx
je 0x1003ba85
lock dec dword [ecx]
jne 0x1003ba85
lea ecx, [esp + 4]
call fcn.100097d0
add edi, 8
jmp 0x1003bacb
push 0x100bd054
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jae 0x1003b9d1
jmp 0x1003b9dd
push 0x100bd054
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jne 0x1003b9fb
xor edi, edi
mov eax, edi
add esp, 8
pop esi
pop edi
ret
push 0x100bd054
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
jmp 0x1003ba39
push 0xc
push 4
call sym.kso.dll_alloc::alloc::handle_alloc_error::h0f7631ec9b341a7f
int3
Function at 0x1003baf0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
mov eax, dword [0x100bd064]
mov esi, ecx
test eax, eax
je 0x1003bb16
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x1003bb2f
cmp byte [eax + 4], 0
je 0x1003bb2f
add eax, 5
pop esi
pop edi
ret
push 0x100bd064
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jae 0x1003bb0a
mov eax, dword [0x100bd064]
test eax, eax
je 0x1003bba2
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x1003bbbb
mov edi, eax
test eax, eax
jne 0x1003bb80
movzx eax, byte [sym.kso.dll___rust_no_alloc_shim_is_unstable]
push 4
push 8
call sym.kso.dll___rust_alloc
add esp, 8
test eax, eax
je 0x1003bbcf
mov dword [eax], 0x100bd064
mov byte [eax + 4], 0
mov edi, eax
mov eax, dword [0x100bd064]
test eax, eax
je 0x1003bbc0
dec eax
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ecx, ecx
test esi, esi
je 0x1003bb95
cmp byte [esi], 0
mov byte [esi], 0
movzx eax, byte [esi + 1]
cmove eax, ecx
mov ecx, eax
lea eax, [edi + 5]
mov byte [edi + 4], 1
mov byte [edi + 5], cl
pop esi
pop edi
ret
push 0x100bd064
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jne 0x1003bb45
xor eax, eax
pop esi
pop edi
ret
push 0x100bd064
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
jmp 0x1003bb78
push 8
push 4
call sym.kso.dll_alloc::alloc::handle_alloc_error::h0f7631ec9b341a7f
int3
Function at 0x1003bbe0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov eax, dword [0x100bd074]
test eax, eax
je 0x1003bc02
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x1003bc1b
cmp byte [eax + 4], 0
je 0x1003bc1b
add eax, 5
pop esi
ret
push 0x100bd074
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jae 0x1003bbf7
mov eax, dword [0x100bd074]
test eax, eax
je 0x1003bc91
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x1003bcaa
mov esi, eax
test eax, eax
jne 0x1003bc6c
movzx eax, byte [sym.kso.dll___rust_no_alloc_shim_is_unstable]
push 4
push 8
call sym.kso.dll___rust_alloc
add esp, 8
test eax, eax
je 0x1003bcbd
mov dword [eax], 0x100bd074
mov byte [eax + 4], 0
mov esi, eax
mov eax, dword [0x100bd074]
test eax, eax
je 0x1003bcae
dec eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [esp + 8]
xor ecx, ecx
test eax, eax
je 0x1003bc85
cmp byte [eax], 0
mov byte [eax], 0
movzx eax, byte [eax + 1]
cmove eax, ecx
mov ecx, eax
mov byte [esi + 4], 1
lea eax, [esi + 5]
mov byte [esi + 5], cl
pop esi
ret
push 0x100bd074
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jne 0x1003bc31
xor eax, eax
pop esi
ret
push 0x100bd074
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
jmp 0x1003bc64
push 8
push 4
call sym.kso.dll_alloc::alloc::handle_alloc_error::h0f7631ec9b341a7f
int3
Function at 0x1003bcd0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
sub esp, 8
mov eax, dword [0x100bd084]
test eax, eax
je 0x1003bdab
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x1003bcfa
cmp dword [eax + 4], 0
mov esi, eax
jne 0x1003bda1
mov eax, dword [0x100bd084]
test eax, eax
je 0x1003bdd4
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x1003bdf1
mov esi, eax
test eax, eax
jne 0x1003bd5e
movzx eax, byte [sym.kso.dll___rust_no_alloc_shim_is_unstable]
push 4
push 0xc
call sym.kso.dll___rust_alloc
add esp, 8
test eax, eax
je 0x1003be0c
mov dword [eax], 0x100bd084
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x100bd084]
test eax, eax
je 0x1003bdfa
dec eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1003bdcd
mov eax, dword [ecx + 4]
cmp dword [ecx], 0
mov dword [ecx], 0
je 0x1003bdcd
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
test edx, edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esi + 4], 1
mov dword [esi + 8], eax
je 0x1003bda1
test ecx, ecx
je 0x1003bda1
lock dec dword [ecx]
jne 0x1003bda1
lea ecx, [esp + 4]
call fcn.10009890
add esi, 8
mov eax, esi
add esp, 8
pop esi
ret
push 0x100bd084
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jae 0x1003bcee
jmp 0x1003bcfa
call sym.kso.dll_std::sync::mpmc::context::Context::new::h44efc00a43f5397c
jmp 0x1003bd74
push 0x100bd084
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jne 0x1003bd18
xor esi, esi
mov eax, esi
add esp, 8
pop esi
ret
push 0x100bd084
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
jmp 0x1003bd56
push 0xc
push 4
call sym.kso.dll_alloc::alloc::handle_alloc_error::h0f7631ec9b341a7f
int3
Function at 0x1003be20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
sub esp, 8
mov eax, dword [0x100bd094]
mov esi, ecx
test eax, eax
je 0x1003befa
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x1003be4d
cmp dword [eax + 4], 0
mov edi, eax
jne 0x1003bef5
mov eax, dword [0x100bd094]
test eax, eax
je 0x1003bf1c
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x1003bf39
mov edi, eax
test eax, eax
jne 0x1003beb1
movzx eax, byte [sym.kso.dll___rust_no_alloc_shim_is_unstable]
push 4
push 0xc
call sym.kso.dll___rust_alloc
add esp, 8
test eax, eax
je 0x1003bf55
mov dword [eax], 0x100bd094
mov dword [eax + 4], 0
mov edi, eax
mov eax, dword [0x100bd094]
test eax, eax
je 0x1003bf43
dec eax
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test esi, esi
je 0x1003bec6
mov eax, dword [esi]
mov dword [esi], 0
test eax, eax
je 0x1003bec8
mov eax, dword [esi + 4]
jmp 0x1003bec8
xor eax, eax
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
test edx, edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [edi + 4], 1
mov dword [edi + 8], eax
je 0x1003bef5
test ecx, ecx
je 0x1003bef5
lock dec dword [ecx]
jne 0x1003bef5
lea ecx, [esp + 4]
call fcn.10009810
add edi, 8
jmp 0x1003bf3b
push 0x100bd094
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jae 0x1003be41
jmp 0x1003be4d
push 0x100bd094
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jne 0x1003be6b
xor edi, edi
mov eax, edi
add esp, 8
pop esi
pop edi
ret
push 0x100bd094
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
jmp 0x1003bea9
push 0xc
push 4
call sym.kso.dll_alloc::alloc::handle_alloc_error::h0f7631ec9b341a7f
int3