joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007e840
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10138018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
movzx esi, dx
mov edi, ecx
push esi
call fcn.10085c75
push esi
mov ebx, eax
push 0x90
push ebx
call fcn.100d37e0
add esp, 0x10
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1007e89f
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008550c
mov esp, ebp
pop ebp
ret
push esi
push ebx
push edi
call fcn.100d3260
add esp, 0xc
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1007e888
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008550c
mov esp, ebp
pop ebp
ret

Function at 0x1007ecb0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10138018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [0x10324cd4]
mov esi, dword [edi + 4]
cmp byte [esi + 0xd], 0
jne 0x1007ecfb
push dword [esi + 8]
mov ecx, 0x10324cd4
push 0x10324cd4
call fcn.100301a0
mov eax, esi
mov esi, dword [esi]
push 0x84
push eax
call fcn.100858b9
add esp, 8
cmp byte [esi + 0xd], 0
je 0x1007ecd1
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
mov dword [edi + 4], edi
mov dword [edi], edi
mov dword [edi + 8], edi
push 0x83703d
mov dword [0x10324cd8], 0
mov dword [0x10324b78], 0
call esi
lea eax, [ebp - 8]
mov byte [0x83703d], 0xc
push eax
push dword [ebp - 8]
push 1
push 0x83703d
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1008550c
mov esp, ebp
pop ebp
ret
Function at 0x101108c9
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.10110845
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10110a38
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10110a38
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x101109ed
jg 0x10110925
test eax, eax
je 0x101109e3
push 1
push 0x1000
call fcn.100ff7b0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10110948
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x101109da
push 0x8000
push ebx
call fcn.10110776
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10110971
jg 0x1011096c
cmp ecx, 0x1000
jb 0x10110971
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.101034d3
add esp, 0x10
cmp eax, 0xffffffff
je 0x101109b6
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1011096c
jl 0x1011099d
test ecx, ecx
jne 0x1011095e
push dword [ebp - 0xc]
push ebx
call fcn.10110776
push esi
call fcn.100fc54d
add esp, 0xc
xor ebx, ebx
jmp 0x10110a46
cmp byte [edi + 0x24], 0
je 0x101109cd
cmp dword [edi + 0x20], 5
jne 0x101109cd
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x101109d8
mov ebx, dword [edi + 0x18]
jmp 0x101109da
xor ebx, ebx
push esi
call fcn.100fc54d
pop ecx
jmp 0x10110a46
test ecx, ecx
jg 0x101109af
jl 0x101109ed
test eax, eax
jae 0x101109af
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.101038f5
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10110a0d
cmp byte [edi + 0x1c], 0
je 0x101109af
jmp 0x10110a3e
push ebx
call fcn.1010b021
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x101109af
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10110a46
cmp byte [edi + 0x1c], 0
je 0x10110a43
mov ebx, dword [edi + 0x18]
jmp 0x10110a46
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.101038f5
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7003567
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x7003576
pop dword [ebp - 0x24]
mov eax, 0x7003576
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xb38e9ee2
add dword [ebp - 0x34], 0x9ac3a669
mov dword [ebp - 0x30], 0xb71108be
add dword [ebp - 0x30], 0x7b224387
mov dword [ebp - 0x2c], 0xd89b4448
add dword [ebp - 0x2c], 0x73b0ffe6
mov dword [ebp - 0x28], 0x2c480290
add dword [ebp - 0x28], 0xd3b7fd70
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xc2d327db
add dword [ebp - 0x34], 0xb19f417b
mov dword [ebp - 0x30], 0x6c8385c2
add dword [ebp - 0x30], 0xd4e8dbb3
mov dword [ebp - 0x2c], 0xbf8ca1d0
sub dword [ebp - 0x2c], 0x5c1d3564
mov dword [ebp - 0x28], 0xa1da73fa
sub dword [ebp - 0x28], 0xa1da73fa
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0xf66915b8
add eax, 0x10981a7c
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3b13b
push 0
call eax
mov ecx, 0xa2046f29
sub ecx, 0xa20425a4
mov edx, eax
mov edi, 0x7020200
add edi, dword [ebp - 0x24]
mov esi, 0xf43a69e4
sub esi, 0x7100d5b0
sub dword [ebp - 0x14], ebx
mov ebx, dword [edi]
xor dword [ebp - 0x10], ecx
add ebx, esi
mov dword [edx], ebx
sub dword [ebp - 0x1c], 0x2416a5d7
add edx, 0x59258554
sub edx, 0x59258550
add edi, 0x3670e5d6
add edi, 0xc98f1a2e
loop 0x7003688
add eax, 0xf873ec46
sub eax, 0xf872d35f
mov ebx, eax
add eax, 5
mov ecx, 0xf84dc94c
sub ecx, 0xf14dc94c
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x700d29f
Capabilities:
Set current directory

