joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448dc0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [0x48a348]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
push edi
xor eax, eax
push str.kernel32.dll
mov dword [esp + 0x18], eax
mov dword [0x4a7824], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push str.WTSGetActiveConsoleSessionId
push ebx
call edi
push str.ProcessIdToSessionId
push ebx
mov esi, eax
call edi
mov dword [0x4a7824], eax
test esi, esi
je 0x448e1c
call esi
mov edi, eax
jmp 0x448e1e
xor edi, edi
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x448e54
cmp dword [0x4a7824], 0
je 0x448e54
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [esp + 0x10]
push ecx
push eax
mov dword [esp + 0x18], 0xffffffff
call dword [0x4a7824]
mov edi, dword [esp + 0x10]
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x448e82
lea edx, [esp + 0x18]
push edx
push esi
mov dword [esp + 0x20], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x448ea0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.0045dc1f
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x3c]
push str.explorer.exe
push eax
call fcn.0045ebfd
add esp, 8
test eax, eax
jne 0x448f10
mov dword [esp + 0x10], eax
mov eax, dword [0x4a7824]
test eax, eax
je 0x448f08
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push ecx
push edx
call eax
test eax, eax
je 0x448f10
cmp dword [esp + 0x10], edi
jne 0x448f10
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], edx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x144]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045dc1f
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x18]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x448ea0
jmp 0x448ee1
Function at 0x4490b0
Capabilities:
Check for sandbox username or hostname
Get session user name

Disassembly:
mov eax, dword [0x4a7820]
sub esp, 8
push edi
test eax, eax
je 0x4490c7
mov dword [0x4a781c], 1
cmp dword [0x4a2188], 2
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x449174
test eax, eax
je 0x449174
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
test eax, eax
jne 0x4490f6
push str.._vncservice.cpp_:_______________GetCurrentUser___ERROR_:_No_window_station__n
jmp 0x4491f5
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 4
push eax
call dword [sym.imp.USER32.dll_GetUserObjectInformationA]
call edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [esp + 8], 0
jne 0x44914a
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push str.._vncservice.cpp_:_______________GetCurrentUser___Error:_Usersize_0_n
xor ecx, ecx
mov eax, 0x48c4e8
mov dword [0x4a781c], 0
mov byte [esi], 0
call fcn.00401000
add esp, 4
mov eax, 1
pop edi
add esp, 8
ret
cmp dword [0x4a781c], 0
jne 0x449174
push str.._vncservice.cpp_:_______________GetCurrentUser___Error:_NOT_impersonating_user__n
xor ecx, ecx
mov eax, 0x48c4e8
call fcn.00401000
add esp, 4
mov byte [esi], 0
mov eax, 1
pop edi
add esp, 8
ret
mov edx, dword [0x4a2188]
dec edx
cmp edx, 1
ja 0x4491f0
mov ecx, esi
mov dword [esp + 8], 0x101
call fcn.00448f30
test al, al
jne 0x4491d1
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x4491d1
call edi
cmp eax, 0x4dd
jne 0x4491b3
push str.._vncservice.cpp_:_______________GetCurrentUser___Error:_No_user_logged_on__n
jmp 0x449158
call edi
push eax
push str.._vncservice.cpp_:_getusername_error__d_n
xor ecx, ecx
mov eax, 0x48c4e8
call fcn.00401000
add esp, 8
xor eax, eax
pop edi
add esp, 8
ret
push esi
push str.._vncservice.cpp_:_______________GetCurrentUser___UserNAme_found:__s__n
xor ecx, ecx
mov eax, 0x48c4e8
call fcn.00401000
add esp, 8
mov eax, 1
pop edi
add esp, 8
ret
push str.._vncservice.cpp_:_______________GetCurrentUser___Error:_Unknown_OS__n
xor ecx, ecx
mov eax, 0x48c4e8
call fcn.00401000
add esp, 4
xor eax, eax
pop edi
add esp, 8
ret

