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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push ecx
mov eax, esp
lea ecx, [ebp - 0x14]
mov dword [eax], 0
push dword [ebp + 0xc]
call fcn.00499a00
push dword [ebp - 0x10]
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
call fcn.0049ec40
push dword [ebp - 4]
call fcn.005318f0
mov eax, dword [ebp - 4]
mov ecx, esp
mov dword [ecx], eax
call fcn.0049afb0
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 4
xor esi, esi
mov edi, edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x14]
call fcn.0049b910
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x49ca0f
call ebx
cmp eax, 0x20
jne 0x49ca0b
push 0xa
call fcn.00528350
inc esi
add esp, 4
cmp esi, 0xa
jl 0x49c9b0
push str.INVALID_HANDLE_VALUE:_ERROR_SHARING_VIOLATION
push 0x821
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier1_fileio.cpp
call fcn.00522050
add esp, 0xc
test al, al
jne 0x49ca0b
int3
xor bl, bl
jmp 0x49ca49
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 0x49ca39
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.00521c10
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 0x49ca6a
push eax
call fcn.005383c4
add esp, 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x49ca7a
push eax
call fcn.005383c4
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49ced0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push ecx
mov eax, esp
lea ecx, [ebp - 0x20]
mov dword [eax], 0
push dword [ebp + 8]
call fcn.00499a00
lea ecx, [ebp - 0x20]
call fcn.0049b910
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x18]
setne bl
test eax, eax
je 0x49cf11
push eax
call fcn.005383c4
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49cf21
push eax
call fcn.005383c4
add esp, 4
test bl, bl
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x49cf96
push 0
call fcn.0054fd16
mov ecx, esp
mov esi, eax
mov dword [ecx], 0
lea ecx, [ebp - 0x20]
push dword [ebp + 8]
call fcn.00499a00
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x20]
call fcn.0049b910
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
mov dword [ebp - 0xc], ecx
cmp ecx, 0xffffffff
jne 0x49cffd
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x49cf86
push eax
call fcn.005383c4
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49cf96
push eax
call fcn.005383c4
add esp, 4
push ecx
mov eax, esp
lea ecx, [ebp - 0x20]
mov dword [eax], 0
push dword [ebp + 8]
call fcn.00499a00
push dword [ebp - 0x1c]
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
call fcn.0049ec40
push dword [ebp - 8]
call fcn.005318f0
mov eax, dword [ebp - 8]
mov ecx, esp
mov dword [ecx], eax
call fcn.0049afb0
add esp, 4
lea ecx, [ebp - 0x20]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
call fcn.0049b910
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x49d065
xor bl, bl
jmp 0x49d06a
mov eax, esi
mov edx, 0x989680
imul edx
add eax, 0xd53e8000
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
adc edx, 0x19db1de
push ecx
mov dword [ebp - 0x10], edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0xc]
mov esi, eax
call ebx
mov eax, dword [ebp - 0x18]
test esi, esi
setne byte [ebp - 1]
test eax, eax
je 0x49d043
push eax
call fcn.005383c4
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49d053
push eax
call fcn.005383c4
add esp, 4
cmp byte [ebp - 1], 0
je 0x49cf96
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call ebx
mov bl, 1
call fcn.00521c10
push 0
push dword [ebp - 8]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x49d08b
push eax
call fcn.005383c4
add esp, 4
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x49d09b
push ecx
call fcn.005383c4
add esp, 4
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49d0b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push ecx
mov eax, esp
lea ecx, [ebp - 0xc]
mov dword [eax], 0
push dword [ebp + 8]
call fcn.00499a00
lea ecx, [ebp - 0xc]
call fcn.0049b910
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
mov eax, dword [ebp - 4]
setne bl
test eax, eax
je 0x49d0ef
push eax
call fcn.005383c4
add esp, 4
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x49d0ff
push ecx
call fcn.005383c4
add esp, 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a0800
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov cl, 1
mov eax, dword [esi + 0x11c]
test eax, eax
je 0x4a08b7
push eax
push 1
push 0xd
push str.Log_stopped._n
call fcn.00549533
add esp, 0x10
cmp eax, 1
je 0x4a0846
push str.1__ret
push 0xb68
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4a0846
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 0x4a0884
push eax
call fcn.00548677
add esp, 4
test eax, eax
sete bl
test bl, bl
jne 0x4a0886
mov al, bl
pop ebx
pop esi
ret
mov bl, 1
push dword [esi + 0x11c]
call fcn.00547257
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 0x4a0b10
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 0x4a0b43
push str.NULL__m_pFile
push 0xc0e
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4a0b43
int3
cmp byte [esi + 0xc], 0
lea ebx, [esi + 0xc]
jne 0x4a0b68
push str.0___m_rgchPrefixFileName_0_
push 0xc11
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4a0b68
int3
push 0x105
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00532810
add esp, 0xc
mov edi, 1
mov ecx, esi
call fcn.004a0310
test al, al
je 0x4a0bf6
push ebx
push str._s.current.txt
lea eax, [ebp - 0x104]
push 0x104
push eax
call fcn.005323e0
add esp, 0x10
cmp byte [esi], 0
je 0x4a0bb9
push 0
lea ecx, [esi + 0x114]
call fcn.0049ec40
lea eax, [ebp - 0x104]
push 0x6ccc18
push eax
call fcn.0054745f
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 0x4a0c3e
cmp byte [ebp + 8], 0
je 0x4a0c33
push 0xfa
push 0
call fcn.005352d0
push eax
call fcn.00528350
push edi
lea eax, [ebp - 0x20c]
push eax
push str._s__d
push 0x105
push ebx
call fcn.005323e0
inc edi
add esp, 0x20
cmp edi, 0x32
jl 0x4a0b82
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi], 0
je 0x4a0c5b
lea eax, [ebp - 0x104]
push eax
lea ecx, [esi + 0x114]
call fcn.0049ec40
mov eax, dword [esi + 0x11c]
test eax, eax
je 0x4a0cb3
push dword [esi + 0x11c]
push 1
push 0xd
push str.Log_started._n
call fcn.00549533
add esp, 0x10
cmp eax, 1
je 0x4a0c97
push str.1__ret
push 0xb68
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4a0c97
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 0x4a2b10
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 0x4a2be9
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 0x4a2b84
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 0x4a2bec
mov eax, dword [edx + ecx*4 + 8]
cmp eax, 0xffffffff
jne 0x4a2b70
mov ecx, dword [ebp - 8]
sar ebx, 1
cmp ebx, dword [edi + 0x48]
jl 0x4a2be9
mov esi, ebx
and esi, ecx
cmp esi, dword [edi + 0x40]
jl 0x4a2be9
test esi, esi
js 0x4a2b9d
cmp esi, dword [edi + 0x14]
jl 0x4a2bb9
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 0x4a2bb9
int3
cmp dword [edi + 0x18], 1
lea eax, [edi + 0x1c]
je 0x4a2bc5
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 0x4a2be9
mov ecx, dword [ebp - 8]
jmp 0x4a2b56
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4a2c00
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 0x4a2ce7
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.004a2d00
cmp eax, 0xffffffff
jne 0x4a2cea
nop
sar ebx, 1
cmp ebx, dword [edi + 0x48]
jl 0x4a2ce7
mov esi, ebx
and esi, dword [ebp - 8]
cmp esi, dword [edi + 0x40]
jl 0x4a2ce7
test esi, esi
js 0x4a2c8a
cmp esi, dword [edi + 0x14]
jl 0x4a2ca6
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 0x4a2ca6
int3
cmp dword [edi + 0x18], 1
lea eax, [edi + 0x1c]
je 0x4a2cb2
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 0x4a2ce7
push dword [ebp + 8]
mov ecx, edi
push esi
call fcn.004a2d00
cmp eax, 0xffffffff
je 0x4a2c70
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 0x4a3420
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 0x4a34c1
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 0x4a34a1
test edi, edi
js 0x4a3458
cmp edi, dword [esi + 0x14]
jl 0x4a3474
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 0x4a3474
int3
cmp dword [esi + 0x18], 1
lea eax, [esi + 0x1c]
je 0x4a3480
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 0x4a34c7
mov edi, dword [esi + 0x40]
cmp edi, dword [esi + 0x44]
jl 0x4a3440
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.004c0960
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test edi, edi
js 0x4a34d0
cmp edi, dword [esi + 0x14]
jl 0x4a34ef
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.00522050
add esp, 0xc
test al, al
jne 0x4a34ec
int3
mov edx, dword [ebp - 8]
cmp dword [esi + 0x18], 1
lea ecx, [esi + 0x1c]
je 0x4a34fb
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 0x4a3586
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 0x4a357c
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 0x4a357f
mov dword [ebp - 4], eax
mov ebx, dword [eax]
cmp ebx, 0xffffffff
jne 0x4a3515
mov edi, dword [esi + 0x40]
cmp edi, dword [esi + 0x44]
jge 0x4a34a9
sub dword [ebp - 0xc], 1
jns 0x4a3440
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a35b0
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 0x4a3651
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 0x4a3631
test edi, edi
js 0x4a35e8
cmp edi, dword [esi + 0x14]
jl 0x4a3604
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 0x4a3604
int3
cmp dword [esi + 0x18], 1
lea eax, [esi + 0x1c]
je 0x4a3610
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 0x4a3657
mov edi, dword [esi + 0x40]
cmp edi, dword [esi + 0x44]
jl 0x4a35d0
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.004c0960
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test edi, edi
js 0x4a3660
cmp edi, dword [esi + 0x14]
jl 0x4a367f
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.00522050
add esp, 0xc
test al, al
jne 0x4a367c
int3
mov edx, dword [ebp - 8]
cmp dword [esi + 0x18], 1
lea ecx, [esi + 0x1c]
je 0x4a368b
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 0x4a3741
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 0x4a3733
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 0x4a3736
mov dword [ebp - 4], eax
mov ebx, dword [eax]
cmp ebx, 0xffffffff
jne 0x4a36b0
mov edi, dword [esi + 0x40]
cmp edi, dword [esi + 0x44]
jge 0x4a3639
sub dword [ebp - 0xc], 1
jns 0x4a35d0
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a3c10
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 0x4a3d1f
mov eax, dword [edi + 0x28]
mov ebx, esi
add ebx, ebx
cmp dword [eax + ebx*8 + 0xc], 0xffffffff
jl 0x4a3d1f
call fcn.004a35b0
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.004a3d50
test al, al
jne 0x4a3d3b
sar ebx, 1
cmp ebx, dword [edi + 0x48]
jl 0x4a3d13
mov esi, ebx
and esi, dword [ebp - 8]
cmp esi, dword [edi + 0x40]
jl 0x4a3d13
test esi, esi
js 0x4a3cb9
cmp esi, dword [edi + 0x14]
jl 0x4a3cd5
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 0x4a3cd5
int3
cmp dword [edi + 0x18], 1
lea eax, [edi + 0x1c]
je 0x4a3ce1
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 0x4a3d13
push dword [ebp + 8]
mov ecx, edi
push esi
call fcn.004a3d50
test al, al
jne 0x4a3d3b
sar ebx, 1
cmp ebx, dword [edi + 0x48]
jge 0x4a3ca6
push str.CUtlHashMap::RemoveAt___couldnt_find_bucket_for_item
push 0x36c
jmp 0x4a3d29
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 0x4a3d3b
int3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4a4140
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
call fcn.00528190
test al, al
jne 0x4a4168
push str.ThreadInMainThread__
push 0xb07
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4a4168
int3
call fcn.00528190
test al, al
jne 0x4a418d
push str.ThreadInMainThread__
push 0xb11
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4a418d
int3
mov ecx, esi
pop esi
jmp fcn.004a0800
Function at 0x4a42e0
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 0x4a434f
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + esi - 1], 0
je 0x4a42ff
cmp byte [edi + esi], 0
je 0x4a431b
push str.pch_cub___1____0__pch_cub___0
push 0xb48
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4a431b
int3
push dword [ebx + 0x11c]
push 1
push esi
push edi
call fcn.00549533
add esp, 0x10
pop edi
cmp eax, 1
je 0x4a434f
push str.1__ret
push 0xb68
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4a434f
int3
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4a8270
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 0x4a82f1
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 0x4a82e8
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 0x4a82dd
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 0x4a82fd
mov esi, 0x20119
jmp 0x4a828f
mov esi, 0x20019
test eax, eax
je 0x4a828f
cmp eax, 1
jne 0x4a8312
mov eax, closesocket
jmp 0x4a8294
cmp eax, 2
jne 0x4a8321
mov eax, closesocket
jmp 0x4a8294
push str.Unhandled_eRegKeyRoot_passed_into_HKeyGet
push 0x184
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommon_registry.cpp
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4a833d
int3
xor eax, eax
jmp 0x4a8294
Function at 0x4a8410
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 0x4a847a
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 0x4a8471
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 0x4a8486
mov esi, 0x20106
jmp 0x4a842d
mov esi, 0x20006
test eax, eax
je 0x4a842d
cmp eax, 1
jne 0x4a849b
mov eax, closesocket
jmp 0x4a8432
cmp eax, 2
jne 0x4a84a7
mov eax, closesocket
jmp 0x4a8432
push str.Unhandled_eRegKeyRoot_passed_into_HKeyGet
push 0x184
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommon_registry.cpp
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4a84c3
int3
xor eax, eax
jmp 0x4a8432

Function at 0x4ac020
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 0x4ac064
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + 0x16]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x84]
push eax
call fcn.004be1d0
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 0x69a
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommon_net.cpp
call fcn.00522070
add esp, 0x10
test al, al
jne 0x4ac086
int3
xor al, al
mov esp, ebp
pop ebp
ret