joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cf150
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push str.CHTTPClientWorkThread
push edi
call fcn.004dfc20
fldz
lea ecx, [ebx + 0x90]
xor eax, eax
mov dword [ebx], vtable.CHTTPClientWorkThread.0
fstp qword [ebx + 0x58]
mov byte [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x74], 3
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], eax
push eax
mov dword [ebx + 0x80], eax
push eax
mov dword [ebx + 0x84], eax
push 4
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], 3
call fcn.004997b0
mov dword [ebx + 0xa0], 0
xor eax, eax
mov byte [ebx + 0xa4], 0
mov word [ebx + 0xb0], 0
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xb8], eax
mov dword [ebx + 0xbc], eax
mov dword [ebx + 0xc0], eax
mov dword [ebx + 0xc4], eax
mov dword [ebx + 0xc8], eax
mov dword [ebx + 0xcc], 3
push 0
mov byte [ebx + 0xd0], al
mov ecx, dword [0x7d9a84]
mov eax, dword [0x7d9a80]
push 0
mov dword [ebx + 0xdc], ecx
lea ecx, [ebx + 0xe0]
push 4
mov dword [ebx + 0xd8], eax
call fcn.004997b0
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xf0], 0
push str.winhttp.dll
mov dword [ebx + 0xa8], eax
mov dword [ebx + 0xac], edi
mov dword [ebx + 0xf8], 0
mov dword [ebx + 0xfc], 0
mov dword [ebx + 0x100], 0
mov dword [ebx + 0x104], 0
mov dword [ebx + 0x108], 0
mov dword [ebx + 0x110], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebx + 0xf4], eax
test eax, eax
jne 0x4cf30c
and dword [ebp - 0x24], 0xff0fffff
push str.winhttp.dll_not_supported_on_this_windows_platform__no_proxy_auto_detection_will_be_done_n
mov byte [ebp - 0x21], al
and dword [ebp - 0x24], 0xfff00000
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc], 3
push eax
lea eax, [ebp - 0x28]
push eax
push 1
push 1
push 0
push 0x1f
push 0
push 0
call fcn.00450b10
add esp, 0x28
jmp 0x4cf36c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WinHttpGetIEProxyConfigForCurrentUser
push eax
call esi
push str.WinHttpDetectAutoProxyConfigUrl
push dword [ebx + 0xf4]
mov dword [ebx + 0xf8], eax
call esi
push str.WinHttpGetProxyForUrl
push dword [ebx + 0xf4]
mov dword [ebx + 0xfc], eax
call esi
push str.WinHttpOpen
push dword [ebx + 0xf4]
mov dword [ebx + 0x100], eax
call esi
push str.WinHttpCloseHandle
push dword [ebx + 0xf4]
mov dword [ebx + 0x104], eax
call esi
mov dword [ebx + 0x108], eax
pop edi
pop esi
mov dword [ebx + 0x10c], 0
mov eax, ebx
mov byte [ebx + 0xb0], 0
mov byte [ebx + 0x4c], 0
mov byte [ebx + 0xa4], 0
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d5b50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push edi
mov edi, ecx
cmp dword [edi + 0xfc], 0
je 0x4d5c95
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xfc]
mov ebx, eax
lea eax, [ebp - 4]
push eax
push 3
call ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4d5c20
cmp word [ecx], 0
je 0x4d5c20
sub eax, ebx
xor cl, cl
mov byte [0x7db6a4], cl
cmp byte [0x7db6a4], 0
pop ebx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x10], 3
je 0x4d5c34
and dword [ebp - 0x28], 0xff0fffff
xor ecx, ecx
push eax
mov eax, dword [ebp - 4]
mov byte [ebp - 0x25], 0
and dword [ebp - 0x28], 0xfff00000
test eax, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov ecx, str.NULL
cmovne ecx, eax
lea eax, [ebp - 0xc]
push ecx
push str.CheckProxyAutoConfigTimeout:_Marking_known_bad_as_true___pwszURL___ls__tick_count___d__threshold__500__n
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
push 1
push 4
push 0
push 0x1f
push 0
push 0
call fcn.00450b10
add esp, 0x30
jmp 0x4d5c82
sub eax, ebx
cmp eax, 0x1f4
jb 0x4d5ba1
mov cl, 1
jmp 0x4d5ba3
and dword [ebp - 0x28], 0xff0fffff
xor eax, eax
push str.CheckProxyAutoConfigTimeout:_Looks_good__marking_known_bad_as_false_n
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 0x25], 0
and dword [ebp - 0x28], 0xfff00000
push eax
lea eax, [ebp - 0x2c]
push eax
push 1
push 4
push 0
push 0x1f
push 0
push 0
call fcn.00450b10
add esp, 0x28
mov eax, dword [ebp - 4]
test eax, eax
je 0x4d5cf8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
mov esp, ebp
pop ebp
ret
and dword [ebp - 0x28], 0xff0fffff
xor eax, eax
push str.CheckProxyAutoConfigTimeout:_we_dont_have_a_WinHttpDetectAutoProxyConfigUrl_t_function__so_marking_known_bad_as_true_n
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 0x25], 0
and dword [ebp - 0x28], 0xfff00000
push eax
lea eax, [ebp - 0x2c]
mov byte [0x7db6a4], 1
push eax
push 1
push 4
push 0
push 0x1f
push 0
push 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x10], 3
call fcn.00450b10
add esp, 0x28
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4d7f20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x28
push ebx
mov ebx, ecx
push esi
push edi
mov edx, dword [ebx + 0x220]
cmp eax, dword [edx]
je 0x4d7f54
push str.session__m_pHTTP2Session__m_NGHTTP2Session
push 0xd44
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonhttpclient_internal.cpp
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4d7f54
int3
mov esi, dword [ebp + 0xc]
lea ecx, [esi + 4]
mov dword [ebp + 8], ecx
push ecx
lea ecx, [ebx + 0x1bc]
call fcn.004d76e0
mov dword [ebp + 0xc], eax
cmp eax, 0xffffffff
je 0x4d80b9
mov ecx, dword [ebx + 0x1e8]
lea edx, [eax + eax*2]
mov edi, dword [ecx + edx*8 + 0x14]
test edi, edi
je 0x4d80b9
movzx eax, byte [esi + 8]
sub eax, 1
jne 0x4d80b9
cmp dword [esi + 0x24], 1
jne 0x4d80b9
mov eax, dword [edi + 8]
mov esi, dword [ebp + 0x18]
mov ecx, dword [eax + 0x58]
push ecx
mov eax, dword [ecx]
mov edx, dword [eax + 8]
mov eax, esp
push ecx
mov dword [eax], esi
mov eax, esp
mov esi, dword [ebp + 0x10]
mov dword [eax], esi
call edx
push closesocket
push esi
push str.:status
call fcn.00547680
mov esi, dword [ebp + 0x18]
add esp, 0xc
test eax, eax
jne 0x4d8000
mov eax, dword [edi + 8]
push 0
push dword [ebp + 0x18]
mov edi, dword [eax + 0x58]
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
call fcn.00546c40
add esp, 8
mov ecx, edi
push eax
call esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
push closesocket
push dword [ebp + 0x10]
push str.content_length
call fcn.00547680
add esp, 0xc
test eax, eax
jne 0x4d80b9
push esi
call fcn.00546d90
mov ecx, dword [edi + 8]
add esp, 4
mov dword [edi + 0x78], eax
mov ecx, dword [ecx + 0x58]
mov dword [ecx + 0x3c], eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x54]
cmp dword [eax + 0x9c], 0
jne 0x4d80b9
cmp dword [edi + 0x78], 0x10000000
jbe 0x4d80b9
mov eax, dword [ebp + 8]
push 8
push dword [eax]
mov eax, dword [ebx + 0x220]
push 0
push dword [eax]
call fcn.00510fe0
add esp, 0x10
lea ecx, [ebx + 0x1bc]
push dword [ebp + 0xc]
call fcn.004dc730
mov esi, dword [edi + 8]
mov ecx, edi
push 1
call fcn.004cfdf0
mov ecx, esi
call fcn.004ba220
mov ecx, esi
call fcn.004619e0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00457a70
push str.Aborting_HTTP_2_request_because_we_received_a_response_with_a_content_length_over_256M_and_we_are_not_streaming_n
lea ecx, [eax + 0x20]
push ecx
lea ecx, [eax + 8]
push ecx
push eax
push 1
push 1
push 0
push 0x1f
push 0
push 0
call fcn.00450b10
add esp, 0x28
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4ded80
Capabilities:
Create raw socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
mov ebx, dword [ebp + 0x18]
lea eax, [ebp - 0x108]
push esi
push edi
push 0x100
push 0
push eax
mov dword [ebx], 0xffffffff
mov edi, 1
mov dword [ebp - 0x11c], 0x11c
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
call fcn.0054f880
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
add esp, 0xc
xor eax, eax
mov word [ebp - 6], ax
mov dword [ebp - 4], eax
push 3
push 0x20
push 3
push edi
push 3
push 2
push eax
push eax
call esi
push edx
push eax
call esi
push edx
push eax
call esi
push edx
push eax
push 0x23
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x118], 6
mov ecx, edi
mov dword [ebp - 0x114], edi
push eax
mov word [ebp - 8], cx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
mov ecx, 0x81
cmovne edi, ecx
push edi
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [ebx], eax
pop edi
pop esi
pop ebx
cmp eax, 0xffffffff
jne 0x4dee4d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4e7160
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov eax, edi
shr eax, 0x10
xor eax, edi
imul edx, eax, 0x85ebca6b
mov eax, edx
shr eax, 0xd
xor eax, edx
xor edx, edx
imul eax, eax, 0xc2b2ae35
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
mov eax, ecx
mov dword [ebp + 8], ecx
div dword [ebx + 4]
mov eax, dword [ebx + 8]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4e71d4
cmp dword [eax + 0xc], edx
jne 0x4e71d4
cmp edi, dword [eax + 8]
je 0x4e71b3
mov eax, dword [eax]
test eax, eax
jne 0x4e71a1
jmp 0x4e71d4
add eax, 0x14
je 0x4e71d4
push str.PvRecordFind__unKey____NULL
push 0xf2
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1_thash.h
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4e71d4
int3
mov ecx, dword [ebx + 0xc]
call fcn.004de8b0
inc dword [ebx + 0x10]
mov esi, eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 4], esi
mov dword [esi + 8], edi
mov dword [esi + 0x10], 1
div dword [ebx + 4]
mov eax, edx
lea edx, [ebx + 0x28]
mov dword [esi + 0xc], eax
mov ecx, eax
mov edi, dword [ebx + 4]
mov dword [ebp + 8], eax
cmp eax, edi
jge 0x4e7223
mov eax, dword [ebx + 8]
mov edx, ecx
lea eax, [eax + edx*4]
mov edx, dword [eax]
test edx, edx
jne 0x4e7223
inc ecx
add eax, 4
cmp ecx, edi
jl 0x4e7212
lea edx, [ebx + 0x28]
mov ecx, dword [ebp + 8]
mov dword [esi], edx
mov eax, dword [edx + 4]
mov dword [esi + 4], eax
mov dword [edx + 4], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov eax, dword [ebx + 8]
mov dword [eax + ecx*4], esi
cmp byte [0x7dbd18], 0
jne 0x4e72a7
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
cmp dword [ebx + 0x10], eax
jl 0x4e72a7
mov byte [0x7dbd18], 1
push dword [ebx + 4]
push dword [ebx + 0x10]
push str.Performance_warning:_too_many_items___d___not_enough_buckets___d_
push 0x11c
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1_thash.h
call fcn.00536b80
add esp, 0x14
test al, al
jne 0x4e7279
int3
mov esi, dword [ebx + 4]
mov edi, dword [ebx + 0x10]
push ebx
call fcn.005501ec
push esi
add eax, 8
push edi
push eax
push str.not_enough_buckets_in_thash_class__s___d_records___d_buckets__n
call fcn.005372f0
mov eax, dword [ebp - 4]
add esp, 0x14
add eax, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
lea eax, [esi + 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4e9850
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
cmp dword [0x8240e4], 0
jne 0x4e9866
xor eax, eax
jmp 0x4e9879
lea eax, [ebp - 8]
push eax
push 6
push str.CUDPSocket::BSend
call fcn.0053be40
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xb8]
push 0x80
push eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], edi
call fcn.004c1570
cmp dword [0x8240e4], 0
mov ebx, eax
mov dword [ebp - 4], 0
jne 0x4e98b5
xor eax, eax
jmp 0x4e98c8
lea eax, [ebp + 0x18]
push eax
push 6
push str.WSASendTo__no_IOCP_
call fcn.0053be40
add esp, 0xc
push 0
push 0
push ebx
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0xb8]
push eax
push 0
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_WSASendTo]
mov ecx, dword [ebp + 0x18]
mov ebx, eax
test ecx, ecx
je 0x4e98fe
push ecx
call fcn.0053be00
add esp, 4
lock inc dword [0x7db944]
mov ecx, dword [0x7db948]
cmp dword [0x7db944], ecx
cmovg ecx, dword [0x7db944]
mov dword [0x7db948], ecx
test ebx, ebx
jns 0x4e99a8
call sub.WS2_32.dll_WSAGetLastError
mov esi, eax
push esi
call fcn.004e8c40
push eax
and dword [ebp - 0x2c], 0xff0fffff
lea eax, [ebp - 0x10]
push esi
push str.UDPSocket::BSend_received_error__d___s__from_WSASendTo_n
push eax
xor ecx, ecx
mov byte [ebp - 0x29], 0
and dword [ebp - 0x2c], 0xfff00000
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 3
push 4
push ecx
push 0xb
push ecx
push ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
call fcn.00450b10
add esp, 0x34
lock dec dword [0x7db944]
call fcn.00536730
push 0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
xor bl, bl
jmp 0x4e9a14
cmp dword [ebp - 4], esi
je 0x4e99c9
push str.cubSent__cubPkt
push 0x19f
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonudpsocket.cpp
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4e99c9
int3
lock dec dword [0x7db944]
call fcn.00536730
push 0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
add dword [0x7db838], 1
mov eax, esi
cdq
mov ecx, 0x7dbf78
adc dword [0x7db83c], 0
add dword [0x7db840], eax
push edx
adc dword [0x7db844], edx
push eax
call fcn.004ed8b0
mov ecx, 0x7dbf80
call fcn.004ed8d0
mov bl, 1
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4e9a24
push ecx
call fcn.0053be00
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ebf70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
cmp dword [0x8240e4], 0
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], ebx
jne 0x4ebf89
xor eax, eax
jmp 0x4ebf9c
lea eax, [ebp - 0xc]
push eax
push 6
push str.CWebSocketConnection::BBuildAndAsyncSendFrame
call fcn.0053be40
add esp, 0xc
cmp dword [ebx + 0x10], 2
mov dword [ebp - 0xc], eax
je 0x4ebfac
xor bl, bl
jmp 0x4ec0e0
push 0x40
push 0xe
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x48]
call fcn.004a8f50
cmp byte [ebx + 0x126], 0
mov dword [ebp - 8], 0
mov byte [ebp - 1], 0
je 0x4ebfe2
lea eax, [ebp - 8]
mov byte [ebp - 1], 0x80
push 4
push eax
call fcn.004f91a0
add esp, 8
mov al, byte [ebp + 8]
lea ecx, [ebp - 0x48]
and al, 0xf
or al, 0x80
movzx eax, al
push eax
call fcn.004aa890
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x48]
cmp ebx, 0x7e
jl 0x4ec03b
mov al, byte [ebp - 1]
cmp ebx, 0xffff
jle 0x4ec025
or al, 0x7f
movzx eax, al
push eax
call fcn.004aa890
mov eax, ebx
lea ecx, [ebp - 0x48]
cdq
push edx
push eax
call fcn.004aa980
jmp 0x4ec04b
or al, 0x7e
movzx eax, al
push eax
call fcn.004aa890
push ebx
lea ecx, [ebp - 0x48]
call fcn.004aab90
jmp 0x4ec04b
mov al, bl
and al, 0x7f
or al, byte [ebp - 1]
movzx eax, al
push eax
call fcn.004aa890
cmp byte [ebp - 1], 0
je 0x4ec05c
push dword [ebp - 8]
lea ecx, [ebp - 0x48]
call fcn.004aaa90
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x70]
push esi
push 0
add eax, ebx
push eax
push 0
call fcn.004a8eb0
push dword [ebp - 0x34]
lea ecx, [ebp - 0x70]
push dword [ebp - 0x44]
call fcn.004a9eb0
cmp byte [ebp - 1], 0
je 0x4ec0b2
mov eax, dword [ebp - 8]
xor esi, esi
bswap eax
mov dword [ebp + 8], eax
test ebx, ebx
jle 0x4ec0be
push edi
mov edi, dword [ebp + 0xc]
mov eax, esi
lea ecx, [ebp - 0x70]
and eax, 3
mov al, byte [ebp + eax + 8]
xor al, byte [esi + edi]
push eax
call fcn.004a9f00
inc esi
cmp esi, ebx
jl 0x4ec095
pop edi
jmp 0x4ec0be
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x70]
call fcn.004a9eb0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x70]
push eax
call fcn.004ec260
lea ecx, [ebp - 0x70]
mov bl, al
call fcn.004998e0
lea ecx, [ebp - 0x48]
call fcn.004998e0
mov eax, dword [ebp - 0xc]
pop esi
test eax, eax
je 0x4ec0ed
push eax
call fcn.0053be00
add esp, 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ec8f0
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, ecx
mov dword [ebp - 4], eax
add eax, 0xc
push ebx
cmp dword [eax], 0
je 0x4eca76
push esi
push eax
mov ecx, 0x7dc1f8
call fcn.004a34b0
mov esi, eax
mov dword [ebp - 8], esi
cmp esi, 0xffffffff
je 0x4eca75
mov ecx, dword [0x7dc220]
mov eax, dword [ebp - 4]
push edi
lea edi, [esi + esi*2]
cmp dword [ecx + edi*4 + 4], eax
je 0x4ec951
push str.sm_mapWebSocketConnection_iIndex___this
push 0x3e2
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonwebsocket.cpp
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4ec951
int3
cmp esi, dword [0x7dc234]
jae 0x4eca58
mov eax, dword [0x7dc220]
cmp dword [eax + edi*4 + 8], 0xffffffff
jl 0x4eca58
mov ecx, 0x7dc1f8
call fcn.004a3de0
mov eax, dword [0x7dc220]
mov ebx, dword [0x7dc208]
dec ebx
push esi
mov eax, dword [eax + edi*4]
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
imul ecx, ecx, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
mov ecx, 0x7dc1f8
imul eax, eax, 0xc2b2ae35
mov edi, eax
shr edi, 0x10
xor edi, eax
mov eax, edi
mov dword [ebp - 0xc], edi
and eax, ebx
push eax
call fcn.004ed230
test al, al
jne 0x4eca74
sar ebx, 1
cmp ebx, dword [0x7dc240]
jl 0x4eca4c
mov esi, edi
and esi, ebx
cmp esi, dword [0x7dc238]
jl 0x4eca4c
test esi, esi
js 0x4ec9e8
cmp esi, dword [0x7dc20c]
jl 0x4eca04
push str.bitNum___0__bitNum___this__Size__
push 0x14a
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1_bitstring.h
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4eca04
int3
cmp dword [0x7dc210], 1
mov edi, 0x7dc214
mov eax, esi
mov ecx, esi
cmovne edi, dword [0x7dc218]
mov edx, 1
and ecx, 0x1f
sar eax, 5
shl edx, cl
test dword [edi + eax*4], edx
jne 0x4eca4c
push dword [ebp - 8]
mov ecx, 0x7dc1f8
push esi
call fcn.004ed230
test al, al
jne 0x4eca74
mov edi, dword [ebp - 0xc]
sar ebx, 1
cmp ebx, dword [0x7dc240]
jge 0x4ec9d0
push str.CUtlHashMap::RemoveAt___couldnt_find_bucket_for_item
push 0x36f
jmp 0x4eca62
push str.CUtlHashMap::RemoveAt___Invalid_index
push 0x352
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1utlhashmap.h
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4eca74
int3
pop edi
pop esi
mov ecx, dword [ebp - 4]
push 1
mov eax, dword [ecx]
call dword [eax + 0x18]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4fab50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4fab60
xor eax, eax
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
not eax
test edi, edi
je 0x4faba2
lea ecx, [ecx]
mov cl, byte [esi]
lea esi, [esi + 1]
movzx edx, cl
mov ecx, edx
shr edx, 4
xor ecx, eax
shr eax, 4
and ecx, 0xf
xor eax, dword [ecx*4 + 0x70b780]
mov ecx, eax
shr eax, 4
and ecx, 0xf
xor edx, ecx
xor eax, dword [edx*4 + 0x70b780]
sub edi, 1
jne 0x4fab70
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x4fb340
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
test ecx, ecx
je 0x4fb420
mov edx, dword [ecx + 0x38]
test edx, edx
je 0x4fb420
mov ebx, dword [ebp + 0xc]
cmp ebx, dword [ecx + 0x10]
jae 0x4fb420
cmp dword [ecx + 0x14], 1
jne 0x4fb420
mov eax, dword [edx + 0x10]
mov edi, dword [eax + ebx*4]
add edi, dword [edx]
je 0x4fb420
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4fb420
mov dword [esi], ebx
mov eax, dword [ecx + 0x38]
push 0
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ebx*4]
mov dword [esi + 4], eax
movzx eax, word [edi + 4]
mov word [esi + 8], ax
movzx eax, word [edi + 6]
mov word [esi + 0xa], ax
movzx eax, word [edi + 8]
mov word [esi + 0xc], ax
movzx eax, word [edi + 0xa]
mov word [esi + 0xe], ax
movzx eax, word [edi + 0xe]
push eax
movzx eax, word [edi + 0xc]
push eax
call fcn.004fabb0
mov dword [esi + 0x10], eax
add esp, 0xc
mov eax, dword [edi + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0
mov eax, dword [edi + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0
movzx eax, word [edi + 0x24]
mov word [esi + 0x28], ax
mov eax, dword [edi + 0x26]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x2a]
pop edi
mov dword [esi + 0x30], eax
mov eax, 1
mov dword [esi + 0x34], 0
mov byte [esi + 0x3c], 0
mov byte [esi + 0x140], 0
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret