joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415960
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3560
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4cf084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00477167
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00459eaf
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov ebx, dword [ebp + 8]
mov dword [edi + 0xc], eax
add esp, 8
mov dword [edi + 0x10], ecx
lea eax, [edi + 0x14]
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], esi
mov dword [ecx], 0
mov ecx, ebx
mov eax, dword [edi + 0x20]
not ecx
and ecx, 1
shl ecx, 2
mov edx, ecx
mov dword [eax], 0
or edx, 2
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, ebx
and al, 2
mov dword [edi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, ebx
mov dword [edi + 0x38], 0
cmovne edx, ecx
mov ecx, edx
or ecx, 8
and al, 8
cmove ecx, edx
mov eax, ecx
or eax, 0x10
and bl, 4
cmove eax, ecx
mov dword [edi + 0x3c], eax
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 4
Function at 0x4195c0
Capabilities:
Connect socket
Get socket status

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x4cf084]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 8], esi
push edi
mov edi, dword [sym.imp.WS2_32.dll_WSASetLastError]
cmp esi, 0xffffffff
jne 0x419605
call fcn.00472b60
mov dword [ebx], 0x2719
mov dword [ebx + 4], eax
jmp 0x419643
push 0
call edi
push dword [ebp + 8]
push dword [esp + 0x18]
push esi
call dword [sym.imp.WS2_32.dll_connect]
mov edi, eax
call fcn.00472b60
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
mov dword [ebx + 4], esi
test edi, edi
jne 0x419639
call fcn.00472b60
mov dword [ebx], edi
mov dword [ebx + 4], eax
mov edi, dword [sym.imp.WS2_32.dll_WSASetLastError]
mov esi, dword [esp + 0xc]
call fcn.00472b60
cmp dword [ebx + 4], eax
jne 0x419655
cmp dword [ebx], 0x2734
je 0x41966f
call fcn.00472b60
cmp dword [ebx + 4], eax
jne 0x419767
cmp dword [ebx], 0x2733
jne 0x419767
cmp esi, 0xffffffff
jne 0x419697
call fcn.00472b60
mov dword [ebx], 0x2719
mov dword [ebx + 4], eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00477156
mov esp, ebp
pop ebp
ret
push 0
mov dword [esp + 0x128], esi
mov dword [esp + 0x124], 1
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 1
call edi
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x128]
push eax
push 0
lea eax, [esi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov edi, eax
call fcn.00472b60
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
mov dword [ebx + 4], esi
test edi, edi
js 0x419767
call fcn.00472b60
push 0
mov dword [ebx], 0
mov dword [ebx + 4], eax
mov dword [esp + 0x14], 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x14]
push eax
push 0x1007
push 0xffff
push dword [esp + 0x1c]
call dword [sym.imp.WS2_32.dll_getsockopt]
mov edi, eax
call fcn.00472b60
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
mov dword [ebx + 4], esi
test edi, edi
jne 0x419754
call fcn.00472b60
mov dword [ebx], edi
mov dword [ebx + 4], eax
jmp 0x419759
cmp edi, 0xffffffff
je 0x419767
call fcn.00472b60
mov ecx, dword [esp + 0x10]
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00477156
mov esp, ebp
pop ebp
ret
Function at 0x419940
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4cf084]
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.00472b60
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
mov dword [ebx + 4], esi
cmp edi, 0xffffffff
jne 0x4199a2
or eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00477156
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 8], 0x17
jne 0x4199c0
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.00472b60
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.00477156
mov esp, ebp
pop ebp
ret

