joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482860
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c51f8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
push str.YunWebServiceMutex_3094AF3A_752F_41D3_9D09_E4979E3F9C4F
lea ecx, [ebp - 0x14]
mov dword [edi], 0
mov dword [ebp - 0x14], 0
call fcn.00481660
mov dword [ebp - 4], 0
push dword [ebp - 0x14]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
je 0x4828d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4828d5
mov dword [edi], 1
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4828f7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret

Function at 0x483280
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push str.installDir
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48330c
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x4832ce
cmp eax, 2
jne 0x4832ea
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x483306
test ecx, ecx
je 0x483301
test cl, 1
jne 0x4832ea
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x483306
pop edi
mov eax, 0xd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004bde8e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x483fb0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5ca8
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 bl, dl
mov edi, ecx
call fcn.0047f110
mov ecx, eax
test ecx, ecx
jne 0x483ff4
push 0x80004005
call fcn.0047ee80
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
movsx ebx, bl
lea eax, [ebp - 0x34]
push ebx
push str.._c:
push eax
mov dword [ebp - 4], 0
call fcn.00484c80
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
add esp, 0xc
push 0x20
push eax
lea eax, [ebp - 0x3c]
push eax
push 0
lea eax, [ebp - 0x38]
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp eax, 1
je 0x484073
push ebx
lea eax, [ebp - 0x34]
push str._c:_
push eax
call fcn.00484c80
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
add esp, 0xc
push 0x20
push eax
lea eax, [ebp - 0x3c]
push eax
push 0
lea eax, [ebp - 0x38]
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp eax, 1
jne 0x48408b
push dword [ebp - 0x38]
push str._08X
push edi
call fcn.00484c80
add esp, 0xc
mov edi, 1
jmp 0x48408d
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4840ac
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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 0x48ba20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c65f4
mov eax, dword fs:[0]
push eax
sub esp, 0x38
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 dword [edi], vtable.boost::detail::thread_data_base.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x14]
mov dword [edi + 0xc], 0
mov ecx, esi
mov dword [edi + 0x10], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00496880
mov dword [esi], eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
push 0
push 0
push 1
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
jne 0x48baf4
push str.boost::thread_resource_error
push 0xb
lea ecx, [ebp - 0x40]
call fcn.0048b470
mov dword [ebp - 0x40], vtable.boost::thread_resource_error.0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
call fcn.00497ae0
mov dword [edi + 0x34], eax
mov eax, edi
mov byte [edi + 0x38], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x48c500
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x4fc00c]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x10]
push edi
cmp dword [ebx], 0x40
mov edi, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jne 0x48c541
call fcn.004c3de0
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x10]
mov dword [ebx], 0x2745
cmp dword [ebx], 0
jne 0x48c631
test eax, eax
je 0x48c5bf
test esi, esi
je 0x48c5bf
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], 0
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], 0
push eax
mov eax, dword [ebp + 8]
push eax
push eax
push 0
push edi
call dword [sym.imp.MSWSOCK.dll_GetAcceptExSockaddrs]
mov edi, dword [esp + 0x20]
cmp edi, dword [esi]
jbe 0x48c5ac
call fcn.004c3de0
mov dword [ebx], 0x2726
mov dword [ebx + 4], eax
jmp 0x48c5bf
push edi
push dword [esp + 0x1c]
push dword [esp + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esi], edi
mov esi, dword [ebp + 0x14]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
cmp esi, 0xffffffff
jne 0x48c5ef
call fcn.004c3de0
mov dword [ebx], 0x2719
mov dword [ebx + 4], eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 4
lea eax, [esp + 0x2c]
push eax
push 0x700b
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.004c3de0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
mov dword [ebx + 4], esi
test edi, edi
jne 0x48c631
call fcn.004c3de0
mov dword [ebx], edi
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret
Function at 0x48c6c0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
mov esi, edx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], eax
push edi
mov edi, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x48c7cf
cmp byte [ebp + 8], bl
je 0x48c73b
test byte [esi], 8
je 0x48c73b
xor eax, eax
mov dword [ebp - 8], eax
call fcn.004c3de0
or byte [esi], 8
push ebx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ebx, dword [ebp - 0xc]
lea eax, [ebp - 8]
push 4
push eax
push 0x80
push 0xffff
push ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esi, eax
call fcn.004c3de0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
jne 0x48c73d
call fcn.004c3de0
jmp 0x48c73d
mov ebx, eax
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov ebx, eax
call fcn.004c3de0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
je 0x48c7cf
call fcn.004c3de0
cmp dword [edi + 4], eax
jne 0x48c776
cmp dword [edi], 0x2733
je 0x48c788
call fcn.004c3de0
cmp dword [edi + 4], eax
jne 0x48c7cb
cmp dword [edi], 0x4d5
jne 0x48c7cb
mov ebx, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push 0x8004667e
push ebx
mov dword [ebp - 8], 0
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [ebp - 0x10]
push 0
and byte [eax], 0xfc
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov ebx, eax
call fcn.004c3de0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
jne 0x48c7dd
call fcn.004c3de0
mov dword [edi], 0
mov dword [edi + 4], eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bde8e
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0
mov edi, edx
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push 0
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 1
push edi
push esi
call dword [sym.imp.WS2_32.dll_WSASend]
mov edi, eax
call fcn.004c3de0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
mov dword [ebx + 4], esi
cmp eax, 0x40
jne 0x48c9b3
call fcn.004c3de0
mov dword [ebx], 0x2746
jmp 0x48c9c5
cmp eax, 0x4d2
jne 0x48c9c8
call fcn.004c3de0
mov dword [ebx], 0x274d
mov dword [ebx + 4], eax
test edi, edi
je 0x48c9e0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret
call fcn.004c3de0
mov ecx, dword [ebp - 4]
pop edi
mov dword [ebx + 4], eax
xor ecx, ebp
mov eax, dword [ebp - 8]
pop esi
mov dword [ebx], 0
pop ebx
call fcn.004bde8e
mov esp, ebp
pop ebp
ret
Function at 0x48ca10
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov esi, edx
push 0
mov dword [ebp - 8], edi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 1
push 0
push 0
push dword [ebp + 8]
push esi
push edi
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov edi, eax
call fcn.004c3de0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
mov dword [ebx + 4], esi
cmp edi, 0xffffffff
jne 0x48ca72
or eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 8], 0x17
jne 0x48ca90
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x1b
push 0x29
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
call fcn.004c3de0
mov ecx, dword [ebp - 4]
mov dword [ebx + 4], eax
xor ecx, ebp
mov eax, edi
mov dword [ebx], 0
pop edi
pop esi
pop ebx
call fcn.004bde8e
mov esp, ebp
pop ebp
ret

