joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c810
Capabilities:
Clear file content
Compare security identifiers

Disassembly:
sub esp, 0x424
mov eax, dword [0x439008]
xor eax, esp
mov dword [esp + 0x41c], eax
mov eax, dword [0x43d650]
push esi
mov esi, dword [0x43c368]
push edi
mov edi, eax
cmp eax, 0x5dd
jne 0x42c844
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemTimeAdjustment]
mov eax, dword [0x439ff0]
push eax
call fcn.0042c6d0
add esp, 4
cmp dword [0x43d650], 0x2f
jne 0x42c8d0
xor edx, edx
xor ecx, ecx
mov word [esp + 0x12], dx
xor eax, eax
mov word [esp + 0xe], cx
lea edx, [esp + 0x18]
push edx
mov word [esp + 0x10], ax
mov eax, dword [esp + 0x10]
push eax
mov word [esp + 0x18], cx
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputW]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
lea edx, [esp + 0x2c]
push edx
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
push 0
call dword [sym.imp.KERNEL32.dll_CancelDeviceWakeupRequest]
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call fcn.0042c740
add esp, 4
cmp dword [0x43d650], 0x568
jne 0x42c8f2
push str.ximawazudikahefafopoporifozib_kadamuzayecep_hizujajugejusawaharidam_wunoguzazapeguvecazageganuzi
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
mov ecx, dword [esp + 0x424]
pop edi
pop esi
xor ecx, esp
call fcn.00401154
add esp, 0x424
ret
Function at 0x5df025af
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5df0b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [edi + 8]
mov dword [ebp - 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_accept]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x5df025f0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x5df026f5
push 4
lea eax, [ebp - 0x20]
push eax
push 8
push 0xffff
push ebx
mov dword [ebp - 0x20], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x5df02616
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.5df018ab
mov esi, eax
test esi, esi
je 0x5df02664
cmp dword [esi + 0x10], 0xffffffff
jne 0x5df02640
mov eax, dword [esi + 0x20]
and eax, 0xfffffffd
or eax, 0xc
mov dword [esi + 0x10], ebx
mov dword [esi + 0x20], eax
push 1
jmp 0x5df02651
or dword [esi + 0x20], 0x108
xor eax, eax
inc eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x50], eax
push eax
push esi
push edi
call fcn.5df01b6e
push esi
push edi
call fcn.5df01fae
jmp 0x5df026f4
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.5df01ac7
mov esi, eax
test esi, esi
je 0x5df0268b
push 1
push esi
push edi
call fcn.5df01daa
push esi
push edi
call fcn.5df01fe6
push esi
push edi
call fcn.5df01fae
cmp dword [edi + 0x2370], 0
je 0x5df026bf
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
push edi
call fcn.5df0190e
mov esi, eax
test esi, esi
je 0x5df026bf
push esi
push edi
mov dword [esi + 0x18], ebx
call fcn.5df02116
or dword [esi + 0x20], 8
push 1
push esi
push edi
call fcn.5df01b6e
jmp 0x5df026f4
xor eax, eax
push 4
mov word [ebp - 0x18], ax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x18]
push eax
push 0x80
push 0xffff
push ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x5df026ed
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x5df026f4
push ebx
push edi
call fcn.5df0157e
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.5df099e0
leave
ret 8
Function at 0x5df02ebe
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [eax]
push edi
xor ebx, ebx
push 4
pop edi
cmp dword [esi + 0x4c], ebx
jne 0x5df02ed8
mov dword [esi + 0x4c], edi
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x4c]
add eax, edx
sub ecx, edx
test byte [esi + 0x20], 0x10
je 0x5df02ef0
mov edx, dword [esi + 0x10]
jmp 0x5df02ef3
mov edx, dword [esi + 0x18]
push ebx
push ecx
push eax
push edx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, ebx
jne 0x5df02f0b
mov eax, 0x88770168
jmp 0x5df02fb3
cmp eax, 0xffffffff
jne 0x5df02f23
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x5df02fb1
jmp 0x5df02f01
add dword [esi + 0x48], eax
cmp dword [esi + 0x48], edi
jne 0x5df02f9a
mov eax, dword [esi + 0x3c]
mov edi, dword [eax]
mov eax, edi
and eax, 0xfff00000
cmp eax, 0xfab00000
je 0x5df02f53
cmp eax, 0xcab00000
je 0x5df02f53
cmp eax, 0xbab00000
je 0x5df02f53
cmp eax, 0xaab00000
jne 0x5df02f01
and edi, 0xfffff
je 0x5df02f9a
mov dword [esi + 0x4c], edi
cmp edi, 0x1000
jbe 0x5df02f9a
cmp dword [esi + 0x54], ebx
je 0x5df02f01
lea eax, [edi + 3]
push eax
call fcn.5df0154e
pop ecx
mov dword [esi + 0x3c], eax
cmp eax, ebx
je 0x5df02f01
mov byte [eax + edi], bl
mov eax, dword [esi + 0x3c]
mov byte [eax + edi + 1], bl
mov eax, dword [esi + 0x3c]
mov byte [eax + edi + 2], bl
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x44], edi
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [esi + 0x4c]
cmp eax, dword [esi + 0x48]
jne 0x5df02fb1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.5df02df2
cmp eax, ebx
jl 0x5df02fb3
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x5df041ac
Capabilities:
Connect socket
Send data
Send data on socket
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
or ebx, 0xffffffff
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x1c], ebx
jne 0x5df04278
xor ecx, ecx
push ecx
lea edx, [ebp + 0xc]
push edx
push ecx
xor eax, eax
inc eax
push ecx
push eax
mov dword [ebp - 4], eax
lea eax, [ebp + 8]
push eax
push edi
call fcn.5df0809b
test eax, eax
jl 0x5df042d8
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
push 0x8004667e
push eax
mov dword [esi + 0x1c], eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [ebp + 0xc], eax
cmp eax, ebx
jne 0x5df0420f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp + 0xc], eax
push 0x32
push dword [edi + 0x11c]
push dword [esi + 0x1c]
call dword [0x5df0b594]
mov dword [ebp + 0xc], eax
cmp eax, ebx
jne 0x5df04232
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp + 0xc], eax
jmp 0x5df042ae
mov eax, dword [edi + 0x168]
neg eax
lea ecx, [edi + 0x198]
sbb eax, eax
and eax, ecx
push eax
push dword [edi + 8]
push dword [esi + 4]
call fcn.5df08972
push 0x10
lea eax, [esi + 8]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp + 0xc], eax
cmp eax, ebx
jne 0x5df04278
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp + 0xc], eax
cmp eax, 0x2733
jne 0x5df042ae
jmp 0x5df042d6
xor eax, eax
mov dword [ebp + 0xc], eax
cmp dword [esi + 0x24], eax
je 0x5df042ae
cmp eax, ebx
je 0x5df04266
push 0
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp + 0xc], eax
cmp eax, ebx
je 0x5df042a4
sub dword [esi + 0x24], eax
add dword [esi + 0x20], eax
cmp dword [esi + 0x24], 0
jne 0x5df04282
cmp eax, ebx
je 0x5df04266
push 0
push dword [edi + 0x11c]
push dword [esi + 0x1c]
call dword [0x5df0b594]
mov dword [ebp + 0xc], eax
cmp eax, ebx
jne 0x5df042cf
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp + 0xc], eax
push esi
push edi
call fcn.5df0416e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x5df04c8c
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5df0b004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [section..data], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x18], 0x2374
je 0x5df04cce
push 0x5df01374
call sub.ntdll.dll_Ordinal_1
mov byte [section..data], 0
test esi, esi
jne 0x5df04ce7
mov eax, 0x80004005
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.5df099e0
leave
ret 8
mov eax, dword [esi]
push 1
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push esi
call dword [eax + 0x30]
test eax, eax
jl 0x5df04d34
cmp dword [ebp - 0x18], 0x2374
jne 0x5df04d34
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x38], 6
je 0x5df04cd2
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push dword [eax + 8]
call sub.WS2_32.dll_getsockname
cmp eax, 0xffffffff
jne 0x5df04d29
call sub.WS2_32.dll_WSAGetLastError
jmp 0x5df04cd2
mov ax, word [ebp - 0x12]
mov word [ebx], ax
xor eax, eax
jmp 0x5df04cd7
push 0
call dword [sym.imp.KERNEL32.dll_ExitThread]
Function at 0x5df052a9
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
push 0x5df0b560
mov dword [ebp - 4], ebx
mov dword [ebp - 8], 0x10
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x18], ebx
jbe 0x5df052fa
xor eax, eax
cmp dword [ebp - 4], 0
jne 0x5df052fa
mov ecx, dword [esi + 0x1c]
cmp dword [eax + ecx], 0xffffffff
jne 0x5df052f1
mov dword [ebp - 4], 1
mov edi, ebx
jmp 0x5df052f5
inc ebx
add eax, 0x28
cmp ebx, dword [esi + 0x18]
jb 0x5df052d7
push 4
lea eax, [ebp + 8]
push eax
push 8
push 0xffff
push dword [ebp + 0xc]
mov dword [ebp + 8], 1
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x5df05320
call sub.WS2_32.dll_WSAGetLastError
cmp dword [ebp - 4], 0
jne 0x5df053b7
mov eax, dword [esi + 0x18]
imul eax, eax, 0x28
mov dword [ebp + 8], eax
add eax, 0x280
push eax
lea eax, [ebp + 8]
push eax
lea edi, [esi + 0x1c]
push edi
call fcn.5df0512f
mov ebx, eax
test ebx, ebx
jl 0x5df053fc
mov eax, dword [esi + 0x18]
lea ecx, [eax + 1]
add eax, 0x10
cmp ecx, eax
jae 0x5df05376
mov eax, ecx
imul eax, eax, 0x28
mov edx, dword [edi]
or dword [eax + edx], 0xffffffff
mov edx, dword [esi + 0x18]
inc ecx
add edx, 0x10
add eax, 0x28
cmp ecx, edx
jb 0x5df05362
mov edi, dword [esi + 0x18]
test edi, edi
je 0x5df0538c
lea eax, [edi*4 + 4]
mov dword [ebp + 8], eax
add eax, 0x40
jmp 0x5df05393
and dword [ebp + 8], 0
push 0x44
pop eax
push eax
lea eax, [ebp + 8]
push eax
lea eax, [esi + 0xe4]
push eax
call fcn.5df0512f
mov ebx, eax
test ebx, ebx
jl 0x5df053fc
add dword [esi + 0x18], 0x10
mov eax, dword [esi + 0x18]
mov dword [esi + 0xe0], eax
mov eax, dword [ebp + 0xc]
imul edi, edi, 0x28
add edi, dword [esi + 0x1c]
mov esi, edi
mov dword [esi], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x24], eax
cmp eax, 2
je 0x5df0542a
cmp dword [esi + 0x20], 0
jne 0x5df0540b
push 0x1000
call fcn.5df0154e
pop ecx
mov dword [esi + 0x20], eax
test eax, eax
jne 0x5df0540b
push eax
push 1
push dword [esi]
mov ebx, 0x8007000e
call fcn.5df083fc
push esi
call fcn.5df0525f
push 0x5df0b560
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
jmp 0x5df05437
mov eax, dword [esi + 0x20]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0xc]
push eax
push dword [esi]
call sub.WS2_32.dll_getpeername
cmp eax, 0xffffffff
jne 0x5df0542a
call sub.WS2_32.dll_WSAGetLastError
push 0x5df0b560
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x5df05610
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [esi + 4]
push edi
xor ebx, ebx
push 4
mov dword [ebp - 4], ebx
pop edi
cmp edx, ebx
jne 0x5df05637
cmp dword [esi + 0x20], ebx
je 0x5df0571f
mov dword [esi + 8], edi
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x1c]
push ebx
sub ecx, edx
push ecx
add eax, edx
push eax
push dword [esi]
call sub.WS2_32.dll_recv
cmp eax, ebx
jne 0x5df05657
mov dword [ebp - 4], ebx
jmp 0x5df0571f
cmp eax, 0xffffffff
jne 0x5df0566d
call sub.WS2_32.dll_WSAGetLastError
mov dword [ebp - 4], 0x8000ffff
jmp 0x5df0571f
add dword [esi + 4], eax
mov eax, dword [esi + 4]
mov ebx, 0x1000
cmp eax, edi
jne 0x5df056e2
mov eax, dword [esi + 0x20]
mov edi, dword [eax]
mov eax, edi
and eax, 0xfff00000
cmp eax, 0xfab00000
je 0x5df056a4
cmp eax, 0xcab00000
je 0x5df056a4
cmp eax, 0xbab00000
je 0x5df056a4
cmp eax, 0xaab00000
jne 0x5df05661
and edi, 0xfffff
je 0x5df056e2
mov dword [esi + 8], edi
cmp edi, ebx
jbe 0x5df056e2
lea eax, [edi + 3]
push eax
call fcn.5df0154e
pop ecx
mov dword [esi + 0x1c], eax
test eax, eax
je 0x5df0571f
mov ecx, dword [esi + 0x20]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov byte [edi + eax], 0
mov eax, dword [esi + 0x1c]
mov byte [eax + edi + 1], 0
mov eax, dword [esi + 0x1c]
mov byte [eax + edi + 2], 0
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x5df0572e
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.5df0551b
mov dword [ebp - 4], eax
cmp dword [esi + 8], ebx
jbe 0x5df0570c
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x5df0570c
push eax
call fcn.5df01525
pop ecx
mov ecx, dword [esi + 0x20]
xor eax, eax
cmp dword [ebp - 4], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0x1c], ecx
jge 0x5df0572e
push dword [esi]
push dword [ebp + 0xc]
call fcn.5df05490
mov eax, dword [ebp - 4]
jmp 0x5df05730
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x5df05a37
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
cmp dword [esi + 0x38], 6
jne 0x5df05a88
cmp dword [esi + 0x10], edi
jne 0x5df05acd
push 1
lea eax, [ebp - 4]
push eax
push edi
push edi
push 2
lea eax, [esi + 4]
push eax
push esi
call fcn.5df0809b
cmp eax, edi
jl 0x5df05acf
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
push 0x5df04f87
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
cmp eax, edi
je 0x5df05acd
push 1
push eax
jmp 0x5df05ac7
cmp dword [esi + 0xc], edi
jne 0x5df05acd
push esi
call fcn.5df08469
cmp eax, edi
jl 0x5df05acf
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
cmp dword [0x5df0b578], edi
je 0x5df05aae
push 0x5df03181
jmp 0x5df05ab3
push 0x5df0579f
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
mov esi, eax
cmp esi, edi
je 0x5df05acd
push 1
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
pop edi
pop esi
leave
ret 8
Function at 0x5df05ada
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp + 8]
push eax
push esi
push esi
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 1
call fcn.5df0809b
mov edi, eax
cmp edi, esi
jge 0x5df05b0e
mov eax, 0x80004005
jmp 0x5df05b67
push 4
lea eax, [ebp - 8]
push eax
push 0x20
push 0xffff
push dword [ebp - 4]
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x5df05b2f
call sub.WS2_32.dll_WSAGetLastError
jmp 0x5df05b58
push dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
push dword [ebp + 0xc]
push esi
push dword [eax + 4]
push dword [eax]
push dword [ebp - 4]
call sub.WS2_32.dll_sendto
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
jne 0x5df05b5b
call sub.WS2_32.dll_WSAGetLastError
mov edi, 0x8000ffff
mov dword [ebp + 8], eax
push esi
push esi
push dword [ebp - 4]
call fcn.5df083fc
mov eax, edi
pop edi
pop esi
leave
ret 0x10