Function at 0x449a20
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
sub esp, 8
cmp dword [eax + 0x32c], 0
je 0x449a7b
push esi
lea eax, [esp + 8]
push eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push ecx
mov ecx, dword [esp + 0x24]
mov esi, 4
push ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x449a67
cmp dword [esp + 4], esi
jne 0x449a67
cmp dword [esp + 8], esi
je 0x449a70
mov eax, edi
pop esi
add esp, 8
ret 4
mov eax, dword [esp + 0x10]
pop esi
add esp, 8
ret 4
add eax, 0x330
push eax
push edi
push ecx
push str.admin_auth
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 8
ret 4
Function at 0x449aa0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov ebx, eax
cmp dword [ebx + 0x32c], 0
push esi
je 0x449b28
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0xc]
push eax
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push edi
mov esi, pe_nt_image_headers32
push ebp
mov dword [esp + 0x2c], 1
mov dword [esp + 0x24], esi
call ebx
test eax, eax
jne 0x449b1f
cmp dword [esp + 0x14], 3
jne 0x449b1f
push esi
mov dword [esp + 0x10], esi
call fcn.0045e0f8
mov esi, eax
add esp, 4
test esi, esi
je 0x449b1f
lea edx, [esp + 0xc]
push edx
push esi
lea eax, [esp + 0x1c]
push eax
push 0
push edi
push ebp
call ebx
test eax, eax
jne 0x449b16
cmp dword [esp + 0x14], 3
je 0x449b55
push esi
call fcn.0045e501
add esp, 4
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
push 0x96
call fcn.0045e0f8
add esp, 4
add ebx, 0x330
push ebx
push 0x96
mov esi, eax
push esi
push 0x47b37f
push edi
push str.admin_auth
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x449b60
Capabilities:
Set registry value

Disassembly:
sub esp, 0x24
mov eax, dword [0x48a348]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
push esi
mov esi, ecx
cmp dword [esi + 0x32c], 0
je 0x449ba3
push 4
lea ecx, [esp + 0x34]
push ecx
push 4
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0045dc1f
add esp, 0x24
ret 8
mov edx, dword [esp + 0x30]
push edx
lea eax, [esp + 8]
push 0x47b400
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
add esi, 0x330
push esi
lea ecx, [esp + 8]
push ecx
push edi
push str.admin_auth
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [esp + 0x24]
pop esi
xor ecx, esp
call fcn.0045dc1f
add esp, 0x24
ret 8

Function at 0x449bf0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x32c], 0
push edi
mov edi, eax
je 0x449c76
mov eax, esi
call fcn.004499c0
mov eax, dword [esi + 8]
test eax, eax
je 0x449c46
cmp dword [esi + 0x32c], 0
je 0x449c2e
push 0xfe
push edi
push 3
push 0
push str.group1
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x449c46
lea eax, [esi + 0x330]
push eax
push edi
push str.group1
push str.admin_auth
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [esi + 0x32c], 0
je 0x449c8e
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x449c5f
push eax
call edi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x449c69
push eax
call edi
mov esi, dword [esi + 4]
test esi, esi
je 0x449c8e
push esi
call edi
pop edi
pop esi
ret
add esi, 0x330
push esi
push edi
push str.group1
push str.admin_auth
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
ret
Function at 0x449d20
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x32c], 0
push edi
mov edi, eax
je 0x449da6
mov eax, esi
call fcn.004499c0
mov eax, dword [esi + 8]
test eax, eax
je 0x449d76
cmp dword [esi + 0x32c], 0
je 0x449d5e
push 0xfe
push edi
push 3
push 0
push str.group2
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x449d76
lea eax, [esi + 0x330]
push eax
push edi
push str.group2
push str.admin_auth
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [esi + 0x32c], 0
je 0x449dbe
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x449d8f
push eax
call edi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x449d99
push eax
call edi
mov esi, dword [esi + 4]
test esi, esi
je 0x449dbe
push esi
call edi
pop edi
pop esi
ret
add esi, 0x330
push esi
push edi
push str.group2
push str.admin_auth
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
ret