Disassembly:
push 8
mov eax, 0x70120f1
call fcn.07001cf8
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0700d491
xor ebx, ebx
mov dword [edi], vtable.FileSharedStream.0
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0700dd8a
lea ecx, [ebp - 0x10]
call fcn.0700d23c
mov eax, dword [edi + 0x14]
mov byte [ebp - 4], 2
push dword [eax + 0x14]
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x700d30c
mov eax, dword [eax + 0x14]
jmp 0x700d311
mov eax, 0x70138c2
push 0x7015240
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov dword [edi + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x700d343
mov ecx, dword [edi + 4]
call fcn.070076d1
lea ecx, [ebp - 0x10]
mov dword [edi + 8], eax
call fcn.07003567
mov eax, edi
call fcn.07001ea7
ret 4
push str.file_does_not_exist
push ebx
call fcn.07003567
int3
Function at 0x100030b0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10003157
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x10098c38]
mov esi, eax
mov eax, dword [0x10098c3c]
cmp ecx, 0x257edfd1
jne 0x100030ee
cmp eax, 0xb2ab117a
je 0x100030fd
cmp ecx, 0x257edfd0
jne 0x10003104
cmp eax, 0xb2ab117a
jne 0x10003104
test esi, esi
setne al
jmp 0x10003114
mov eax, dword [0x10098c30]
mov ecx, 0x10098c30
push esi
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x10098c30
mov dword [esp + 0x18], str.D:ProgrammsLibrares_boost_boost_asiodetailimplwin_tss_ptr.ipp
mov dword [esp + 0x1c], str.win_tss_ptr_create
mov dword [esp + 0x20], 0x2e
mov dword [esp + 0x24], 0x1a
test al, 1
je 0x10003157
cmp eax, 1
jne 0x1000315f
test esi, esi
jne 0x1000315f
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x18]
mov edx, 0x10087bfc
push eax
lea ecx, [esp + 0x10]
call fcn.10002e60
int3

Function at 0x10003220
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, 0x1009e5c0
lock xadd dword [ecx], eax
mov ecx, dword [esi + 4]
push 0
push ecx
test eax, eax
je 0x1000326e
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
mov esp, ebp
pop ebp
ret
push method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_56
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100035d0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b4
mov eax, dword [0x10098140]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, 1
lock xadd dword [0x1009e5c4], eax
inc eax
mov ebx, 0x1009e5c8
cmp eax, 1
jne 0x10003616
lea eax, [esp + 0x28]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [ebx], eax
cmp byte [ebp + 8], 0
je 0x100036a1
xor esi, esi
lock xadd dword [ebx], esi
test esi, esi
je 0x100036a1
mov ecx, dword [0x10098c38]
mov eax, dword [0x10098c3c]
cmp ecx, 0x257edfd1
jne 0x10003644
cmp eax, 0xb2ab117a
je 0x10003653
cmp ecx, 0x257edfd0
jne 0x10003657
cmp eax, 0xb2ab117a
jne 0x10003657
mov al, 1
jmp 0x10003667
mov eax, dword [0x10098c30]
mov ecx, 0x10098c30
push esi
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x10098c30
mov dword [esp + 0x18], str.D:ProgrammsLibrares_boost_boost_asiodetailimplwinsock_init.ipp
mov dword [esp + 0x1c], str.throw_on_error
mov dword [esp + 0x20], 0x48
mov dword [esp + 0x24], 0x1a
test al, 1
jne 0x100036ba
mov ecx, dword [esp + 0x1bc]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1004ff4b
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x18]
mov edx, str.winsock
push eax
lea ecx, [esp + 0x10]
call fcn.10002e60
int3

