joyce8/EMBER2024-capa huggingface dataset:
Function at 0x479de0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
mov ebp, dword [esp + 0x24]
call ebx
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x2c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x479eec
push esi
xor esi, esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [edi + 0x18]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
push ebp
push eax
push ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [edi + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x479ee1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x479ee1
lea esi, [ebp + ebp*4]
add esi, esi
call ebx
push eax
push ebp
push str.sending..__d___d__r_n
call fcn.00477b80
mov ecx, dword [edi + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
add esp, 0xc
push 0
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x14]
push eax
push ecx
call ebx
test eax, eax
jne 0x479eb7
test esi, esi
jle 0x479ebb
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [edi + 0x18]
push 0
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x14]
push eax
push ecx
sub esi, 0x14
call ebx
test eax, eax
je 0x479e92
test esi, esi
jg 0x479ed2
push str.Timed_out_sending__r_n
call fcn.00477b80
mov edx, dword [edi + 0x18]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov eax, dword [esp + 0x24]
mov dword [edi + 0x1c], 1
mov dword [esp + 0x28], eax
mov ecx, dword [edi + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop esi
cmp dword [esp + 0x24], ebp
je 0x479eff
push str.WriteFile_failed__r_n
call fcn.004a01ce
add esp, 4
xor eax, eax
cmp dword [esp + 0x24], ebp
pop ebp
sete al
pop ebx
add esp, 0x14
ret 8

Function at 0x47a8b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push esi
mov esi, eax
test esi, esi
jne 0x47a8c1
pop esi
add esp, 8
ret 4
push 8
call fcn.00490828
mov cl, 2
mov byte [esp + 8], cl
mov byte [esp + 0xc], cl
mov cl, byte [esp + 0x14]
mov dword [esi], eax
mov byte [esp + 9], 0
mov byte [esp + 0xa], 0
mov byte [esp + 0xb], 8
mov edx, dword [esp + 8]
mov dword [eax], edx
mov byte [esp + 0xd], cl
mov cx, word [esp + 0xc]
mov word [eax + 4], cx
mov edx, dword [esi]
add esp, 4
mov byte [edx + 6], 3
mov esi, dword [esi]
xor cl, cl
xor eax, eax
lea esp, [esp]
xor cl, byte [esi + eax]
inc eax
cmp eax, 7
jb 0x47a910
mov byte [esi + 7], cl
mov eax, 8
pop esi
add esp, 8
ret 4
Function at 0x47a930
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
test edi, edi
jne 0x47a93f
xor eax, eax
add esp, 8
ret 8
push ebx
push esi
push 0x11
call fcn.00490828
mov cl, 2
mov byte [esp + 0x10], cl
mov byte [esp + 0xc], cl
mov byte [esp + 0xd], 0
mov byte [esp + 0xe], 0
mov byte [esp + 0xf], 0x11
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x11], 0xf
mov dx, word [esp + 0x10]
mov dword [eax], ecx
add esp, 4
mov dword [edi], eax
mov word [eax + 4], dx
mov eax, dword [esp + 0x14]
push str.COUNTER_VALUE
xor ebx, ebx
call fcn.00480b20
mov esi, eax
test esi, esi
je 0x47a9a1
push esi
call fcn.0049e31d
push esi
mov ebx, eax
call fcn.0049081d
add esp, 8
mov eax, dword [edi]
mov cl, byte [esp + 0x18]
mov byte [eax + 6], cl
mov edx, ebx
shr edx, 0x18
mov byte [eax + 7], dl
mov ecx, ebx
mov edx, ebx
shr ecx, 0x10
mov byte [eax + 8], cl
shr edx, 8
mov byte [eax + 9], dl
mov byte [eax + 0xa], bl
mov byte [eax + 0xb], 0
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
pop esi
mov byte [eax + 0xe], 1
xor dl, dl
mov byte [eax + 0xf], 3
xor ecx, ecx
pop ebx
nop
xor dl, byte [eax + ecx]
inc ecx
cmp ecx, 0x10
jb 0x47a9e0
mov byte [eax + 0x10], dl
mov eax, 0x11
add esp, 8
ret 8

