joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e940
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x49e024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x30]
push 0x800
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 8], edx
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x30], 0xc
push eax
xor bl, bl
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 1
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
je 0x40ea92
xor eax, eax
mov dword [ebp - 0x78], 0x44
mov word [ebp - 0x3e], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
xor eax, eax
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x78]
movlpd qword [ebp - 0x74], xmm0
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push dword [ebp - 8]
movups xmmword [ebp - 0x24], xmm0
push 0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x46], xmm0
mov dword [ebp - 0x4c], 0x101
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x40ea78
cmp byte [ebp + 0xc], bl
je 0x40ea12
push 0xffffffffffffffff
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
jmp 0x40ea28
push 0
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.DLL_PeekNamedPipe]
test eax, eax
je 0x40ea7e
cmp dword [ebp - 8], 0
jbe 0x40ea7e
push 0
lea eax, [ebp - 0xc]
mov dword [edi], 0
push eax
push 0x800
push edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x40ea7e
mov bl, 1
jmp 0x40ea7e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40ea88
push eax
call esi
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40ea92
push eax
call esi
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x14]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
movzx eax, bl
xor ecx, ebp
pop ebx
call fcn.00413cef
mov esp, ebp
pop ebp
ret
Function at 0x40f110
Capabilities:
Create thread
Get process heap flags
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d503
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push edi
mov eax, dword [0x49e024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x2c], edi
mov dword [edi], 0
push 0x20
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.00413d00
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0xf
mov byte [edi + 0x14], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0xf
mov byte [edi + 0x30], 0
lea eax, [edi + 0x60]
mov byte [ebp - 4], 1
push eax
push 0
push edi
push 0x40fb10
push 0
push 0
mov byte [edi + 0x4c], 1
mov dword [edi + 0x64], 0
call fcn.0041c874
add esp, 0x18
mov dword [edi + 0x54], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
push 0
push 0
push 0
push 0
mov dword [edi + 0x58], eax
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov dword [edi + 0x5c], eax
call fcn.00437f80
push 0x40fa30
push 0x4e2b
push eax
mov dword [edi], eax
call fcn.0043b160
add esp, 0xc
push edi
push 0x2711
push dword [edi]
call fcn.0043b160
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x10], esp
push 5
push 0x499430
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.00401bf0
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
push 0xa
push 0x499438
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.00401bf0
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0040f370
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0x6c
push 0x499448
lea ecx, [ebp - 0x28]
call fcn.00401bf0
cmp dword [ebp - 0x18], 0
jne 0x40f2c1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40f2af
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f2a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f302
push edx
push ecx
call fcn.00413f81
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x2722
push dword [edi]
call fcn.0043b160
mov edx, dword [ebp - 0x14]
add esp, 0xc
cmp edx, 0x10
jb 0x40f2af
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f2a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40f2a5
call fcn.0041980a
int3
Function at 0x411500
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x49e024]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x4115ba
cmp byte [esi + 0x3d], 0
je 0x4115ba
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x4115a8
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x411570
sub eax, 1
je 0x411574
sub eax, 2
jne 0x4115a8
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413cef
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x411591
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00421412
add esp, 0x10
cmp edi, eax
jne 0x4115a8
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413cef
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413cef
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00413cef
mov esp, ebp
pop ebp
ret

Function at 0x411930
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [sym.SYS.exe_class_MD5Util__MD5Util::instance]
test eax, eax
jne 0x41199b
push esi
push 0x98
call fcn.00413d00
mov esi, eax
push 0x40
push 0
lea eax, [esi + 0x18]
push eax
call fcn.00417910
mov dword [sym.SYS.exe_class_MD5Util__MD5Util::instance], esi
push 0x40
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
add esi, 0x58
push 0
push esi
call fcn.00417910
add esp, 0x1c
mov byte [esi], 0x80
mov eax, dword [sym.SYS.exe_class_MD5Util__MD5Util::instance]
pop esi
ret

Function at 0x4119a0
Capabilities:
Hash data with md5