Function at 0x449e50
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x32c], 0
push edi
mov edi, eax
je 0x449ed6
mov eax, esi
call fcn.004499c0
mov eax, dword [esi + 8]
test eax, eax
je 0x449ea6
cmp dword [esi + 0x32c], 0
je 0x449e8e
push 0xfe
push edi
push 3
push 0
push str.group3
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x449ea6
lea eax, [esi + 0x330]
push eax
push edi
push str.group3
push str.admin_auth
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [esi + 0x32c], 0
je 0x449eee
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x449ebf
push eax
call edi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x449ec9
push eax
call edi
mov esi, dword [esi + 4]
test esi, esi
je 0x449eee
push esi
call edi
pop edi
pop esi
ret
add esi, 0x330
push esi
push edi
push str.group3
push str.admin_auth
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
ret
Function at 0x44a250
Capabilities:
Read .ini file

Disassembly:
push ebx
push edi
lea edi, [esi + 0x330]
push edi
call fcn.00404eb0
push edi
xor ebx, ebx
push ebx
push str.UseRegistry
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x32c], eax
mov eax, esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
call fcn.00449ca0
mov dword [esi + 0x10], eax
mov eax, esi
call fcn.00449dd0
mov dword [esi + 0x14], eax
mov eax, esi
call fcn.00449f00
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov ecx, esi
call fcn.00449f80
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov ecx, esi
call fcn.0044a070
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x24]
mov ecx, esi
call fcn.0044a160
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x24], eax
cmp ecx, ebx
je 0x44a2f9
lea edx, [esi + 0x28]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x44a2e1
mov eax, dword [esi + 0x10]
push eax
call fcn.0045e501
add esp, 4
jmp 0x44a2fc
mov byte [esi + 0x28], bl
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
je 0x44a328
lea edx, [esi + 0x128]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x44a310
mov ecx, dword [esi + 0x14]
push ecx
call fcn.0045e501
add esp, 4
jmp 0x44a32e
mov byte [esi + 0x128], bl
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
je 0x44a35b
lea edx, [esi + 0x228]
jmp 0x44a340
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x44a340
mov edx, dword [esi + 0x18]
push edx
call fcn.0045e501
add esp, 4
pop edi
mov eax, esi
pop ebx
ret
pop edi
mov byte [esi + 0x228], bl
mov eax, esi
pop ebx
ret

Function at 0x44ad30
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x19c
mov eax, dword [0x48a348]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
mov eax, esi
je 0x44ad71
mov dword [esi], 0
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0045dc1f
add esp, 0x19c
ret
mov cx, word [esp]
mov word [0x4a7828], cx
mov ecx, dword [esp + 0x194]
xor ecx, esp
mov dword [esi], 0xffffffff
call fcn.0045dc1f
add esp, 0x19c
ret
Function at 0x44af20
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
sub esp, 8
cmp dword [esi + 4], 0
push edi
mov dword [esp + 8], 1
jl 0x44af66
push str.._vsocket.cpp_:_closing_socket_n
mov ecx, 0xa
mov eax, 0x48c4e8
call fcn.00401000
mov eax, dword [esi + 4]
add esp, 4
push 2
push eax
call dword [sym.imp.WSOCK32.dll_shutdown]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.WSOCK32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
push 0
push 1
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov dword [esi + 4], eax
test eax, eax
jge 0x44af80
xor eax, eax
pop edi
add esp, 8
ret
mov edi, dword [sym.imp.WSOCK32.dll_setsockopt]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0xffff
push eax
call edi
test eax, eax
jne 0x44af79
mov ecx, dword [esi + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 1
push 6
push ecx
call edi
neg eax
sbb eax, eax
neg eax
dec eax
pop edi
add esp, 8
ret

Function at 0x44b050
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [0x48a348]
xor eax, esp
mov dword [esp + 0x14], eax
xor eax, eax
cmp dword [edi + 4], eax
jl 0x44b0e9
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov eax, 2
push esi
mov word [esp + 8], ax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x44b0c1
push esi
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x44b0a6
mov eax, dword [eax + 0xc]
cmp dword [eax], 0
jne 0x44b0b9
xor eax, eax
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0045dc1f
add esp, 0x18
ret 4
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [esp + 8], edx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.WSOCK32.dll_htons]
mov edx, dword [edi + 4]
push 0x10
lea ecx, [esp + 8]
push ecx
push edx
mov word [esp + 0x12], ax
call dword [sym.imp.WSOCK32.dll_connect]
neg eax
sbb eax, eax
neg eax
dec eax
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0045dc1f
add esp, 0x18
ret 4
Function at 0x44b100
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x471e0b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x48a348]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], 1
test eax, eax
jge 0x44b14e
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4
push 0
push 0
push eax
call dword [sym.imp.WSOCK32.dll_accept]
mov edi, eax
test edi, edi
jl 0x44b138
push 0x2394
call fcn.0045dd59
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
test eax, eax
je 0x44b18d
push eax
call fcn.0044ada0
mov esi, eax
test esi, esi
je 0x44b18f
mov dword [esi + 4], edi
jmp 0x44b19f
xor esi, esi
push 2
push edi
call dword [sym.imp.WSOCK32.dll_shutdown]
push edi
call dword [sym.imp.WSOCK32.dll_closesocket]
mov edx, dword [esi + 4]
push 4
lea ecx, [esp + 0x14]
push ecx
push 1
push 6
push edx
call dword [sym.imp.WSOCK32.dll_setsockopt]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4

