joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b970
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
mov eax, ecx
push ebp
mov ebp, dword [esp + 0x18]
push esi
cmp byte [eax + 0xd], 0
lea ebx, [eax + 0x48]
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jge 0x46b9c2
mov eax, dword [ebx]
xor ecx, ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x1c], edx
test ebp, ebp
je 0x46b9b3
nop dword [eax]
mov eax, ecx
and eax, 3
mov al, byte [esp + eax + 0x1c]
xor byte [edi + ecx], al
inc ecx
cmp ecx, ebp
jb 0x46b9a0
mov eax, dword [ebx]
mov ecx, ebp
and ecx, 3
je 0x46b9bf
shl cl, 3
ror edx, cl
mov dword [eax + 8], edx
mov eax, dword [ebx]
push ebp
push edi
mov esi, dword [eax]
add esi, 0x38
mov ecx, esi
lea eax, [esi + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov dword [esp + 0x18], eax
call fcn.00407470
mov ebx, dword [ebx]
mov eax, dword [ebx]
cmp dword [eax + 0x50], 1
jne 0x46ba59
cmp dword [esi + 0x14], 0xf
mov edx, dword [esp + 0x1c]
mov edx, dword [edx]
jbe 0x46b9fd
mov eax, dword [esi]
mov esi, eax
add edx, eax
jmp 0x46b9ff
add edx, esi
mov eax, dword [esp + 0x10]
add eax, esi
cmp eax, edx
je 0x46ba59
nop dword [eax]
cmp dword [ebx + 0xc], 0
movzx edi, byte [eax]
movzx ebp, byte [edi + 0x485130]
je 0x46ba2d
mov ecx, dword [ebx + 0x10]
and edi, 0x3f
shl ecx, 6
or edi, ecx
jmp 0x46ba38
mov esi, 0xff
mov ecx, ebp
sar esi, cl
and edi, esi
mov dword [ebx + 0x10], edi
mov ecx, dword [ebx + 0xc]
add ecx, ecx
movzx ecx, byte [ebp + ecx*8 + 0x485230]
mov dword [ebx + 0xc], ecx
cmp ecx, 1
je 0x46ba6c
inc eax
cmp eax, edx
jne 0x46ba10
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
pop edi
pop esi
sub dword [eax + 0x18], ebp
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret 0xc
call fcn.00459a10
mov ecx, eax
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], 0x10
mov dword [eax + 4], ecx
xor eax, eax
pop ebx
add esp, 8
ret 0xc

Function at 0x46d670
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
cmp dword [edi + 8], 0
je 0x46d681
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x46d6c1
push dword [0x4a8e68]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46d6b0
mov edx, dword [eax + 4]
test edx, edx
je 0x46d6b0
xor eax, eax
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x46d6c4
inc eax
cmp eax, 2
jl 0x46d6a1
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x34]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x46d6e0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x46d6fa
add ecx, 0x24
call fcn.00405a90
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x46d740
push dword [0x4a8e68]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46d72f
mov edx, dword [eax + 4]
test edx, edx
je 0x46d72f
xor eax, eax
nop word [eax + eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x46d743
inc eax
cmp eax, 2
jl 0x46d720
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x5c]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x46d760
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x46d79c
mov esi, dword [esi + 0x2c]
test esi, esi
je 0x46d795
push ebx
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x46d794
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x46d794
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop ebx
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x46d7e0
push dword [0x4a8e68]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46d7cf
mov edx, dword [eax + 4]
test edx, edx
je 0x46d7cf
xor eax, eax
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x46d7e3
inc eax
cmp eax, 2
jl 0x46d7c0
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x38]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x46d800
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x46d81a
add ecx, 0x28
call fcn.0044b1e0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x46d860
push dword [0x4a8e68]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46d84f
mov edx, dword [eax + 4]
test edx, edx
je 0x46d84f
xor eax, eax
nop word [eax + eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x46d863
inc eax
cmp eax, 2
jl 0x46d840
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x78]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x46d880
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x46d8dc
mov esi, dword [ebx + 0x5c]
test esi, esi
je 0x46d8b6
push ebp
or ebp, 0xffffffff
mov eax, ebp
lock xadd dword [esi + 4], eax
jne 0x46d8b5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebp
dec ebp
jne 0x46d8b5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop ebp
mov ecx, dword [ebx + 0x54]
add ebx, 0x30
test ecx, ecx
je 0x46d8d5
mov edx, dword [ecx]
cmp ecx, ebx
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebx + 0x24], 0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x46d920
push dword [0x4a8e68]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46d90f
mov edx, dword [eax + 4]
test edx, edx
je 0x46d90f
xor eax, eax
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x46d924
inc eax
cmp eax, 2
jl 0x46d900
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret
mov al, byte [esi + 0x78]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret

