joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419d60
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 0x419d93
mov edx, 0x2745
lea ecx, [ebp - 0x20]
call fcn.00418e70
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 0x419e6f
cmp dword [ebp + 0xc], 0
je 0x419e1e
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x419e1d
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 0x419e09
mov edx, 0x2726
lea ecx, [ebp - 0x20]
call fcn.00418e70
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
jmp 0x419e1d
push eax
push dword [ebp - 4]
push dword [ebp + 0xc]
call fcn.00588e80
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 0x419e4c
mov edx, 0x2719
lea ecx, [ebp - 0x20]
call fcn.00418e70
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.00419c50
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x419e80
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 0x419fc5
cmp byte [ebp + 8], 0
je 0x419ed4
test byte [edi], 8
je 0x419ed4
xor eax, eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], eax
call fcn.00404f30
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.00419c50
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.00419c50
test esi, esi
je 0x419f73
mov edx, 0x2733
lea ecx, [ebp - 0x1c]
call fcn.00418e70
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 0x419f3c
mov eax, dword [edx + 8]
or eax, dword [edx + 0xc]
mov ecx, dword [ecx + 8]
jne 0x419f2c
cmp ecx, edx
sete al
test al, al
jne 0x419f8c
jmp 0x419f3c
mov eax, dword [edx + 8]
cmp dword [ecx + 8], eax
jne 0x419f3c
mov eax, dword [edx + 0xc]
cmp dword [ecx + 0xc], eax
je 0x419f8c
mov edx, 0x4d5
lea ecx, [ebp - 0x1c]
call fcn.00418e70
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 0x419f73
mov eax, dword [edx + 8]
or eax, dword [edx + 0xc]
mov ecx, dword [ecx + 8]
jne 0x419f7c
cmp ecx, edx
sete al
test al, al
jne 0x419f8c
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 0x419f73
mov eax, dword [edx + 0xc]
cmp dword [ecx + 0xc], eax
jne 0x419f73
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.00419c50
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 0x419fd0
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.00419c50
mov ecx, dword [esi]
cmp ecx, 0x40
jne 0x41a00f
mov edx, 0x2746
jmp 0x41a01c
cmp ecx, 0x4d2
jne 0x41a032
mov edx, 0x274d
lea ecx, [ebp - 0x10]
call fcn.00418e70
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
test edi, edi
je 0x41a03f
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 0x41a05d
cmp eax, 0x8fafd21e
je 0x41a06c
cmp ecx, 0x257edf0d
jne 0x41a07d
cmp eax, 0xb2ab117a
jne 0x41a07d
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 0x41a7c0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6168
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x642ff4]
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 0x41a838
mov edx, 1
lea ecx, [ebp - 0x1c]
call fcn.00418f20
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.00419c50
cmp esi, 0xffffffff
jne 0x41a868
or esi, esi
jmp 0x41a886
cmp dword [ebp + 0x10], 0x17
jne 0x41a886
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 0x41a89e
movq xmm0, qword [ebx]
mov ecx, dword [ebx + 8]
jmp 0x41a904
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push ebx
push esi
push eax
mov ecx, dword [ecx + 4]
call fcn.00419740
cmp byte [eax + 4], 0
jne 0x41a895
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x1c], 0xffffffff
mov dword [edi], esi
sub eax, 1
je 0x41a8d7
sub eax, 1
je 0x41a8d1
mov byte [edi + 4], 0
jmp 0x41a8db
mov byte [edi + 4], 0x20
jmp 0x41a8db
mov byte [edi + 4], 0x10
push dword [ebp + 8]
push ecx
lea ecx, [edi + 8]
call fcn.0041dd60
lea ecx, [ebp - 0x1c]
call fcn.00404f30
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.0041a1f0
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 0x41aa10
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 0x41aa4e
mov ecx, dword [edi + 4]
push 0
push 0x2719
push dword [ebp + 0x28]
call fcn.00419920
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
cmp byte [ebp + 0xc], 0
je 0x41aa6c
mov ecx, dword [edi + 4]
push 0
push 1
push dword [ebp + 0x28]
call fcn.00419920
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
lea ecx, [esp + 0x14]
call fcn.00404f30
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.00419c50
cmp ebx, 0xffffffff
jne 0x41aaa5
or ebx, ebx
jmp 0x41aac4
cmp esi, 0x17
jne 0x41aac4
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.0041a270
mov dword [esi], ebx
cmp ebx, 0xffffffff
jne 0x41aaef
push ecx
mov ecx, dword [edi + 4]
lea eax, [esp + 0x18]
push eax
push dword [ebp + 0x28]
call fcn.004199d0
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 0x41ab3f
cmp eax, 0x3e5
je 0x41ab3f
mov ecx, dword [edi + 4]
push esi
push eax
mov eax, dword [ebp + 0x28]
push eax
call fcn.00419920
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.004198b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x41ab60
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.0041a270
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 [0x652a58]
cmp eax, dword [ecx + 4]
jle 0x41abcf
push 0x652a58
call fcn.005822ab
add esp, 4
cmp dword [0x652a58], 0xffffffff
jne 0x41abcf
call fcn.00404ef0
push 0x652a58
call fcn.0058226c
add esp, 4
push 1
push 0
push 0
push dword [ebp + 0x18]
mov dword [esp + 0x2c], 0x652a78
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.00419c50
cmp esi, 0xffffffff
jne 0x41ac06
or esi, esi
jmp 0x41ac26
cmp dword [ebp + 0x10], 0x17
jne 0x41ac26
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.0041a270
mov dword [ebx], esi
cmp esi, 0xffffffff
jne 0x41ac4e
push ecx
mov ecx, dword [edi + 4]
lea eax, [esp + 0x18]
push eax
push dword [ebp + 0x24]
call fcn.004199d0
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 0x41ac9a
cmp eax, 0x3e5
je 0x41ac9a
mov ecx, dword [edi + 4]
push esi
push eax
push ebx
call fcn.00419920
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [edi + 4]
push ebx
call fcn.004198b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20

