joyce8/EMBER2024-capa huggingface dataset:
Function at 0x583140
Capabilities:
Hash data using murmur3

Disassembly:
push ebx
push esi
push edi
lea esp, [esp - 0x14]
mov dword [esp + 8], eax
mov dword [esp], edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp]
mov edx, dword [esp + 0xc]
lea eax, [ecx + edx]
mov dword [esp + 4], eax
cmp dword [esp + 0xc], 0x10
jl 0x58321f
mov edx, dword [esp + 4]
lea ebx, [edx - 0x10]
mov edx, dword [esp + 8]
mov dword [esp + 0x10], edx
sub edx, 0x7a143589
lea eax, [edx - 0x61c8864f]
mov ecx, dword [esp + 0x10]
add ecx, 0x61c8864f
mov edi, dword [esp]
mov esi, dword [edi]
imul esi, esi, 0x85ebca77
add esi, eax
rol esi, 0xd
imul esi, esi, 0x9e3779b1
mov eax, esi
mov esi, dword [esp]
mov edi, dword [esi + 4]
imul edi, edi, 0x85ebca77
lea esi, [edi + edx]
rol esi, 0xd
imul esi, esi, 0x9e3779b1
mov edx, esi
mov edi, dword [esp]
mov esi, dword [edi + 8]
imul esi, esi, 0x85ebca77
add esi, dword [esp + 0x10]
rol esi, 0xd
imul esi, esi, 0x9e3779b1
mov dword [esp + 0x10], esi
mov esi, dword [esp]
mov edi, dword [esi + 0xc]
imul edi, edi, 0x85ebca77
lea esi, [edi + ecx]
rol esi, 0xd
imul esi, esi, 0x9e3779b1
mov ecx, esi
add dword [esp], 0x10
cmp ebx, dword [esp]
jae 0x583190
mov ebx, eax
rol ebx, 1
mov eax, edx
rol eax, 7
add eax, ebx
mov edx, dword [esp + 0x10]
rol edx, 0xc
add edx, eax
mov eax, ecx
rol eax, 0x12
add edx, eax
jmp 0x583229
mov eax, dword [esp + 8]
lea edx, [eax + 0x165667b1]
add edx, dword [esp + 0xc]
jmp 0x58324e
mov ecx, dword [esp]
mov eax, dword [ecx]
imul eax, eax, 0xc2b2ae3d
add edx, eax
mov eax, edx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
mov edx, eax
add dword [esp], 4
mov eax, dword [esp]
lea ecx, [eax + 4]
cmp ecx, dword [esp + 4]
jbe 0x583230
jmp 0x58327f
mov eax, dword [esp]
movzx ecx, byte [eax]
imul ecx, ecx, 0x165667b1
add edx, ecx
mov eax, edx
rol eax, 0xb
imul eax, eax, 0x9e3779b1
mov edx, eax
add dword [esp], 1
mov eax, dword [esp + 4]
cmp eax, dword [esp]
ja 0x583260
mov eax, edx
shr eax, 0xf
xor eax, edx
imul eax, eax, 0x85ebca77
mov edx, eax
shr edx, 0xd
xor edx, eax
imul edx, edx, 0xc2b2ae3d
mov eax, edx
shr eax, 0x10
xor eax, edx
lea esp, [esp + 0x14]
pop edi
pop esi
pop ebx
ret

Function at 0x583330
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov eax, 0xffffffff
nop
add eax, 1
mov edx, eax
xor ebx, ebx
nop
add ebx, 1
mov ecx, edx
and ecx, 1
je 0x583358
mov ecx, edx
shr ecx, 1
xor ecx, 0x82f63b78
mov edx, ecx
jmp 0x58335a
shr edx, 1
cmp ebx, 8
jl 0x583340
mov dword [eax*4 + 0x7aaee0], edx
cmp eax, 0xff
jl 0x583338
mov ecx, 0xffffffff
lea esi, [esi]
add ecx, 1
mov edx, dword [ecx*4 + 0x7aaee0]
xor ebx, ebx
lea esi, [esi]
add ebx, 1
mov esi, edx
shr esi, 8
movzx eax, dl
xor esi, dword [eax*4 + 0x7aaee0]
mov edx, esi
mov eax, ebx
shl eax, 0xa
mov dword [eax + ecx*4 + 0x7aaee0], edx
cmp ebx, 7
jl 0x583388
cmp ecx, 0xff
jl 0x583378
pop esi
pop ebx
ret
Function at 0x2a30de4c
Capabilities:
Terminate thread