Function at 0x46d940
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x46d985
mov esi, dword [ebx + 0x7c]
test esi, esi
je 0x46d976
push ebp
or ebp, 0xffffffff
mov eax, ebp
lock xadd dword [esi + 4], eax
jne 0x46d975
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebp
dec ebp
jne 0x46d975
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop ebp
lea ecx, [ebx + 0x28]
call fcn.0044b1e0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x46d9c5
push dword [0x4a8e68]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46d9b4
mov edx, dword [eax + 4]
test edx, edx
je 0x46d9b4
xor eax, eax
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x46d9c9
inc eax
cmp eax, 2
jl 0x46d9a5
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret
mov al, byte [esi + 0x90]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret
Function at 0x46d9e0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x46da3c
mov esi, dword [ebx + 0x64]
test esi, esi
je 0x46da16
push ebp
or ebp, 0xffffffff
mov eax, ebp
lock xadd dword [esi + 4], eax
jne 0x46da15
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebp
dec ebp
jne 0x46da15
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop ebp
mov ecx, dword [ebx + 0x5c]
add ebx, 0x38
test ecx, ecx
je 0x46da35
mov edx, dword [ecx]
cmp ecx, ebx
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebx + 0x24], 0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x46da80
push dword [0x4a8e68]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46da6f
mov edx, dword [eax + 4]
test edx, edx
je 0x46da6f
xor eax, eax
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x46da84
inc eax
cmp eax, 2
jl 0x46da60
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret
mov al, byte [esi + 0x80]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret

Function at 0x46daa0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x46dad1
mov ecx, dword [eax + 0x44]
lea esi, [eax + 0x20]
test ecx, ecx
je 0x46daca
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x24], 0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x46db11
push dword [0x4a8e68]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46db00
mov edx, dword [eax + 4]
test edx, edx
je 0x46db00
xor eax, eax
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x46db14
inc eax
cmp eax, 2
jl 0x46daf1
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x50]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x46db30
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x46db61
mov ecx, dword [eax + 0x4c]
lea esi, [eax + 0x28]
test ecx, ecx
je 0x46db5a
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x24], 0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x46dba1
push dword [0x4a8e68]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46db90
mov edx, dword [eax + 4]
test edx, edx
je 0x46db90
xor eax, eax
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x46dba4
inc eax
cmp eax, 2
jl 0x46db81
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x58]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x46dbc0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x46dbda
add ecx, 8
call fcn.0044af20
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x46dc20
push dword [0x4a8e68]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46dc0f
mov edx, dword [eax + 4]
test edx, edx
je 0x46dc0f
mov eax, 4
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x46dc23
inc eax
cmp eax, 6
jl 0x46dc00
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x98]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x46dc40
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x46dc5a
add ecx, 0x18
call fcn.0044b1e0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x46dca0
push dword [0x4a8e68]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46dc8f
mov edx, dword [eax + 4]
test edx, edx
je 0x46dc8f
mov eax, 4
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x46dca3
inc eax
cmp eax, 6
jl 0x46dc80
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x68]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x46dcc0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x46dd1c
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x46dcf6
push ebp
or ebp, 0xffffffff
mov eax, ebp
lock xadd dword [esi + 4], eax
jne 0x46dcf5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebp
dec ebp
jne 0x46dcf5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop ebp
mov ecx, dword [ebx + 0x64]
add ebx, 0x40
test ecx, ecx
je 0x46dd15
mov edx, dword [ecx]
cmp ecx, ebx
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebx + 0x24], 0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x46dd60
push dword [0x4a8e68]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46dd4f
mov edx, dword [eax + 4]
test edx, edx
je 0x46dd4f
mov eax, 4
nop
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x46dd64
inc eax
cmp eax, 6
jl 0x46dd40
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret
mov al, byte [esi + 0x88]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret
Function at 0x46dd80
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x46dd9a
add ecx, 8
call fcn.0044b110
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x46dde0
push dword [0x4a8e68]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46ddcf
mov edx, dword [eax + 4]
test edx, edx
je 0x46ddcf
mov eax, 4
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x46dde3
inc eax
cmp eax, 6
jl 0x46ddc0
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x90]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x46de00
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x46de45
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x46de36
push ebp
or ebp, 0xffffffff
mov eax, ebp
lock xadd dword [esi + 4], eax
jne 0x46de35
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebp
dec ebp
jne 0x46de35
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop ebp
lea ecx, [ebx + 0x18]
call fcn.0044b1e0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x46de90
push dword [0x4a8e68]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46de7f
mov edx, dword [eax + 4]
test edx, edx
je 0x46de7f
mov eax, 4
nop dword [eax + eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x46de94
inc eax
cmp eax, 6
jl 0x46de70
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret
mov al, byte [esi + 0x80]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret

Function at 0x46deb0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x46deca
add ecx, 8
call fcn.0044b4d0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x46df10
push dword [0x4a8e68]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46deff
mov edx, dword [eax + 4]
test edx, edx
je 0x46deff
mov eax, 4
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x46df13
inc eax
cmp eax, 6
jl 0x46def0
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x90]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x46df30
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x46df4a
add ecx, 8
call fcn.0044b570
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x46df90
push dword [0x4a8e68]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46df7f
mov edx, dword [eax + 4]
test edx, edx
je 0x46df7f
mov eax, 4
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x46df93
inc eax
cmp eax, 6
jl 0x46df70
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x98]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x46dfb0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47acd0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x49c100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x46e03c
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x46dfee
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
lea ecx, [esi + 0xe0]
cmp dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
je 0x46e00c
mov eax, dword [ecx + 0xc]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
lea ecx, [esi + 0x98]
call fcn.0044b1e0
lea ecx, [esi + 0x30]
call fcn.00449ed0
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x46e035
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x46e035
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x46e080
push dword [0x4a8e68]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46e06f
mov edx, dword [eax + 4]
test edx, edx
je 0x46e06f
xor eax, eax
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x46e091
inc eax
cmp eax, 2
jl 0x46e060
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 0x100]
mov byte [esi], al
mov dword [ecx], esi
jmp 0x46e079
Function at 0x46e0b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47acd0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x49c100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x46e10a
lea ecx, [esi + 0x80]
cmp dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
je 0x46e0fb
mov eax, dword [ecx + 0xc]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
lea ecx, [esi + 0x40]
call fcn.0044b1e0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x46e150
push dword [0x4a8e68]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46e13f
mov edx, dword [eax + 4]
test edx, edx
je 0x46e13f
xor eax, eax
nop word [eax + eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x46e161
inc eax
cmp eax, 2
jl 0x46e130
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 0xa0]
mov byte [esi], al
mov dword [ecx], esi
jmp 0x46e149