Function at 0x5df05c30
Capabilities:
Send data
Send data on socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x38]
dec eax
dec eax
push edi
je 0x5df05cca
sub eax, 4
je 0x5df05c59
mov dword [ebp - 8], 0x80004005
jmp 0x5df05d4c
xor ebx, ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 2
lea eax, [ebp + 8]
push eax
push esi
call fcn.5df0809b
cmp eax, ebx
mov dword [ebp - 8], eax
jl 0x5df05d4f
mov eax, dword [esi + 0x168]
mov edi, dword [ebp + 0xc]
neg eax
lea ecx, [esi + 0x188]
sbb eax, eax
and eax, ecx
push eax
push dword [esi + 4]
push dword [edi + 4]
call fcn.5df08972
push 0x10
lea eax, [edi + 8]
push eax
push ebx
push dword [edi + 0x18]
push dword [edi + 4]
push dword [ebp + 8]
call sub.WS2_32.dll_sendto
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x5df05cc6
call sub.WS2_32.dll_WSAGetLastError
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x80004005
push ebx
push ebx
jmp 0x5df05d44
xor ebx, ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 1
lea eax, [ebp + 8]
push eax
push esi
call fcn.5df0809b
cmp eax, ebx
jl 0x5df05d4f
mov eax, dword [esi + 0x168]
mov edi, dword [ebp + 0xc]
neg eax
lea ecx, [esi + 0x198]
sbb eax, eax
and eax, ecx
push eax
push dword [esi + 8]
push dword [edi + 4]
call fcn.5df08972
push ebx
push 0x10
lea eax, [edi + 8]
push eax
lea eax, [ebp + 8]
push eax
call fcn.5df08527
cmp eax, ebx
mov dword [ebp - 8], eax
jl 0x5df05d41
push ebx
push dword [edi + 0x18]
push dword [edi + 4]
push dword [ebp + 8]
call sub.WS2_32.dll_send
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x5df05d41
call sub.WS2_32.dll_WSAGetLastError
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x80004005
push ebx
push 1
push dword [ebp + 8]
call fcn.5df083fc
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x5df05d95
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
test byte [ebp + 0x10], 1
je 0x5df05e12
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
xor edi, edi
cmp dword [ebx + 0x10], edi
jne 0x5df05dd4
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push 0x5df04f87
push edi
push edi
call esi
mov dword [ebx + 0x10], eax
cmp eax, edi
je 0x5df05dd4
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp dword [ebx + 0x38], 6
je 0x5df05e0f
cmp dword [ebx + 0xc], edi
jne 0x5df05e0f
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
cmp dword [0x5df0b578], edi
je 0x5df05df6
push 0x5df03181
jmp 0x5df05dfb
push 0x5df0579f
push edi
push edi
call esi
mov dword [ebx + 0xc], eax
cmp eax, edi
je 0x5df05e0f
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
ret 0xc
Function at 0x5df060dd
Capabilities:
Send data
Send data on socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5df0b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x18]
push esi
push edi
push 1
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x1c]
mov esi, 0x2374
push edx
mov dword [ebp - 0x28], 0x20
mov dword [ebp - 0x20], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov dword [ebp - 0x18], eax
test eax, eax
jl 0x5df0620d
cmp dword [ebp - 0x20], esi
jne 0x5df0620d
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0xdc]
test eax, eax
je 0x5df06147
cmp dword [ebx + 0x10], eax
jb 0x5df06147
mov eax, 0x887700e6
jmp 0x5df06212
mov eax, dword [ebx + 4]
test eax, eax
jne 0x5df06153
lea esi, [ecx + 0x3c]
jmp 0x5df06176
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x24]
push edx
push eax
push dword [ebx + 0x18]
push ecx
call fcn.5df04e6a
mov dword [ebp - 0x18], eax
test eax, eax
jl 0x5df06212
mov esi, dword [ebp - 0x24]
add esi, 0x10
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, 0xfab00000
or ecx, eax
movsd dword es:[edi], dword [esi]
mov dword [edx], ecx
cmp dword [ebx + 0x14], 0
je 0x5df061c0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x38], 6
jne 0x5df061a0
mov ecx, dword [eax + 4]
jmp 0x5df061a3
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0x168]
add eax, 0x198
neg edx
sbb edx, edx
and edx, eax
push edx
push ecx
push dword [ebx + 0xc]
call fcn.5df08972
jmp 0x5df061e1
mov ecx, dword [ebx + 0x10]
cmp ecx, 4
jb 0x5df061d7
mov edx, dword [ebx + 0xc]
mov edx, dword [edx]
and edx, 0xfff00000
cmp edx, eax
jne 0x5df061e1
add dword [ebx + 0xc], 0x14
add ecx, 0xffffffec
mov dword [ebx + 0x10], ecx
push 0x10
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push 0
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [eax + 4]
call sub.WS2_32.dll_sendto
cmp eax, 0xffffffff
jne 0x5df06208
call sub.WS2_32.dll_WSAGetLastError
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
jmp 0x5df06212
mov eax, 0x80004005
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.5df099e0
leave
ret 4
Function at 0x5df06228
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0xc], 1
test ebx, ebx
jne 0x5df06251
mov eax, 0x80004005
jmp 0x5df0630f
push esi
push edi
mov edi, 0x5df0b560
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x30]
test edx, edx
jbe 0x5df06294
xor ecx, ecx
cmp dword [ebp - 8], 0
jne 0x5df06294
mov eax, dword [esi + 0x2c]
add eax, ecx
cmp dword [eax], 0xffffffff
je 0x5df06289
cmp dword [eax + 4], ebx
jne 0x5df06289
mov dword [ebp - 8], 1
jmp 0x5df0628f
inc dword [ebp - 4]
add ecx, 0x1c
cmp dword [ebp - 4], edx
jb 0x5df0626b
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 8], 0
je 0x5df062b6
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x2c]
imul eax, eax, 0x1c
mov eax, dword [eax + ecx]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
jmp 0x5df0630d
mov eax, dword [esi + 0xe8]
and eax, 1
push eax
push dword [ebp + 0x14]
lea eax, [ebp + 0x10]
push 1
push eax
push esi
call fcn.5df059b2
test eax, eax
jl 0x5df0630d
push 4
lea eax, [ebp - 0xc]
push eax
push 8
push 0xffff
push dword [ebp + 0x10]
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x5df062f2
call sub.WS2_32.dll_WSAGetLastError
push 0
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0x10]
push esi
call fcn.5df051c2
test eax, eax
jl 0x5df0630d
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ecx], edx
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x5df06d5b
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.5df0672b
mov ebx, 0x5df0b560
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp + 0x14]
push dword [edi + 4]
call fcn.5df0154e
pop ecx
mov dword [esi + 0xf8], eax
test eax, eax
je 0x5df06e04
push dword [edi + 4]
push dword [edi]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [edi + 4]
mov edi, dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
mov dword [esi + 0xfc], eax
lea eax, [esi + 0x100]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 0x18]
or dword [esi + 0x114], 0xffffffff
add esp, 0x18
mov dword [esi + 0x118], eax
lea eax, [ebp + 8]
push eax
mov dword [esi + 0x110], edi
xor edi, edi
push edi
push esi
push 0x5df05b72
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xf4], eax
cmp eax, edi
jne 0x5df06e0b
push dword [esi + 0xf8]
call fcn.5df01525
pop ecx
mov dword [esi + 0xf8], edi
mov dword [ebp - 4], 0x8007000e
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x5df072b0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edi, dword [ebp + 8]
mov dword [edi + 0x28], eax
cmp eax, esi
jne 0x5df072d5
mov eax, 0x80004005
jmp 0x5df0730c
cmp dword [0x5df0b578], esi
je 0x5df072f0
cmp dword [edi + 0x38], 6
je 0x5df072f0
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x5df043fd
jmp 0x5df072fb
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x5df07194
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
je 0x5df072ce
mov dword [edi + 0x14], eax
xor eax, eax
pop edi
pop esi
leave
ret 4