Disassembly:
push 0xc
mov eax, 0x2a351a4b
call fcn.2a3027ac
mov ebx, ecx
xor ecx, ecx
cmp dword [ebx], 0xb
mov edi, ecx
mov dword [ebp - 0x14], edi
jne 0x2a30df3d
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
or dword [ebx + 0x1a0], 0xffffffff
push 1
push dword [ebx + 0x2d4]
call dword [sym.imp.kernel32.dll_SetThreadPriority]
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
lea esi, [eax + 0x12c]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
cmp eax, esi
jae 0x2a30def6
mov edi, esi
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [ebx + 0x2d8]
mov esi, dword [ebx]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
cmp esi, 0xb
jne 0x2a30def3
push 0x64
call dword [sym.imp.kernel32.dll_Sleep]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
cmp eax, edi
jb 0x2a30deba
mov edi, dword [ebp - 0x14]
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp dword [ebx], 0xb
jne 0x2a30df1d
push 1
push dword [ebx + 0x2d4]
call dword [sym.imp.kernel32.dll_TerminateThread]
xor edi, edi
inc edi
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_CloseHandle]
xor ecx, ecx
mov dword [ebx + 0x2d8], ecx
cmp dword [ebx + 0x18], 0
lea esi, [ebx + 0x1a0]
mov dword [esi], ecx
je 0x2a30df72
test di, di
jne 0x2a30df6f
push esi
push dword [ebx + 0x18]
call fcn.2a34a7c6
xor ecx, ecx
cmp dword [esi], ecx
jne 0x2a30df72
push esi
push dword [ebx + 0x14]
mov dword [ebx + 0x18], ecx
call fcn.2a34a7c6
xor ecx, ecx
jmp 0x2a30df72
mov dword [ebx + 0x18], ecx
cmp word [ebx + 0x144], cx
je 0x2a30dff9
push ecx
push ecx
lea ecx, [ebp - 0x18]
call fcn.2a34a7c6
mov edi, dword [0x2a36ab40]
xor eax, eax
push eax
mov dword [ebp - 4], eax
lea eax, [ebx + 0x40]
push eax
mov eax, dword [0x2a36ab34]
push str.Cstring
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x2a35635c]
call esi
mov esi, dword [edi + 0xd0]
pop ecx
movzx eax, ax
mov ecx, esi
push eax
push 0
call dword [0x2a35635c]
call esi
add esp, 0x10
lea ecx, [ebp - 0x18]
push 0
push eax
call fcn.2a34a7c6
cmp dword [ebp - 0x14], 0
je 0x2a30dfeb
lea ecx, [ebp - 0x18]
call fcn.2a34a7c6
test al, al
je 0x2a30dfeb
lea ecx, [ebp - 0x18]
call fcn.2a33c9da
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.2a34a7c6
xor ecx, ecx
cmp dword [ebx + 0x34], 0
je 0x2a30e01d
mov eax, dword [0x2a36a804]
push dword [ebx + 0x34]
mov esi, dword [eax + 0x284]
mov ecx, esi
call dword [0x2a35635c]
call esi
pop ecx
xor ecx, ecx
mov dword [ebx + 0x34], ecx
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x2a30e051
push eax
mov eax, dword [0x2a36ab50]
cmp word [ebx + 0x196], cx
je 0x2a30e03b
mov esi, dword [eax + 0x124]
jmp 0x2a30e041
mov esi, dword [eax + 0x11c]
mov ecx, esi
call dword [0x2a35635c]
call esi
xor eax, eax
pop ecx
mov dword [ebx + 0x20], eax
mov dword [ebx], 2
call fcn.2a302c60
ret
Function at 0x2a34a7c6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x2a34a7d5
pop dword [ebp - 0xc]
mov eax, 0x2a34a7d5
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x82c694ae
add dword [ebp - 0x1c], 0xcb8bb09d
mov dword [ebp - 0x18], 0xe7d5ae0b
sub dword [ebp - 0x18], 0xb5a261c6
mov dword [ebp - 0x14], 0xa60ac2f7
sub dword [ebp - 0x14], 0x59be7ec9
mov dword [ebp - 0x10], 0xac303d60
add dword [ebp - 0x10], 0x53cfc2a0
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x10def180
sub eax, 0xe6a99104
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xb86da914
add dword [ebp - 0x1c], 0xbc04c042
mov dword [ebp - 0x18], 0xbf564748
add dword [ebp - 0x18], 0x82161a2d
mov dword [ebp - 0x14], 0xb1a802ec
sub dword [ebp - 0x14], 0x4e389680
mov dword [ebp - 0x10], 0x17879475
sub dword [ebp - 0x10], 0x17879475
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x6380f19b
add eax, 0xc6b46ee9
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x4d0bd
push 0
call eax
mov ecx, 0x567f
xor edi, edi
add edi, eax
mov edx, 0x2a37d800
add edx, dword [ebp - 0xc]
mov esi, 0xa1b14219
sub esi, 0xf15dfdf9
sub dword [ebp - 4], 0xc056b7b4
mov ebx, dword [edx]
add dword [ebp - 4], edi
sub ebx, esi
sub dword [ebp - 4], 0x69197b2a
mov dword [edi], ebx
xor dword [ebp - 8], edx
add edi, 0x2e6b8c2a
sub edi, 0x2e6b8c26
add edx, 4
loop 0x2a34a8e8
add eax, 0x14ccf
xor ebx, ebx
add ebx, eax
add eax, 0x7ebf4ccb
add eax, 0x8140b33a
mov ecx, 0x496374a6
add ecx, 0xe0cc8b5a
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x100022a0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x278
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x274], eax
push ebx
push ebp
mov ebp, dword [esp + 0x284]
push esi
push edi
push 0x100
xor ebx, ebx
lea eax, [esp + 0x128]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x100
lea ecx, [esp + 0x20]
push ebx
push ecx
mov dword [esp + 0x24], ebx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x51
lea edx, [esp + 0x22c]
push ebx
push edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x130], ebp
mov dword [esp + 0x12c], 1
call sub.MSVCR90.dll_memset
mov eax, dword [0x1000a178]
add esp, 0xc
push eax
lea ecx, [esp + 0x22c]
push 0x100081d0
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
lea eax, [esp + 0x234]
add esp, 0xc
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002341
sub eax, esi
push eax
lea edx, [esp + 0x22c]
push edx
mov esi, ebp
call fcn.100047c0
add esp, 8
lea eax, [esp + 0x10]
push eax
push ebx
mov ecx, 0x41
lea esi, [esp + 0x128]
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
push ebx
lea ecx, [esp + 0x24]
push ecx
push ebx
mov dword [esp + 0x24], 0x14
mov dword [esp + 0x28], ebx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x10002485
push 0x51
lea edx, [esp + 0x22c]
push ebx
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push ebx
push 0x51
lea eax, [esp + 0x230]
push eax
push ebp
call dword [sym.imp.WS2_32.dll_recv]
push 0x51
lea ecx, [esp + 0x22c]
push ebx
push ecx
mov byte [esp + eax + 0x234], bl
call sub.MSVCR90.dll_memset
mov edx, dword [0x1000b64c]
add esp, 0xc
push edx
lea eax, [esp + 0x22c]
push 0x100081d0
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
lea eax, [esp + 0x234]
add esp, 0xc
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002400
sub eax, esi
push eax
lea ecx, [esp + 0x22c]
push ecx
mov esi, ebp
call fcn.100047c0
add esp, 8
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x10]
push edx
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
mov ecx, 0x41
lea esi, [esp + 0x130]
lea edi, [esp + 0x28]
push ebx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x24], 0x14
mov dword [esp + 0x28], ebx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x10002485
push 0x51
lea ecx, [esp + 0x22c]
push ebx
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push ebx
push 0x51
lea edx, [esp + 0x230]
push edx
push ebp
call dword [sym.imp.WS2_32.dll_recv]
mov eax, 1
jmp 0x10002487
xor eax, eax
mov ecx, dword [esp + 0x284]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10006d00
add esp, 0x278
ret
Function at 0x10003290
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x278
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x274], eax
push ebx
push ebp
mov ebp, dword [esp + 0x284]
push esi
push edi
push 0x100
xor ebx, ebx
lea eax, [esp + 0x128]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x100
lea ecx, [esp + 0x20]
push ebx
push ecx
mov dword [esp + 0x24], ebx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x51
lea edx, [esp + 0x22c]
push ebx
push edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x130], ebp
mov dword [esp + 0x12c], 1
call sub.MSVCR90.dll_memset
mov eax, dword [0x1000b67c]
add esp, 0xc
push eax
lea ecx, [esp + 0x22c]
push 0x100081d0
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
lea eax, [esp + 0x234]
add esp, 0xc
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10003331
sub eax, esi
push eax
lea edx, [esp + 0x22c]
push edx
mov esi, ebp
call fcn.100047c0
add esp, 8
lea eax, [esp + 0x10]
push eax
push ebx
mov ecx, 0x41
lea esi, [esp + 0x128]
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
push ebx
lea ecx, [esp + 0x24]
push ecx
push ebx
mov dword [esp + 0x24], 0x14
mov dword [esp + 0x28], ebx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x10003475
push 0x51
lea edx, [esp + 0x22c]
push ebx
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push ebx
push 0x51
lea eax, [esp + 0x230]
push eax
push ebp
call dword [sym.imp.WS2_32.dll_recv]
push 0x51
lea ecx, [esp + 0x22c]
push ebx
push ecx
mov byte [esp + eax + 0x234], bl
call sub.MSVCR90.dll_memset
mov edx, dword [0x1000cb50]
add esp, 0xc
push edx
lea eax, [esp + 0x22c]
push 0x100081d0
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
lea eax, [esp + 0x234]
add esp, 0xc
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100033f0
sub eax, esi
push eax
lea ecx, [esp + 0x22c]
push ecx
mov esi, ebp
call fcn.100047c0
add esp, 8
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x10]
push edx
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
mov ecx, 0x41
lea esi, [esp + 0x130]
lea edi, [esp + 0x28]
push ebx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x24], 0x14
mov dword [esp + 0x28], ebx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x10003475
push 0x51
lea ecx, [esp + 0x22c]
push ebx
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push ebx
push 0x51
lea edx, [esp + 0x230]
push edx
push ebp
call dword [sym.imp.WS2_32.dll_recv]
mov eax, 1
jmp 0x10003477
xor eax, eax
mov ecx, dword [esp + 0x284]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10006d00
add esp, 0x278
ret
Function at 0x100043d0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x278
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x274], eax
push ebx
push ebp
mov ebp, dword [esp + 0x284]
push esi
push edi
push 0x100
xor ebx, ebx
lea eax, [esp + 0x128]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x100
lea ecx, [esp + 0x20]
push ebx
push ecx
mov dword [esp + 0x24], ebx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x51
lea edx, [esp + 0x22c]
push ebx
push edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x130], ebp
mov dword [esp + 0x12c], 1
call sub.MSVCR90.dll_memset
mov eax, dword [0x1000cb80]
add esp, 0xc
push eax
lea ecx, [esp + 0x22c]
push 0x100081d0
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
lea eax, [esp + 0x234]
add esp, 0xc
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10004471
sub eax, esi
push eax
lea edx, [esp + 0x22c]
push edx
mov esi, ebp
call fcn.100047c0
add esp, 8
lea eax, [esp + 0x10]
push eax
push ebx
mov ecx, 0x41
lea esi, [esp + 0x128]
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
push ebx
lea ecx, [esp + 0x24]
push ecx
push ebx
mov dword [esp + 0x24], 0x14
mov dword [esp + 0x28], ebx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x100045b5
push 0x51
lea edx, [esp + 0x22c]
push ebx
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push ebx
push 0x51
lea eax, [esp + 0x230]
push eax
push ebp
call dword [sym.imp.WS2_32.dll_recv]
push 0x51
lea ecx, [esp + 0x22c]
push ebx
push ecx
mov byte [esp + eax + 0x234], bl
call sub.MSVCR90.dll_memset
mov edx, dword [0x1000e054]
add esp, 0xc
push edx
lea eax, [esp + 0x22c]
push 0x100081d0
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
lea eax, [esp + 0x234]
add esp, 0xc
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10004530
sub eax, esi
push eax
lea ecx, [esp + 0x22c]
push ecx
mov esi, ebp
call fcn.100047c0
add esp, 8
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x10]
push edx
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
mov ecx, 0x41
lea esi, [esp + 0x130]
lea edi, [esp + 0x28]
push ebx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x24], 0x14
mov dword [esp + 0x28], ebx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x100045b5
push 0x51
lea ecx, [esp + 0x22c]
push ebx
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push ebx
push 0x51
lea edx, [esp + 0x230]
push edx
push ebp
call dword [sym.imp.WS2_32.dll_recv]
mov eax, 1
jmp 0x100045b7
xor eax, eax
mov ecx, dword [esp + 0x284]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10006d00
add esp, 0x278
ret
Function at 0x100047c0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x30
push ebx
push ebp
push edi
mov ebp, 1
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov ecx, dword [esp + 0x40]
mov ebx, dword [sym.imp.WS2_32.dll_WSASend]
mov edi, eax
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
push 0
lea edx, [esp + 0x28]
push edx
push 0
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x28]
push ecx
push esi
call ebx
cmp eax, 0xffffffff
jne 0x10004831
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x10004880
push 0
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x28]
push edx
push 1
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
cmp eax, 0xffffffff
je 0x10004880
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
lea ecx, [esp + 0x10]
push ecx
push 0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
je 0x10004880
mov eax, dword [esp + 0xc]
sub dword [esp + 0x14], eax
je 0x10004882
add dword [esp + 0x18], eax
jmp 0x10004807
xor ebp, ebp
push edi
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x10005470
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x278
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x274], eax
push ebx
push ebp
mov ebp, dword [esp + 0x284]
push esi
push edi
push 0x100
xor ebx, ebx
lea eax, [esp + 0x128]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x100
lea ecx, [esp + 0x20]
push ebx
push ecx
mov dword [esp + 0x24], ebx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x51
lea edx, [esp + 0x22c]
push ebx
push edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x130], ebp
mov dword [esp + 0x12c], 1
call sub.MSVCR90.dll_memset
mov eax, dword [0x1000e084]
add esp, 0xc
push eax
lea ecx, [esp + 0x22c]
push 0x100081d0
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
lea eax, [esp + 0x234]
add esp, 0xc
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10005511
sub eax, esi
push eax
lea edx, [esp + 0x22c]
push edx
mov esi, ebp
call fcn.100047c0
add esp, 8
lea eax, [esp + 0x10]
push eax
push ebx
mov ecx, 0x41
lea esi, [esp + 0x128]
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
push ebx
lea ecx, [esp + 0x24]
push ecx
push ebx
mov dword [esp + 0x24], 0x14
mov dword [esp + 0x28], ebx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x10005655
push 0x51
lea edx, [esp + 0x22c]
push ebx
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push ebx
push 0x51
lea eax, [esp + 0x230]
push eax
push ebp
call dword [sym.imp.WS2_32.dll_recv]
push 0x51
lea ecx, [esp + 0x22c]
push ebx
push ecx
mov byte [esp + eax + 0x234], bl
call sub.MSVCR90.dll_memset
mov edx, dword [0x1000f558]
add esp, 0xc
push edx
lea eax, [esp + 0x22c]
push 0x100081d0
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
lea eax, [esp + 0x234]
add esp, 0xc
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100055d0
sub eax, esi
push eax
lea ecx, [esp + 0x22c]
push ecx
mov esi, ebp
call fcn.100047c0
add esp, 8
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x10]
push edx
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
mov ecx, 0x41
lea esi, [esp + 0x130]
lea edi, [esp + 0x28]
push ebx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x24], 0x14
mov dword [esp + 0x28], ebx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x10005655
push 0x51
lea ecx, [esp + 0x22c]
push ebx
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push ebx
push 0x51
lea edx, [esp + 0x230]
push edx
push ebp
call dword [sym.imp.WS2_32.dll_recv]
mov eax, 1
jmp 0x10005657
xor eax, eax
mov ecx, dword [esp + 0x284]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10006d00
add esp, 0x278
ret
Function at 0x10005860
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x134
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push edi
xor ebx, ebx
push ebx
push 0xf
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [esp + 8]
push eax
push edi
call sub.KERNEL32.dll_Process32First
lea eax, [esp + 0x2c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100058a0
sub eax, edx
mov edx, eax
xor ecx, ecx
test edx, edx
jle 0x100058c8
mov al, byte [esp + ecx + 0x2c]
cmp al, 0x41
jl 0x100058c3
cmp al, 0x5f
jg 0x100058c3
add al, 0x20
mov byte [esp + ecx + 0x2c], al
inc ecx
cmp ecx, edx
jl 0x100058b1
mov ecx, esi
lea eax, [esp + 0x2c]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100058f0
test dl, dl
je 0x100058ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100058f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100058d0
xor eax, eax
jmp 0x100058f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000590a
lea ecx, [esp + 8]
push ecx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10005895
jmp 0x10005919
mov edx, dword [esp + 0x10]
mov dword [0x10010218], edx
mov ebx, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x134]
pop edi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.10006d00
add esp, 0x134
ret
Function at 0x10005c10
Capabilities:
Enumerate threads
Print debug messages
Suspend thread