Function at 0x48d190
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x4fc00c]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp edi, 0xffffffff
jne 0x48d1d5
xorps xmm0, xmm0
movq qword [esp + 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [esp + 0xc], esi
call fcn.004c3de0
mov dword [esp + 0x10], eax
test esi, esi
jne 0x48d1e8
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret
mov edx, 0x4ea404
lea ecx, [esp + 0xc]
call fcn.0048c340
int3

Function at 0x48d200
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [0x501d58]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x48d242
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x48d242
mov eax, dword [ecx]
test eax, eax
je 0x48d242
mov dword [ecx], 0
mov dl, byte [eax]
movzx ecx, dl
cmp ecx, ebx
jb 0x48d239
mov byte [eax + ebx], dl
pop ebx
pop ebp
ret
push eax
call fcn.004be0d1
add esp, 4
lea eax, [ebx + 1]
push eax
call fcn.004be09e
add esp, 4
mov ecx, eax
cmp ebx, 0xff
ja 0x48d263
movzx eax, bl
mov byte [ecx + ebx], al
mov eax, ecx
pop ebx
pop ebp
ret
xor eax, eax
mov byte [ecx + ebx], al
mov eax, ecx
pop ebx
pop ebp
ret

Function at 0x48d270
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [0x501d58]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48d288
mov edx, dword [eax + 4]
jmp 0x48d28a
xor edx, edx
mov eax, dword [ebp + 0xc]
cmp eax, 0xff
ja 0x48d2a9
test edx, edx
je 0x48d2a9
cmp dword [edx], 0
jne 0x48d2a9
mov ecx, dword [ebp + 8]
mov al, byte [ecx + eax]
mov byte [ecx], al
mov dword [edx], ecx
pop ebp
ret
push dword [ebp + 8]
call fcn.004be0d1
add esp, 4
pop ebp
ret
Function at 0x48d5d0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x501cc8
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0
push dword [esi + 4]
test eax, eax
je 0x48d633
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret
push fcn.00407d10
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004bde8e
mov esp, ebp
pop ebp
ret
Function at 0x48d660
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4fc00c]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push 0
push 1
mov esi, ecx
push 0
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov dword [ebx + 4], edi
test edi, edi
jne 0x48d6c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
xorps xmm0, xmm0
movq qword [esp + 0x10], xmm0
mov dword [esp + 0x10], esi
call fcn.004c3de0
mov dword [esp + 0x14], eax
test esi, esi
jne 0x48d7ad
mov esi, dword [esp + 0x18]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
mov dword [ebx + 8], eax
cmp dword [esi + 8], 0
jne 0x48d715
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
xorps xmm0, xmm0
movq qword [esp + 0x10], xmm0
mov dword [esp + 0x10], esi
call fcn.004c3de0
mov dword [esp + 0x14], eax
test esi, esi
jne 0x48d7bb
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 0
push ebx
push 0x48d7e0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x48d789
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov dword [esp + 0x14], eax
call dword [edx]
test edi, edi
je 0x48d75d
push edi
call esi
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x48d76b
push eax
call esi
mov ebx, dword [esp + 0x10]
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x18], ebx
call fcn.004c3de0
mov dword [esp + 0x1c], eax
test ebx, ebx
jne 0x48d7c9
test edi, edi
je 0x48d799
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret 8
mov edx, str.thread.entry_event
lea ecx, [esp + 0x10]
call fcn.0048c340
mov edx, str.thread.exit_event
lea ecx, [esp + 0x10]
call fcn.0048c340
mov edx, str.thread
lea ecx, [esp + 0x18]
call fcn.0048c340
int3
Function at 0x48d8f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c685f
mov eax, dword fs:[0]
push eax
sub esp, 0x14
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 edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 0x1c], edi
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [edi], vtable.boost::asio::detail::win_iocp_io_service.0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
call fcn.0048e530
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x38]
mov dword [edi + 0x34], 0
call fcn.0048d300
xorps xmm0, xmm0
mov esi, eax
movq qword [ebp - 0x18], xmm0
call fcn.004c3de0
xor ecx, ecx
mov dword [ebp - 0x14], eax
test esi, esi
mov dword [ebp - 0x18], esi
mov eax, fcn.00404950
cmove eax, ecx
test eax, eax
je 0x48d9cc
mov edx, str.mutex
lea ecx, [ebp - 0x18]
call fcn.0048c340
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
or eax, 0xffffffff
mov byte [ebp - 4], 5
cmp ebx, 0xffffffff
cmovb eax, ebx
push eax
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [edi + 0x14], eax
test eax, eax
jne 0x48da2e
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004c3de0
mov dword [ebp - 0x14], eax
test esi, esi
je 0x48da2e
mov edx, str.iocp
lea ecx, [ebp - 0x18]
call fcn.0048c340
mov eax, edi
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 0x48dd10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6910
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
lea eax, [edi + 0x18]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x48dd6c
mov ecx, edi
call fcn.0048de30
call fcn.004c3de0
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebx], 0
jmp 0x48ddfd
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push dword [0x501d58]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x501d58]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
push ecx
mov ecx, edi
mov byte [ebp - 4], 1
xor esi, esi
call fcn.0048e260
test eax, eax
je 0x48dddc
cmp esi, 0xffffffff
lea eax, [esi + 1]
push ebx
cmove eax, esi
push ecx
mov ecx, edi
mov esi, eax
call fcn.0048e260
test eax, eax
jne 0x48ddc4
push dword [ebp - 0x1c]
push dword [0x501d58]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x48ddfb
push ecx
call fcn.004be0d1
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret 4
Function at 0x48ee40
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp byte [ebp + 0x18], 0
push 0
je 0x48ee94
mov ecx, dword [edi + 4]
push 0
push ebx
call fcn.0048e100
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x48eebc
mov ecx, dword [edi + 4]
push 0x2719
push ebx
call fcn.0048e100
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret 0x18
push ebx
push dword [ebp + 0x14]
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push dword [ebp + 0x10]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
je 0x48ef18
cmp eax, 0x3e5
je 0x48ef18
push dword [ebp - 8]
mov ecx, dword [edi + 4]
push eax
push ebx
call fcn.0048e100
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [edi + 4]
push ebx
call fcn.0048e060
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bde8e
mov esp, ebp
pop ebp
ret 0x18