joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c35c0
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 0x4c35dc
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 0x4c3603
push 0x10
call fcn.0053837d
add esp, 4
test eax, eax
je 0x4c35fe
push 0
mov ecx, eax
call fcn.004a4580
mov ecx, eax
jmp 0x4c3600
xor ecx, ecx
mov dword [edi + 4], ecx
push 0
push 1
push ecx
mov eax, esp
mov dword [eax], str.ClientInfo
call fcn.004a4a70
push 0x6e91ec
push str.ip_country_code
mov ecx, eax
call fcn.004a4c40
push eax
call fcn.004a5640
mov ecx, dword [edi + 4]
add esp, 8
mov dword [ebp - 4], eax
test ecx, ecx
jne 0x4c3659
push 0x10
call fcn.0053837d
add esp, 4
test eax, eax
je 0x4c3654
push 0
mov ecx, eax
call fcn.004a4580
mov ecx, eax
jmp 0x4c3656
xor ecx, ecx
mov dword [edi + 4], ecx
push 0
push 0
push ecx
mov eax, esp
mov dword [eax], str.ServerList
call fcn.004a4a70
mov esi, eax
test esi, esi
jne 0x4c368d
push str.pkvServerResponse
push 0xa5
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonclientupdatehostscache.cpp
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4c368d
int3
push 0
push 0
push ecx
mov eax, esp
mov ecx, esi
mov dword [eax], str.Hosts
call fcn.004a4a70
mov esi, eax
test esi, esi
jne 0x4c36c3
push str.pkvHosts
push 0xa8
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonclientupdatehostscache.cpp
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4c36c3
int3
push 0
push 0
push ecx
mov eax, esp
mov ecx, esi
mov dword [eax], str.realms
call fcn.004a4a70
mov ebx, eax
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x4c36fc
push str.pkvRealms
push 0xab
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonclientupdatehostscache.cpp
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4c36fc
int3
mov esi, dword [ebp + 8]
push 0
push 0
push esi
call fcn.004c2220
mov ecx, esp
mov dword [ecx], eax
mov ecx, ebx
call fcn.004a4a70
xor bl, bl
mov dword [ebp + 8], eax
test eax, eax
je 0x4c373e
push dword [ebp + 0xc]
push esi
push ecx
mov ecx, esp
push dword [ebp - 4]
mov dword [ecx], 0
call fcn.0049ec40
push dword [ebp + 8]
mov ecx, edi
call fcn.004c38e0
mov bl, al
cmp esi, 1
je 0x4c378f
push 0
push 1
push 1
call fcn.004c2220
mov ecx, dword [ebp - 8]
mov edx, esp
mov dword [edx], eax
call fcn.004a4a70
push dword [ebp + 0xc]
mov esi, eax
push 1
push ecx
mov ecx, esp
push dword [ebp - 4]
mov dword [ecx], 0
call fcn.0049ec40
push esi
mov ecx, edi
call fcn.004c38e0
test bl, bl
jne 0x4c378d
test al, al
jne 0x4c378d
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 0x4cd890
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.004dc640
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.00498ef0
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 [0x7bad74]
mov eax, dword [0x7bad70]
push 0
mov dword [ebx + 0xdc], ecx
lea ecx, [ebx + 0xe0]
push 4
mov dword [ebx + 0xd8], eax
call fcn.00498ef0
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 0x4cda4c
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.00450b00
add esp, 0x28
jmp 0x4cdaac
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 0x4d3900
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 0x4d3a45
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 0x4d39d0
cmp word [ecx], 0
je 0x4d39d0
sub eax, ebx
xor cl, cl
mov byte [0x7bc9d4], cl
cmp byte [0x7bc9d4], 0
pop ebx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x10], 3
je 0x4d39e4
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.00450b00
add esp, 0x30
jmp 0x4d3a32
sub eax, ebx
cmp eax, 0x1f4
jb 0x4d3951
mov cl, 1
jmp 0x4d3953
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.00450b00
add esp, 0x28
mov eax, dword [ebp - 4]
test eax, eax
je 0x4d3aa8
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 [0x7bc9d4], 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.00450b00
add esp, 0x28
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4db720
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.0053aa50
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 0x4db7ed
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 0x4e3aa0
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 0x4e3b14
cmp dword [eax + 0xc], edx
jne 0x4e3b14
cmp edi, dword [eax + 8]
je 0x4e3af3
mov eax, dword [eax]
test eax, eax
jne 0x4e3ae1
jmp 0x4e3b14
add eax, 0x14
je 0x4e3b14
push str.PvRecordFind__unKey____NULL
push 0xf2
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1_thash.h
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4e3b14
int3
mov ecx, dword [ebx + 0xc]
call fcn.004db250
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 0x4e3b63
mov eax, dword [ebx + 8]
mov edx, ecx
lea eax, [eax + edx*4]
mov edx, dword [eax]
test edx, edx
jne 0x4e3b63
inc ecx
add eax, 4
cmp ecx, edi
jl 0x4e3b52
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 [0x7bd030], 0
jne 0x4e3be7
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
cmp dword [ebx + 0x10], eax
jl 0x4e3be7
mov byte [0x7bd030], 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.00522070
add esp, 0x14
test al, al
jne 0x4e3bb9
int3
mov esi, dword [ebx + 4]
mov edi, dword [ebx + 0x10]
push ebx
call fcn.0053b3bc
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.00522780
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 0x4e6190
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
cmp dword [0x805174], 0
jne 0x4e61a6
xor eax, eax
jmp 0x4e61b9
lea eax, [ebp - 8]
push eax
push 6
push str.CUDPSocket::BSend
call fcn.00526610
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.004be6c0
cmp dword [0x805174], 0
mov ebx, eax
mov dword [ebp - 4], 0
jne 0x4e61f5
xor eax, eax
jmp 0x4e6208
lea eax, [ebp + 0x18]
push eax
push 6
push str.WSASendTo__no_IOCP_
call fcn.00526610
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 0x4e623e
push ecx
call fcn.005265a0
add esp, 4
lock inc dword [0x7bcc78]
mov ecx, dword [0x7bcc7c]
cmp dword [0x7bcc78], ecx
cmovg ecx, dword [0x7bcc78]
mov dword [0x7bcc7c], ecx
test ebx, ebx
jns 0x4e62e8
call sub.WS2_32.dll_WSAGetLastError
mov esi, eax
push esi
call fcn.004e5580
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.00450b00
add esp, 0x34
lock dec dword [0x7bcc78]
call fcn.00521c10
push 0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
xor bl, bl
jmp 0x4e6354
cmp dword [ebp - 4], esi
je 0x4e6309
push str.cubSent__cubPkt
push 0x19f
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonudpsocket.cpp
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4e6309
int3
lock dec dword [0x7bcc78]
call fcn.00521c10
push 0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
add dword [0x7bcb68], 1
mov eax, esi
cdq
mov ecx, 0x7bd278
adc dword [0x7bcb6c], 0
add dword [0x7bcb70], eax
push edx
adc dword [0x7bcb74], edx
push eax
call fcn.004ea1f0
mov ecx, 0x7bd280
call fcn.004ea210
mov bl, 1
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4e6364
push ecx
call fcn.005265a0
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e88c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
cmp dword [0x805174], 0
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], ebx
jne 0x4e88d9
xor eax, eax
jmp 0x4e88ec
lea eax, [ebp - 0xc]
push eax
push 6
push str.CWebSocketConnection::BBuildAndAsyncSendFrame
call fcn.00526610
add esp, 0xc
cmp dword [ebx + 0x10], 2
mov dword [ebp - 0xc], eax
je 0x4e88fc
xor bl, bl
jmp 0x4e8a30
push 0x40
push 0xe
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x48]
call fcn.004a8590
cmp byte [ebx + 0x126], 0
mov dword [ebp - 8], 0
mov byte [ebp - 1], 0
je 0x4e8932
lea eax, [ebp - 8]
mov byte [ebp - 1], 0x80
push 4
push eax
call fcn.004f6990
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.004a9d00
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x48]
cmp ebx, 0x7e
jl 0x4e898b
mov al, byte [ebp - 1]
cmp ebx, 0xffff
jle 0x4e8975
or al, 0x7f
movzx eax, al
push eax
call fcn.004a9d00
mov eax, ebx
lea ecx, [ebp - 0x48]
cdq
push edx
push eax
call fcn.004a9df0
jmp 0x4e899b
or al, 0x7e
movzx eax, al
push eax
call fcn.004a9d00
push ebx
lea ecx, [ebp - 0x48]
call fcn.004aa000
jmp 0x4e899b
mov al, bl
and al, 0x7f
or al, byte [ebp - 1]
movzx eax, al
push eax
call fcn.004a9d00
cmp byte [ebp - 1], 0
je 0x4e89ac
push dword [ebp - 8]
lea ecx, [ebp - 0x48]
call fcn.004a9f00
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x70]
push esi
push 0
add eax, ebx
push eax
push 0
call fcn.004a84f0
push dword [ebp - 0x34]
lea ecx, [ebp - 0x70]
push dword [ebp - 0x44]
call fcn.004a92e0
cmp byte [ebp - 1], 0
je 0x4e8a02
mov eax, dword [ebp - 8]
xor esi, esi
bswap eax
mov dword [ebp + 8], eax
test ebx, ebx
jle 0x4e8a0e
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.004a9330
inc esi
cmp esi, ebx
jl 0x4e89e5
pop edi
jmp 0x4e8a0e
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x70]
call fcn.004a92e0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x70]
push eax
call fcn.004e8bb0
lea ecx, [ebp - 0x70]
mov bl, al
call fcn.00499020
lea ecx, [ebp - 0x48]
call fcn.00499020
mov eax, dword [ebp - 0xc]
pop esi
test eax, eax
je 0x4e8a3d
push eax
call fcn.005265a0
add esp, 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4e9240
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 0x4e93c6
push esi
push eax
mov ecx, 0x7bd4f0
call fcn.004a2b10
mov esi, eax
mov dword [ebp - 8], esi
cmp esi, 0xffffffff
je 0x4e93c5
mov ecx, dword [0x7bd518]
mov eax, dword [ebp - 4]
push edi
lea edi, [esi + esi*2]
cmp dword [ecx + edi*4 + 4], eax
je 0x4e92a1
push str.sm_mapWebSocketConnection_iIndex___this
push 0x3e2
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonwebsocket.cpp
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4e92a1
int3
cmp esi, dword [0x7bd52c]
jae 0x4e93a8
mov eax, dword [0x7bd518]
cmp dword [eax + edi*4 + 8], 0xffffffff
jl 0x4e93a8
mov ecx, 0x7bd4f0
call fcn.004a3420
mov eax, dword [0x7bd518]
mov ebx, dword [0x7bd500]
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, 0x7bd4f0
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.004e9b70
test al, al
jne 0x4e93c4
sar ebx, 1
cmp ebx, dword [0x7bd538]
jl 0x4e939c
mov esi, edi
and esi, ebx
cmp esi, dword [0x7bd530]
jl 0x4e939c
test esi, esi
js 0x4e9338
cmp esi, dword [0x7bd504]
jl 0x4e9354
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.00522050
add esp, 0xc
test al, al
jne 0x4e9354
int3
cmp dword [0x7bd508], 1
mov edi, 0x7bd50c
mov eax, esi
mov ecx, esi
cmovne edi, dword [0x7bd510]
mov edx, 1
and ecx, 0x1f
sar eax, 5
shl edx, cl
test dword [edi + eax*4], edx
jne 0x4e939c
push dword [ebp - 8]
mov ecx, 0x7bd4f0
push esi
call fcn.004e9b70
test al, al
jne 0x4e93c4
mov edi, dword [ebp - 0xc]
sar ebx, 1
cmp ebx, dword [0x7bd538]
jge 0x4e9320
push str.CUtlHashMap::RemoveAt___couldnt_find_bucket_for_item
push 0x36c
jmp 0x4e93b2
push str.CUtlHashMap::RemoveAt___Invalid_index
push 0x34f
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1utlhashmap.h
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4e93c4
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 0x4f8340
Capabilities:
Encode data using xor

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

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