Function at 0x47aa00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
test esi, esi
jne 0x47aa0f
xor eax, eax
add esp, 8
ret 4
push 9
call fcn.00490828
mov cl, 2
mov byte [esp + 8], cl
mov byte [esp + 4], cl
mov byte [esp + 5], 0
mov byte [esp + 6], 0
mov byte [esp + 7], 9
mov ecx, dword [esp + 4]
mov dword [eax], ecx
mov cl, byte [esp + 0x10]
mov byte [esp + 9], 0xe
mov dx, word [esp + 8]
mov word [eax + 4], dx
mov byte [eax + 6], cl
add esp, 4
xor dl, dl
mov dword [esi], eax
mov byte [eax + 7], 3
xor ecx, ecx
xor dl, byte [eax + ecx]
inc ecx
cmp ecx, 8
jb 0x47aa57
mov byte [eax + 8], dl
mov eax, 9
add esp, 8
ret 4

Function at 0x47aa70
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
test edi, edi
jne 0x47aa7f
xor eax, eax
add esp, 8
ret 8
push 0xe
call fcn.00490828
mov cl, 2
mov byte [esp + 8], cl
mov byte [esp + 4], cl
add esp, 4
cmp dword [esp + 0xc], 0
mov byte [esp + 1], 0
mov byte [esp + 2], 0
mov byte [esp + 3], 0xe
mov ecx, dword [esp]
mov dword [eax], ecx
setne cl
mov byte [esp + 5], 0xd
mov dx, word [esp + 4]
mov word [eax + 4], dx
mov byte [eax + 6], cl
mov edx, ebx
shr edx, 0x10
mov byte [eax + 7], dl
mov ecx, ebx
shr ecx, 8
mov byte [eax + 8], cl
mov ecx, dword [esp + 0x10]
mov byte [eax + 9], bl
mov edx, ecx
shr edx, 8
mov byte [eax + 0xa], dl
mov byte [eax + 0xb], cl
mov dword [esi + 0x178], ecx
mov dword [esi + 0x17c], ebx
xor dl, dl
mov dword [edi], eax
mov byte [eax + 0xc], 3
xor ecx, ecx
xor dl, byte [eax + ecx]
inc ecx
cmp ecx, 0xd
jb 0x47aaf8
mov byte [eax + 0xd], dl
mov eax, 0xe
add esp, 8
ret 8
Function at 0x47ab10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
test esi, esi
jne 0x47ab1f
xor eax, eax
add esp, 8
ret 4
push 9
call fcn.00490828
mov cl, 2
mov byte [esp + 8], cl
mov byte [esp + 4], cl
add esp, 4
cmp dword [esp + 0xc], 0
mov byte [esp + 1], 0
mov byte [esp + 2], 0
mov byte [esp + 3], 9
mov ecx, dword [esp]
mov dword [eax], ecx
mov byte [esp + 5], 5
mov dx, word [esp + 4]
setne cl
mov word [eax + 4], dx
mov byte [eax + 6], cl
xor dl, dl
mov dword [esi], eax
mov byte [eax + 7], 3
xor ecx, ecx
lea ebx, [ebx]
xor dl, byte [eax + ecx]
inc ecx
cmp ecx, 8
jb 0x47ab70
mov byte [eax + 8], dl
mov eax, 9
add esp, 8
ret 4

