joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10044a90
Capabilities:
Get common file path

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 0x1008cad0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x234
mov eax, dword [0x100a70c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x240], esi
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x13
push str.C:Windows_system32
mov dword [ebp - 4], eax
call fcn.1001d110
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10065910
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10044c46
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x224], 0
movups xmmword [ebp - 0x238], xmm0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10044b70
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.10003c00
lea eax, [ebp - 0x238]
cmp esi, eax
je 0x10044c0a
mov ecx, dword [esi + 0x14]
cmp ecx, 7
jbe 0x10044bd5
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x10044bcb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10044c73
mov eax, edx
push ecx
push eax
call fcn.10063674
add esp, 8
movups xmm0, xmmword [ebp - 0x238]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov ecx, 7
movups xmmword [esi], xmm0
mov word [ebp - 0x238], ax
movq xmm0, qword [ebp - 0x228]
movq qword [esi + 0x10], xmm0
jmp 0x10044c10
mov ecx, dword [ebp - 0x224]
cmp ecx, 7
jbe 0x10044c46
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10044c3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10044c73
push ecx
push edx
call fcn.10063674
add esp, 8
push 0x12
push str.driversetchosts
mov ecx, esi
call fcn.1001d220
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10063317
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1006dd1f
int3
Function at 0x10048c50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x10048c81
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10048c70
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x10054aa0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008dc2e
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100a70c0]
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 - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [esi + 0x130], xmm0
mov dword [esi + 0x140], 0
mov dword [esi + 0x144], 0xf
mov byte [esi + 0x130], 0
lea ecx, [esi + 0x148]
mov byte [ebp - 4], 1
call fcn.1004e6f0
mov edi, dword [ebp + 8]
lea eax, [esi + 0x1c]
push eax
mov dword [esi + 4], edi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 5
mov dword [eax], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esi + 0x20], 6
jb 0x10054b74
push str.Iphlpapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x14], eax
test eax, eax
je 0x10054b74
push str.GetIpInterfaceEntry
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x18], eax
lea eax, [esi + 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp edi, 3
je 0x10054c48
call fcn.10028cd0
lea ecx, [ebp - 0x28]
lea edx, [eax + 0x394]
call fcn.1001b990
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 7
jbe 0x10054ba9
mov eax, dword [eax]
push eax
call fcn.10056700
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x10054bed
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10054be3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10054c67
push ecx
push edx
call fcn.10063674
add esp, 8
call fcn.10028cd0
lea ecx, [ebp - 0x28]
lea edx, [eax + 0x37c]
call fcn.1001b990
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 7
jbe 0x10054c0c
mov eax, dword [eax]
push eax
call fcn.10056700
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x10054c48
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10054c3e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10054c6c
push ecx
push edx
call fcn.10063674
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 - 0x10]
xor ecx, ebp
call fcn.10063317
mov esp, ebp
pop ebp
ret 4
call fcn.1006dd1f
call fcn.1006dd1f
int3
Function at 0x100590a0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e105
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100a70c0]
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 ebx, ecx
mov esi, dword [ebp + 0x20]
mov dword [ebp - 0x30], esi
push 0
push 2
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
mov dword [esi], 0
push dword [ebx + 0xa0]
mov word [ebp - 0x2c], 0xf7ce
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x34], eax
test eax, eax
jg 0x100591cd
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi], eax
lea esi, [ebx + 0x88]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebx + 0xa0]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp edi, 0xffffffff
je 0x10059136
cmp byte [ebx + 0x78], 0
jne 0x10059136
xor bl, bl
jmp 0x10059138
mov bl, 1
call dword [0x10121134]
test al, al
je 0x100591da
call dword [0x10121130]
cmp eax, 3
jg 0x100591da
lea edx, [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.1001b990
mov ecx, eax
mov byte [ebp - 4], 1
cmp dword [ecx + 0x14], 7
jbe 0x1005916e
mov ecx, dword [ecx]
movzx eax, bl
push eax
mov eax, dword [ebp - 0x30]
push dword [eax]
push dword [ebp - 0x34]
push ecx
push str._AGENT
push 3
push 0x135
push str.subagentSubAgentMonitor.cpp
call dword [0x10121138]
mov ecx, dword [ebp - 0x14]
add esp, 0x20
cmp ecx, 7
jbe 0x100591da
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100591c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005922a
push ecx
push edx
call fcn.10063674
add esp, 8
jmp 0x100591da
push 0xc8
mov bl, 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x1005920a
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10059200
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005922f
push ecx
push edx
call fcn.10063674
add esp, 8
mov al, bl
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.10063317
mov esp, ebp
pop ebp
ret 0x1c
call fcn.1006dd1f
call fcn.1006dd1f
int3
Function at 0x1005c5e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e4dd
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100a70c0]
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 esi, ecx
push 0x24
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call fcn.1006332a
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push eax
push 0x10
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x30], 8
mov dword [ebp - 0x4c], 0x3f800000
call fcn.1005e410
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 2
push eax
mov ecx, esi
call fcn.1005b090
mov edi, dword [ebp - 0x48]
mov esi, dword [edi]
cmp esi, edi
je 0x1005c749
lea ebx, [esi + 8]
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10003d00
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x1005c708
push 0
push 4
push ebx
push 0x100593f0
push 0
push 0
call fcn.100740ee
add esp, 0x18
mov dword [ebx + 0xa4], eax
test eax, eax
jne 0x1005c708
push dword [ebx + 0x7c]
mov byte [ebx + 0x78], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [ebx + 0x84]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebx + 0xa4]
test eax, eax
je 0x1005c708
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebx + 0xa4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0xa4], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1005c73c
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005c732
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c7c4
push ecx
push edx
call fcn.10063674
add esp, 8
mov esi, dword [esi]
cmp esi, edi
jne 0x1005c693
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x1005c794
mov ecx, dword [ebp - 0x38]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1005c772
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c7c4
push ecx
push edx
call fcn.10063674
mov edi, dword [ebp - 0x48]
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov edx, edi
call fcn.1005ef50
push 0x24
push dword [ebp - 0x48]
call fcn.10063674
add esp, 8
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.10063317
mov esp, ebp
pop ebp
ret
call fcn.1006dd1f
int3
Function at 0x1005c7d0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e4dd
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100a70c0]
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 esi, ecx
push 0x24
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call fcn.1006332a
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push eax
push 0x10
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x30], 8
mov dword [ebp - 0x4c], 0x3f800000
call fcn.1005e410
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 2
push eax
mov ecx, esi
call fcn.1005b090
mov edi, dword [ebp - 0x48]
mov esi, dword [edi]
cmp esi, edi
je 0x1005c8df
nop
lea ebx, [esi + 8]
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10003d00
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1005c8a2
push dword [eax + 0xa4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1005c8d6
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005c8cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c95a
push ecx
push edx
call fcn.10063674
add esp, 8
mov esi, dword [esi]
cmp esi, edi
jne 0x1005c880
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x1005c92a
mov ecx, dword [ebp - 0x38]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1005c908
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c95a
push ecx
push edx
call fcn.10063674
mov edi, dword [ebp - 0x48]
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov edx, edi
call fcn.1005ef50
push 0x24
push dword [ebp - 0x48]
call fcn.10063674
add esp, 8
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.10063317
mov esp, ebp
pop ebp
ret
call fcn.1006dd1f
int3
Function at 0x1005e260
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp edx, eax
je 0x1005e3d3
cmp dword [edx + 0x1c], 0xf
mov eax, dword [ecx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0xc]
push ebx
mov dword [ebp - 0x14], eax
lea ebx, [edx + 8]
mov eax, dword [edx + 4]
push esi
mov dword [ebp - 8], eax
mov esi, edx
jbe 0x1005e299
mov ebx, dword [edx + 8]
mov eax, dword [edx + 0x18]
xor edx, edx
push edi
mov edi, 0x811c9dc5
test eax, eax
je 0x1005e2c4
mov ecx, eax
nop word [eax + eax]
movzx eax, byte [ebx + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1005e2b0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, edi
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
nop dword [eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.1005f2a0
push 0x30
push edi
call fcn.10063674
mov edi, dword [ebp - 4]
add esp, 8
dec dword [edi + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x1005e32d
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x1005e2e0
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x1005e3c8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
jne 0x1005e33f
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x1005e342
mov eax, dword [ebp - 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
cmp esi, eax
je 0x1005e3c8
nop dword [eax]
cmp dword [esi + 0x1c], 0xf
lea ebx, [esi + 8]
jbe 0x1005e35c
mov ebx, dword [esi + 8]
mov eax, dword [esi + 0x18]
xor ecx, ecx
mov dword [ebp + 8], eax
mov edx, 0x811c9dc5
test eax, eax
je 0x1005e384
mov edi, eax
nop
movzx eax, byte [ebx + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1005e370
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, edx
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.1005f2a0
push 0x30
push edi
call fcn.10063674
mov edi, dword [ebp - 4]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [edi + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x1005e3d9
cmp esi, eax
jne 0x1005e398
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x1005e350
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1005e700
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e6b5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100a70c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 0xf
jbe 0x1005e737
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x1005e755
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x1005e743
push esi
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.1005f210
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1005e786
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 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 8
cmp dword [ebx + 8], 0x71c71c7
je 0x1005e8bf
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x18], 0
call fcn.1006332a
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.10003d00
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1009c260]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x1009c260]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x1005e861
divss xmm0, xmm3
call fcn.1005abc0
call fcn.10088250
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x1005e845
cmp eax, 0x200
jae 0x1005e843
shl eax, 3
cmp eax, ecx
jae 0x1005e845
mov eax, ecx
push eax
mov ecx, ebx
call fcn.1005e510
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1005f210
mov edx, dword [eax]
jmp 0x1005e864
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x1005e88c
mov dword [ecx + eax*8], edi
jmp 0x1005e89e
cmp esi, edx
jne 0x1005e895
mov dword [ecx + eax*8], edi
jmp 0x1005e8a2
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1005e8a2
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
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
push str.unordered_map_set_too_long
call fcn.10061170
int3
Function at 0x1005e940
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e6f5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100a70c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 0xf
jbe 0x1005e977
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x1005e995
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x1005e983
push esi
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.1005f210
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1005e9c6
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 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 8
cmp dword [ebx + 8], 0x5d1745d
je 0x1005eb1b
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x18], 0
call fcn.1006332a
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.10003d00
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1009c260]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x1009c260]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x1005eabd
divss xmm0, xmm3
call fcn.1005abc0
call fcn.10088250
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x1005eaa1
cmp eax, 0x200
jae 0x1005ea9f
shl eax, 3
cmp eax, ecx
jae 0x1005eaa1
mov eax, ecx
push eax
mov ecx, ebx
call fcn.1005e510
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1005f210
mov edx, dword [eax]
jmp 0x1005eac0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x1005eae8
mov dword [ecx + eax*8], edi
jmp 0x1005eafa
cmp esi, edx
jne 0x1005eaf1
mov dword [ecx + eax*8], edi
jmp 0x1005eafe
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1005eafe
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
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
push str.unordered_map_set_too_long
call fcn.10061170
int3
Function at 0x1005f360
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Convert ip address from string
Create tcp socket
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1d8
mov eax, dword [0x100a70c0]
xor eax, esp
mov dword [esp + 0x1d4], eax
push esi
push edi
push 6
push 1
push 2
mov dword [esp + 0x20], edx
mov edi, ecx
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x1005f535
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 1
push eax
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x1005f52e
push dword [esp + 0x14]
mov eax, 2
mov word [esp + 0x44], ax
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [edi + 0x14], 0xf
mov word [esp + 0x42], ax
jbe 0x1005f3dc
mov edi, dword [edi]
mov ecx, edi
mov dword [esp + 0x30], 0
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
movaps xmmword [esp + 0x20], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005f400
sub ecx, edx
push ecx
push edi
lea ecx, [esp + 0x28]
call fcn.10003170
cmp dword [esp + 0x30], 0
jne 0x1005f420
or ecx, 0xffffffff
jmp 0x1005f448
cmp dword [esp + 0x34], 0xf
lea ecx, [esp + 0x54]
lea eax, [esp + 0x20]
cmova eax, dword [esp + 0x20]
push ecx
push eax
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
mov ecx, dword [esp + 0x54]
or edx, 0xffffffff
test eax, eax
cmovle ecx, edx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], ecx
cmp eax, 0xf
jbe 0x1005f488
mov edx, dword [esp + 0x20]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005f47a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005f54b
push ecx
push edx
call fcn.10063674
mov ecx, dword [esp + 0x4c]
add esp, 8
cmp ecx, 0xffffffff
je 0x1005f52e
push 0x10
lea eax, [esp + 0x44]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1005f4bf
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x1005f4bf
cmp eax, 0x2733
je 0x1005f4bf
cmp eax, 0x2734
jne 0x1005f52e
lea eax, [esp + 0x18]
mov dword [esp + 0xd4], esi
push eax
push 0
lea eax, [esp + 0xd8]
mov dword [esp + 0xd8], 1
push eax
push 0
push 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x493e0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x1005f52e
lea eax, [esp + 0xd0]
push eax
push esi
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x1005f52e
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x1d4]
xor ecx, esp
call fcn.10063317
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x1dc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.10063317
mov esp, ebp
pop ebp
ret
call fcn.1006dd1f
int3