joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4165f0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], ecx
cmp dword [esi], 0x40
jne 0x416623
mov edx, 0x2745
lea ecx, [ebp - 0x20]
call fcn.004156f0
mov edx, dword [ebp - 4]
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
cmp byte [esi + 4], 0
jne 0x4166ff
cmp dword [ebp + 0xc], 0
je 0x4166ae
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x4166ad
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0xc]
mov dword [ebp + 0x18], 0
push eax
mov eax, dword [ebp + 8]
push eax
push eax
push 0
push edx
call dword [sym.imp.MSWSOCK.dll_GetAcceptExSockaddrs]
mov eax, dword [ebp + 0x18]
cmp eax, dword [edi]
jbe 0x416699
mov edx, 0x2726
lea ecx, [ebp - 0x20]
call fcn.004156f0
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
jmp 0x4166ad
push eax
push dword [ebp - 4]
push dword [ebp + 0xc]
call fcn.005721d0
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov dword [edi], eax
pop edi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
cmp eax, 0xffffffff
jne 0x4166dc
mov edx, 0x2719
lea ecx, [ebp - 0x20]
call fcn.004156f0
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
pop esi
mov esp, ebp
pop ebp
ret
push 4
lea ecx, [ebp - 0x14]
push ecx
push 0x700b
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
mov ecx, esi
setne dl
call fcn.004164e0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x416710
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, ecx
push edi
mov edi, edx
cmp ebx, 0xffffffff
je 0x416855
cmp byte [ebp + 8], 0
je 0x416764
test byte [edi], 8
je 0x416764
xor eax, eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], eax
call fcn.00404520
or byte [edi], 8
lea eax, [ebp - 4]
push 4
push eax
push 0x80
push 0xffff
push ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
lea ecx, [ebp - 0x10]
setne dl
call fcn.004164e0
push esi
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp + 0xc]
mov esi, eax
test esi, esi
setne dl
call fcn.004164e0
test esi, esi
je 0x416803
mov edx, 0x2733
lea ecx, [ebp - 0x1c]
call fcn.004156f0
mov ecx, dword [ebp + 0xc]
movq xmm0, qword [eax]
mov edx, dword [eax + 8]
mov eax, dword [ecx]
movq qword [ebp - 0x10], xmm0
cmp eax, dword [ebp - 0x10]
jne 0x4167cc
mov eax, dword [edx + 8]
or eax, dword [edx + 0xc]
mov ecx, dword [ecx + 8]
jne 0x4167bc
cmp ecx, edx
sete al
test al, al
jne 0x41681c
jmp 0x4167cc
mov eax, dword [edx + 8]
cmp dword [ecx + 8], eax
jne 0x4167cc
mov eax, dword [edx + 0xc]
cmp dword [ecx + 0xc], eax
je 0x41681c
mov edx, 0x4d5
lea ecx, [ebp - 0x1c]
call fcn.004156f0
mov ecx, dword [ebp + 0xc]
movq xmm0, qword [eax]
mov edx, dword [eax + 8]
mov eax, dword [ecx]
movq qword [ebp - 0x10], xmm0
cmp eax, dword [ebp - 0x10]
jne 0x416803
mov eax, dword [edx + 8]
or eax, dword [edx + 0xc]
mov ecx, dword [ecx + 8]
jne 0x41680c
cmp ecx, edx
sete al
test al, al
jne 0x41681c
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 8]
cmp dword [ecx + 8], eax
jne 0x416803
mov eax, dword [edx + 0xc]
cmp dword [ecx + 0xc], eax
jne 0x416803
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x8004667e
push ebx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [edi], 0xfc
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp + 0xc]
mov esi, eax
test esi, esi
setne dl
call fcn.004164e0
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416860
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push 0
push 0
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 1
push edx
push ecx
call dword [sym.imp.WS2_32.dll_WSASend]
mov esi, dword [ebp + 0x10]
mov dl, 1
mov ecx, esi
mov edi, eax
call fcn.004164e0
mov ecx, dword [esi]
cmp ecx, 0x40
jne 0x41689f
mov edx, 0x2746
jmp 0x4168ac
cmp ecx, 0x4d2
jne 0x4168c2
mov edx, 0x274d
lea ecx, [ebp - 0x10]
call fcn.004156f0
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
test edi, edi
je 0x4168cf
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 8]
mov dword [esi], 0
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
cmp ecx, 0x25c5e09b
jne 0x4168ed
cmp eax, 0x8fafd21e
je 0x4168fc
cmp ecx, 0x257edf0d
jne 0x41690d
cmp eax, 0xb2ab117a
jne 0x41690d
xor al, al
mov dword [esi + 8], edi
mov byte [esi + 4], al
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov ecx, edi
push 0
mov eax, dword [eax + 0x18]
call eax
mov dword [esi + 8], edi
mov byte [esi + 4], al
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x417050
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ae2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x623fe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 0xc]
cmp dword [edi], 0xffffffff
je 0x4170c8
mov edx, 1
lea ecx, [ebp - 0x1c]
call fcn.004157a0
mov edx, dword [ebp + 0x1c]
mov esi, eax
mov eax, dword [ebp + 8]
movq xmm0, qword [esi]
movq qword [edx], xmm0
mov ecx, dword [esi + 8]
mov dword [edx + 8], ecx
movq xmm0, qword [esi]
mov ecx, dword [esi + 8]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 1
push 0
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov ebx, dword [ebp + 0x1c]
mov esi, eax
cmp esi, 0xffffffff
mov ecx, ebx
sete dl
call fcn.004164e0
cmp esi, 0xffffffff
jne 0x4170f8
or esi, esi
jmp 0x417116
cmp dword [ebp + 0x10], 0x17
jne 0x417116
push 4
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push eax
push 0x1b
push 0x29
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [ebp + 0x1c], esi
mov dword [ebp - 4], 0
cmp esi, 0xffffffff
jne 0x41712e
movq xmm0, qword [ebx]
mov ecx, dword [ebx + 8]
jmp 0x417194
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push ebx
push esi
push eax
mov ecx, dword [ecx + 4]
call fcn.00415fd0
cmp byte [eax + 4], 0
jne 0x417125
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x1c], 0xffffffff
mov dword [edi], esi
sub eax, 1
je 0x417167
sub eax, 1
je 0x417161
mov byte [edi + 4], 0
jmp 0x41716b
mov byte [edi + 4], 0x20
jmp 0x41716b
mov byte [edi + 4], 0x10
push dword [ebp + 8]
push ecx
lea ecx, [edi + 8]
call fcn.0041a430
lea ecx, [ebp - 0x1c]
call fcn.00404520
movq xmm0, qword [eax]
movq qword [ebx], xmm0
mov ecx, dword [eax + 8]
mov dword [ebx + 8], ecx
movq xmm0, qword [eax]
mov ecx, dword [eax + 8]
mov esi, dword [ebp + 8]
movq qword [esi], xmm0
mov dword [esi + 8], ecx
lea ecx, [ebp + 0x1c]
call fcn.00416a80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4172a0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebp + 8]
cmp dword [eax], 0xffffffff
jne 0x4172de
mov ecx, dword [edi + 4]
push 0
push 0x2719
push dword [ebp + 0x28]
call fcn.004161b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
cmp byte [ebp + 0xc], 0
je 0x4172fc
mov ecx, dword [edi + 4]
push 0
push 1
push dword [ebp + 0x28]
call fcn.004161b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
lea ecx, [esp + 0x14]
call fcn.00404520
mov esi, dword [ebp + 0x14]
push 1
push 0
push 0
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push esi
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov ebx, eax
lea ecx, [esp + 0x14]
cmp ebx, 0xffffffff
sete dl
call fcn.004164e0
cmp ebx, 0xffffffff
jne 0x417335
or ebx, ebx
jmp 0x417354
cmp esi, 0x17
jne 0x417354
push 4
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0x1b
push 0x29
push ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esi, dword [ebp + 0x10]
mov ecx, esi
call fcn.00416b00
mov dword [esi], ebx
cmp ebx, 0xffffffff
jne 0x41737f
push ecx
mov ecx, dword [edi + 4]
lea eax, [esp + 0x18]
push eax
push dword [ebp + 0x28]
call fcn.00416260
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
push dword [ebp + 0x28]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
mov eax, dword [ebp + 0x24]
push eax
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0x20]
push ebx
push dword [eax]
call dword [sym.imp.MSWSOCK.dll_AcceptEx]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
jne 0x4173cf
cmp eax, 0x3e5
je 0x4173cf
mov ecx, dword [edi + 4]
push esi
push eax
mov eax, dword [ebp + 0x28]
push eax
call fcn.004161b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 0x28]
mov ecx, dword [edi + 4]
push eax
call fcn.00416140
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x4173f0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov ecx, ebx
call fcn.00416b00
mov eax, dword [edi + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword fs:[0x2c]
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
mov ecx, dword [eax]
mov eax, dword [0x63502c]
cmp eax, dword [ecx + 4]
jle 0x41745f
push 0x63502c
call fcn.0056c533
add esp, 4
cmp dword [0x63502c], 0xffffffff
jne 0x41745f
call fcn.004044e0
push 0x63502c
call fcn.0056c4f4
add esp, 4
push 1
push 0
push 0
push dword [ebp + 0x18]
mov dword [esp + 0x2c], 0x635050
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov esi, eax
lea ecx, [esp + 0x14]
cmp esi, 0xffffffff
sete dl
call fcn.004164e0
cmp esi, 0xffffffff
jne 0x417496
or esi, esi
jmp 0x4174b6
cmp dword [ebp + 0x10], 0x17
jne 0x4174b6
push 4
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0x1b
push 0x29
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, ebx
call fcn.00416b00
mov dword [ebx], esi
cmp esi, 0xffffffff
jne 0x4174de
push ecx
mov ecx, dword [edi + 4]
lea eax, [esp + 0x18]
push eax
push dword [ebp + 0x24]
call fcn.00416260
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov ebx, dword [ebp + 0x24]
lea eax, [esp + 0x10]
push ebx
push eax
mov eax, dword [ebp + 0x20]
push eax
push eax
push 0
push dword [ebp + 0x1c]
mov dword [esp + 0x28], 0
push esi
push dword [ebp + 8]
call dword [sym.imp.MSWSOCK.dll_AcceptEx]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
jne 0x41752a
cmp eax, 0x3e5
je 0x41752a
mov ecx, dword [edi + 4]
push esi
push eax
push ebx
call fcn.004161b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [edi + 4]
push ebx
call fcn.00416140
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20

Function at 0x41a4e0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword fs:[0x2c]
push esi
mov esi, ecx
mov dword [ebp - 0xc], 0
mov byte [ebp - 8], 0
mov edx, dword [eax]
mov eax, dword [0x63502c]
cmp eax, dword [edx + 4]
jle 0x41a531
push 0x63502c
call fcn.0056c533
add esp, 4
cmp dword [0x63502c], 0xffffffff
jne 0x41a531
call fcn.004044e0
push 0x63502c
call fcn.0056c4f4
add esp, 4
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0x635050
pop esi
cmp eax, 0xffffffff
jne 0x41a55f
mov edx, 0x2719
lea ecx, [ebp - 0x18]
call fcn.004156f0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 4], eax
jmp 0x41a57f
push 4
push dword [ebp + 8]
push 4
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
lea ecx, [ebp - 0xc]
setne dl
call fcn.004164e0
cmp byte [ebp - 8], 0
jne 0x41a58b
mov esp, ebp
pop ebp
ret 4
mov edx, 0x5fd7e0
lea ecx, [ebp - 0xc]
call fcn.00405190
int3
Function at 0x41dfb0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aedf9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x623fe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
test byte [edi + 8], 1
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
jne 0x41e011
mov eax, dword [edi]
push dword [0x63646c]
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call ebx
test eax, eax
je 0x41e011
cmp dword [eax], esi
je 0x41e054
mov eax, dword [eax + 8]
test eax, eax
jne 0x41e006
push dword [0x63646c]
lea eax, [edi + 4]
mov dword [ebp - 0x20], eax
call ebx
test eax, eax
je 0x41e0d5
mov eax, dword [eax + 4]
test eax, eax
je 0x41e0d5
mov edx, dword [eax]
test edx, edx
je 0x41e0d5
mov dword [eax], 0
mov al, byte [edx]
cmp al, 0xa
jb 0x41e0cc
mov byte [edx + 0x28], al
jmp 0x41e0e5
cmp dword [eax + 4], 0
je 0x41e011
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp + 8], eax
mov dword [ecx], 0
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.0041ee50
add esp, 8
mov dword [ebp - 4], 3
mov eax, dword [ebp + 8]
test eax, eax
je 0x41e157
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edx
call fcn.00436253
add esp, 4
push 0x29
call fcn.00436213
mov edx, eax
add esp, 4
mov byte [edx + 0x28], 0xa
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x41e133
mov ecx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x41eb10
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x1c], 0
mov eax, dword [ecx]
mov dword [edx + 0x20], eax
mov dword [ecx], 0
jmp 0x41e135
xor edx, edx
push ecx
mov ecx, dword [edi]
push edx
mov ecx, dword [ecx + 8]
call fcn.00415ef0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call fcn.0041e540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41e170
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aee25
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x623fe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
test byte [edi + 8], 1
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
jne 0x41e1d1
mov eax, dword [edi]
push dword [0x63646c]
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call ebx
test eax, eax
je 0x41e1d1
cmp dword [eax], esi
je 0x41e20e
mov eax, dword [eax + 8]
test eax, eax
jne 0x41e1c6
mov dword [ebp - 4], 0xffffffff
push dword [0x63646c]
call ebx
test eax, eax
je 0x41e27d
mov eax, dword [eax + 4]
test eax, eax
je 0x41e27d
mov ecx, dword [eax]
test ecx, ecx
je 0x41e27d
mov dword [eax], 0
mov al, byte [ecx]
cmp al, 0xb
jb 0x41e274
mov byte [ecx + 0x2c], al
jmp 0x41e28d
cmp dword [eax + 4], 0
je 0x41e1d1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], fcn.0041ee70
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.0041ee70
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ecx
call fcn.00436253
add esp, 4
push 0x2d
call fcn.00436213
mov ecx, eax
add esp, 4
mov byte [ecx + 0x2c], 0xb
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x41e2da
mov eax, dword [ebp + 8]
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0x41ea60
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], fcn.0041ee70
mov dword [ecx + 0x24], eax
jmp 0x41e2dc
xor ecx, ecx
push ecx
push ecx
mov ecx, dword [edi]
mov ecx, dword [ecx + 8]
call fcn.00415ef0
mov dword [ebp - 0x1c], 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 4