Disassembly:
push esi
push 0x40
lea esi, [ecx + 0x58]
mov dword [ecx + 0x14], 0
push 0
push esi
mov dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
call fcn.00417910
add esp, 0xc
mov byte [esi], 0x80
pop esi
ret
Function at 0x4119e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x49e024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push edi
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
push 0x4994dc
push eax
mov dword [ebp - 0x40], ecx
movups xmmword [ebp - 0x38], xmm0
call fcn.00424849
mov edi, eax
add esp, 8
test edi, edi
jne 0x411a2b
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413cef
mov esp, ebp
pop ebp
ret 8
push ebx
push esi
push 2
push 0
push edi
call fcn.004211d8
push edi
call fcn.00424eec
push 0
push 0
push edi
mov esi, eax
call fcn.004211d8
push esi
call fcn.0041f651
push edi
push esi
mov ebx, eax
push 1
push ebx
call fcn.00420e0c
mov ecx, dword [ebp - 0x40]
add esp, 0x30
push esi
push ebx
call sym.SYS.exe_private:_void___thiscall_MD5Util::MD5Update_unsigned_char___unsigned_int_
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x38]
push eax
call sym.SYS.exe_private:_void___thiscall_MD5Util::MD5Final_unsigned_char__const_
test ebx, ebx
je 0x411a81
push ebx
call fcn.00419866
add esp, 4
push edi
call fcn.0042057d
xor eax, eax
mov byte [ebp - 8], 0
xorps xmm0, xmm0
mov word [ebp - 0x3c], ax
add esp, 4
mov byte [ebp - 0x3a], al
movups xmmword [ebp - 0x28], xmm0
xor ebx, ebx
movups xmmword [ebp - 0x18], xmm0
push 0x10
lea eax, [ebp - 0x3c]
push eax
movzx eax, byte [ebp + ebx - 0x38]
push eax
call fcn.004358ee
add esp, 0xc
cmp byte [ebp - 0x3b], 0
jne 0x411ad5
lea edi, [ebp - 0x28]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x411ac2
mov ax, word [0x498b50]
mov word [edi], ax
lea edx, [ebp - 0x3c]
mov esi, edx
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x411ae0
lea edi, [ebp - 0x28]
sub edx, esi
dec edi
nop dword [eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x411af0
mov ecx, edx
inc ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp ebx, 0x10
jl 0x411aa4
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
mov eax, ecx
pop esi
sub edx, eax
pop ebx
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x411b20
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop edi
call fcn.00413cef
mov esp, ebp
pop ebp
ret 8
Function at 0x411c10
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x49e024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], eax
xor esi, esi
lea edx, [edi + 0x12]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
mov byte [ebp + esi - 0xc], al
movzx eax, byte [edx - 5]
mov byte [ebp + esi - 0xb], al
movzx eax, byte [edx - 4]
mov byte [ebp + esi - 0xa], al
movzx eax, byte [edx - 3]
mov byte [ebp + esi - 9], al
add esi, 4
cmp esi, 8
jb 0x411c30
mov edx, dword [edi + 0x10]
lea ebx, [edi + 0x58]
shr edx, 3
mov ecx, 0x78
and edx, 0x3f
mov eax, 0x38
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
mov ecx, edi
push eax
push ebx
call sym.SYS.exe_private:_void___thiscall_MD5Util::MD5Update_unsigned_char___unsigned_int_
push 8
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call sym.SYS.exe_private:_void___thiscall_MD5Util::MD5Update_unsigned_char___unsigned_int_
mov edx, dword [ebp - 0x10]
lea eax, [edi + 2]
add edx, 2
mov esi, 4
nop
movzx ecx, byte [eax - 2]
lea eax, [eax + 4]
mov byte [edx - 2], cl
lea edx, [edx + 4]
movzx ecx, byte [eax - 5]
mov byte [edx - 5], cl
movzx ecx, byte [eax - 4]
mov byte [edx - 4], cl
movzx ecx, byte [eax - 3]
mov byte [edx - 3], cl
sub esi, 1
jne 0x411ca0
push 0x98
push esi
push edi
call fcn.00417910
mov ecx, dword [ebp - 4]
add esp, 0xc
mov dword [edi], 0x67452301
xor ecx, ebp
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], 0x10325476
pop edi
pop esi
mov byte [ebx], 0x80
pop ebx
call fcn.00413cef
mov esp, ebp
pop ebp
ret 4

Function at 0x42c1a6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042c01c

