joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49d180
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x49d1e4
mov edi, dword [esi + 0x20]
lea ecx, [ebp - 4]
push ebx
xor ebx, ebx
push ebx
push ecx
push edi
push dword [esi + 0x10]
mov dword [ebp - 4], ebx
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
je 0x49d1bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x49d1c0
jmp 0x49d1c4
mov ebx, dword [ebp - 4]
cmp edi, ebx
je 0x49d1d1
mov eax, dword [esi + 4]
mov ecx, 1
add eax, 0x1c
xchg dword [eax], ecx
mov eax, dword [esi + 4]
neg edi
add eax, 0x18
lock xadd dword [eax], edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
test eax, eax
je 0x49d2af
cmp byte [eax], 0
je 0x49d2af
call sub.KERNEL32.dll_GetCurrentProcessId
mov ecx, dword [esi + 8]
mov edi, 0x6e2a60
test ecx, ecx
mov edx, edi
push eax
cmovne edx, ecx
lea eax, [ebp - 0x14]
push edx
push str._s.async_u.tmp
push eax
call fcn.0049eb00
add esp, 0x10
cmp byte [ebp - 5], 0
jge 0x49d230
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x49d233
mov eax, edi
jmp 0x49d233
lea eax, [ebp - 0x14]
push 1
push eax
lea eax, [esi + 0xc]
push eax
call fcn.0049d2e0
add esp, 0xc
test al, al
je 0x49d292
mov eax, dword [esi + 8]
test eax, eax
cmovne edi, eax
cmp byte [ebp - 5], 0
jge 0x49d262
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x49d265
mov eax, 0x6e2a60
jmp 0x49d265
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.0049b500
add esp, 8
test al, al
jne 0x49d292
cmp byte [ebp - 5], al
jge 0x49d286
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x49d289
mov eax, 0x6e2a60
jmp 0x49d289
lea eax, [ebp - 0x14]
push eax
call fcn.0049da00
add esp, 4
cmp byte [ebp - 5], 0
jge 0x49d2cb
call fcn.00536730
push 0
push dword [ebp - 0x14]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.Invalid_FileWriterItem_t
push 0x1542
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier1_fileio.cpp
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x49d2cb
int3
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x49d2e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], vtable.CPathString.0
mov dword [ebp - 0xc], 0
call fcn.0049c250
push dword [ebp - 0x10]
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
call fcn.0049f660
push dword [ebp - 4]
call fcn.00546650
mov eax, dword [ebp - 4]
mov ecx, esp
mov dword [ecx], eax
call fcn.0049b790
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 4
xor esi, esi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x14]
call fcn.0049c080
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x49d394
call ebx
cmp eax, 0x20
jne 0x49d390
push 0xa
call fcn.0053dd10
inc esi
add esp, 4
cmp esi, 0xa
jl 0x49d335
push str.INVALID_HANDLE_VALUE:_ERROR_SHARING_VIOLATION
push 0x889
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier1_fileio.cpp
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x49d390
int3
xor bl, bl
jmp 0x49d3ce
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push 0
push eax
mov dword [ebp - 8], 0
push dword [esi + 0x14]
push dword [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test byte [ebp + 0x10], 1
je 0x49d3be
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x14]
cmp eax, dword [ebp - 8]
sete bl
call fcn.00536730
push 0
push dword [ebp - 4]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x49d3ef
push eax
call fcn.0054d204
add esp, 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x49d3ff
push eax
call fcn.0054d204
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49da00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], vtable.CPathString.0
mov dword [ebp - 4], 0
call fcn.0049c250
lea ecx, [ebp - 0xc]
call fcn.0049c080
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
mov eax, dword [ebp - 4]
setne bl
test eax, eax
je 0x49da46
push eax
call fcn.0054d204
add esp, 4
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x49da56
push ecx
call fcn.0054d204
add esp, 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a11e0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov cl, 1
mov eax, dword [esi + 0x11c]
test eax, eax
je 0x4a1297
push eax
push 1
push 0xd
push str.Log_stopped._n
call fcn.0055eba3
add esp, 0x10
cmp eax, 1
je 0x4a1226
push str.1__ret
push 0xb3e
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4a1226
int3
add dword [esi + 0x120], 0xd
mov eax, dword [esi + 0x11c]
adc dword [esi + 0x124], 0
add dword [esi + 0x128], 0xd
push ebx
adc dword [esi + 0x12c], 0
test eax, eax
je 0x4a1264
push eax
call fcn.0055dcdf
add esp, 4
test eax, eax
sete bl
test bl, bl
jne 0x4a1266
mov al, bl
pop ebx
pop esi
ret
mov bl, 1
push dword [esi + 0x11c]
call fcn.0055c8bf
add esp, 4
mov dword [esi + 0x11c], 0
mov al, bl
mov dword [esi + 0x120], 0
mov dword [esi + 0x124], 0
pop ebx
pop esi
ret
mov al, cl
pop esi
ret