Function at 0x41e540
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad726
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x623fe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x41e58c
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x20]
test eax, eax
je 0x41e585
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x41e5c8
push dword [0x63646c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41e5b8
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x41e5b8
cmp dword [ecx], 0
jne 0x41e5b8
mov al, byte [esi + 0x28]
mov byte [esi], al
mov dword [ecx], esi
jmp 0x41e5c1
push esi
call fcn.00436253
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
Function at 0x41ef60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push dword [0x63646c]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41efa2
mov eax, dword [eax + 4]
test eax, eax
je 0x41efa2
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x41efa2
mov dword [eax + 8], 0
mov al, byte [ecx]
cmp al, 7
jb 0x41ef99
mov byte [ecx + 0x1c], al
jmp 0x41efb2
push ecx
call fcn.00436253
add esp, 4
push 0x1d
call fcn.00436213
mov ecx, eax
add esp, 4
mov byte [ecx + 0x1c], 7
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x41efed
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 8], eax
movq xmm0, qword [ebp + 0x10]
movq qword [ecx + 0xc], xmm0
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0x14], eax
mov eax, esi
mov dword [ecx], 0x41f630
mov dword [esi], ecx
mov dword [ebp - 0xc], 0
pop esi
mov esp, ebp
pop ebp
ret 0x18
xor ecx, ecx
mov eax, esi
mov dword [esi], ecx
mov dword [ebp - 0xc], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x18

