joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10031190
Capabilities:
Encode data using xor

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 0x100d15e5
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x128
mov eax, dword [0x10105230]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x80], edi
mov dword [ebp - 4], 0
cmp dword [edi + 0x308], 0
jne 0x100313f6
movaps xmm0, xmmword [0x100efea0]
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x6c], 0x3d3b2f
mov byte [ebp - 4], 1
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x7b]
xor al, byte [ebp - 0x7c]
mov byte [ebp + ecx - 0x68], al
inc ecx
cmp ecx, 0x12
jb 0x10031210
push ecx
lea edx, [ebx + 8]
mov byte [ebp - 0x56], 0
lea ecx, [ebp - 0x38]
call fcn.10010210
add esp, 4
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.10008e80
mov dword [ebp - 0x44], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x40], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x54], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x44], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x100312b2
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100312a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003144c
push ecx
push edx
call fcn.1009517b
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
push 0x40
mov byte [ebp - 4], 6
call fcn.10094e31
mov esi, eax
add esp, 4
mov dword [ebp - 0x84], esi
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 7
push eax
mov ecx, esi
call fcn.10065f20
mov dword [edi + 0x308], esi
jmp 0x100313c6
mov ecx, dword [ebp - 0x40]
cmp ecx, 0x10
jb 0x100313f6
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100313ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10031451
push ecx
push edx
call fcn.1009517b
add esp, 8
mov ecx, dword [ebx + 0x1c]
cmp ecx, 8
jb 0x1003142c
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10031422
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10031456
push ecx
push edx
call fcn.1009517b
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10094e23
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
call fcn.100a129f
call fcn.100a129f
call fcn.100a129f
int3
Function at 0x10036c50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d1f30
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x10105230]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x10105e2d], 0
jne 0x10036c8b
call fcn.100369f0
call fcn.10034fb0
mov edi, eax
test edi, edi
jne 0x10036d9d
call fcn.10035830
mov edi, eax
test edi, edi
jne 0x10036d9d
push ecx
lea ecx, [ebp - 0xf0]
mov byte [0x10105e2d], al
call fcn.100045c0
mov edx, str._TID:
mov dword [ebp - 4], edi
lea ecx, [ebp - 0xe0]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001ec80
mov edx, 0x100ec450
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100efd20]
mov esi, eax
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0xf0f191f
mov word [ebp - 0x28], 0x5d
mov byte [ebp - 4], 1
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + ecx - 0x3b]
xor al, byte [ebp - 0x3c]
mov byte [ebp + ecx - 0x26], al
inc ecx
cmp ecx, 0x14
jb 0x10036d10
lea edx, [ebp - 0x26]
mov byte [ebp - 0x12], 0
mov ecx, esi
call fcn.10006770
mov byte [ebp - 4], 0
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0xf0]
lea eax, [ebp - 0x2c]
push eax
call fcn.100044d0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x10036d55
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 2
call fcn.10003ef0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10036d92
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036d88
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036dba
push ecx
push edx
call fcn.1009517b
add esp, 8
lea ecx, [ebp - 0xf0]
call fcn.10004400
mov eax, edi
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.10094e23
mov esp, ebp
pop ebp
ret
call fcn.100a129f
int3
Function at 0x10037a70
Capabilities:
Encode data using xor

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 0x100d207d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4c
mov eax, dword [0x10105230]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1010eeec]
test eax, eax
je 0x10037ac7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1010eeec], 0
movaps xmm0, xmmword [0x100efe20]
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0x797b1630
mov word [ebp - 0x48], 0x7a7b
mov byte [ebp - 0x46], 0
mov dword [ebp - 4], 0
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + ecx - 0x5b]
xor al, byte [ebp - 0x5c]
mov byte [ebp + ecx - 0x45], al
inc ecx
cmp ecx, 0x15
jb 0x10037af0
xorps xmm0, xmm0
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x45]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10037b20
sub ecx, edx
lea eax, [ebp - 0x45]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000ad50
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov esi, eax
test esi, esi
jne 0x10037ba4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10037b85
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037b7b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037bd8
push ecx
push edx
call fcn.1009517b
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10094e23
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10037b85
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037b7b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10037b7b
call fcn.100a129f
int3
Function at 0x100393c0
Capabilities:
Encode data using xor
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d2338
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x10105230]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1e0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10039551
push ecx
lea ecx, [ebp - 0x290]
call fcn.100045c0
mov edx, str._TID:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x280]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001ec80
mov edx, 0x100ec450
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100efd80]
mov esi, eax
movups xmmword [ebp - 0x50], xmm0
mov word [ebp - 0x40], 0x743c
mov byte [ebp - 0x3e], 0
mov byte [ebp - 4], 1
xor ecx, ecx
mov al, byte [ebp + ecx - 0x4f]
xor al, byte [ebp - 0x50]
mov byte [ebp + ecx - 0x3d], al
inc ecx
cmp ecx, 0x11
jb 0x10039462
lea edx, [ebp - 0x3d]
mov byte [ebp - 0x2c], 0
mov ecx, esi
call fcn.10006770
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.1001b030
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x1003949a
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.10007140
mov byte [ebp - 4], 1
add esp, 4
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x100394df
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100394d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003956d
push ecx
push edx
call fcn.1009517b
add esp, 8
mov byte [ebp - 4], 0
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x28]
push eax
call fcn.100044d0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x10039505
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 4
call fcn.10003ef0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10039542
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10039538
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039572
push ecx
push edx
call fcn.1009517b
add esp, 8
lea ecx, [ebp - 0x290]
call fcn.10004400
xor al, al
jmp 0x10039553
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10094e23
mov esp, ebp
pop ebp
ret
call fcn.100a129f
call fcn.100a129f
int3
Function at 0x1003ba10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d283c
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x10105230]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x1010eeec]
test eax, eax
je 0x1003bbab
push 0x64
push eax
call esi
cmp eax, 0x102
je 0x1003ba42
push ecx
lea ecx, [ebp - 0xe4]
call fcn.100045c0
mov edx, str._TID:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xd4]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001ec80
mov edx, 0x100ec450
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100efcf0]
mov esi, eax
movups xmmword [ebp - 0x34], xmm0
mov word [ebp - 0x24], 6
mov byte [ebp - 4], 1
xor ecx, ecx
mov al, byte [ebp + ecx - 0x33]
xor al, byte [ebp - 0x34]
mov byte [ebp + ecx - 0x22], al
inc ecx
cmp ecx, 0x10
jb 0x1003bab3
lea edx, [ebp - 0x22]
mov byte [ebp - 0x12], 0
mov ecx, esi
call fcn.10006770
mov byte [ebp - 4], 0
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0xe4]
lea eax, [ebp - 0x2c]
push eax
call fcn.100044d0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x1003baf8
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 2
call fcn.10003ef0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x1003bb3d
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003bb33
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003bbc5
push ecx
push edx
call fcn.1009517b
add esp, 8
lea ecx, [ebp - 0xe4]
mov dword [ebp - 4], 0xffffffff
call fcn.10004400
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1010e0b4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1010f0c4]
cmp eax, dword [ecx + 4]
jle 0x1003bba4
push 0x1010f0c4
call fcn.10095305
add esp, 4
cmp dword [0x1010f0c4], 0xffffffff
jne 0x1003bba4
mov dword [ebp - 4], 3
call fcn.10030130
push 0x100da480
call fcn.10095166
push 0x1010f0c4
call fcn.100952bb
add esp, 8
mov byte [0x1010f403], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10094e23
mov esp, ebp
pop ebp
ret
call fcn.100a129f
int3
Function at 0x10059b30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d507c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10105230]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 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
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x10059be4
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [ebp + 0xc]
lea ecx, [edi + 0x70]
mov byte [ebp - 4], 5
mov byte [edi + 0x60], al
push 9
mov byte [edi + 0x68], 9
call fcn.1005bf70
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x10]
mov byte [ebp - 0xd], 1
call fcn.10059ae0
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x10059c28
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
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 0x30
Function at 0x1005d790
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

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 0x100d556d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x10105230]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov eax, ecx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov esi, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x88], eax
mov eax, 3
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0
nop word [eax + eax]
movaps xmm0, xmmword [0x100efdb0]
dec eax
mov dword [ebp - 0x88], eax
xor eax, eax
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0x3b313428
mov dword [ebp - 0x70], 0x37312c39
mov dword [ebp - 0x6c], 0x2b327736
mov word [ebp - 0x68], 0x3637
mov byte [ebp - 0x66], 0
nop word [eax + eax]
mov cl, byte [ebp + eax - 0x83]
xor cl, byte [ebp - 0x84]
mov byte [ebp + eax - 0x65], cl
inc eax
cmp eax, 0x1d
jb 0x1005d870
cmp dword [esi + 0x14], 0x10
mov ecx, esi
mov byte [ebp - 0x48], 0
jb 0x1005d895
mov ecx, dword [esi]
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x1005d89f
mov eax, dword [edi]
lea edx, [ebp - 0x44]
push edx
push 0x1005da80
push 0x1388
push 0x1388
push 1
lea edx, [ebp - 0x65]
push edx
push ecx
push eax
call dword [sym.imp.HttpClient.dll_HTTPAPI_RequestPost]
add esp, 0x20
cmp dword [ebp - 0x34], 0
jne 0x1005d8df
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x88]
test eax, eax
jne 0x1005d830
mov esi, dword [ebp - 0x8c]
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
call fcn.10003430
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x1005d920
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d916
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d982
push ecx
push edx
call fcn.1009517b
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0x10
jb 0x1005d962
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d958
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d982
push ecx
push edx
call fcn.1009517b
add esp, 8
mov eax, esi
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.10094e23
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100a129f
int3
Function at 0x1005f120
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10105230]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push edi
mov edi, ecx
mov dword [edi + 0xc], 0
mov dword [edi + 0x54], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi], vtable.speed::core::CTCPHandle.0
movups xmmword [edi + 0x5c], xmm0
movq qword [edi + 0x6c], xmm0
mov dword [edi + 0x74], 0
movups xmmword [edi + 0x78], xmm0
movq qword [edi + 0x88], xmm0
mov dword [edi + 0x90], 0
mov dword [edi + 0x58], eax
mov eax, dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [edi + 0x94], 0
cmp dword [0x1010eef0], 0
jne 0x1005f2b8
push 1
push 0
push 0
push 0
push 1
push 2
call eax
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1005f2cf
push esi
mov esi, dword [sym.imp.WS2_32.dll_WSAIoctl]
lea eax, [ebp - 0x18]
push 0
push 0
push eax
push 4
push 0x1010eef0
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0xb5367df1
push eax
push 0xc8000006
push ebx
mov dword [ebp - 0x10], 0x11cfcbac
mov dword [ebp - 0xc], 0x8000ca95
mov dword [ebp - 8], 0x92a1485f
mov dword [ebp - 0x18], 0
call esi
push 0
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x25a207b9
push eax
push 4
push 0x1010eef4
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0x4660ddf3
push eax
push 0xc8000006
push ebx
mov dword [ebp - 0xc], 0xe576e98e
mov dword [ebp - 8], 0x3e06748c
mov dword [ebp - 0x18], 0
call esi
push 0
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0xb5367df2
push eax
push 4
push 0x1010eef8
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0x11cfcbac
push eax
push 0xc8000006
push ebx
mov dword [ebp - 0xc], 0x8000ca95
mov dword [ebp - 8], 0x92a1485f
mov dword [ebp - 0x18], 0
call esi
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [sym.imp.WS2_32.dll_WSASocketW]
pop esi
push 1
push 0
push 0
push 6
push 1
push dword [ebp + 8]
call eax
cmp eax, 0xffffffff
je 0x1005f2cf
mov dword [edi + 0xc], eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.10094e23
mov esp, ebp
pop ebp
ret 4
Function at 0x1005f3c0
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10105230]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x58]
cmp eax, 2
je 0x1005f424
cmp eax, 0x17
jne 0x1005f48d
push dword [ebp + 0xc]
xorps xmm0, xmm0
mov word [ebp - 0x20], ax
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x18]
push eax
push edi
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x1005f48d
push 0x1c
lea eax, [ebp - 0x20]
jmp 0x1005f458
push dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, 2
movups xmmword [ebp - 0x14], xmm0
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x10]
push eax
push edi
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x1005f48d
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x1005f48d
push bind
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
setne al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10094e23
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.10094e23
mov esp, ebp
pop ebp
ret 8
Function at 0x1005faf0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d596f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10105230]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], edi
cmp byte [ebp + 0x10], 0
mov dword [ebp - 4], 0
je 0x1005fba1
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x10], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x1005fb53
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
push edi
mov edx, ebx
mov byte [ebp - 4], 0
mov ecx, 2
call fcn.1005ecd0
mov edi, eax
add esp, 0x2c
test edi, edi
jne 0x1005fbfa
xor bl, bl
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x1005fb8b
mov esi, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34
push 0x100e074e
push 0x58
call fcn.100954f9
mov esi, eax
add esp, 8
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x1005fb71
sub esp, 0x28
mov edi, esp
mov dword [ebp - 0x18], edi
mov dword [edi + 0x24], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x1005fbdf
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 2
mov ecx, esi
push dword [ebp - 0x10]
push ebx
push 2
call fcn.1005ec00
mov edi, eax
test edi, edi
je 0x1005fb71
mov ecx, dword [ebp - 0x14]
lea eax, [edi + 0x4c]
push 0
push edi
push 0
push 0
push 1
push eax
mov dword [edi + 0x14], ecx
push dword [ecx + 0xc]
call dword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, 0xffffffff
jne 0x1005fc6f
cmp eax, 0x3e5
je 0x1005fc6f
cmp byte [edi + 0x48], 0
je 0x1005fc40
mov eax, dword [edi + 0x50]
test eax, eax
je 0x1005fc40
push eax
call fcn.100951ac
add esp, 4
mov ecx, dword [edi + 0x44]
lea esi, [edi + 0x20]
test ecx, ecx
je 0x1005fc5f
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x24], 0
push 0x58
push edi
call fcn.1009517b
add esp, 8
jmp 0x1005fb71
mov bl, 1
jmp 0x1005fb73