Function at 0x47ab90
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x34]
push ebp
mov ebp, dword [esp + 0x44]
push edi
mov edi, eax
test edi, edi
jne 0x47abad
pop edi
pop ebp
pop ebx
add esp, 8
ret 0x34
push esi
push 0x29
call fcn.00490828
mov esi, eax
mov dl, byte [esp + 0x20]
mov al, 2
mov byte [esp + 0x18], al
mov byte [esp + 0x14], al
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0x29
mov eax, dword [esp + 0x14]
mov dword [esi], eax
mov al, byte [esp + 0x24]
mov byte [esp + 0x19], 4
mov cx, word [esp + 0x18]
mov word [esi + 4], cx
mov cl, byte [esp + 0x28]
mov byte [esi + 6], dl
mov dl, byte [esp + 0x2c]
mov byte [esi + 7], al
mov al, byte [esp + 0x30]
mov byte [esi + 8], cl
mov byte [esi + 9], dl
mov byte [esi + 0xa], al
mov eax, dword [esp + 0x34]
mov ecx, eax
shr ecx, 8
mov byte [esi + 0xb], cl
mov byte [esi + 0xc], al
mov eax, dword [esp + 0x38]
mov edx, eax
shr edx, 8
mov byte [esi + 0xd], dl
mov byte [esi + 0xe], al
mov eax, dword [esp + 0x3c]
mov ecx, eax
shr ecx, 8
mov byte [esi + 0xf], cl
mov cl, byte [esp + 0x48]
mov byte [esi + 0x10], al
mov eax, dword [esp + 0x40]
mov edx, eax
shr edx, 8
mov byte [esi + 0x11], dl
mov byte [esi + 0x12], al
mov eax, ebx
add esp, 4
shr eax, 8
mov byte [esi + 0x13], al
mov byte [esi + 0x14], bl
mov byte [esi + 0x15], cl
mov eax, 0x20202020
lea ecx, [esi + 0x16]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov eax, ebp
mov dword [edi], esi
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47ac72
sub eax, edi
cmp eax, 0x10
jae 0x47ac90
mov eax, ebp
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47ac85
sub eax, edi
jmp 0x47ac95
mov eax, 0x10
push eax
push ebp
push ecx
call fcn.004a38d0
mov dl, byte [esp + 0x54]
add esp, 0xc
mov byte [esi + 0x26], dl
xor cl, cl
mov byte [esi + 0x27], 3
xor eax, eax
nop
xor cl, byte [eax + esi]
inc eax
cmp eax, 0x28
jb 0x47acb0
mov byte [esi + 0x28], cl
pop esi
pop edi
pop ebp
mov eax, 0x29
pop ebx
add esp, 8
ret 0x34
Function at 0x47acd0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
test esi, esi
jne 0x47acdf
xor eax, eax
add esp, 8
ret 4
push 0xb
call fcn.00490828
mov cl, 2
mov byte [esp + 8], cl
mov byte [esp + 4], cl
mov byte [esp + 5], 0
mov byte [esp + 6], 0
mov byte [esp + 7], 0xb
mov ecx, dword [esp + 4]
mov dword [eax], ecx
mov cl, byte [esp + 0x10]
mov byte [esp + 9], 6
mov dx, word [esp + 8]
mov word [eax + 4], dx
mov byte [eax + 6], cl
mov edx, ebx
shr edx, 8
mov byte [eax + 7], dl
add esp, 4
mov byte [eax + 8], bl
xor dl, dl
mov dword [esi], eax
mov byte [eax + 9], 3
xor ecx, ecx
xor dl, byte [eax + ecx]
inc ecx
cmp ecx, 0xa
jb 0x47ad32
mov byte [eax + 0xa], dl
mov eax, 0xb
add esp, 8
ret 4
Function at 0x47cb70
Capabilities:
Create thread

Disassembly:
push 0x14
mov dword [edi + 0x128], 0
call fcn.004907ee
add esp, 4
test eax, eax
je 0x47cb93
push esi
mov esi, eax
call fcn.0047cc00
pop esi
jmp 0x47cb95
xor eax, eax
push ebx
mov ecx, eax
mov dword [edi + 0x1b4], eax
call fcn.00408830
mov ecx, dword [edi + 0x1b4]
lea eax, [ebx + 4]
push eax
add ecx, 4
call fcn.00408830
lea ecx, [ebx + 8]
push ecx
mov ecx, dword [edi + 0x1b4]
add ecx, 8
call fcn.00408830
mov edx, dword [edi + 0x1b4]
mov eax, dword [ebx + 0xc]
push 0
push 0
push edi
push 0x47cc70
mov dword [edx + 0xc], eax
mov ecx, dword [edi + 0x1b4]
mov edx, dword [ebx + 0x10]
push 0
push 0
mov dword [ecx + 0x10], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x12c], eax
mov eax, 1
ret
Function at 0x47eaf0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
cmp edx, 8
jbe 0x47eb34
push ebx
push esi
lea esi, [edx - 9]
shr esi, 2
lea ecx, [eax + 9]
inc esi
jmp 0x47eb10
movzx ebx, byte [ecx - 1]
xor byte [eax], bl
movzx ebx, byte [ecx]
xor byte [eax + 1], bl
movzx ebx, byte [ecx + 1]
xor byte [eax + 2], bl
movzx ebx, byte [ecx + 2]
xor byte [eax + 3], bl
add ecx, 4
sub esi, 1
jne 0x47eb10
pop esi
pop ebx
mov ecx, edx
mov byte [eax + 4], dl
shr ecx, 8
shr edx, 0x10
mov byte [eax + 5], cl
mov byte [eax + 6], dl
mov byte [eax + 7], 0
ret

Function at 0x47f8e0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
push edi
push 0x400
call fcn.00490828
mov edi, eax
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
add esp, 4
or eax, edx
mov ecx, pe_nt_image_headers32
push str.CURRENTLANGUAGE
rep stosd dword es:[edi], eax
call fcn.0046ccd0
mov esi, eax
mov dword [esp + 0xc], 0
test esi, esi
je 0x47f98f
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
mov eax, dword [edx + 0x1bc]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x47f98f
mov edi, dword [esp + 0xc]
test edi, edi
je 0x47f988
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47f960
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
push ecx
push esi
push 1
push 0
push str.CURRENTLANGUAGE
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.0049081d
add esp, 4
pop edi
pop esi
add esp, 8
ret 4

Function at 0x480a70
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push ebp
push esi
mov esi, eax
mov dword [esp + 8], 0
test esi, esi
je 0x480b18
mov edx, dword [ebx + 0x1bc]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x480b18
mov ebp, dword [esp + 8]
test ebp, ebp
je 0x480b0d
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x480ac1
sub eax, edx
sar eax, 1
add eax, eax
push eax
push esi
push 1
push 0
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp byte [esp + 0x14], 0
je 0x480b0d
mov ecx, dword [0x4ee750]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x5c]
cmp eax, dword [ebx + 0x174]
jne 0x480b0d
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edi
call fcn.004019b0
call fcn.0046cb50
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 8
ret 4
Function at 0x480b20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
cmp dword [eax + 0x1b8], 0
push edi
lea edi, [eax + 0x1b8]
jne 0x480b5d
mov edx, dword [eax + 0x1bc]
lea ecx, [esp + 0xc]
push ecx
push edi
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [edi], 0
je 0x480bb5
push esi
push 0x400
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0x400
call fcn.00490828
add esp, 4
mov esi, eax
lea ecx, [esp + 8]
push ecx
push esi
xor eax, eax
lea edx, [esp + 0x14]
push edx
push eax
mov word [esi], ax
mov eax, dword [esp + 0x28]
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x480bab
push esi
call fcn.0049081d
add esp, 4
xor esi, esi
mov eax, esi
pop esi
pop edi
add esp, 0xc
ret 4
xor eax, eax
pop edi
add esp, 0xc
ret 4