Function at 0x44b230
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x18
mov eax, dword [0x48a348]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
lea ecx, [esp]
push ecx
lea edx, [esp + 8]
push edx
push eax
mov dword [esp + 0xc], 0x10
call dword [sym.imp.WSOCK32.dll_getsockname]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
test eax, eax
jne 0x44b271
mov eax, str._unavailable_
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0045dc1f
add esp, 0x18
ret 4

Function at 0x44b290
Capabilities:
Set socket configuration

Disassembly:
cmp byte [0x4a7828], 2
jae 0x44b29e
xor eax, eax
ret 4
mov edx, dword [edi + 4]
mov eax, dword [esp + 4]
push esi
mov esi, dword [sym.imp.WSOCK32.dll_setsockopt]
push 4
lea ecx, [esp + 0xc]
push ecx
push 0x1006
push 0xffff
push edx
mov dword [esp + 0x1c], eax
call esi
cmp eax, 0xffffffff
jne 0x44b2cf
xor eax, eax
pop esi
ret 4
mov ecx, dword [edi + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 0x1005
push 0xffff
push ecx
call esi
inc eax
neg eax
sbb eax, eax
pop esi
ret 4
Function at 0x44b2f0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.WSOCK32.dll_send]
push edi
mov edi, eax
mov eax, dword [esi + 0x2390]
lea ecx, [eax + ebx]
cmp ecx, 0x2000
jle 0x44b386
mov edx, 0x2000
sub edx, eax
push edx
lea eax, [eax + esi + 0x68]
push edi
push eax
call fcn.00463790
mov edx, dword [esi + 4]
add esp, 0xc
push 0
push 0x2000
lea ecx, [esi + 0x68]
push ecx
push edx
call ebp
mov eax, dword [esi + 0x2390]
sub edi, eax
mov ecx, ebx
lea ebx, [eax + ecx - 0x2000]
add edi, 0x2000
mov dword [esi + 0x2390], 0
cmp ebx, 0x2000
jbe 0x44b386
mov edx, dword [esi + 4]
push 0
push 0x2000
push edi
push edx
call ebp
test eax, eax
je 0x44b3cc
sub ebx, 0x2000
add edi, 0x2000
cmp ebx, 0x2000
ja 0x44b360
mov eax, dword [esi + 0x2390]
push ebx
lea ecx, [esi + eax + 0x68]
push edi
push ecx
call fcn.00463790
add dword [esi + 0x2390], ebx
mov eax, dword [esi + 0x2390]
add esp, 0xc
push 0
push eax
mov eax, dword [esi + 4]
lea edx, [esi + 0x68]
push edx
push eax
call ebp
test eax, eax
je 0x44b3cc
mov eax, dword [esp + 0x10]
pop edi
pop ebp
mov dword [esi + 0x2390], 0
pop ebx
ret 4
pop edi
pop ebp
xor eax, eax
pop ebx
ret 4

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

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, eax
mov eax, dword [esi + 0x2390]
lea ecx, [eax + ebp]
cmp ecx, 0x2000
mov ebx, ebp
jle 0x44b47a
mov edx, 0x2000
sub edx, eax
push edx
lea eax, [eax + esi + 0x68]
push edi
push eax
call fcn.00463790
mov edx, dword [esi + 4]
add esp, 0xc
push 0
push 0x2000
lea ecx, [esi + 0x68]
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_send]
mov eax, dword [esi + 0x2390]
sub edi, eax
lea ebx, [eax + ebp - 0x2000]
add edi, 0x2000
mov dword [esi + 0x2390], 0
cmp ebx, 0x2000
jbe 0x44b47a
mov edi, edi
mov eax, dword [esi + 4]
push 0
push 0x2000
push edi
push eax
call dword [sym.imp.WSOCK32.dll_send]
test eax, eax
je 0x44b49d
sub ebx, 0x2000
add edi, 0x2000
cmp ebx, 0x2000
ja 0x44b450
mov ecx, dword [esi + 0x2390]
push ebx
lea edx, [esi + ecx + 0x68]
push edi
push edx
call fcn.00463790
add esp, 0xc
add dword [esi + 0x2390], ebx
pop edi
mov eax, ebp
pop ebp
pop ebx
ret 4
pop edi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x44b5d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push 0xffffffffffffffff
push 0x4718a8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48a348]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x30]
cmp byte [ebp + 0xc], 0
je 0x44b73b
mov eax, dword [ebp + 8]
cmp byte [eax + 0x21], 0
je 0x44b73b
lea ebx, [eax + 8]
push ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], eax
mov edi, dword [ebp + 8]
push ecx
mov dword [esp + 0x34], eax
mov edx, dword [edi + 0x2e4]
push esi
push eax
call edx
mov esi, eax
add esp, 0xc
mov dword [edi + 0x2f4], eax
test esi, esi
jne 0x44b672
push str.._vsocket.cpp_:_WriteExact:_DSMPlugin_RestoreBuffer_Alloc_Error_n
mov ecx, 4
mov eax, 0x48c4e8
call fcn.00401000
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x44b6f2
mov ecx, dword [esp + 0x30]
mov eax, ecx
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x44b6bd
mov edi, dword [sym.imp.WSOCK32.dll_recv]
mov eax, dword [ebp + 4]
push 0
push ecx
push esi
push eax
call edi
test eax, eax
jle 0x44b6a2
mov ecx, dword [esp + 0x30]
add esi, eax
sub ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x44b6b5
je 0x44b708
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x44b712
mov ecx, dword [esp + 0x30]
test ecx, ecx
jg 0x44b686
mov eax, dword [esp + 0x14]
mov ebp, dword [ebp + 8]
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x2e4]
push edx
call eax
add esp, 0xc
push ebx
mov dword [ebp + 0x2f4], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or eax, 0xffffffff
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
push str.._vsocket.cpp_:_zero_bytes_read1_n
jmp 0x44b652
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.._vsocket.cpp_:_socket_error_1:__d_n
mov ecx, 4
mov eax, 0x48c4e8
call fcn.00401000
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x44b6f2
test esi, esi
jbe 0x44b6ef
mov ebx, dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov edi, dword [sym.imp.WSOCK32.dll_recv]
mov ecx, dword [esp + 0x34]
mov edx, dword [ebp + 4]
push 0
push esi
push ecx
push edx
call edi
test eax, eax
jle 0x44b765
add dword [esp + 0x34], eax
sub esi, eax
jmp 0x44b774
je 0x44b77d
call ebx
cmp eax, 0x2733
jne 0x44b66b
test esi, esi
ja 0x44b74b
jmp 0x44b6ef
push str.._vsocket.cpp_:_zero_bytes_read2_n
mov ecx, 4
mov eax, 0x48c4e8
call fcn.00401000
add esp, 4
xor eax, eax
jmp 0x44b6f2