joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006f2a0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c2c8d
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x102bd850]
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, edx
mov esi, ecx
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xa4], 0
call fcn.1006f4c0
push eax
sub esp, 8
mov ecx, edi
call fcn.1006fa80
test eax, eax
jne 0x1006f374
push 0xffffffffffffffff
push 4
lea eax, [ebp - 0xbc]
mov ecx, edi
push eax
call fcn.10029760
mov ebx, eax
mov dword [ebp - 4], 1
cmp edi, ebx
je 0x1006f33e
cmp dword [edi + 0x14], 0x10
jb 0x1006f325
push dword [edi]
call fcn.1008e1e9
add esp, 4
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], 0
push ebx
mov byte [edi], 0
call fcn.100197f0
mov byte [ebp - 4], 0
cmp dword [ebp - 0xa8], 0x10
jb 0x1006f359
push dword [ebp - 0xbc]
call fcn.1008e1e9
add esp, 4
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], 0
mov byte [ebp - 0xbc], 0
cmp dword [edi + 0x14], 0x10
xorps xmm0, xmm0
mov eax, dword [edi + 0x10]
movlpd qword [ebp - 0xa0], xmm0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x54], 0x6a09e667
mov dword [ebp - 0x50], 0xbb67ae85
mov dword [ebp - 0x4c], 0x3c6ef372
mov dword [ebp - 0x48], 0xa54ff53a
mov dword [ebp - 0x44], 0x510e527f
mov dword [ebp - 0x40], 0x9b05688c
mov dword [ebp - 0x3c], 0x1f83d9ab
mov dword [ebp - 0x38], 0x5be0cd19
jb 0x1006f3cc
mov edi, dword [edi]
push eax
push edi
lea ecx, [ebp - 0xa0]
call fcn.10081da0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa0]
call fcn.10081fa0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x1006f405
mov eax, dword [esi]
jmp 0x1006f407
mov eax, esi
lea edx, [ebp - 0x30]
cmp edx, eax
jb 0x1006f442
cmp ecx, 0x10
jb 0x1006f417
mov edx, dword [esi]
jmp 0x1006f419
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x30]
cmp eax, edx
jbe 0x1006f442
cmp ecx, 0x10
jb 0x1006f42e
mov ecx, dword [esi]
jmp 0x1006f430
mov ecx, esi
push 0x20
lea eax, [ebp - 0x30]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.10004200
jmp 0x1006f485
cmp ecx, 0x20
jae 0x1006f453
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call fcn.10004370
cmp dword [esi + 0x14], 0x10
jb 0x1006f45d
mov eax, dword [esi]
jmp 0x1006f45f
mov eax, esi
push 0x20
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.10093c70
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x1006f47f
mov eax, dword [esi]
jmp 0x1006f481
mov eax, esi
mov byte [eax + 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xa4], 1
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 - 0x10]
xor ecx, ebp
call fcn.1008e065
mov esp, ebp
pop ebp
ret
Function at 0x10070a50
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x102bd850]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 4
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x10070b38
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10070b31
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ebx, [ebx]
cmp dword [ebp - 0x20], 0x10
jb 0x10070b16
call ebx
cmp dword [ebp - 0x14], eax
jne 0x10070b16
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10070b16
mov ecx, dword [esi]
test ecx, ecx
jne 0x10070adf
push 0x200
push ecx
push dword [0x102c9fcc]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi], eax
test eax, eax
je 0x10070b30
jmp 0x10070b08
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10070b08
shl eax, 3
push eax
push ecx
push 0
push dword [0x102c9fcc]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x10070b30
mov ecx, dword [esi + 4]
add ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov edx, dword [esi + 8]
mov ecx, dword [esi]
mov eax, dword [ebp - 0x18]
mov dword [ecx + edx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10070aa0
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1008e065
mov esp, ebp
pop ebp
ret

Function at 0x10070b50
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.10070a50
cmp dword [edi], 0
je 0x10070bbc
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x10070bbb
push ebx
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10070bb4
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.10070910
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x10070b81
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10070bd0
Capabilities:
Resume thread

Disassembly:
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x10070c1c
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x10070c0b
push ebx
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10070c04
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x10070be1
pop ebx
push dword [edi]
push 0
push dword [0x102c9fcc]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
ret
Function at 0x10070c20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x102bd850]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x102cd270]
lea ecx, [ecx + ecx*4]
test byte [eax + ecx*8 + 0x14], 1
push ebx
push esi
mov esi, dword [eax + ecx*8]
mov ebx, edx
push edi
lea edi, [eax + ecx*8]
mov eax, 5
mov dword [ebp - 0xc], eax
je 0x10070c5c
sub esi, eax
mov eax, 7
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 8]
push ecx
push 0x40
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10070c84
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008e065
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10070ca5
mov byte [esi], 0xe9
mov eax, dword [edi + 4]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
test byte [edi + 0x14], 1
je 0x10070cc6
mov eax, dword [edi]
mov word [eax], 0xf9eb
jmp 0x10070cc6
mov eax, dword [edi + 0xc]
test byte [edi + 0x14], 1
mov dword [esi], eax
je 0x10070cc0
mov ax, word [edi + 0x10]
mov word [esi + 4], ax
mov al, byte [edi + 0x12]
mov byte [esi + 6], al
jmp 0x10070cc6
mov al, byte [edi + 0x10]
mov byte [esi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
and ebx, 1
mov ecx, ebx
and ecx, 0xfffffffd
lea eax, [ebx + ebx]
or ecx, eax
mov eax, dword [edi + 0x14]
add ecx, ecx
and eax, 0xfffffff9
or ecx, eax
xor eax, eax
mov dword [edi + 0x14], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008e065
mov esp, ebp
pop ebp
ret
Function at 0x100717b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x102bd850]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x104], 0x600042
push ebx
push esi
push edi
push 1
push 0x102cbf40
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x104]
push 0x31
push eax
mov dword [ebp - 0x100], 0x6f006f
mov dword [ebp - 0xfc], 0x75006e
mov dword [ebp - 0xf8], 0x6e0021
mov dword [ebp - 0xf4], 0x640071
mov dword [ebp - 0xf0], 0x21006f
mov dword [ebp - 0xec], 0x64006a
mov dword [ebp - 0xe8], 0x210078
mov dword [ebp - 0xe4], 0x21002c
mov dword [ebp - 0xe0], 0x6a005a
mov dword [ebp - 0xdc], 0x780064
mov dword [ebp - 0xd8], 0x24003b
mov dword [ebp - 0xd4], 0x240030
mov dword [ebp - 0xd0], 0x21005c
mov dword [ebp - 0xcc], 0x71005a
mov dword [ebp - 0xc8], 0x750060
mov dword [ebp - 0xc4], 0x3b0069
mov dword [ebp - 0xc0], 0x330024
mov dword [ebp - 0xbc], 0x5c0024
mov dword [ebp - 0xb8], 0x5a0021
mov dword [ebp - 0xb4], 0x640073
mov dword [ebp - 0xb0], 0x3b0075
mov dword [ebp - 0xac], 0x320024
mov dword [ebp - 0xa8], 0x5c0024
mov dword [ebp - 0xa4], 1
call fcn.10048e70
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1008e065
mov esp, ebp
pop ebp
ret
Function at 0x10075050
Capabilities:
Parse credit card information