Function at 0x419dc0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4cf084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ebx
push edi
mov edi, dword [ebp + 0xc]
cmp esi, 0xffffffff
jne 0x419e07
call fcn.00472b60
mov dword [edi + 4], eax
or eax, esi
mov dword [edi], 0x2719
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00477156
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [ebx]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
mov ecx, dword [ebp - 8]
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], ecx
call fcn.00472b60
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
jne 0x419e4c
call fcn.00472b60
mov dword [edi], ebx
mov dword [edi + 4], eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00477156
mov esp, ebp
pop ebp
ret
Function at 0x41ab30
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4c68
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4cf084]
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 eax, ecx
mov dword [ebp - 0x18], eax
xorps xmm0, xmm0
xor bl, bl
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov edi, dword [ebp + 8]
lea esi, [eax + 0x4c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 4
nop dword [eax]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x41abbf
xor edx, edx
mov eax, edi
div ecx
mov eax, dword [esi]
mov ecx, dword [esi - 0x10]
lea edx, [eax + edx*8]
mov eax, dword [edx]
cmp eax, ecx
je 0x41abc2
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x41abbf
cmp dword [eax + 8], edi
je 0x41abdc
mov eax, dword [eax]
cmp eax, ecx
jne 0x41abb4
mov ecx, dword [esi - 0x10]
push dword [ebp + 0xc]
lea eax, [ebp - 0x28]
push eax
push ecx
lea ecx, [esi - 0x14]
call fcn.0041a8e0
test al, al
jne 0x41abe0
test bl, bl
jne 0x41abe0
jmp 0x41abe2
mov ecx, eax
jmp 0x41abc2
mov bl, 1
add esi, 0x1c
sub dword [ebp - 0x1c], 1
jne 0x41ab90
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [esi + 0x14]
call fcn.0041aa50
test bl, bl
je 0x41ac64
lea eax, [ebp - 0x11]
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 1
call fcn.00472b60
mov esi, dword [esi + 0x34]
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push 0
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call fcn.00472b60
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
je 0x41ac56
cmp eax, 0x4d2
jne 0x41ac5b
call fcn.00472b60
test esi, esi
jne 0x41ac64
call fcn.00472b60
lea ecx, [ebp - 0x28]
call fcn.0041a850
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.00477156
mov esp, ebp
pop ebp
ret 8
Function at 0x41ac90
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4cf084]
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 0x41ad9f
cmp byte [ebp + 8], bl
je 0x41ad0b
test byte [esi], 8
je 0x41ad0b
xor eax, eax
mov dword [ebp - 8], eax
call fcn.00472b60
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.00472b60
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
jne 0x41ad0d
call fcn.00472b60
jmp 0x41ad0d
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.00472b60
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
je 0x41ad9f
call fcn.00472b60
cmp dword [edi + 4], eax
jne 0x41ad46
cmp dword [edi], 0x2733
je 0x41ad58
call fcn.00472b60
cmp dword [edi + 4], eax
jne 0x41ad9b
cmp dword [edi], 0x4d5
jne 0x41ad9b
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.00472b60
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
jne 0x41adad
call fcn.00472b60
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.00477156
mov esp, ebp
pop ebp
ret

