joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415b44
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x415b9c
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x415b9c
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x415b9c
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret

Function at 0x415bc5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x415c33
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.DisableMMX
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x415c2a
cmp dword [ebp - 0xc], 4
jne 0x415c2a
cmp dword [ebp - 0x10], edi
je 0x415c2a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x58f8f8], edi
xor eax, eax
jmp 0x415c5b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x58f8f8], edi
jge 0x415c56
mov dword [0x58f8f8], edi
call fcn.00415ba0
test eax, eax
je 0x415c56
emms
mov dword [0x58f8f8], 1
mov eax, dword [0x58f8f8]
pop edi
leave
ret

Function at 0x415d3b
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
push ebx
push edi
push 0x25
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
xor bl, bl
and byte [ebp + 0x73], bl
push eax
mov dword [ebp - 0x24], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x415d72
inc bl
mov byte [ebp + 0x73], 1
cmp dword [ebp - 0x14], 1
jne 0x415d94
cmp dword [ebp - 0x20], 4
ja 0x415d9e
jne 0x415d8e
cmp dword [ebp - 0x1c], 0xa
jb 0x415d8e
cmp word [ebp - 0x18], 0x55d
jae 0x415d9e
mov byte [ebp + 0x73], 1
jmp 0x415d9e
cmp dword [ebp - 0x14], 2
jne 0x415db4
test bl, bl
je 0x415dcf
mov eax, dword [ebp + 0x7c]
sub eax, 6
je 0x415dbf
dec eax
je 0x415db8
sub eax, 3
jne 0x415db4
cmp byte [ebp + 0x73], 0
je 0x415de0
xor eax, eax
jmp 0x415de8
call fcn.00415c5e
jmp 0x415de8
cmp byte [ebp + 0x73], 0
jne 0x415db4
call fcn.00415c96
and eax, 4
jmp 0x415de8
cmp dword [ebp + 0x7c], 0xa
je 0x415de0
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
jmp 0x415de8
call fcn.00415c96
and eax, 8
pop edi
pop ebx
add ebp, 0x74
leave
ret
Function at 0x41bfad
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x41bfda
push esi
call fcn.0042567f
cmp byte [esi + 0x40], 0
pop ecx
je 0x41bfd3
mov dword [esi + 0x10], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x41c049
mov eax, dword [esi + 0x18c]
cmp byte [eax + 0x10], 0
je 0x41c03e
mov eax, dword [esi + 8]
test eax, eax
je 0x41bffb
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x18c]
push esi
call dword [eax]
test eax, eax
pop ecx
je 0x41c03a
cmp eax, 2
je 0x41c03e
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41bff0
cmp eax, 3
je 0x41c01f
cmp eax, 1
jne 0x41bff0
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
cmp dword [eax + 4], ecx
jl 0x41bff0
mov edx, dword [esi + 0x118]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x41bff0
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x41c067
cmp eax, 0xcc
je 0x41c067
mov eax, dword [esi]
mov dword [eax + 0x14], 0x12
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
push esi
call dword [eax]
pop ecx
call fcn.0041bd0c
pop esi
ret

Function at 0x4270eb
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4270f9
xor eax, eax
pop ebp
ret
cmp dword [ebp + 0x10], 8
push esi
mov esi, dword [ebp + 8]
not esi
mov ecx, 0xff
jb 0x4271cd
mov eax, dword [ebp + 0x10]
push ebx
shr eax, 3
push edi
xor ebx, ebx
mov bl, byte [edx]
mov edi, esi
shr edi, 8
sub dword [ebp + 0x10], 8
xor ebx, esi
and ebx, ecx
mov esi, dword [ebx*4 + 0x564490]
xor ebx, ebx
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x564490]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x564490]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x564490]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x564490]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x564490]
shr esi, 8
xor edi, esi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x564490]
shr edi, 8
xor esi, edi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x564490]
shr esi, 8
xor esi, edi
inc edx
dec eax
jne 0x427116
pop edi
pop ebx
cmp dword [ebp + 0x10], 0
je 0x4271ed
xor eax, eax
mov al, byte [edx]
xor eax, esi
and eax, ecx
mov eax, dword [eax*4 + 0x564490]
shr esi, 8
xor esi, eax
inc edx
dec dword [ebp + 0x10]
jne 0x4271d3
mov eax, esi
not eax
pop esi
pop ebp
ret
Function at 0x43c9a0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x404
mov eax, dword [0x592c80]
xor eax, esp
mov dword [esp + 0x400], eax
lea eax, [esp + 0x40c]
push eax
push 0
push dword [esp + 0x410]
lea eax, [esp + 0xc]
push 0x400
push eax
call fcn.0043c940
add esp, 0x14
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.004c8873
add esp, 0x404
ret