Disassembly:
add ecx, 0xfffffffe
cmp ecx, 8
ja case.default.0x1007505c
jmp dword [ecx*4 + 0x10075184]
cmp dl, 0x40
jne 0x1007506e
mov eax, 4
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x1007507a
cmp al, 0x7a
jbe 0x100750dd
cmp dl, 0x30
jl 0x10075084
cmp dl, 0x39
jle 0x100750dd
cmp dl, 0x2d
je 0x100750dd
cmp dl, 0x5f
je 0x100750dd
cmp dl, 0x2e
je 0x100750dd
cmp dl, 0x21
je 0x100750dd
cmp dl, 0x7e
je 0x100750dd
cmp dl, 0x2a
je 0x100750dd
cmp dl, 0x27
je 0x100750dd
cmp dl, 0x28
je 0x100750dd
cmp dl, 0x29
je 0x100750dd
cmp dl, 0x25
je 0x100750dd
cmp dl, 0x3b
je 0x100750dd
cmp dl, 0x3a
je 0x100750dd
cmp dl, 0x26
je 0x100750dd
cmp dl, 0x3d
je 0x100750dd
cmp dl, 0x2b
je 0x100750dd
cmp dl, 0x24
je 0x100750dd
cmp dl, 0x2c
jne case.default.0x1007505c
mov eax, 3
ret
cmp dl, 0x5b
jne 0x100750ee
mov eax, 5
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x100750fa
cmp al, 0x7a
jbe 0x1007510e
cmp dl, 0x30
jl 0x10075104
cmp dl, 0x39
jle 0x1007510e
cmp dl, 0x2e
je 0x1007510e
cmp dl, 0x2d
jne case.default.0x1007505c
mov eax, 6
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x10075120
cmp al, 0x7a
jbe 0x1007510e
cmp dl, 0x30
jl 0x1007512a
cmp dl, 0x39
jle 0x1007510e
cmp dl, 0x2e
je 0x1007510e
cmp dl, 0x2d
je 0x1007510e
cmp dl, 0x3a
jne case.default.0x1007505c
mov eax, 9
ret
cmp dl, 0x5d
jne case.0x1007505c.5
mov eax, 8
ret
cmp dl, 0x30
jl 0x10075154
cmp dl, 0x39
jle 0x1007516a
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x10075160
cmp al, 0x66
jbe 0x1007516a
cmp dl, 0x3a
je 0x1007516a
cmp dl, 0x2e
jne case.default.0x1007505c
mov eax, 7
ret
sub dl, 0x30
mov eax, 0xa
cmp dl, 9
jbe 0x10075182
mov eax, 1
ret