Function at 0x41b2f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4d38
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4cf084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 4]
mov dword [edi], vtable.std::exception.0
xorps xmm0, xmm0
push eax
movq qword [eax], xmm0
lea eax, [esi + 4]
push eax
call fcn.00478bda
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
mov dword [edi], vtable.boost::system::system_error.0
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push eax
call fcn.0041cf20
mov dword [edi + 0x2c], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.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 0x41b740
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4e00
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4cf084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
lea eax, [edi + 4]
xorps xmm0, xmm0
mov dword [edi], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [ebx + 4]
push eax
call fcn.00478bda
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
mov dword [edi], vtable.boost::system::system_error.0
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
lea eax, [ebx + 0x14]
push eax
call fcn.0041cf20
lea esi, [edi + 0x2c]
mov dword [ebp - 4], 1
mov dword [esi], vtable.boost::exception.0
mov ecx, dword [ebx + 0x30]
mov dword [ebp + 8], esi
mov dword [esi + 4], ecx
test ecx, ecx
je 0x41b7d2
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x34]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x38]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x3c]
mov dword [esi + 0x10], eax
mov eax, edi
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.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 0x41bae0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4e98
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4cf084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
lea eax, [edi + 4]
push eax
mov dword [edi], vtable.std::exception.0
movq qword [eax], xmm0
lea eax, [esi + 4]
push eax
call fcn.00478bda
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
mov dword [edi], vtable.boost::system::system_error.0
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push eax
call fcn.0041cf20
mov dword [edi + 0x2c], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.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 0x41c010
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4f60
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4cf084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 8]
lea eax, [esi + 4]
xorps xmm0, xmm0
mov dword [esi], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [ebx + 4]
push eax
call fcn.00478bda
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [esi + 0x14]
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
lea eax, [ebx + 0x14]
push eax
call fcn.0041cf20
mov dword [esi], vtable.boost::thread_resource_error.0
lea edi, [esi + 0x2c]
mov dword [ebp - 4], 1
mov dword [edi], vtable.boost::exception.0
mov ecx, dword [ebx + 0x30]
mov dword [ebp + 8], edi
mov dword [edi + 4], ecx
test ecx, ecx
je 0x41c0a8
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x34]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x38]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x3c]
mov dword [edi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.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 0x41e130
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov eax, dword [0x4cf084]
xor eax, esp
mov dword [esp + 0x1a0], eax
push esi
push 0x4d5350
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x41e176
lea eax, [esp + 0x10]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x4d5354
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp byte [ebp + 8], 0
je 0x41e18d
push 0
push 0x4d5354
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x41e1a4
mov ecx, dword [esp + 0x1a4]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00477156
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 8], eax
call fcn.00472b60
mov edx, str.winsock
mov dword [esp + 0xc], eax
lea ecx, [esp + 8]
call fcn.0041af60
int3
Function at 0x42cea0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5ed4
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x4cf084]
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.0042c9f0
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
je 0x42cf6b
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
lea ecx, [ebp - 0x40]
call fcn.0041c5a0
push eax
mov byte [ebp - 4], 4
call fcn.0041c3d0
int3

Function at 0x42d710
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4e98
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4cf084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
lea eax, [edi + 4]
push eax
mov dword [edi], vtable.std::exception.0
movq qword [eax], xmm0
lea eax, [esi + 4]
push eax
call fcn.00478bda
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
mov dword [edi], vtable.boost::system::system_error.0
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push eax
call fcn.0041cf20
mov dword [edi + 0x2c], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.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 0x42db50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4f60
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4cf084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 8]
lea eax, [esi + 4]
xorps xmm0, xmm0
mov dword [esi], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [ebx + 4]
push eax
call fcn.00478bda
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [esi + 0x14]
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
lea eax, [ebx + 0x14]
push eax
call fcn.0041cf20
mov dword [esi], vtable.boost::lock_error.0
lea edi, [esi + 0x2c]
mov dword [ebp - 4], 1
mov dword [edi], vtable.boost::exception.0
mov ecx, dword [ebx + 0x30]
mov dword [ebp + 8], edi
mov dword [edi + 4], ecx
test ecx, ecx
je 0x42dbe8
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x34]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x38]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x3c]
mov dword [edi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.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 0x430d50
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a64a0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4cf084]
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, ecx
mov dword [ebp - 0x18], 0
call fcn.00472b60
mov edi, dword [esi + 8]
mov dword [ebp - 0x14], eax
push 0
lea eax, [edi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x430db9
mov ecx, edi
call fcn.0042d5c0
xor edi, edi
call fcn.00472b60
mov dword [ebp - 0x18], edi
xor esi, esi
mov dword [ebp - 0x14], eax
jmp 0x430e58
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push dword [0x539a3c]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x539a3c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push ecx
mov ecx, edi
xor esi, esi
call fcn.00430a90
test eax, eax
je 0x430e2f
cmp esi, 0xffffffff
lea eax, [esi + 1]
cmove eax, esi
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push ecx
mov ecx, edi
call fcn.00430a90
test eax, eax
jne 0x430e14
push dword [ebp - 0x20]
push dword [0x539a3c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x430e55
push eax
call fcn.00477710
add esp, 4
mov edi, dword [ebp - 0x18]
test edi, edi
jne 0x430e79
mov eax, esi
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.00477156
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x18]
call fcn.0041b870
int3