Function at 0x46e180
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47acd0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x49c100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x46e1da
lea ecx, [esi + 0xc0]
cmp dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
je 0x46e1cb
mov eax, dword [ecx + 0xc]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
lea ecx, [esi + 0x40]
call fcn.0044af20
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x46e220
push dword [0x4a8e68]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46e20f
mov edx, dword [eax + 4]
test edx, edx
je 0x46e20f
xor eax, eax
nop word [eax + eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x46e231
inc eax
cmp eax, 2
jl 0x46e200
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 0xe0]
mov byte [esi], al
mov dword [ecx], esi
jmp 0x46e219
Function at 0x46e250
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e740
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x49c100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebx + 8]
test edi, edi
je 0x46e310
lea ecx, [edi + 0xa0]
cmp dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
je 0x46e2a4
mov eax, dword [ecx + 0xc]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
mov esi, dword [edi + 0x9c]
or ebx, 0xffffffff
test esi, esi
je 0x46e2d0
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x46e2d0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x46e2d0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [edi + 0x94]
lea esi, [edi + 0x70]
test ecx, ecx
je 0x46e2f2
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x24], 0
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x46e306
lock xadd dword [ecx + 8], ebx
dec ebx
jne 0x46e306
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 8], 0
mov esi, dword [ebx + 4]
test esi, esi
je 0x46e350
push dword [0x4a8e68]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46e33f
mov edx, dword [eax + 4]
test edx, edx
je 0x46e33f
xor eax, eax
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x46e362
inc eax
cmp eax, 2
jl 0x46e330
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [ebx + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 0xc0]
mov byte [esi], al
mov dword [ecx], esi
jmp 0x46e349

Function at 0x46e380
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47acd0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x49c100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x46e3f0
lea ecx, [esi + 0xa8]
cmp dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
je 0x46e3cb
mov eax, dword [ecx + 0xc]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
lea ecx, [esi + 0x38]
call fcn.0044b110
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x46e3e9
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x46e3e9
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x46e430
push dword [0x4a8e68]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46e41f
mov edx, dword [eax + 4]
test edx, edx
je 0x46e41f
xor eax, eax
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x46e441
inc eax
cmp eax, 2
jl 0x46e410
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov dword [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 0xc8]
mov byte [esi], al
mov dword [ecx], esi
jmp 0x46e429