Function at 0x10075a10
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x102bd850]
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 0x10075a55
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.100b0420
mov dword [esp + 0x10], eax
test esi, esi
jne 0x10075a68
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.1008e065
mov esp, ebp
pop ebp
ret
mov edx, 0x1029d78c
lea ecx, [esp + 0xc]
call fcn.10075810
int3
Function at 0x10075d60
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x102bd850]
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 0x102cae7c
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0
push dword [esi + 4]
test eax, eax
je 0x10075dc3
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008e065
mov esp, ebp
pop ebp
ret
push fcn.100044e0
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.1008e065
mov esp, ebp
pop ebp
ret
Function at 0x10075df0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x102bd850]
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 0x10075e59
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.100b0420
mov dword [esp + 0x14], eax
test esi, esi
jne 0x10075f3c
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 0x10075ea5
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.100b0420
mov dword [esp + 0x14], eax
test esi, esi
jne 0x10075f4a
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 0
push ebx
push 0x10075f70
push 0
push 0
call fcn.100919bc
add esp, 0x18
mov dword [esi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10075f18
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 0x10075eec
push edi
call esi
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x10075efa
push eax
call esi
mov ebx, dword [esp + 0x10]
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x18], ebx
call fcn.100b0420
mov dword [esp + 0x1c], eax
test ebx, ebx
jne 0x10075f58
test edi, edi
je 0x10075f28
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.1008e065
mov esp, ebp
pop ebp
ret 8
mov edx, str.thread.entry_event
lea ecx, [esp + 0x10]
call fcn.10075810
mov edx, str.thread.exit_event
lea ecx, [esp + 0x10]
call fcn.10075810
mov edx, str.thread
lea ecx, [esp + 0x18]
call fcn.10075810
int3
Function at 0x10076020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c32e7
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x102bd850]
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 eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [edi], vtable.boost::asio::io_service::service.0
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::service_base_class_boost::asio::detail::win_iocp_io_service_.0
mov dword [ebp - 4], 1
mov dword [edi], vtable.boost::asio::detail::win_iocp_io_service.0
mov dword [edi + 0x14], 0
mov byte [ebp - 4], 2
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov byte [ebp - 4], 3
mov dword [edi + 0x2c], 0
mov byte [ebp - 4], 4
lea ecx, [edi + 0x34]
mov dword [edi + 0x30], 0
call fcn.10075a80
xorps xmm0, xmm0
mov esi, eax
movq qword [ebp - 0x18], xmm0
call fcn.100b0420
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
test esi, esi
je 0x10076100
mov edx, str.mutex
lea ecx, [ebp - 0x18]
call fcn.10075810
mov byte [ebp - 4], 5
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov byte [ebp - 4], 6
or eax, 0xffffffff
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 0x10076166
call dword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
mov esi, eax
movq qword [ebp - 0x18], xmm0
call fcn.100b0420
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
test esi, esi
je 0x10076166
mov edx, str.iocp
lea ecx, [ebp - 0x18]
call fcn.10075810
mov dword [ebp - 4], 0xffffffff
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.1008e065
mov esp, ebp
pop ebp
ret 8
Function at 0x100764e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3400
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x102bd850]
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 0x1007653c
mov ecx, edi
call fcn.10076600
call fcn.100b0420
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebx], 0
jmp 0x100765d3
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
push dword [0x102cc084]
movq qword [ebp - 0x24], xmm0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
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 [0x102cc084]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov byte [ebp - 4], 2
xor esi, esi
push ebx
push ecx
mov ecx, edi
call fcn.10076790
test eax, eax
je 0x100765a7
cmp esi, 0xffffffff
je 0x1007659a
inc esi
push ebx
push ecx
mov ecx, edi
call fcn.10076790
test eax, eax
jne 0x10076594
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
push dword [0x102cc084]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100765d1
push ecx
call fcn.1008e1e9
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.1008e065
mov esp, ebp
pop ebp
ret 4
Function at 0x10076cb0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x102bd850]
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 0x10076dbf
cmp byte [ebp + 8], bl
je 0x10076d2b
test byte [esi], 8
je 0x10076d2b
xor eax, eax
mov dword [ebp - 8], eax
call fcn.100b0420
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.100b0420
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
jne 0x10076d2d
call fcn.100b0420
jmp 0x10076d2d
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.100b0420
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
je 0x10076dbf
call fcn.100b0420
cmp dword [edi + 4], eax
jne 0x10076d66
cmp dword [edi], 0x2733
je 0x10076d78
call fcn.100b0420
cmp dword [edi + 4], eax
jne 0x10076dbb
cmp dword [edi], 0x4d5
jne 0x10076dbb
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.100b0420
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
jne 0x10076dcd
call fcn.100b0420
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.1008e065
mov esp, ebp
pop ebp
ret

Function at 0x10076de0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
cmp esi, 0xffffffff
jne 0x10076e09
call fcn.100b0420
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
or eax, esi
mov dword [ecx], 0x2719
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [ebp + 8]
push edi
push esi
call dword [sym.imp.WS2_32.dll_connect]
mov ebx, eax
call fcn.100b0420
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, dword [ebp + 0xc]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
jne 0x10076e41
call fcn.100b0420
mov dword [edi], ebx
mov dword [edi + 4], eax
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
pop ebp
ret