joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100590c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e015
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 0x100591ed
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 0x10059156
cmp byte [ebx + 0x78], 0
jne 0x10059156
xor bl, bl
jmp 0x10059158
mov bl, 1
call dword [0x10121134]
test al, al
je 0x100591fa
call dword [0x10121130]
cmp eax, 3
jg 0x100591fa
lea edx, [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.1001ba00
mov ecx, eax
mov byte [ebp - 4], 1
cmp dword [ecx + 0x14], 7
jbe 0x1005918e
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 0x100591fa
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100591e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005924a
push ecx
push edx
call fcn.100635d4
add esp, 8
jmp 0x100591fa
push 0xc8
mov bl, 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x1005922a
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10059220
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005924f
push ecx
push edx
call fcn.100635d4
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.10063277
mov esp, ebp
pop ebp
ret 0x1c
call fcn.1006dc9f
call fcn.1006dc9f
int3
Function at 0x1005c600
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e3ed
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.1006328a
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.1005e430
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 2
push eax
mov ecx, esi
call fcn.1005b0b0
mov edi, dword [ebp - 0x48]
mov esi, dword [edi]
cmp esi, edi
je 0x1005c769
lea ebx, [esi + 8]
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10003d00
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x1005c728
push 0
push 4
push ebx
push 0x10059410
push 0
push 0
call fcn.1007406e
add esp, 0x18
mov dword [ebx + 0xa4], eax
test eax, eax
jne 0x1005c728
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 0x1005c728
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 0x1005c75c
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005c752
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c7e4
push ecx
push edx
call fcn.100635d4
add esp, 8
mov esi, dword [esi]
cmp esi, edi
jne 0x1005c6b3
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x1005c7b4
mov ecx, dword [ebp - 0x38]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1005c792
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c7e4
push ecx
push edx
call fcn.100635d4
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.1005ef70
push 0x24
push dword [ebp - 0x48]
call fcn.100635d4
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.10063277
mov esp, ebp
pop ebp
ret
call fcn.1006dc9f
int3
Function at 0x1005c7f0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e3ed
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.1006328a
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.1005e430
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 2
push eax
mov ecx, esi
call fcn.1005b0b0
mov edi, dword [ebp - 0x48]
mov esi, dword [edi]
cmp esi, edi
je 0x1005c8ff
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 0x1005c8c2
push dword [eax + 0xa4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1005c8f6
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005c8ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c97a
push ecx
push edx
call fcn.100635d4
add esp, 8
mov esi, dword [esi]
cmp esi, edi
jne 0x1005c8a0
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x1005c94a
mov ecx, dword [ebp - 0x38]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1005c928
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c97a
push ecx
push edx
call fcn.100635d4
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.1005ef70
push 0x24
push dword [ebp - 0x48]
call fcn.100635d4
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.10063277
mov esp, ebp
pop ebp
ret
call fcn.1006dc9f
int3
Function at 0x1005e280
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 0x1005e3f3
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 0x1005e2b9
mov ebx, dword [edx + 8]
mov eax, dword [edx + 0x18]
xor edx, edx
push edi
mov edi, 0x811c9dc5
test eax, eax
je 0x1005e2e4
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 0x1005e2d0
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.1005f2c0
push 0x30
push edi
call fcn.100635d4
mov edi, dword [ebp - 4]
add esp, 8
dec dword [edi + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x1005e34d
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x1005e300
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x1005e3e8
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 0x1005e35f
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x1005e362
mov eax, dword [ebp - 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
cmp esi, eax
je 0x1005e3e8
nop dword [eax]
cmp dword [esi + 0x1c], 0xf
lea ebx, [esi + 8]
jbe 0x1005e37c
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 0x1005e3a4
mov edi, eax
nop
movzx eax, byte [ebx + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1005e390
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.1005f2c0
push 0x30
push edi
call fcn.100635d4
mov edi, dword [ebp - 4]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [edi + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x1005e3f9
cmp esi, eax
jne 0x1005e3b8
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 0x1005e370
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 0x1005e720
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e5c5
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 0x1005e757
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x1005e775
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x1005e763
push esi
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.1005f230
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1005e7a6
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 0x1005e8df
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x18], 0
call fcn.1006328a
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 + 0x1009c1e0]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x1009c1e0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x1005e881
divss xmm0, xmm3
call fcn.1005abe0
call fcn.100881d0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x1005e865
cmp eax, 0x200
jae 0x1005e863
shl eax, 3
cmp eax, ecx
jae 0x1005e865
mov eax, ecx
push eax
mov ecx, ebx
call fcn.1005e530
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1005f230
mov edx, dword [eax]
jmp 0x1005e884
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 0x1005e8ac
mov dword [ecx + eax*8], edi
jmp 0x1005e8be
cmp esi, edx
jne 0x1005e8b5
mov dword [ecx + eax*8], edi
jmp 0x1005e8c2
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1005e8c2
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.10061190
int3
Function at 0x1005e960
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e605
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 0x1005e997
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x1005e9b5
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x1005e9a3
push esi
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.1005f230
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1005e9e6
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 0x1005eb3b
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x18], 0
call fcn.1006328a
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 + 0x1009c1e0]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x1009c1e0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x1005eadd
divss xmm0, xmm3
call fcn.1005abe0
call fcn.100881d0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x1005eac1
cmp eax, 0x200
jae 0x1005eabf
shl eax, 3
cmp eax, ecx
jae 0x1005eac1
mov eax, ecx
push eax
mov ecx, ebx
call fcn.1005e530
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1005f230
mov edx, dword [eax]
jmp 0x1005eae0
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 0x1005eb08
mov dword [ecx + eax*8], edi
jmp 0x1005eb1a
cmp esi, edx
jne 0x1005eb11
mov dword [ecx + eax*8], edi
jmp 0x1005eb1e
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1005eb1e
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.10061190
int3
Function at 0x1005f380
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 0x1005f555
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 0x1005f54e
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 0x1005f3fc
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 0x1005f420
sub ecx, edx
push ecx
push edi
lea ecx, [esp + 0x28]
call fcn.10003170
cmp dword [esp + 0x30], 0
jne 0x1005f440
or ecx, 0xffffffff
jmp 0x1005f468
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 0x1005f4a8
mov edx, dword [esp + 0x20]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005f49a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005f56b
push ecx
push edx
call fcn.100635d4
mov ecx, dword [esp + 0x4c]
add esp, 8
cmp ecx, 0xffffffff
je 0x1005f54e
push 0x10
lea eax, [esp + 0x44]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1005f4df
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x1005f4df
cmp eax, 0x2733
je 0x1005f4df
cmp eax, 0x2734
jne 0x1005f54e
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 0x1005f54e
lea eax, [esp + 0xd0]
push eax
push esi
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x1005f54e
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.10063277
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.10063277
mov esp, ebp
pop ebp
ret
call fcn.1006dc9f
int3
Function at 0x100601a0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008c15d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
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
call fcn.10028d30
lea ecx, [ebp - 0x58]
lea edx, [eax + 0x34c]
call fcn.1001ba00
mov edi, eax
mov dword [ebp - 4], 0
call fcn.10043f40
mov esi, eax
lea ecx, [ebp - 0x60]
push esi
call fcn.10044530
lea eax, [esi + 0x88]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x40]
call fcn.1001cca0
lea ecx, [ebp - 0x60]
call fcn.10044480
push edi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x28]
call fcn.100265f0
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x20], eax
cmp ecx, 7
jbe 0x10060277
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1006026d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10060375
push ecx
push edx
call fcn.100635d4
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x100602c5
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100602bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10060375
push ecx
push edx
call fcn.100635d4
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x100602ff
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100602f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10060375
push ecx
push edx
call fcn.100635d4
add esp, 8
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x1006034b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.VPN_INIT
push eax
call esi
push str.VPN_STOP
push dword [ebx + 0x20]
mov dword [ebx + 0xc], eax
call esi
push str.CONNECT_VPN_PPTP
push dword [ebx + 0x20]
mov dword [ebx + 0x10], eax
call esi
push str.CONNECT_VPN_l2TP
push dword [ebx + 0x20]
mov dword [ebx + 0x14], eax
call esi
push str.CONNECT_VPN_IKEV2
push dword [ebx + 0x20]
mov dword [ebx + 0x18], eax
call esi
mov dword [ebx + 0x1c], eax
mov dword [ebx + 4], 0x10060380
mov dword [ebx + 8], 0x10060390
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.10063277
mov esp, ebp
pop ebp
ret
call fcn.1006dc9f
int3
Function at 0x100609d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100a4580
push 0x10065070
mov eax, dword fs:[0]
push eax
add esp, 0xffffffe8
mov eax, dword [0x100a70c0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x20], 0
cmp dword [ebp + 8], 0
jle 0x10060a1c
cmp dword [ebp + 8], 0xbb8
jl 0x10060a23
mov dword [ebp + 8], 0xbb8
mov byte [ebp - 0x21], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x28]
cmp eax, dword [ebp + 8]
ja 0x10060ac9
lea eax, [ebp - 0x20]
push eax
push 0
push str.yb_check_tool
push 0
push str.ncalrpc
push 0
call dword [sym.imp.RPCRT4.dll_RpcStringBindingComposeW]
push 0x10121154
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.RPCRT4.dll_RpcBindingFromStringBindingW]
mov dword [ebp - 4], 0
call fcn.10060740
mov byte [ebp - 0x21], 1
mov edx, dword [ebp - 0x20]
mov dword [0x101211a4], edx
mov dword [ebp - 4], 0xfffffffe
jmp 0x10060ac9
mov al, byte [ebp - 0x21]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10063277
mov esp, ebp
pop ebp
ret

Function at 0x10060ca0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x100a70c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, edx
test ecx, ecx
je 0x10060d66
push ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x260]
mov dword [ebp - 0x250], 0x44
push eax
lea eax, [ebp - 0x250]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [ebp - 0x20c]
movlpd qword [ebp - 0x24c], xmm0
push eax
push 0
movlpd qword [ebp - 0x244], xmm0
movlpd qword [ebp - 0x23c], xmm0
movlpd qword [ebp - 0x234], xmm0
movlpd qword [ebp - 0x22c], xmm0
movlpd qword [ebp - 0x224], xmm0
movlpd qword [ebp - 0x21c], xmm0
movlpd qword [ebp - 0x214], xmm0
movups xmmword [ebp - 0x260], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10060d77
push dword [ebp - 0x260]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x25c]
call esi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10063277
mov esp, ebp
pop ebp
ret
test esi, esi
jle 0x10060d88
push esi
push dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x260]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x25c]
call esi
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.10063277
mov esp, ebp
pop ebp
ret