Function at 0x438250
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x49e024]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4382a3
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x43829d
shr eax, 8
cmp al, 2
jne 0x43829d
call fcn.00442d50
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413cef
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, 2
xor ecx, ebp
call fcn.00413cef
mov esp, ebp
pop ebp
ret
Function at 0x43f110
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1505
add eax, esi
mov ecx, eax
sub ecx, esi
push edi
xor edi, edi
cmp esi, eax
cmova ecx, edx
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x43f159
mov al, byte [esi]
push eax
call fcn.0044c6e0
movsx ecx, al
lea esi, [esi + 1]
mov eax, ebx
inc edi
shl eax, 5
add esp, 4
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp edi, dword [ebp + 8]
jb 0x43f137
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret

Function at 0x4404c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4404de
cmp dword [esi + 0x6c], 0
je 0x4404de
push 2
push 3
push esi
call fcn.0044cc80
add esp, 0xc
push dword [ebp + 0xc]
call fcn.0044d0f0
add esp, 4
test esi, esi
je 0x4404fe
cmp dword [esi + 0x6c], 0
je 0x4404fe
push 3
push esi
call fcn.0044ccc0
add esp, 8
pop esi
pop ebp
ret

Function at 0x4410a0
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2d0], 2
jne 0x4410b5
pop ebp
jmp fcn.00441050
mov al, 1
pop ebp
ret
Function at 0x449fd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x608], 0
je 0x44a014
push esi
push 1
push edi
call fcn.0043b690
push dword [edi + 0x594]
mov eax, dword [edi + 0x608]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.0043b690
add esp, 0x24
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp eax, 2
ja 0x44a04a
push dword [edi + 0x590]
lea eax, [eax + eax*2]
push 1
add eax, 0x48e290
push 2
push eax
call fcn.00421412
push dword [edi + 0x590]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00421412
add esp, 0x20
xor eax, eax
pop edi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push eax
push edi
mov esi, dword [edi + eax*4 + 0x1a8]
call fcn.0044a920
add esp, 8
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call dword [sym.imp.WS2_32.dll_send]
mov ebx, eax
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp ebx, 0xffffffff
jne 0x44a474
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x44a44c
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [eax], 0x51
xor eax, eax
pop ebp
ret
push esi
push edi
call fcn.00470e70
push eax
push 0x48e2a8
push dword [edi]
call fcn.0044a050
mov eax, dword [edi]
add esp, 0x14
mov dword [eax + 0xd34], esi
mov eax, dword [ebp + 0x18]
mov dword [eax], 0x37
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
shl eax, 4
push edi
lea esi, [ebx + 0x1cc]
add esi, eax
mov eax, dword [ebx + 0x2c8]
mov edi, dword [esi + 4]
sub edi, dword [esi + 8]
test byte [eax + 0x40], 3
je 0x44a9e8
cmp dword [ebx + ecx*4 + 0x1bc], 0x44a340
jne 0x44a9e8
cmp dword [esi], 0
je 0x44a969
test edi, edi
je 0x44a9e8
mov eax, dword [ebx + ecx*4 + 0x1a8]
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
mov dword [ebp + 0xc], eax
call fcn.00449b80
add esp, 0x14
cmp eax, 0xffffffff
je 0x44a9e8
test al, 1
je 0x44a9e8
mov ecx, dword [esi]
test ecx, ecx
jne 0x44a9c3
mov eax, dword [ebx]
mov eax, dword [eax + 0x900]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [0x49e9a0]
mov edi, dword [esi + 4]
mov ecx, eax
add esp, 4
mov dword [esi], ecx
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
test ecx, ecx
je 0x44a9e1
mov eax, dword [esi + 8]
push 0
push edi
add eax, ecx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x44a9e8
add dword [esi + 8], eax
pop edi
pop esi
pop ebx
pop ebp
ret
mov dword [esi + 4], 0
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x44aad0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp byte [eax + 0x1ec], 0
je 0x44aaf0
push eax
call fcn.00443730
add esp, 4
test eax, eax
jne 0x44ab0e
xor al, al
pop ebp
ret
mov eax, dword [eax + 0x1a8]
cmp eax, 0xffffffff
je 0x44aaec
push 2
push 1
lea ecx, [ebp + 0xb]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x44aaec
mov al, 1
pop ebp
ret