Function at 0x41de10
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword fs:[0x2c]
push esi
mov esi, ecx
mov dword [ebp - 0x10], 0
mov byte [ebp - 0xc], 0
mov edx, dword [eax]
mov eax, dword [0x652a58]
cmp eax, dword [edx + 4]
jle 0x41de61
push 0x652a58
call fcn.005822ab
add esp, 4
cmp dword [0x652a58], 0xffffffff
jne 0x41de61
call fcn.00404ef0
push 0x652a58
call fcn.0058226c
add esp, 4
mov eax, dword [esi + 4]
mov dword [ebp - 8], 0x652a78
cmp eax, 0xffffffff
jne 0x41de8e
mov edx, 0x2719
lea ecx, [ebp - 0x1c]
call fcn.00418e70
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 8], eax
jmp 0x41deae
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 - 0x10]
setne dl
call fcn.00419c50
cmp byte [ebp - 0xc], 0
jne 0x41debb
pop esi
mov esp, ebp
pop ebp
ret 4
mov edx, 0x618160
lea ecx, [ebp - 0x10]
call fcn.00405ba0
int3
Function at 0x421740
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6c69
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x642ff4]
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 0x4217a1
mov eax, dword [edi]
push dword [0x653eb4]
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call ebx
test eax, eax
je 0x4217a1
cmp dword [eax], esi
je 0x4217e4
mov eax, dword [eax + 8]
test eax, eax
jne 0x421796
push dword [0x653eb4]
lea eax, [edi + 4]
mov dword [ebp - 0x20], eax
call ebx
test eax, eax
je 0x421865
mov eax, dword [eax + 4]
test eax, eax
je 0x421865
mov edx, dword [eax]
test edx, edx
je 0x421865
mov dword [eax], 0
mov al, byte [edx]
cmp al, 0xa
jb 0x42185c
mov byte [edx + 0x28], al
jmp 0x421875
cmp dword [eax + 4], 0
je 0x4217a1
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.004224e0
add esp, 8
mov dword [ebp - 4], 3
mov eax, dword [ebp + 8]
test eax, eax
je 0x4218e7
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.0043dbf0
add esp, 4
push 0x29
call fcn.0043dbb9
mov edx, eax
add esp, 4
mov byte [edx + 0x28], 0xa
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x4218c3
mov ecx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x4221e0
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 0x4218c5
xor edx, edx
push ecx
mov ecx, dword [edi]
push edx
mov ecx, dword [ecx + 8]
call fcn.00419670
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call fcn.00421cd0
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 0x421900
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6c95
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x642ff4]
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 0x421961
mov eax, dword [edi]
push dword [0x653eb4]
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call ebx
test eax, eax
je 0x421961
cmp dword [eax], esi
je 0x42199e
mov eax, dword [eax + 8]
test eax, eax
jne 0x421956
mov dword [ebp - 4], 0xffffffff
push dword [0x653eb4]
call ebx
test eax, eax
je 0x421a0d
mov eax, dword [eax + 4]
test eax, eax
je 0x421a0d
mov ecx, dword [eax]
test ecx, ecx
je 0x421a0d
mov dword [eax], 0
mov al, byte [ecx]
cmp al, 0xb
jb 0x421a04
mov byte [ecx + 0x2c], al
jmp 0x421a1d
cmp dword [eax + 4], 0
je 0x421961
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], fcn.00422500
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.00422500
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.0043dbf0
add esp, 4
push 0x2d
call fcn.0043dbb9
mov ecx, eax
add esp, 4
mov byte [ecx + 0x2c], 0xb
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x421a6a
mov eax, dword [ebp + 8]
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0x422130
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.00422500
mov dword [ecx + 0x24], eax
jmp 0x421a6c
xor ecx, ecx
push ecx
push ecx
mov ecx, dword [edi]
mov ecx, dword [ecx + 8]
call fcn.00419670
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 0x421cd0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4c26
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x642ff4]
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 0x421d1c
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x20]
test eax, eax
je 0x421d15
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 0x421d58
push dword [0x653eb4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x421d48
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x421d48
cmp dword [ecx], 0
jne 0x421d48
mov al, byte [esi + 0x28]
mov byte [esi], al
mov dword [ecx], esi
jmp 0x421d51
push esi
call fcn.0043dbf0
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 0x4225f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6dfe
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x642ff4]
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 [0x653eb4]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x422660
mov eax, dword [eax + 4]
test eax, eax
je 0x422660
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x422660
mov dword [eax + 8], 0
mov al, byte [ecx]
cmp al, 8
jb 0x422657
mov byte [ecx + 0x20], al
jmp 0x422670
push ecx
call fcn.0043dbf0
add esp, 4
push 0x21
call fcn.0043dbb9
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 0x4226b6
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], 0x422bc0
jmp 0x4226b8
xor ecx, ecx
mov dword [edi], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.004228d0
mov dword [ebp - 4], 1
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4226f8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4226f8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x4226f8
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 0x422710
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6e28
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x642ff4]
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 [0x653eb4]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42277e
mov eax, dword [eax + 4]
test eax, eax
je 0x42277e
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x42277e
mov dword [eax + 8], 0
mov al, byte [ecx]
cmp al, 0xa
jb 0x422775
mov byte [ecx + 0x28], al
jmp 0x42278e
push ecx
call fcn.0043dbf0
add esp, 4
push 0x29
call fcn.0043dbb9
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 0x4227ee
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], 0x422ca0
jmp 0x4227f0
xor ecx, ecx
mov dword [esi], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.00422990
lea ecx, [ebp + 0xc]
call fcn.0041b590
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 0x4228d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6676
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x642ff4]
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 0x422934
mov dword [ebp - 4], 0
mov esi, dword [esi + 0xc]
test esi, esi
je 0x42292d
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x42292d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x42292d
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 0x422972
push dword [0x653eb4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x422962
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x422962
cmp dword [ecx + 8], 0
jne 0x422962
mov al, byte [esi + 0x20]
mov byte [esi], al
mov dword [ecx + 8], esi
jmp 0x42296b
push esi
call fcn.0043dbf0
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
Function at 0x422990
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4229aa
add ecx, 8
call fcn.0041b590
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x4229f0
push dword [0x653eb4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4229e0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4229e0
cmp dword [ecx + 8], 0
jne 0x4229e0
mov al, byte [esi + 0x28]
mov byte [esi], al
mov dword [ecx + 8], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
push esi
call fcn.0043dbf0
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x4251a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4c26
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x642ff4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
push dword [eax + 4]
call fcn.00425a90
mov esi, dword [ebp + 8]
call fcn.00406120
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
call fcn.00406120
mov esi, dword [ebp + 8]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], edx
call fcn.00406120
sub eax, dword [esi + 0x10]
mov dword [esi + 0xcc], eax
mov dword [ebp - 4], 0
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x42522f
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x42522f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x42522f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc