joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48ef40
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x4fc00c]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
push edi
mov edi, dword [ebp + 0x1c]
mov eax, dword [esi + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp byte [ebp + 0x18], 0
push 0
je 0x48ef9a
mov ecx, dword [esi + 4]
push 0
push edi
call fcn.0048e100
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebx]
cmp eax, 0xffffffff
jne 0x48efc3
mov ecx, dword [esi + 4]
push 0x2719
push edi
call fcn.0048e100
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret 0x18
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], 0
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], 0
push ecx
push dword [ebp + 0x10]
push dword [esp + 0x24]
push eax
call dword [sym.imp.WS2_32.dll_WSARecv]
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x48f000
mov eax, 0x2746
jmp 0x48f00d
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test ebx, ebx
je 0x48f03a
cmp eax, 0x3e5
je 0x48f03a
push dword [esp + 0x14]
mov ecx, dword [esi + 4]
push eax
push edi
call fcn.0048e100
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esi + 4]
push edi
call fcn.0048e060
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret 0x18

Function at 0x48fd20
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6c5f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
xor edi, edi
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], edi
lea ebx, [esi + 0x18]
mov dword [ebp - 4], edi
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esi, 0x30
mov edx, 0xc1
mov eax, dword [esi]
test eax, eax
je 0x48fdca
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x48fda3
test edi, edi
je 0x48fd8c
mov dword [edi + 0x14], ecx
jmp 0x48fd8f
mov dword [ebp - 0x18], ecx
mov edi, dword [eax + 0x40]
mov dword [ebp - 0x14], edi
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x48fdca
test edi, edi
je 0x48fdb3
mov dword [edi + 0x14], ecx
jmp 0x48fdb6
mov dword [ebp - 0x18], ecx
mov edi, dword [eax + 0x48]
mov dword [ebp - 0x14], edi
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
add esi, 4
sub edx, 1
jne 0x48fd76
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x18]
call fcn.004933f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret
Function at 0x48fe10
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6cb5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4fc00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x14], 1
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov edx, dword [edi + 0x334]
shr esi, 3
add esi, dword [ebp + 8]
mov ecx, esi
lea eax, [edx + 1]
shl ecx, 6
mov dword [edi + 0x334], eax
add ecx, edx
mov eax, esi
shr eax, 2
add eax, 0x9e3779b9
add eax, ecx
xor esi, eax
mov eax, 0x15390949
mul esi
shr edx, 4
imul eax, edx, 0xffffff3f
add esi, eax
cmp dword [edi + esi*4 + 0x30], 0
lea edi, [edi + esi*4]
jne 0x48fef7
push 0x4c
call fcn.004be09e
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
push 0x4c
push 0
push esi
mov byte [ebp - 4], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.0048fa50
mov esi, dword [edi + 0x30]
mov ebx, eax
test esi, esi
je 0x48fef4
lea ecx, [esi + 0x44]
call fcn.004933f0
lea ecx, [esi + 0x3c]
call fcn.004933f0
lea eax, [esi + 0x20]
mov byte [ebp - 4], 2
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push 0x4c
push esi
call fcn.004be0d6
add esp, 8
mov dword [edi + 0x30], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x30]
mov dword [ecx], eax
mov dword [ebp - 4], 3
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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 0x48ff30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, ecx
push edi
push dword [0x501d58]
mov edi, dword [ebp + 8]
mov ebx, dword [eax + 0x14]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48ff60
cmp dword [eax], ebx
je 0x48ff95
mov eax, dword [eax + 8]
test eax, eax
jne 0x48ff55
xor ebx, ebx
mov eax, dword [edi]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test ebx, ebx
je 0x48ff9a
mov eax, dword [edi]
cmp byte [eax + 0x38], 0
jne 0x48ff9a
mov byte [eax + 0x38], 1
mov eax, dword [edi]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [eax + 4]
jmp 0x48ff62
mov eax, dword [edi]
cmp byte [eax + 0x38], 0
je 0x48ffea
mov dword [esi + 0x14], 0
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x48ffcd
mov dword [ecx + 0x14], esi
mov dword [eax + 0x40], esi
mov eax, dword [edi]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [eax + 0x3c], esi
mov dword [eax + 0x40], esi
mov eax, dword [edi]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov byte [eax + 0x38], 1
mov eax, dword [edi]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi]
mov dword [esi + 0x14], 0
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x49000f
mov dword [ecx + 0x14], esi
jmp 0x490012
mov dword [eax + 0x44], esi
mov dword [eax + 0x48], esi
mov esi, dword [edi]
mov edi, dword [ebp - 4]
mov edi, dword [edi + 0x14]
lea eax, [edi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push esi
mov ecx, edi
call fcn.0048dec0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4934e0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov eax, dword [0x4fc00c]
xor eax, esp
mov dword [esp + 0x1a0], eax
push esi
push 0x501cc0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x493526
lea eax, [esp + 0x10]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x501cc4
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp byte [ebp + 8], 0
je 0x49353d
push 0
push 0x501cc4
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x493554
mov ecx, dword [esp + 0x1a4]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret 4
xorps xmm0, xmm0
movq qword [esp + 8], xmm0
mov dword [esp + 8], eax
call fcn.004c3de0
mov edx, str.winsock
mov dword [esp + 0xc], eax
lea ecx, [esp + 8]
call fcn.0048c340
int3
Function at 0x495c90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c77f4
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4fc00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 4], 0
mov dword [ebx], vtable.boost::asio::basic_streambuf_class_std::allocator_char__.0
mov dword [ebx + 0x38], 0x1000
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov eax, 0x80
mov byte [ebp - 4], 1
mov esi, dword [ebx + 0x38]
mov ecx, 1
cmp esi, eax
cmova esi, eax
cmp esi, ecx
mov eax, esi
cmovb eax, ecx
lea ecx, [ebx + 0x3c]
push eax
call fcn.00495690
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x3c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
sub ecx, ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], ecx
mov eax, ebx
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x3c]
add esi, edx
sub esi, edx
mov dword [ecx], edx
mov ecx, dword [ebx + 0x20]
mov dword [ecx], edx
mov ecx, dword [ebx + 0x30]
mov dword [ecx], 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 8
Function at 0x4a3d30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c926d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov ebx, dword [ebp + 8]
push dword [0x501d5c]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a3d81
cmp dword [eax], edi
je 0x4a3da9
mov eax, dword [eax + 8]
test eax, eax
jne 0x4a3d76
push esi
push 0x38
mov dword [ebp - 0x34], esi
call fcn.0048d200
add esp, 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4a3dc5
push esi
mov ecx, eax
call fcn.004a4310
mov edi, eax
jmp 0x4a3dc7
cmp dword [eax + 4], 0
je 0x4a3d81
push esi
push esi
mov dword [ebp - 4], 0
call fcn.004a55f0
add esp, 8
jmp 0x4a3e65
xor edi, edi
mov ecx, dword [ebp - 0x20]
push edi
push ebx
mov dword [ebp - 0x2c], edi
call fcn.0048ff30
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
test al, al
je 0x4a3e5d
mov eax, dword [ebx]
xorps xmm0, xmm0
push dword [0x501d5c]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x501d5c]
mov dword [ebp - 0x18], eax
call esi
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 3
call fcn.004c3de0
push 0
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x20]
push edi
push dword [eax + 0x14]
call fcn.004a4200
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.0048faf0
push dword [ebp - 0x14]
push dword [0x501d5c]
call esi
lea ecx, [ebp - 0x34]
call fcn.004a4850
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret 8
Function at 0x4a4200
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c92fc
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov eax, dword [ecx + 0x20]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0x28]
mov dword [ecx + 0x28], 0
mov dword [ebp - 0x24], eax
mov dword [ecx + 0x24], 0
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0x30]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x34]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], eax
call fcn.004a4850
cmp dword [ebx + 8], 0
je 0x4a42b1
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.004a55f0
add esp, 8
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x4a42e7
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x4a42e7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], edi
cmp edi, 1
jne 0x4a42e7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
lea ecx, [ebp - 0x38]
call fcn.004a4850
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bde8e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4a5320
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c948d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov ebx, dword [ebp + 8]
push dword [0x501d5c]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a5371
cmp dword [eax], edi
je 0x4a5399
mov eax, dword [eax + 8]
test eax, eax
jne 0x4a5366
push esi
push 0x54
mov dword [ebp - 0x34], esi
call fcn.0048d200
add esp, 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4a53b5
push esi
mov ecx, eax
call fcn.004a55a0
mov edi, eax
jmp 0x4a53b7
cmp dword [eax + 4], 0
je 0x4a5371
push esi
push esi
mov dword [ebp - 4], 0
call fcn.004a5b50
add esp, 8
jmp 0x4a544d
xor edi, edi
mov ecx, dword [ebp - 0x20]
push edi
push ebx
mov dword [ebp - 0x2c], edi
call fcn.0048ff30
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
test al, al
je 0x4a544d
mov eax, dword [ebx]
xorps xmm0, xmm0
push dword [0x501d5c]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x501d5c]
mov dword [ebp - 0x18], eax
call esi
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 3
call fcn.004c3de0
push 0
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x20]
push edi
push dword [eax + 0x14]
call fcn.004a54b0
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.0048faf0
push dword [ebp - 0x14]
push dword [0x501d5c]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret 8
Function at 0x4a5830
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c955d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov ebx, dword [ebp + 8]
push dword [0x501d5c]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a5881
cmp dword [eax], edi
je 0x4a58a9
mov eax, dword [eax + 8]
test eax, eax
jne 0x4a5876
push esi
push 0x60
mov dword [ebp - 0x34], esi
call fcn.0048d200
add esp, 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4a58c5
push esi
mov ecx, eax
call fcn.004a5ad0
mov edi, eax
jmp 0x4a58c7
cmp dword [eax + 4], 0
je 0x4a5881
push esi
push esi
mov dword [ebp - 4], 0
call fcn.004a5dc0
add esp, 8
jmp 0x4a595d
xor edi, edi
mov ecx, dword [ebp - 0x20]
push edi
push ebx
mov dword [ebp - 0x2c], edi
call fcn.0048ff30
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
test al, al
je 0x4a595d
mov eax, dword [ebx]
xorps xmm0, xmm0
push dword [0x501d5c]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x501d5c]
mov dword [ebp - 0x18], eax
call esi
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 3
call fcn.004c3de0
push 0
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x20]
push edi
push dword [eax + 0x14]
call fcn.004a59c0
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.0048faf0
push dword [ebp - 0x14]
push dword [0x501d5c]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret 8
Function at 0x4a5de0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c965d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov ebx, dword [ebp + 8]
push dword [0x501d5c]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a5e31
cmp dword [eax], edi
je 0x4a5e59
mov eax, dword [eax + 8]
test eax, eax
jne 0x4a5e26
push esi
push 0x3c
mov dword [ebp - 0x34], esi
call fcn.0048d200
add esp, 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4a5e75
push esi
mov ecx, eax
call fcn.004a6060
mov edi, eax
jmp 0x4a5e77
cmp dword [eax + 4], 0
je 0x4a5e31
push esi
push esi
mov dword [ebp - 4], 0
call fcn.004a6190
add esp, 8
jmp 0x4a5f15
xor edi, edi
mov ecx, dword [ebp - 0x20]
push edi
push ebx
mov dword [ebp - 0x2c], edi
call fcn.0048ff30
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
test al, al
je 0x4a5f0d
mov eax, dword [ebx]
xorps xmm0, xmm0
push dword [0x501d5c]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x501d5c]
mov dword [ebp - 0x18], eax
call esi
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 3
call fcn.004c3de0
push 0
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x20]
push edi
push dword [eax + 0x14]
call fcn.004a5f50
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.0048faf0
push dword [ebp - 0x14]
push dword [0x501d5c]
call esi
lea ecx, [ebp - 0x34]
call fcn.004a60f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret 8
Function at 0x4b13f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca2a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4fc00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea edx, [edi + 8]
mov eax, dword [esi]
mov dword [edi], eax
mov dword [ebp + 8], edx
mov eax, dword [esi + 8]
mov dword [edx], eax
mov dword [edx + 4], 0
mov ecx, dword [esi + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + 0xc], eax
mov dword [edx + 4], ecx
mov dword [esi + 8], 0
lea ecx, [edx + 8]
mov dword [ebp - 4], 0
lea eax, [esi + 0x10]
mov dword [ebp - 0x10], ecx
push eax
mov dword [ecx], 0
call fcn.004a1330
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [edi + 0x30], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x34], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [edi + 0x38], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4b1640
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca2a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4fc00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea edx, [edi + 8]
mov eax, dword [esi]
mov dword [edi], eax
mov dword [ebp + 8], edx
mov eax, dword [esi + 8]
mov dword [edx], eax
mov dword [edx + 4], 0
mov ecx, dword [esi + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + 0xc], eax
mov dword [edx + 4], ecx
mov dword [esi + 8], 0
lea ecx, [edx + 8]
mov dword [ebp - 4], 0
lea eax, [esi + 0x10]
mov dword [ebp - 0x10], ecx
push eax
mov dword [ecx], 0
call fcn.004a1330
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4b1880
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb12e
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov ebx, dword [ebp + 8]
push dword [0x501d5c]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b18d1
cmp dword [eax], edi
je 0x4b1907
mov eax, dword [eax + 8]
test eax, eax
jne 0x4b18c6
push esi
push 0x60
mov dword [ebp - 0x34], esi
call fcn.0048d200
add esp, 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4b1923
push esi
mov ecx, eax
call fcn.004b2210
mov edi, eax
jmp 0x4b1925
cmp dword [eax + 4], 0
je 0x4b18d1
push esi
push esi
mov dword [ebp - 4], 0
call fcn.004b4400
add esp, 8
jmp 0x4b19bf
xor edi, edi
mov ecx, dword [ebp - 0x20]
push edi
mov byte [ebp - 4], 1
push ebx
mov dword [ebp - 0x2c], edi
call fcn.0048ff30
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
test al, al
je 0x4b19bf
mov eax, dword [ebx]
xorps xmm0, xmm0
push dword [0x501d5c]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x501d5c]
mov dword [ebp - 0x18], eax
call esi
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 4
call fcn.004c3de0
push 0
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x20]
push edi
push dword [eax + 0x14]
call fcn.004b2120
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.0048faf0
push dword [ebp - 0x14]
push dword [0x501d5c]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret 8