Function at 0x4a14f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x11c], 0
je 0x4a1523
push str.NULL__m_pFile
push 0xbe4
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4a1523
int3
cmp byte [esi + 0xc], 0
lea ebx, [esi + 0xc]
jne 0x4a1548
push str.0___m_rgchPrefixFileName_0_
push 0xbe7
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4a1548
int3
push 0x105
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00547600
add esp, 0xc
mov edi, 1
mov ecx, esi
call fcn.004a0cf0
test al, al
je 0x4a15d6
push ebx
push str._s.current.txt
lea eax, [ebp - 0x104]
push 0x104
push eax
call fcn.00547140
add esp, 0x10
cmp byte [esi], 0
je 0x4a1599
push 0
lea ecx, [esi + 0x114]
call fcn.0049f660
lea eax, [ebp - 0x104]
push 0x6e2c18
push eax
call fcn.0055cac7
add esp, 8
mov dword [esi + 0x11c], eax
test eax, eax
mov dword [esi + 0x120], 0
mov dword [esi + 0x124], 0
setne cl
mov byte [esi + 0x130], cl
test eax, eax
jne 0x4a161e
cmp byte [ebp + 8], 0
je 0x4a1613
push 0xfa
push 0
call fcn.0054a0c0
push eax
call fcn.0053dd10
push edi
lea eax, [ebp - 0x20c]
push eax
push str._s__d
push 0x105
push ebx
call fcn.00547140
inc edi
add esp, 0x20
cmp edi, 0x32
jl 0x4a1562
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi], 0
je 0x4a163e
lea eax, [ebp - 0x104]
push eax
lea ecx, [esi + 0x114]
call fcn.0049f660
cmp dword [esi + 0x11c], 0
je 0x4a1692
push dword [esi + 0x11c]
push 1
push 0xd
push str.Log_started._n
call fcn.0055eba3
add esp, 0x10
cmp eax, 1
je 0x4a1676
push str.1__ret
push 0xb3e
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4a1676
int3
add dword [esi + 0x120], 0xd
adc dword [esi + 0x124], 0
add dword [esi + 0x128], 0xd
adc dword [esi + 0x12c], 0
pop edi
mov byte [esi + 0x131], 1
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a34b0
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x4a3589
mov eax, dword [ebp + 8]
mov ebx, dword [edi + 0x10]
dec ebx
mov esi, ebx
mov eax, dword [eax]
mov edx, eax
shr edx, 0x10
xor edx, eax
imul ecx, edx, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0xc2b2ae35
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
mov dword [ebp - 8], ecx
and esi, ecx
mov eax, dword [edi + 4]
mov eax, dword [eax + esi*4]
cmp eax, 0xffffffff
je 0x4a3524
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 0x28]
mov esi, dword [ecx]
lea esp, [esp]
lea ecx, [eax + eax*2]
cmp esi, dword [edx + ecx*4]
je 0x4a358c
mov eax, dword [edx + ecx*4 + 8]
cmp eax, 0xffffffff
jne 0x4a3510
mov ecx, dword [ebp - 8]
sar ebx, 1
cmp ebx, dword [edi + 0x48]
jl 0x4a3589
mov esi, ebx
and esi, ecx
cmp esi, dword [edi + 0x40]
jl 0x4a3589
test esi, esi
js 0x4a353d
cmp esi, dword [edi + 0x14]
jl 0x4a3559
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 0x4a3559
int3
cmp dword [edi + 0x18], 1
lea eax, [edi + 0x1c]
je 0x4a3565
mov eax, dword [edi + 0x20]
mov dword [ebp - 4], eax
mov ecx, esi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov eax, esi
mov ecx, dword [ebp - 4]
sar eax, 5
test dword [ecx + eax*4], edx
jne 0x4a3589
mov ecx, dword [ebp - 8]
jmp 0x4a34f6
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4a35a0
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x4a3687
mov edx, dword [ebp + 8]
mov ebx, dword [edi + 0x10]
dec ebx
push edx
imul eax, dword [edx], 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, dword [edx + 4]
rol eax, 0xd
add eax, 0xfaddaf14
lea ecx, [eax + eax*4]
mov eax, ecx
shr eax, 0x10
xor eax, ecx
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0xc2b2ae35
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
mov eax, ebx
and eax, ecx
mov dword [ebp - 8], ecx
push eax
mov ecx, edi
call fcn.004a36a0
cmp eax, 0xffffffff
jne 0x4a368a
nop
sar ebx, 1
cmp ebx, dword [edi + 0x48]
jl 0x4a3687
mov esi, ebx
and esi, dword [ebp - 8]
cmp esi, dword [edi + 0x40]
jl 0x4a3687
test esi, esi
js 0x4a362a
cmp esi, dword [edi + 0x14]
jl 0x4a3646
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 0x4a3646
int3
cmp dword [edi + 0x18], 1
lea eax, [edi + 0x1c]
je 0x4a3652
mov eax, dword [edi + 0x20]
mov dword [ebp - 4], eax
mov ecx, esi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov eax, esi
mov ecx, dword [ebp - 4]
sar eax, 5
test dword [ecx + eax*4], edx
jne 0x4a3687
push dword [ebp + 8]
mov ecx, edi
push esi
call fcn.004a36a0
cmp eax, 0xffffffff
je 0x4a3610
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a3de0
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x40]
cmp edi, dword [esi + 0x44]
jge 0x4a3e81
mov dword [ebp - 0xc], 4
push ebx
mov edi, edi
lea eax, [edi + 1]
mov dword [esi + 0x40], eax
mov eax, dword [esi + 4]
cmp dword [eax + edi*4], 0xffffffff
je 0x4a3e61
test edi, edi
js 0x4a3e18
cmp edi, dword [esi + 0x14]
jl 0x4a3e34
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 0x4a3e34
int3
cmp dword [esi + 0x18], 1
lea eax, [esi + 0x1c]
je 0x4a3e40
mov eax, dword [esi + 0x20]
mov ebx, edi
mov dword [ebp - 4], eax
and ebx, 0x1f
mov eax, 1
mov ecx, ebx
mov edx, edi
shl eax, cl
mov ecx, dword [ebp - 4]
sar edx, 5
mov dword [ebp - 8], edx
test dword [ecx + edx*4], eax
je 0x4a3e87
mov edi, dword [esi + 0x40]
cmp edi, dword [esi + 0x44]
jl 0x4a3e00
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x14]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
dec eax
push 0
mov dword [esi + 0x48], eax
call fcn.004c2120
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test edi, edi
js 0x4a3e90
cmp edi, dword [esi + 0x14]
jl 0x4a3eaf
push str.bitNum___0__bitNum___this__Size__
push 0x154
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1_bitstring.h
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4a3eac
int3
mov edx, dword [ebp - 8]
cmp dword [esi + 0x18], 1
lea ecx, [esi + 0x1c]
je 0x4a3ebb
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx + edx*4]
bts eax, ebx
mov dword [ecx + edx*4], eax
mov eax, dword [esi + 4]
mov ebx, dword [eax + edi*4]
lea eax, [eax + edi*4]
mov dword [ebp - 4], eax
cmp ebx, 0xffffffff
je 0x4a3f46
mov edx, dword [esi + 0x28]
lea eax, [ebx + ebx*2]
shl eax, 2
add edx, eax
mov dword [ebp - 0x10], eax
mov ecx, dword [edx]
shr ecx, 0x10
xor ecx, dword [edx]
imul ecx, ecx, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0xc2b2ae35
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
mov eax, dword [esi + 0x10]
dec eax
and ecx, eax
lea eax, [edx + 8]
mov dword [ebp - 8], ecx
cmp ecx, edi
je 0x4a3f3c
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x28]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx + 8], eax
mov eax, dword [esi + 4]
mov edx, dword [ebp - 8]
mov dword [eax + edx*4], ebx
mov eax, dword [ebp - 4]
jmp 0x4a3f3f
mov dword [ebp - 4], eax
mov ebx, dword [eax]
cmp ebx, 0xffffffff
jne 0x4a3ed5
mov edi, dword [esi + 0x40]
cmp edi, dword [esi + 0x44]
jge 0x4a3e69
sub dword [ebp - 0xc], 1
jns 0x4a3e00
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a3f70
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x40]
cmp edi, dword [esi + 0x44]
jge 0x4a4011
mov dword [ebp - 0xc], 4
push ebx
mov edi, edi
lea eax, [edi + 1]
mov dword [esi + 0x40], eax
mov eax, dword [esi + 4]
cmp dword [eax + edi*4], 0xffffffff
je 0x4a3ff1
test edi, edi
js 0x4a3fa8
cmp edi, dword [esi + 0x14]
jl 0x4a3fc4
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 0x4a3fc4
int3
cmp dword [esi + 0x18], 1
lea eax, [esi + 0x1c]
je 0x4a3fd0
mov eax, dword [esi + 0x20]
mov ebx, edi
mov dword [ebp - 4], eax
and ebx, 0x1f
mov eax, 1
mov ecx, ebx
mov edx, edi
shl eax, cl
mov ecx, dword [ebp - 4]
sar edx, 5
mov dword [ebp - 8], edx
test dword [ecx + edx*4], eax
je 0x4a4017
mov edi, dword [esi + 0x40]
cmp edi, dword [esi + 0x44]
jl 0x4a3f90
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x14]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
dec eax
push 0
mov dword [esi + 0x48], eax
call fcn.004c2120
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test edi, edi
js 0x4a4020
cmp edi, dword [esi + 0x14]
jl 0x4a403f
push str.bitNum___0__bitNum___this__Size__
push 0x154
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1_bitstring.h
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4a403c
int3
mov edx, dword [ebp - 8]
cmp dword [esi + 0x18], 1
lea ecx, [esi + 0x1c]
je 0x4a404b
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx + edx*4]
bts eax, ebx
mov dword [ecx + edx*4], eax
mov eax, dword [esi + 4]
mov ebx, dword [eax + edi*4]
lea eax, [eax + edi*4]
mov dword [ebp - 4], eax
cmp ebx, 0xffffffff
je 0x4a4101
lea esp, [esp]
mov edx, dword [esi + 0x28]
mov eax, ebx
shl eax, 4
add edx, eax
mov dword [ebp - 0x10], eax
imul eax, dword [edx], 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, dword [edx + 4]
rol eax, 0xd
add eax, 0xfaddaf14
lea ecx, [eax + eax*4]
mov eax, ecx
shr eax, 0x10
xor eax, ecx
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0xc2b2ae35
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
mov eax, dword [esi + 0x10]
dec eax
and ecx, eax
lea eax, [edx + 0xc]
mov dword [ebp - 8], ecx
cmp ecx, edi
je 0x4a40f3
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x28]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx + 0xc], eax
mov eax, dword [esi + 4]
mov edx, dword [ebp - 8]
mov dword [eax + edx*4], ebx
mov eax, dword [ebp - 4]
jmp 0x4a40f6
mov dword [ebp - 4], eax
mov ebx, dword [eax]
cmp ebx, 0xffffffff
jne 0x4a4070
mov edi, dword [esi + 0x40]
cmp edi, dword [esi + 0x44]
jge 0x4a3ff9
sub dword [ebp - 0xc], 1
jns 0x4a3f90
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a45d0
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp esi, dword [edi + 0x3c]
jae 0x4a46df
mov eax, dword [edi + 0x28]
mov ebx, esi
add ebx, ebx
cmp dword [eax + ebx*8 + 0xc], 0xffffffff
jl 0x4a46df
call fcn.004a3f70
mov eax, dword [edi + 0x28]
push esi
mov edx, dword [eax + ebx*8 + 4]
imul eax, dword [eax + ebx*8], 0xcc9e2d51
mov ebx, dword [edi + 0x10]
dec ebx
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, edx
rol eax, 0xd
add eax, 0xfaddaf14
lea ecx, [eax + eax*4]
mov eax, ecx
shr eax, 0x10
xor eax, ecx
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0xc2b2ae35
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
mov eax, ebx
and eax, ecx
mov dword [ebp - 8], ecx
push eax
mov ecx, edi
call fcn.004a4710
test al, al
jne 0x4a46fb
sar ebx, 1
cmp ebx, dword [edi + 0x48]
jl 0x4a46d3
mov esi, ebx
and esi, dword [ebp - 8]
cmp esi, dword [edi + 0x40]
jl 0x4a46d3
test esi, esi
js 0x4a4679
cmp esi, dword [edi + 0x14]
jl 0x4a4695
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 0x4a4695
int3
cmp dword [edi + 0x18], 1
lea eax, [edi + 0x1c]
je 0x4a46a1
mov eax, dword [edi + 0x20]
mov dword [ebp - 4], eax
mov ecx, esi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov eax, esi
mov ecx, dword [ebp - 4]
sar eax, 5
test dword [ecx + eax*4], edx
jne 0x4a46d3
push dword [ebp + 8]
mov ecx, edi
push esi
call fcn.004a4710
test al, al
jne 0x4a46fb
sar ebx, 1
cmp ebx, dword [edi + 0x48]
jge 0x4a4666
push str.CUtlHashMap::RemoveAt___couldnt_find_bucket_for_item
push 0x36f
jmp 0x4a46e9
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 0x4a46fb
int3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4a4b00
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
call fcn.0053db50
test al, al
jne 0x4a4b28
push str.ThreadInMainThread__
push 0xadd
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4a4b28
int3
call fcn.0053db50
test al, al
jne 0x4a4b4d
push str.ThreadInMainThread__
push 0xae7
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4a4b4d
int3
mov ecx, esi
pop esi
jmp fcn.004a11e0
Function at 0x4a4ca0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
test esi, esi
je 0x4a4d0f
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + esi - 1], 0
je 0x4a4cbf
cmp byte [edi + esi], 0
je 0x4a4cdb
push str.pch_cub___1____0__pch_cub___0
push 0xb1e
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4a4cdb
int3
push dword [ebx + 0x11c]
push 1
push esi
push edi
call fcn.0055eba3
add esp, 0x10
pop edi
cmp eax, 1
je 0x4a4d0f
push str.1__ret
push 0xb3e
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4a4d0f
int3
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4a8c30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp eax, 3
jne 0x4a8cb1
mov esi, 0x20219
mov eax, reloc.WS2_32.dll_bind
lea ecx, [ebp - 4]
push ecx
push esi
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4a8ca8
mov dword [ebp + 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x14]
lea eax, [ebp + 8]
mov dword [ebp - 8], 4
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x4a8c9d
cmp dword [ebp + 8], 4
mov eax, 1
cmovne esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x4a8cbd
mov esi, 0x20119
jmp 0x4a8c4f
mov esi, 0x20019
test eax, eax
je 0x4a8c4f
cmp eax, 1
jne 0x4a8cd2
mov eax, closesocket
jmp 0x4a8c54
cmp eax, 2
jne 0x4a8ce1
mov eax, closesocket
jmp 0x4a8c54
push str.Unhandled_eRegKeyRoot_passed_into_HKeyGet
push 0x184
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommon_registry.cpp
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4a8cfd
int3
xor eax, eax
jmp 0x4a8c54
Function at 0x4a8dd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp eax, 3
jne 0x4a8e3a
mov esi, 0x20206
mov eax, reloc.WS2_32.dll_bind
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push esi
push 0
push 0
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x4a8e31
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x4a8e46
mov esi, 0x20106
jmp 0x4a8ded
mov esi, 0x20006
test eax, eax
je 0x4a8ded
cmp eax, 1
jne 0x4a8e5b
mov eax, closesocket
jmp 0x4a8df2
cmp eax, 2
jne 0x4a8e67
mov eax, closesocket
jmp 0x4a8df2
push str.Unhandled_eRegKeyRoot_passed_into_HKeyGet
push 0x184
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommon_registry.cpp
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4a8e83
int3
xor eax, eax
jmp 0x4a8df2

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x80
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x4accf4
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + 0x16]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x84]
push eax
call fcn.004c1080
mov al, 1
mov esp, ebp
pop ebp
ret
call sub.WS2_32.dll_WSAGetLastError
push eax
push str.getsockname_failed_in_BGetBoundAddr_with_error:__d
push 0x6aa
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommon_net.cpp
call fcn.00536b80
add esp, 0x10
test al, al
jne 0x4acd16
int3
xor al, al
mov esp, ebp
pop ebp
ret