Function at 0x1000b8d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [0x1009e9b8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000b8fa
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
push ecx
push dword [ebp - 4]
call fcn.1001bce0
add esp, 8
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
xor ecx, ecx
push ecx
push dword [ebp - 4]
call fcn.1001bce0
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x1000b910
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [0x1009e9b8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000b928
mov ecx, dword [eax + 4]
jmp 0x1000b92a
xor ecx, ecx
push esi
mov esi, dword [ebp + 0xc]
cmp esi, 0x3fc
ja 0x1000b94f
test ecx, ecx
je 0x1000b94f
xor eax, eax
nop dword [eax]
cmp dword [ecx + eax*4], 0
lea edx, [ecx + eax*4]
je 0x1000b95d
inc eax
cmp eax, 2
jl 0x1000b940
push dword [ebp + 8]
call fcn.100502a3
add esp, 4
pop esi
pop ebp
ret
mov ecx, dword [ebp + 8]
mov al, byte [ecx + esi]
mov byte [ecx], al
mov dword [edx], ecx
pop esi
pop ebp
ret
Function at 0x1000c040
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
mov dword [ebp - 8], edx
cmp esi, 0xffffffff
je 0x1000c1fd
cmp byte [ebp + 8], 0
push edi
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
je 0x1000c09c
mov al, byte [edx]
test al, 8
je 0x1000c09c
or al, 8
xor ecx, ecx
push 4
mov byte [edx], al
lea eax, [ebp - 4]
push eax
push 0x80
push 0xffff
push esi
mov dword [ebp - 4], ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x1000c09c
call edi
push 0x10098c30
push eax
lea ecx, [ebp - 0x14]
call fcn.100023e0
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000c0bd
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
pop edi
pop esi
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov esp, ebp
pop ebp
ret
push ebx
call edi
push 0x10098c30
push eax
lea ecx, [ebp - 0x14]
call fcn.100023e0
mov ecx, dword [ebp + 0xc]
movq xmm0, qword [eax]
movq qword [ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ebx, dword [0x10098c38]
mov edi, dword [0x10098c3c]
cmp ebx, 0x257edfd1
jne 0x1000c0fb
cmp edi, 0xb2ab117a
je 0x1000c10b
cmp ebx, 0x257edfd0
jne 0x1000c10f
cmp edi, 0xb2ab117a
jne 0x1000c10f
mov al, 1
jmp 0x1000c132
mov eax, dword [0x10098c30]
mov ecx, 0x10098c30
push 0x2733
mov eax, dword [eax + 0x18]
call eax
mov edi, dword [0x10098c3c]
mov ebx, dword [0x10098c38]
mov ecx, dword [ebp + 0xc]
movzx eax, al
lea edx, [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], 0x2733
mov dword [ebp - 0x10], 0x10098c30
mov dword [ebp - 0xc], eax
call fcn.1000b530
test al, al
jne 0x1000c1bf
cmp ebx, 0x257edfd1
jne 0x1000c165
cmp edi, 0xb2ab117a
je 0x1000c175
cmp ebx, 0x257edfd0
jne 0x1000c179
cmp edi, 0xb2ab117a
jne 0x1000c179
mov al, 1
jmp 0x1000c18d
mov eax, dword [0x10098c30]
mov ecx, 0x10098c30
push 0x4d5
mov eax, dword [eax + 0x18]
call eax
mov edi, dword [ebp + 0xc]
lea edx, [ebp - 0x14]
movzx eax, al
mov ecx, edi
add eax, 2
mov dword [ebp - 0x14], 0x4d5
mov dword [ebp - 0x10], 0x10098c30
mov dword [ebp - 0xc], eax
call fcn.1000b530
test al, al
jne 0x1000c1c2
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [ebp - 8]
push esi
and byte [eax], 0xfc
call dword [sym.imp.WS2_32.dll_closesocket]
mov esi, eax
mov ecx, edi
test esi, esi
setne dl
call fcn.1000bda0
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000c610
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push 1
push 0
push 0
push dword [ebp + 8]
mov edi, ecx
push edx
push edi
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000c668
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
cmp edi, 0x17
jne 0x1000c660
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x1b
push 0x29
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x10098c30
push eax
lea ecx, [ebp - 0x10]
call fcn.100023e0
mov ecx, dword [ebp + 0xc]
pop edi
pop esi
movq xmm0, qword [eax]
movq qword [ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x1000cd30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077d9e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x10098140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.boost::asio::detail::win_iocp_io_context.0
mov dword [esi + 0x14], 0
lea ebx, [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [ebx], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x38]
mov dword [esi + 0x34], 0
call fcn.1000ba30
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0xffffffff
mov dword [esi + 0x60], 0
push 0xffffffffffffffff
push 0
push 0
push 0xffffffffffffffff
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esi + 0x14], eax
test eax, eax
jne 0x1000ce9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x10098c38]
mov edi, eax
mov eax, dword [0x10098c3c]
cmp ecx, 0x257edfd1
jne 0x1000ce34
cmp eax, 0xb2ab117a
je 0x1000ce43
cmp ecx, 0x257edfd0
jne 0x1000ce4a
cmp eax, 0xb2ab117a
jne 0x1000ce4a
test edi, edi
setne al
jmp 0x1000ce5a
mov eax, dword [0x10098c30]
mov ecx, 0x10098c30
push edi
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0x10098c30
mov dword [ebp - 0x30], str.D:ProgrammsLibrares_boost_boost_asiodetailimplwin_iocp_io_context.ipp
mov dword [ebp - 0x2c], str.win_iocp_io_context
mov dword [ebp - 0x28], 0x67
mov dword [ebp - 0x24], 0x1a
test al, 1
je 0x1000ce9a
cmp eax, 1
jne 0x1000cf18
test edi, edi
jne 0x1000cf18
cmp byte [ebp + 0x10], 0
je 0x1000cf02
lock inc dword [ebx]
push 0xc
call fcn.1004ff59
mov edi, eax
add esp, 4
mov dword [ebp + 0x10], edi
mov byte [ebp - 4], 7
push 0x10
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.1004ff59
add esp, 4
mov dword [ebp + 8], eax
mov ecx, edi
mov dword [eax], vtable.boost::asio::detail::win_thread::func_struct_boost::asio::detail::win_iocp_io_context::thread_function_.0
push 0
push eax
mov dword [eax + 0xc], esi
call fcn.1000c950
mov ebx, dword [esi + 0x60]
test ebx, ebx
je 0x1000ceff
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push ebx
call fcn.100502a8
add esp, 8
mov dword [esi + 0x60], edi
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 0xc
lea eax, [ebp - 0x30]
mov edx, str.iocp
push eax
lea ecx, [ebp - 0x20]
call fcn.10002e60
int3
Function at 0x1000d340
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077e05
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x10098140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edx, edx
lea eax, [esi + 0x18]
lock xadd dword [eax], edx
test edx, edx
jne 0x1000d3a3
call fcn.1000d4d0
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
xor eax, eax
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
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], 0
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.1004e14a
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
add esp, 4
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x4c], xmm0
movups xmmword [ebp - 0x3c], xmm0
mov ecx, esi
mov dword [ebp - 4], 0
push dword [0x1009e9b8]
neg ecx
lea eax, [esi + 0x14]
sbb ecx, ecx
and ecx, eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push dword [0x1009e9b8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push ebx
push eax
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
xor edi, edi
call fcn.1000d710
test eax, eax
je 0x1000d44d
cmp edi, 0xffffffff
lea eax, [edi + 1]
push ebx
cmove eax, edi
mov edi, eax
lea eax, [ebp - 0x4c]
push eax
push ecx
mov ecx, esi
call fcn.1000d710
test eax, eax
jne 0x1000d431
push dword [ebp - 0x10]
push dword [0x1009e9b8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor esi, esi
nop
mov eax, dword [ebp + esi*4 - 0x4c]
test eax, eax
je 0x1000d471
push eax
call fcn.100502a3
add esp, 4
inc esi
cmp esi, 0xa
jl 0x1000d460
lea eax, [ebp - 0x20]
push eax
call fcn.1004e235
add esp, 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 4
Function at 0x1000dda0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077ebd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10098140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x14], eax
xor bl, bl
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
lea esi, [eax + 0x4c]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], 4
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1000de22
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 0x1000de25
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
cmp eax, edx
je 0x1000de22
cmp dword [eax + 8], edi
je 0x1000de3f
mov ecx, dword [eax]
mov eax, ecx
cmp ecx, edx
jne 0x1000de15
mov ecx, dword [esi - 0x10]
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push eax
push ecx
lea ecx, [esi - 0x14]
call fcn.10017b60
test al, al
jne 0x1000de43
test bl, bl
jne 0x1000de43
jmp 0x1000de45
mov ecx, eax
jmp 0x1000de25
mov bl, 1
add esi, 0x1c
sub dword [ebp - 0x10], 1
jne 0x1000ddf1
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [esi + 0x14]
call fcn.100032a0
test bl, bl
je 0x1000df63
push 0
push 0
lea eax, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push 0
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push eax
push dword [esi + 0x34]
mov dword [ebp + 0xc], 0
call dword [sym.imp.WS2_32.dll_WSASend]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x10098c30
push eax
lea ecx, [ebp - 0x38]
call fcn.100023e0
mov ebx, 0x1ffff7
movq xmm0, qword [eax]
mov esi, dword [eax + 8]
movq qword [ebp - 0x2c], xmm0
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
cmp esi, 1
je 0x1000deca
mov eax, ecx
jmp 0x1000ded8
xor edx, edx
mov eax, edi
div ebx
imul eax, edx, 0x3e8
add eax, ecx
cmp eax, 0x40
jne 0x1000df0d
mov ecx, dword [0x10098c38]
mov eax, dword [0x10098c3c]
cmp ecx, 0x257edfd1
jne 0x1000def7
cmp eax, 0xb2ab117a
je 0x1000df63
cmp ecx, 0x257edfd0
jne 0x1000df06
cmp eax, 0xb2ab117a
je 0x1000df63
push 0x2746
jmp 0x1000df56
cmp esi, 1
jne 0x1000df20
xor edx, edx
mov eax, edi
div ebx
imul eax, edx, 0x3e8
add ecx, eax
cmp ecx, 0x4d2
jne 0x1000df63
mov ecx, dword [0x10098c38]
mov eax, dword [0x10098c3c]
cmp ecx, 0x257edfd1
jne 0x1000df42
cmp eax, 0xb2ab117a
je 0x1000df63
cmp ecx, 0x257edfd0
jne 0x1000df51
cmp eax, 0xb2ab117a
je 0x1000df63
push 0x274d
mov eax, dword [0x10098c30]
mov ecx, 0x10098c30
call dword [eax + 0x18]
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0x20]
mov ecx, edi
test ecx, ecx
je 0x1000dfb4
mov esi, ecx
nop word [eax + eax]
mov eax, dword [edi + 0x14]
xorps xmm0, xmm0
mov dword [esi + 0x14], 0
mov edi, eax
mov esi, eax
movq qword [ebp - 0x2c], xmm0
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x24], 0
push eax
mov eax, dword [ecx + 0x18]
push ecx
push 0
call eax
add esp, 0x10
mov ecx, esi
test esi, esi
jne 0x1000df80
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