joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c4db0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x10], 0
jne 0x4c4dcc
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x4c4df3
push 0x10
call fcn.0054a8dd
add esp, 4
test eax, eax
je 0x4c4dee
push 0
mov ecx, eax
call fcn.004a4f80
mov ecx, eax
jmp 0x4c4df0
xor ecx, ecx
mov dword [edi + 4], ecx
push 0
push 1
push ecx
mov eax, esp
mov dword [eax], str.ClientInfo
call fcn.004a5470
push 0x6fd7fc
push str.ip_country_code
mov ecx, eax
call fcn.004a5640
push eax
call fcn.004a6040
mov ecx, dword [edi + 4]
add esp, 8
mov dword [ebp - 4], eax
test ecx, ecx
jne 0x4c4e49
push 0x10
call fcn.0054a8dd
add esp, 4
test eax, eax
je 0x4c4e44
push 0
mov ecx, eax
call fcn.004a4f80
mov ecx, eax
jmp 0x4c4e46
xor ecx, ecx
mov dword [edi + 4], ecx
push 0
push 0
push ecx
mov eax, esp
mov dword [eax], str.ServerList
call fcn.004a5470
mov esi, eax
test esi, esi
jne 0x4c4e7d
push str.pkvServerResponse
push 0xa5
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonclientupdatehostscache.cpp
call fcn.00534490
add esp, 0xc
test al, al
jne 0x4c4e7d
int3
push 0
push 0
push ecx
mov eax, esp
mov ecx, esi
mov dword [eax], str.Hosts
call fcn.004a5470
mov esi, eax
test esi, esi
jne 0x4c4eb3
push str.pkvHosts
push 0xa8
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonclientupdatehostscache.cpp
call fcn.00534490
add esp, 0xc
test al, al
jne 0x4c4eb3
int3
push 0
push 0
push ecx
mov eax, esp
mov ecx, esi
mov dword [eax], str.realms
call fcn.004a5470
mov ebx, eax
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x4c4eec
push str.pkvRealms
push 0xab
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonclientupdatehostscache.cpp
call fcn.00534490
add esp, 0xc
test al, al
jne 0x4c4eec
int3
mov esi, dword [ebp + 8]
push 0
push 0
push esi
call fcn.004c3a10
mov ecx, esp
mov dword [ecx], eax
mov ecx, ebx
call fcn.004a5470
xor bl, bl
mov dword [ebp + 8], eax
test eax, eax
je 0x4c4f2e
push dword [ebp + 0xc]
push esi
push ecx
mov ecx, esp
push dword [ebp - 4]
mov dword [ecx], 0
call fcn.0049f6a0
push dword [ebp + 8]
mov ecx, edi
call fcn.004c50d0
mov bl, al
cmp esi, 1
je 0x4c4f7f
push 0
push 1
push 1
call fcn.004c3a10
mov ecx, dword [ebp - 8]
mov edx, esp
mov dword [edx], eax
call fcn.004a5470
push dword [ebp + 0xc]
mov esi, eax
push 1
push ecx
mov ecx, esp
push dword [ebp - 4]
mov dword [ecx], 0
call fcn.0049f6a0
push esi
mov ecx, edi
call fcn.004c50d0
test bl, bl
jne 0x4c4f7d
test al, al
jne 0x4c4f7d
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov bl, 1
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4cf180
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.004dfc40
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.004997e0
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 [0x7d8a44]
mov eax, dword [0x7d8a40]
push 0
mov dword [ebx + 0xdc], ecx
lea ecx, [ebx + 0xe0]
push 4
mov dword [ebx + 0xd8], eax
call fcn.004997e0
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 0x4cf33c
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.00450b80
add esp, 0x28
jmp 0x4cf39c
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 0x4d5b80
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 0x4d5cc5
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 0x4d5c50
cmp word [ecx], 0
je 0x4d5c50
sub eax, ebx
xor cl, cl
mov byte [0x7da664], cl
cmp byte [0x7da664], 0
pop ebx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x10], 3
je 0x4d5c64
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.00450b80
add esp, 0x30
jmp 0x4d5cb2
sub eax, ebx
cmp eax, 0x1f4
jb 0x4d5bd1
mov cl, 1
jmp 0x4d5bd3
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.00450b80
add esp, 0x28
mov eax, dword [ebp - 4]
test eax, eax
je 0x4d5d28
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 [0x7da664], 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.00450b80
add esp, 0x28
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4d7f50
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 0x4d7f84
push str.session__m_pHTTP2Session__m_NGHTTP2Session
push 0xd3c
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonhttpclient_internal.cpp
call fcn.00534490
add esp, 0xc
test al, al
jne 0x4d7f84
int3
mov esi, dword [ebp + 0xc]
lea ecx, [esi + 4]
mov dword [ebp + 8], ecx
push ecx
lea ecx, [ebx + 0x1bc]
call fcn.004d7710
mov dword [ebp + 0xc], eax
cmp eax, 0xffffffff
je 0x4d80e9
mov ecx, dword [ebx + 0x1e8]
lea edx, [eax + eax*2]
mov edi, dword [ecx + edx*8 + 0x14]
test edi, edi
je 0x4d80e9
movzx eax, byte [esi + 8]
sub eax, 1
jne 0x4d80e9
cmp dword [esi + 0x24], 1
jne 0x4d80e9
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.00544da0
mov esi, dword [ebp + 0x18]
add esp, 0xc
test eax, eax
jne 0x4d8030
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.00544360
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.00544da0
add esp, 0xc
test eax, eax
jne 0x4d80e9
push esi
call fcn.005444b0
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 0x4d80e9
cmp dword [edi + 0x78], 0x10000000
jbe 0x4d80e9
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.004dc6d0
mov esi, dword [edi + 8]
mov ecx, edi
push 1
call fcn.004cfe20
mov ecx, esi
call fcn.004ba2f0
mov ecx, esi
call fcn.00461a30
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00457ad0
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.00450b80
add esp, 0x28
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4ded20
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.0054cfa0
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 0x4deded
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 0x4e7180
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 0x4e71f4
cmp dword [eax + 0xc], edx
jne 0x4e71f4
cmp edi, dword [eax + 8]
je 0x4e71d3
mov eax, dword [eax]
test eax, eax
jne 0x4e71c1
jmp 0x4e71f4
add eax, 0x14
je 0x4e71f4
push str.PvRecordFind__unKey____NULL
push 0xf2
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1_thash.h
call fcn.00534490
add esp, 0xc
test al, al
jne 0x4e71f4
int3
mov ecx, dword [ebx + 0xc]
call fcn.004de850
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 0x4e7243
mov eax, dword [ebx + 8]
mov edx, ecx
lea eax, [eax + edx*4]
mov edx, dword [eax]
test edx, edx
jne 0x4e7243
inc ecx
add eax, 4
cmp ecx, edi
jl 0x4e7232
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 [0x7dacd8], 0
jne 0x4e72c7
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
cmp dword [ebx + 0x10], eax
jl 0x4e72c7
mov byte [0x7dacd8], 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.005344b0
add esp, 0x14
test al, al
jne 0x4e7299
int3
mov esi, dword [ebx + 4]
mov edi, dword [ebx + 0x10]
push ebx
call fcn.0054d90c
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.00534bc0
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 0x4e9860
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
cmp dword [0x823134], 0
jne 0x4e9876
xor eax, eax
jmp 0x4e9889
lea eax, [ebp - 8]
push eax
push 6
push str.CUDPSocket::BSend
call fcn.00539730
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.004c15a0
cmp dword [0x823134], 0
mov ebx, eax
mov dword [ebp - 4], 0
jne 0x4e98c5
xor eax, eax
jmp 0x4e98d8
lea eax, [ebp + 0x18]
push eax
push 6
push str.WSASendTo__no_IOCP_
call fcn.00539730
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 0x4e990e
push ecx
call fcn.005396f0
add esp, 4
lock inc dword [0x7da904]
mov ecx, dword [0x7da908]
cmp dword [0x7da904], ecx
cmovg ecx, dword [0x7da904]
mov dword [0x7da908], ecx
test ebx, ebx
jns 0x4e99b8
call sub.WS2_32.dll_WSAGetLastError
mov esi, eax
push esi
call fcn.004e8c50
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.00450b80
add esp, 0x34
lock dec dword [0x7da904]
call fcn.00534050
push 0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
xor bl, bl
jmp 0x4e9a24
cmp dword [ebp - 4], esi
je 0x4e99d9
push str.cubSent__cubPkt
push 0x19f
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonudpsocket.cpp
call fcn.00534490
add esp, 0xc
test al, al
jne 0x4e99d9
int3
lock dec dword [0x7da904]
call fcn.00534050
push 0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
add dword [0x7da7f8], 1
mov eax, esi
cdq
mov ecx, 0x7daf38
adc dword [0x7da7fc], 0
add dword [0x7da800], eax
push edx
adc dword [0x7da804], edx
push eax
call fcn.004ed8d0
mov ecx, 0x7daf40
call fcn.004ed8f0
mov bl, 1
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4e9a34
push ecx
call fcn.005396f0
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ebf90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
cmp dword [0x823134], 0
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], ebx
jne 0x4ebfa9
xor eax, eax
jmp 0x4ebfbc
lea eax, [ebp - 0xc]
push eax
push 6
push str.CWebSocketConnection::BBuildAndAsyncSendFrame
call fcn.00539730
add esp, 0xc
cmp dword [ebx + 0x10], 2
mov dword [ebp - 0xc], eax
je 0x4ebfcc
xor bl, bl
jmp 0x4ec100
push 0x40
push 0xe
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x48]
call fcn.004a8f90
cmp byte [ebx + 0x126], 0
mov dword [ebp - 8], 0
mov byte [ebp - 1], 0
je 0x4ec002
lea eax, [ebp - 8]
mov byte [ebp - 1], 0x80
push 4
push eax
call fcn.004f91b0
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.004aa910
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x48]
cmp ebx, 0x7e
jl 0x4ec05b
mov al, byte [ebp - 1]
cmp ebx, 0xffff
jle 0x4ec045
or al, 0x7f
movzx eax, al
push eax
call fcn.004aa910
mov eax, ebx
lea ecx, [ebp - 0x48]
cdq
push edx
push eax
call fcn.004aaa00
jmp 0x4ec06b
or al, 0x7e
movzx eax, al
push eax
call fcn.004aa910
push ebx
lea ecx, [ebp - 0x48]
call fcn.004aac10
jmp 0x4ec06b
mov al, bl
and al, 0x7f
or al, byte [ebp - 1]
movzx eax, al
push eax
call fcn.004aa910
cmp byte [ebp - 1], 0
je 0x4ec07c
push dword [ebp - 8]
lea ecx, [ebp - 0x48]
call fcn.004aab10
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x70]
push esi
push 0
add eax, ebx
push eax
push 0
call fcn.004a8ef0
push dword [ebp - 0x34]
lea ecx, [ebp - 0x70]
push dword [ebp - 0x44]
call fcn.004a9ef0
cmp byte [ebp - 1], 0
je 0x4ec0d2
mov eax, dword [ebp - 8]
xor esi, esi
bswap eax
mov dword [ebp + 8], eax
test ebx, ebx
jle 0x4ec0de
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.004a9f40
inc esi
cmp esi, ebx
jl 0x4ec0b5
pop edi
jmp 0x4ec0de
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x70]
call fcn.004a9ef0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x70]
push eax
call fcn.004ec280
lea ecx, [ebp - 0x70]
mov bl, al
call fcn.00499910
lea ecx, [ebp - 0x48]
call fcn.00499910
mov eax, dword [ebp - 0xc]
pop esi
test eax, eax
je 0x4ec10d
push eax
call fcn.005396f0
add esp, 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ec910
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 0x4eca96
push esi
push eax
mov ecx, 0x7db1b8
call fcn.004a34f0
mov esi, eax
mov dword [ebp - 8], esi
cmp esi, 0xffffffff
je 0x4eca95
mov ecx, dword [0x7db1e0]
mov eax, dword [ebp - 4]
push edi
lea edi, [esi + esi*2]
cmp dword [ecx + edi*4 + 4], eax
je 0x4ec971
push str.sm_mapWebSocketConnection_iIndex___this
push 0x3e2
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonwebsocket.cpp
call fcn.00534490
add esp, 0xc
test al, al
jne 0x4ec971
int3
cmp esi, dword [0x7db1f4]
jae 0x4eca78
mov eax, dword [0x7db1e0]
cmp dword [eax + edi*4 + 8], 0xffffffff
jl 0x4eca78
mov ecx, 0x7db1b8
call fcn.004a3e20
mov eax, dword [0x7db1e0]
mov ebx, dword [0x7db1c8]
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, 0x7db1b8
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.004ed250
test al, al
jne 0x4eca94
sar ebx, 1
cmp ebx, dword [0x7db200]
jl 0x4eca6c
mov esi, edi
and esi, ebx
cmp esi, dword [0x7db1f8]
jl 0x4eca6c
test esi, esi
js 0x4eca08
cmp esi, dword [0x7db1cc]
jl 0x4eca24
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.00534490
add esp, 0xc
test al, al
jne 0x4eca24
int3
cmp dword [0x7db1d0], 1
mov edi, 0x7db1d4
mov eax, esi
mov ecx, esi
cmovne edi, dword [0x7db1d8]
mov edx, 1
and ecx, 0x1f
sar eax, 5
shl edx, cl
test dword [edi + eax*4], edx
jne 0x4eca6c
push dword [ebp - 8]
mov ecx, 0x7db1b8
push esi
call fcn.004ed250
test al, al
jne 0x4eca94
mov edi, dword [ebp - 0xc]
sar ebx, 1
cmp ebx, dword [0x7db200]
jge 0x4ec9f0
push str.CUtlHashMap::RemoveAt___couldnt_find_bucket_for_item
push 0x36f
jmp 0x4eca82
push str.CUtlHashMap::RemoveAt___Invalid_index
push 0x352
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1utlhashmap.h
call fcn.00534490
add esp, 0xc
test al, al
jne 0x4eca94
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 0x4fab60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4fab70
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 0x4fabb2
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 + 0x709368]
mov ecx, eax
shr eax, 4
and ecx, 0xf
xor edx, ecx
xor eax, dword [edx*4 + 0x709368]
sub edi, 1
jne 0x4fab80
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x4fb350
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 0x4fb430
mov edx, dword [ecx + 0x38]
test edx, edx
je 0x4fb430
mov ebx, dword [ebp + 0xc]
cmp ebx, dword [ecx + 0x10]
jae 0x4fb430
cmp dword [ecx + 0x14], 1
jne 0x4fb430
mov eax, dword [edx + 0x10]
mov edi, dword [eax + ebx*4]
add edi, dword [edx]
je 0x4fb430
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4fb430
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.004fabc0
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