Function at 0x481fa0
Capabilities:
Create thread
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4bd453
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e3f80]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebp, ebp
mov dword [edi + 0x28], vtable.CList_struct_SerialPortInfo___struct_SerialPortInfo__.0
mov dword [edi + 0x34], ebp
mov dword [edi + 0x38], ebp
mov dword [edi + 0x30], ebp
mov dword [edi + 0x2c], ebp
mov dword [edi + 0x3c], ebp
mov dword [edi + 0x40], 0xa
lea esi, [edi + 0x44]
push esi
mov dword [esp + 0x20], ebp
call fcn.00483e40
mov byte [esp + 0x1c], 1
lea ebx, [edi + 0x60]
call fcn.00498c2b
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x482016
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
lea ecx, [edi + 0x64]
push ecx
mov byte [esp + 0x20], 2
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call fcn.00483ea0
push 1
push 0x4c4848
mov ecx, ebx
mov dword [edi], ebp
mov dword [edi + 0x1c], ebp
mov dword [edi + 0x5c], 0xffffffff
call fcn.00401fa0
push str.COMMS_PORT
call fcn.0046ccd0
mov esi, eax
cmp esi, ebp
jne 0x482076
mov ecx, dword [0x4ee750]
push 0xffffffffffffffff
push str.COMMS_PORT
call fcn.0046c980
jmp 0x482096
cmp word [esi], bp
jne 0x48208d
mov ecx, dword [0x4ee750]
push 0xffffffffffffffff
push str.COMMS_PORT
call fcn.0046c980
push esi
call fcn.0049081d
add esp, 4
push ebp
push ebp
push edi
push 0x482e50
push ebp
push ebp
mov dword [edi + 0x7c], ebp
mov dword [edi + 0x80], ebp
mov dword [edi + 0x20], 1
mov dword [edi + 0x24], ebp
mov dword [edi + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 8], eax
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x484ae0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
cmp byte [ebp + 0x256], 0
push esi
push edi
jne 0x484c54
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp + 0x204]
push eax
mov dword [esp + 0x20], eax
call esi
inc dword [0x4ee7cc]
lea eax, [ebp + 0x21c]
push eax
mov dword [esp + 0x1c], eax
call esi
xor ebx, ebx
mov esi, ebp
mov dword [ebp + 0x4c], ebx
mov byte [ebp + 0x256], 1
call fcn.00485610
cmp dword [esp + 0x28], ebx
jle 0x484be9
mov dword [esp + 0x24], ebx
mov ecx, dword [0x4ee750]
mov eax, 0x64
sub eax, dword [esp + 0x24]
push eax
push 0x4d279c
call fcn.0046c980
mov esi, dword [esp + 0x2c]
movzx eax, si
push eax
push ebx
push str.Broadcast___d__for__d_ms_r_n
call fcn.00477b80
add esp, 0xc
lea edi, [esp + 0x14]
call fcn.00485c70
mov esi, dword [esp + 0x14]
push eax
push esi
lea edi, [ebp + 0x140]
call fcn.00479de0
push esi
call fcn.0049081d
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 4
call edi
movzx ecx, word [esp + 0x2c]
lea esi, [eax + ecx + 0x96]
mov ecx, ebp
call fcn.00486440
call edi
cmp eax, esi
jb 0x484ba6
cmp dword [ebp + 0x250], 0
je 0x484bd9
push str.Sending_shutups..._r_n
call fcn.00477b80
add esp, 4
push ebp
call fcn.00484c60
mov dword [ebp + 0x250], 0
add dword [esp + 0x24], 0x14
inc ebx
cmp ebx, dword [esp + 0x28]
jl 0x484b3f
push str.Broadcast_done..._r_n
call fcn.00477b80
add esp, 4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x17
lea eax, [esp + 0x30]
call fcn.0047a8b0
mov esi, dword [esp + 0x2c]
push eax
push esi
lea edi, [ebp + 0x140]
call fcn.00479de0
push esi
call fcn.0049081d
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add esp, 4
push ecx
mov byte [ebp + 0x256], 0
call esi
mov edx, dword [esp + 0x1c]
push edx
call esi
sub dword [0x4ee7cc], 1
jns 0x484c54
push str.ahhh_r_n
call fcn.00477b80
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x485c70
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
test edi, edi
jne 0x485c7d
xor eax, eax
add esp, 8
ret
push 0xa
call fcn.00490828
mov cl, 2
mov byte [esp + 8], cl
mov byte [esp + 4], cl
mov byte [esp + 5], 0
mov byte [esp + 6], 0
mov byte [esp + 7], 0xa
mov ecx, dword [esp + 4]
mov dword [eax], ecx
mov byte [esp + 9], 0x14
mov dx, word [esp + 8]
mov word [eax + 4], dx
movzx edx, si
mov ecx, esi
shr ecx, 8
add esp, 4
and edx, 0x800000ff
mov dword [edi], eax
mov byte [eax + 6], cl
jns 0x485cd1
dec edx
or edx, 0xffffff00
inc edx
mov byte [eax + 7], dl
xor dl, dl
mov byte [eax + 8], 3
xor ecx, ecx
lea esp, [esp]
xor dl, byte [eax + ecx]
inc ecx
cmp ecx, 9
jb 0x485ce0
mov byte [eax + 9], dl
mov eax, 0xa
add esp, 8
ret