Function at 0x41f000
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aefb8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x623fe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x28]
mov dword [ebp - 4], 0
push dword [0x63646c]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41f06e
mov eax, dword [eax + 4]
test eax, eax
je 0x41f06e
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x41f06e
mov dword [eax + 8], 0
mov al, byte [ecx]
cmp al, 0xa
jb 0x41f065
mov byte [ecx + 0x28], al
jmp 0x41f07e
push ecx
call fcn.00436253
add esp, 4
push 0x29
call fcn.00436213
mov ecx, eax
add esp, 4
mov byte [ecx + 0x28], 0xa
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
test ecx, ecx
je 0x41f0de
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0x14], eax
movq xmm0, qword [ebp + 0x1c]
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0
movq qword [ecx + 0x18], xmm0
mov eax, dword [ebp + 0x24]
mov dword [ecx + 0x20], eax
mov dword [ecx], 0x41f730
jmp 0x41f0e0
xor ecx, ecx
mov dword [esi], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.0041f400
lea ecx, [ebp + 0xc]
call fcn.00417df0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x24
Function at 0x41f110
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aefee
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x623fe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x20]
mov dword [ebp - 4], 0
push dword [0x63646c]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41f180
mov eax, dword [eax + 4]
test eax, eax
je 0x41f180
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x41f180
mov dword [eax + 8], 0
mov al, byte [ecx]
cmp al, 8
jb 0x41f177
mov byte [ecx + 0x20], al
jmp 0x41f190
push ecx
call fcn.00436253
add esp, 4
push 0x21
call fcn.00436213
mov ecx, eax
add esp, 4
mov byte [ecx + 0x20], 8
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
test ecx, ecx
je 0x41f1d6
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0xc], eax
movq xmm0, qword [ebp + 0x14]
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
movq qword [ecx + 0x10], xmm0
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 0x18], eax
mov dword [ecx], 0x41f800
jmp 0x41f1d8
xor ecx, ecx
mov dword [edi], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.0041f340
mov dword [ebp - 4], 1
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x41f218
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x41f218
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x41f218
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x41f340
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ae7e6
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x623fe8]
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 0x41f3a4
mov dword [ebp - 4], 0
mov esi, dword [esi + 0xc]
test esi, esi
je 0x41f39d
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x41f39d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x41f39d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x41f3e2
push dword [0x63646c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41f3d2
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x41f3d2
cmp dword [ecx + 8], 0
jne 0x41f3d2
mov al, byte [esi + 0x20]
mov byte [esi], al
mov dword [ecx + 8], esi
jmp 0x41f3db
push esi
call fcn.00436253
add esp, 4
mov dword [edi + 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