Function at 0x43cd00
Capabilities:
Generate random numbers via winapi

Disassembly:
sub esp, 0xd0
mov eax, dword [0x592c80]
xor eax, esp
mov dword [esp + 0xcc], eax
push esi
push edi
push 0xf0000040
push 1
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
mov edi, edx
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x43cd5d
lea eax, [esp + 0xc]
push eax
push 0x20
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [esp + 0xc]
test eax, eax
jne 0x43cd76
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.004c8873
add esp, 0xd0
ret
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test eax, eax
je 0x43cd5d
mov edx, esi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x43cd85
movups xmm0, xmmword [0x574830]
push 0x20
lea eax, [esp + 0x30]
sub edx, ecx
push eax
push 0x400
push 0x20
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.0043da20
add esp, 0x24
test eax, eax
je 0x43cd5d
push ecx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x14]
call fcn.0043cc40
add esp, 4
mov byte [esp + 0xd4], 0
lea eax, [esp + 0x50]
lea ecx, [esp + 0x30]
push eax
call fcn.0043cc40
lea eax, [esp + 0x54]
mov byte [esp + 0x94], 0
push eax
lea eax, [esp + 0x9c]
push eax
push 0x400
push str._u:_s:_s
push 0x87
push edi
call fcn.0043caa0
mov ecx, dword [esp + 0xf4]
add esp, 0x20
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.004c8873
add esp, 0xd0
ret
Function at 0x440f60
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 4]
mov dword [edi + 0xc], eax
mov eax, dword [ebx]
test eax, eax
je 0x441029
cmp eax, 0xffffffff
je 0x441029
mov esi, dword [0x5a9370]
push 0
push 0
push dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp dword [esi], eax
je 0x440fb9
push str.Startup__:_Associate_Device_failed_for_pre_created_socket.
call fcn.00442a00
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x5a938c
call esi
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], edi
push eax
call fcn.00443a80
push 0x5a938c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, edi
call fcn.004420c0
test al, al
jne 0x4410be
push str.Startup__:_Register_Receive_failed.
call fcn.00442a00
add esp, 4
push 0x5a938c
call esi
push ebx
call fcn.00442c00
push 0x5a938c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [ebx], eax
cmp eax, 0xffffffff
jne 0x441060
push str.Startup__:_Socket_Creation_Failure.
call fcn.00442a00
add esp, 4
mov dword [ebx], 0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [0x5a9370]
push 0
push 0
push dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp dword [esi], eax
je 0x44108f
push str.Startup__:_Associate_Device_failed.
call fcn.00442a00
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x5a938c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], edi
push eax
call fcn.00443a80
push 0x5a938c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x10], eax
test eax, eax
jne 0x4410cf
mov dword [edi + 0x10], 5
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x441d00
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x24
mov eax, dword [0x592c80]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
push 0
push 0
mov eax, ecx
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
push ecx
push 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], 0xb5367df1
push ecx
push 0x10
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], 0x11cfcbac
push ecx
push 0xc8000006
push dword [eax + 4]
mov dword [esp + 0x48], 0x8000ca95
mov dword [esp + 0x4c], 0x92a1485f
mov dword [esp + 0x34], 0
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push 1
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x441da8
push str.Failed_to_create_socket_in_IOCP_setup.
call fcn.00442a00
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004c8873
add esp, 0x24
ret
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5a5980
call edi
push 0x5a5980
call edi
mov eax, dword [0x5a596c]
cmp eax, dword [0x5a5970]
push 0x5a5980
sete bl
call esi
test bl, bl
je 0x441dee
push 0x5a5980
call esi
mov ecx, 0x3e8
call fcn.004424e0
jmp 0x441db4
mov ecx, dword [0x5a5970]
mov eax, dword [0x5a5968]
mov ebx, dword [eax + ecx*4]
inc ecx
mov dword [0x5a5970], ecx
cmp ecx, dword [0x5a5978]
jl 0x441e15
mov eax, dword [0x5a5974]
mov dword [0x5a5970], eax
push 0x5a5980
call esi
push dword [ebx + 0x20]
call fcn.004c8b97
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x18], 3
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x1c], ebp
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov eax, dword [eax + 4]
push 0x5a9374
mov dword [ebx + 0x28], eax
call edi
push ebx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push 0x20
push 0x20
push 0
push 0x5a9328
push ebp
push dword [eax + 4]
call dword [esp + 0x38]
test eax, eax
jne 0x441ec5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x441ec5
push str.AcceptEx___Failed_and_IO_aint_pending.
call fcn.00442a00
add esp, 4
mov ecx, ebx
call fcn.00440da0
push ebx
call fcn.00443760
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x5a9374
call esi
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004c8873
add esp, 0x24
ret
push 0x5a9374
call esi
mov ecx, dword [esp + 0x2c]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c8873
add esp, 0x24
ret
Function at 0x441ef0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov ebp, ecx
push edi
push esi
mov dword [esp + 0x14], 0
call fcn.004c8bda
push esi
push dword [esp + 0x28]
mov dword [esp + 0x24], eax
push eax
mov dword [esp + 0x24], esi
call fcn.004f12d0
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esp, 0x10
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [eax]
push 0x5a5980
call edi
push 0x5a5980
call edi
mov eax, dword [0x5a596c]
cmp eax, dword [0x5a5970]
push 0x5a5980
sete bl
call esi
test bl, bl
je 0x441f6a
push 0x5a5980
call esi
mov ecx, 0x3e8
call fcn.004424e0
jmp 0x441f30
mov ecx, dword [0x5a5970]
mov eax, dword [0x5a5968]
mov ebx, dword [eax + ecx*4]
inc ecx
mov dword [0x5a5970], ecx
cmp ecx, dword [0x5a5978]
jl 0x441f91
mov eax, dword [0x5a5974]
mov dword [0x5a5970], eax
push 0x5a5980
call esi
push dword [ebx + 0x20]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
call fcn.004c8b97
add esp, 4
mov dword [ebx + 0x18], 1
mov dword [ebx + 0x14], ebp
mov dword [ebx + 0x1c], 0xffffffff
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], 0
test ebp, ebp
je 0x441fd3
mov eax, dword [ebp + 4]
mov dword [ebx + 0x28], eax
push 0
push ebx
push 0
lea eax, [esp + 0x1c]
push eax
push 1
lea eax, [esp + 0x28]
push eax
push dword [ebp + 4]
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x442046
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x442046
push dword [ebx + 0x20]
call fcn.004c8b97
add esp, 4
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
push ebx
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
call fcn.00443760
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret 8
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xc
ret 8
Function at 0x4420c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebp, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
push 0x5a5980
call esi
push 0x5a5980
call esi
mov eax, dword [0x5a596c]
cmp eax, dword [0x5a5970]
push 0x5a5980
sete bl
call edi
test bl, bl
je 0x44212f
push 0x5a5980
call edi
mov ecx, 0x3e8
call fcn.004424e0
jmp 0x4420f5
mov ecx, dword [0x5a5970]
mov eax, dword [0x5a5968]
mov esi, dword [eax + ecx*4]
inc ecx
mov dword [0x5a5970], ecx
cmp ecx, dword [0x5a5978]
jl 0x442156
mov eax, dword [0x5a5974]
mov dword [0x5a5970], eax
push 0x5a5980
call edi
push dword [esi + 0x20]
call fcn.004c8b97
add esp, 4
mov dword [esi + 0x18], 2
mov dword [esi + 0x14], ebp
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
test ebp, ebp
je 0x442198
mov eax, dword [ebp + 4]
mov dword [esi + 0x28], eax
push 0
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
push 1
lea eax, [esp + 0x2c]
push eax
push dword [ebp + 4]
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x442216
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x442216
push eax
push str.RegisterRecv__:_registration_failed:_error_code:__d
call fcn.00442a00
push dword [esi + 0x20]
call fcn.004c8b97
add esp, 0xc
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
push esi
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
call fcn.00443760
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret
Function at 0x442220
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x28], 0
jg 0x4423c2
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x18]
sub eax, 2
je 0x4422c5
sub eax, 1
je 0x44227a
sub eax, 1
jne 0x4423c2
mov ecx, dword [esi + 0x10]
push dword [edi + 0x1c]
push dword [esi + 4]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test al, al
jne 0x4423bb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi + 0x10]
push 0
push dword [edi + 0x1c]
mov eax, dword [ecx]
push dword [esi + 4]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x442299
push dword [edi + 0x1c]
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, esi
call fcn.00441d00
test al, al
jne 0x4423c2
push str.HandleGoodIoCompletions__:_setup_new_accept_failed
call fcn.00442a00
mov eax, dword [esi]
add esp, 4
mov ecx, esi
call dword [eax + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [ebp + 0x10]
push 0
push 0x1000
push ebx
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp edi, 0xffffffff
je 0x4423a7
mov ecx, dword [esi + 0x10]
test edi, edi
je 0x442390
test ecx, ecx
jne 0x442302
push str.ProcessRecv__:_socket_handler_invalid.
call fcn.00442a00
add esp, 4
jmp 0x442374
mov eax, dword [esi + 0x20]
add eax, edi
cmp eax, dword [esi + 0x18]
jl 0x44231b
push str.ProcessRecv__:_AddData___failed_to_add.
call fcn.00442a00
add esp, 4
jmp 0x442374
mov eax, dword [esi + 0x20]
add eax, dword [esi + 0x14]
push edi
push ebx
push eax
call fcn.004f12d0
mov eax, dword [esi + 0x20]
add esp, 0xc
add eax, edi
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x10]
push 0
push eax
push dword [esi + 0x14]
mov edx, dword [ecx]
push dword [esi + 4]
call dword [edx + 8]
mov ebx, eax
mov eax, dword [esi + 0x20]
cmp ebx, eax
jle 0x442357
mov dword [esi + 0x20], 0
jmp 0x442371
test ebx, ebx
jle 0x44236e
mov ecx, dword [esi + 0x14]
sub eax, ebx
push eax
lea eax, [ecx + ebx]
push eax
push ecx
call fcn.004f12d0
add esp, 0xc
sub dword [esi + 0x20], ebx
mov ebx, dword [ebp + 0x10]
cmp edi, 0x1000
je 0x4422c8
mov ecx, esi
call fcn.004420c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
test ecx, ecx
je 0x4423c2
mov eax, dword [ecx]
push 0
push dword [esi + 4]
call dword [eax + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.HandleGoodIoCompletions__:_recv_failed:_error_code:__d
call fcn.00442a00
add esp, 8
mov ecx, esi
call fcn.004420c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x442a00
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x2008
call fcn.004c9530
mov eax, dword [0x592c80]
xor eax, esp
mov dword [esp + 0x2004], eax
push dword [esp + 0x200c]
lea eax, [esp + 4]
push 0x576b44
push eax
call fcn.00443d20
add esp, 0xc
lea eax, [esp + 0x2010]
push eax
push 0
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x100c]
push 0x1000
push eax
call fcn.0043c940
add esp, 0x14
lea eax, [esp + 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x2004]
xor ecx, esp
call fcn.004c8873
add esp, 0x2008
ret
Function at 0x44e720
Capabilities:
Get mac address on windows
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55708d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x592c80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push ecx
push 0x100
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.0044ebb0
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x10]
push eax
push 0
mov dword [ebp - 0x10], 0
call esi
push dword [ebp - 0x10]
call fcn.004c8bda
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
push eax
push ebx
call esi
mov edi, dword [ebp - 0x24]
mov esi, ebx
mov ebx, dword [ebp - 0x20]
cmp dword [esi + 0x1a0], 6
jne 0x44e7fb
cmp dword [esi + 0x190], 6
jne 0x44e7fb
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
mov eax, ebx
push str._02X__02X__02X__02X__02X__02X
sub eax, edi
push eax
push edi
call fcn.0043caa0
add esp, 0x24
mov esi, dword [esi]
test esi, esi
jne 0x44e7a6
mov ecx, edi
or ebx, 0xffffffff
xor edx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44e810
sub ecx, esi
je 0x44e84d
nop dword [eax + eax]
movzx ecx, byte [edx + edi]
movzx eax, bl
xor ecx, eax
shr ebx, 8
mov eax, edi
xor ebx, dword [ecx*4 + 0x574850]
inc edx
lea esi, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44e840
sub eax, esi
cmp edx, eax
jb 0x44e820
push dword [ebp - 0x14]
call fcn.004c8b97
add esp, 4
test edi, edi
je 0x44e885
mov ecx, dword [ebp - 0x1c]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x44e87b
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e899
push ecx
push edi
call fcn.004c8bcc
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0052501e
int3