Function at 0x485d00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
test edi, edi
jne 0x485d0d
xor eax, eax
add esp, 8
ret
push 0x18
call fcn.00490828
mov cl, 2
mov byte [esp + 8], cl
mov byte [esp + 4], cl
mov byte [esp + 5], 0
mov byte [esp + 6], 0
mov byte [esp + 7], 0x18
mov ecx, dword [esp + 4]
mov dword [eax], ecx
mov byte [esp + 9], 0x16
mov dx, word [esp + 8]
mov word [eax + 4], dx
mov ecx, dword [esi]
mov dword [eax + 6], ecx
mov edx, dword [esi + 4]
mov dword [eax + 0xa], edx
mov ecx, dword [esi + 8]
mov dword [eax + 0xe], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + 0x12], edx
add esp, 4
xor dl, dl
mov dword [edi], eax
mov byte [eax + 0x16], 3
xor ecx, ecx
xor dl, byte [eax + ecx]
inc ecx
cmp ecx, 0x17
jb 0x485d65
mov byte [eax + 0x17], dl
mov eax, 0x18
add esp, 8
ret

Function at 0x485d80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
test edi, edi
jne 0x485d8d
xor eax, eax
add esp, 8
ret
push 0x18
call fcn.00490828
mov cl, 2
mov byte [esp + 8], cl
mov byte [esp + 4], cl
mov byte [esp + 5], 0
mov byte [esp + 6], 0
mov byte [esp + 7], 0x18
mov ecx, dword [esp + 4]
mov dword [eax], ecx
mov byte [esp + 9], 0x10
mov dx, word [esp + 8]
mov word [eax + 4], dx
mov ecx, dword [esi]
mov dword [eax + 6], ecx
mov edx, dword [esi + 4]
mov dword [eax + 0xa], edx
mov ecx, dword [esi + 8]
mov dword [eax + 0xe], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + 0x12], edx
add esp, 4
xor dl, dl
mov dword [edi], eax
mov byte [eax + 0x16], 3
xor ecx, ecx
xor dl, byte [eax + ecx]
inc ecx
cmp ecx, 0x17
jb 0x485de5
mov byte [eax + 0x17], dl
mov eax, 0x18
add esp, 8
ret

Function at 0x485e00
Capabilities:
Create thread