Disassembly:
sub esp, 0x12c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
call fcn.100059d0
mov esi, 0x1000823c
call fcn.10005860
test eax, eax
jne 0x10005c63
mov esi, 0x10008248
call fcn.10005860
test eax, eax
jne 0x10005c63
mov esi, str.gostop.exe
call fcn.10005860
test eax, eax
je 0x10005d6f
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10005d60
mov ebx, dword [sym.imp.MSVCR90.dll_sprintf]
mov ebp, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [esp + 0x20]
push edx
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
cmp esi, 0xffffffff
je 0x10005d39
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
cmp eax, 0xf
je 0x10005cc5
cmp eax, 0xfffffff1
jne 0x10005d39
push esi
call fcn.10005940
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
push edi
lea ecx, [esp + 0x48]
push str._xsize:_d_tid:_d_pid:_d_base:_ld_delta:_ld_n
push ecx
call ebx
mov eax, dword [0x10010218]
mov ecx, dword [esp + 0x40]
add esp, 0x1c
cmp eax, ecx
jne 0x10005d39
lea edx, [edi - 0x100001]
cmp edx, 0x3feffffe
ja 0x10005d39
push ecx
push eax
push edi
lea eax, [esp + 0x40]
push str.stop:_x_d:_d_n
push eax
call ebx
add esp, 0x14
lea ecx, [esp + 0x34]
push ecx
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x10005d59
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10005c97
jmp 0x10005d60
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10006d00
add esp, 0x12c
ret