Function at 0x44b2e0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4a0a88]
mov dword [ebp - 8], 0x4020
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 4
test eax, eax
jne 0x44b331
push 3
push 2
push eax
push 6
call fcn.004596d0
add esp, 0x10
test al, al
je 0x44b325
mov dword [0x4a0a88], 2
mov esp, ebp
pop ebp
ret
mov dword [0x4a0a88], 1
jmp 0x44b336
cmp eax, 2
je 0x44b376
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x1001
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x44b35d
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jg 0x44b376
push 4
lea eax, [ebp - 8]
push eax
push 0x1001
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esp, ebp
pop ebp
ret

Function at 0x44b490
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp + 8]
push 4
push eax
push 1
mov esi, dword [edi]
push 6
push dword [ebp + 0xc]
mov dword [ebp + 8], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x44b4d8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
call fcn.00470e70
push eax
push 0x48e5e4
push esi
call fcn.0044a130
add esp, 0x14
pop edi
pop esi
pop ebp
ret
push 0x48e604
push esi
call fcn.0044a130
add esp, 8
pop edi
pop esi
pop ebp
ret
Function at 0x44b610
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x49e024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
cmp dword [ebx + 0x90], 2
mov edi, dword [ebx]
mov dword [ebp - 0x10c], edi
je 0x44b808
cmp byte [ebx + 0x282], 0
push esi
jne 0x44b7fe
cmp byte [ebx + 0x29e], 0
jne 0x44b7fe
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
mov dword [ebp - 0x108], 0x80
push eax
push esi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x44b6ae
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
push ebx
call fcn.00470e70
push eax
push esi
push 0x48e4cc
push edi
call fcn.0044a050
add esp, 0x18
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413cef
mov esp, ebp
pop ebp
ret
push 0x80
lea eax, [ebp - 0x84]
mov dword [ebp - 0x108], 0x80
push 0
push eax
call fcn.00417910
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x84]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x44b717
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
push ebx
call fcn.00470e70
push eax
push esi
push 0x48e444
push edi
call fcn.0044a050
add esp, 0x18
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413cef
mov esp, ebp
pop ebp
ret
lea eax, [ebx + 0x134]
push eax
lea esi, [ebx + 0x106]
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.0044acd0
add esp, 0xc
test al, al
jne 0x44b774
call fcn.0041f17a
mov esi, dword [eax]
call fcn.0041f17a
push esi
push ebx
mov edi, eax
call fcn.00470e70
push eax
push dword [edi]
push 0x48e4f4
push dword [ebp - 0x10c]
call fcn.0044a050
add esp, 0x18
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413cef
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [esi]
mov eax, dword [esi + 0x28]
movups xmmword [ebx + 0x5c], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [ebx + 0x6c], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [ebx + 0x7c], xmm0
mov dword [ebx + 0x84], eax
mov ax, word [esi + 0x2c]
mov word [ebx + 0x88], ax
lea eax, [ebx + 0x168]
push eax
lea eax, [ebx + 0x138]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0044acd0
add esp, 0xc
test al, al
jne 0x44b7fe
call fcn.0041f17a
mov esi, dword [eax]
call fcn.0041f17a
push esi
push ebx
mov edi, eax
call fcn.00470e70
push eax
push dword [edi]
push 0x48e520
push dword [ebp - 0x10c]
call fcn.0044a050
add esp, 0x18
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413cef
mov esp, ebp
pop ebp
ret
push ebx
call fcn.0044b200
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00413cef
mov esp, ebp
pop ebp
ret
Function at 0x44c130
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x49e024]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
push 4
cmp byte [esi + 0xaa8], al
setne al
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 8
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x44c18d
push edi
push 0x48e34c
push esi
call fcn.0044a130
add esp, 0xc
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413cef
mov esp, ebp
pop ebp
ret
push dword [esi + 0xaac]
mov dword [ebp - 0x10], 1
call fcn.0044c370
push dword [esi + 0xab0]
imul eax, eax, 0x3e8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
call fcn.0044c370
add esp, 8
imul eax, eax, 0x3e8
push 0
push 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x98000004
push edi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x44c1fd
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
push 0x48e374
push esi
call fcn.0044a130
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00413cef
mov esp, ebp
pop ebp
ret

Function at 0x44c350
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
call fcn.0044c380
add esp, 4
mov dword [ebp + 0x10], eax
pop ebp
jmp fcn.0042c926