Disassembly:
push 0x14
mov dword [edi + 0x128], 0
call fcn.004907ee
add esp, 4
test eax, eax
je 0x485e23
push esi
mov esi, eax
call fcn.0047cc00
pop esi
jmp 0x485e25
xor eax, eax
push ebx
mov ecx, eax
mov dword [edi + 0x1b4], eax
call fcn.00408830
mov ecx, dword [edi + 0x1b4]
lea eax, [ebx + 4]
push eax
add ecx, 4
call fcn.00408830
lea ecx, [ebx + 8]
push ecx
mov ecx, dword [edi + 0x1b4]
add ecx, 8
call fcn.00408830
mov edx, dword [edi + 0x1b4]
mov eax, dword [ebx + 0xc]
push 0
push 0
push edi
push 0x485e90
mov dword [edx + 0xc], eax
mov ecx, dword [edi + 0x1b4]
mov edx, dword [ebx + 0x10]
push 0
push 0
mov dword [ecx + 0x10], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x12c], eax
mov eax, 1
ret
Function at 0x488cb0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push 0
push 0
mov dword [ecx + 8], 0
lea ecx, [ecx + eax*8 + 0x190]
push ecx
push 0x488cf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x488ce9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
ret 4
xor eax, eax
ret 4
Function at 0x488ff0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x234
push ebx
push ebp
mov ebp, dword [esp + 0x244]
mov ecx, dword [ebp + 0xc]
push esi
push edi
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x19], eax
mov word [esp + 0x1d], ax
mov byte [esp + 0x1f], al
mov eax, dword [ebp + 0x14]
lea edx, [esp + 0x20]
push edx
push ebx
mov dword [esp + 0x3c], eax
push ebx
lea eax, [esp + 0x3c]
push eax
push ebx
mov byte [esp + 0x2c], 0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x44], 1
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ecx
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp + 8], eax
cmp eax, 1
jne 0x48914e
lea ecx, [esp + 0x18]
push ecx
push ebp
lea esi, [esp + 0x1c]
lea edi, [ebx + 8]
call fcn.00489170
test eax, eax
je 0x4890ac
cmp dword [esp + 0x14], edi
jne 0x4890ea
mov eax, dword [esp + 0x1c]
cmp eax, 0x100000
ja 0x4890ac
mov edi, eax
test eax, eax
jbe 0x4890bb
push eax
call fcn.00490828
add esp, 4
mov ebx, eax
push ebx
push ebp
mov dword [esp + 0x1c], 0
call fcn.00489170
test eax, eax
jne 0x4890bf
push ebx
call fcn.0049081d
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x234
ret 8
xor eax, eax
jmp 0x4890c3
mov eax, dword [esp + 0x14]
cmp eax, edi
jne 0x4890dd
mov eax, dword [esp + 0x248]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, ebx
mov edi, ebp
call fcn.004891c0
test ebx, ebx
je 0x4890ea
push ebx
call fcn.0049081d
add esp, 4
xor ebx, ebx
mov eax, dword [esp + 0x248]
mov ecx, 1
cmp dword [eax + 0x214], ebx
je 0x48910c
mov dword [eax + 0x214], ebx
mov dword [eax + 0x210], ecx
mov edx, dword [ebp + 0x14]
lea eax, [esp + 0x28]
push eax
push ebx
mov dword [esp + 0x140], ecx
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x140]
push ecx
push ebx
push ebx
mov dword [esp + 0x150], edx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.WS2_32.dll_select]
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x234
ret 8
cmp eax, 0xffffffff
jne 0x4890ec
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x234
ret 8

Function at 0x489170
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esi], 0
test edi, edi
je 0x4891b9
mov ebx, dword [sym.imp.WS2_32.dll_recv]
mov eax, dword [esi]
mov edx, dword [esp + 0xc]
push 0
mov ecx, edi
sub ecx, eax
push ecx
add eax, ebp
push eax
mov eax, dword [edx + 0x14]
push eax
call ebx
cmp eax, 0xffffffff
je 0x4891b9
test eax, eax
je 0x4891b9
add dword [esi], eax
cmp dword [esi], edi
jne 0x489186
test eax, eax
je 0x4891b9
pop ebp
mov eax, 1
pop ebx
ret 8
pop ebp
xor eax, eax
pop ebx
ret 8