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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
xor ebx, ebx
lea rax, vtable.CPathString.0
mov r12d, r8d
mov qword [rsp + 0x48], rax
mov r15, rcx
mov qword [rsp + 0x58], rbx
mov r8d, ebx
lea rcx, [rsp + 0x48]
call fcn.14027f9a0
mov rsi, qword [rsp + 0x50]
lea rcx, [rsp + 0x40]
mov rdx, rsi
mov qword [rsp + 0x40], rbx
call fcn.14027b5e0
mov rcx, qword [rsp + 0x40]
call fcn.1402a8cb0
mov rcx, qword [rsp + 0x40]
call fcn.14027f0d0
mov rdi, qword [rsp + 0x58]
mov r14d, ebx
movabs r13, 0x5c003f005c005c
nop
test rdi, rdi
jne 0x1402810d1
cmp byte [rsi], 0x5c
jne 0x1402810a9
cmp byte [rsi + 1], 0x5c
jne 0x1402810a9
cmp byte [rsi + 2], 0x3f
jne 0x14028108b
cmp byte [rsi + 3], 0x5c
jne 0x14028108b
mov ecx, 0x10006
call fcn.14031dcb4
mov rdx, rax
jmp 0x1402810ba
mov ecx, 0x1000e
call fcn.14031dcb4
movups xmm0, xmmword [str._UNC_]
lea rcx, [rsi + 2]
movups xmmword [rax], xmm0
lea rdx, [rax + 0x10]
jmp 0x1402810bd
mov ecx, 0x10006
call fcn.14031dcb4
mov qword [rax], r13
lea rdx, [rax + 8]
mov rcx, rsi
mov r9d, 6
mov r8d, 0xfffe
mov rdi, rax
call fcn.1402abdc0
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140281142
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x14028118d
lea ecx, [rbp + 0xb]
call fcn.140293f10
inc r14d
cmp r14d, 0xa
jl 0x140281060
lea r8, str.INVALID_HANDLE_VALUE:_ERROR_SHARING_VIOLATION
mov edx, 0x889
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_src_tier1_fileio.cpp
call fcn.14029bf90
test al, al
jne 0x14028118d
int3
mov r8d, dword [r15 + 0x1c]
lea r9, [rsp + 0xa8]
mov rdx, qword [r15 + 8]
mov rcx, rbp
mov dword [rsp + 0xa8], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test r12b, 1
je 0x140281176
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0xa8]
cmp dword [r15 + 0x1c], eax
sete bl
call fcn.14029bdd0
mov rdx, qword [rsp + 0x40]
xor r8d, r8d
mov rcx, rax
mov r9, qword [rax]
call qword [r9 + 0x38]
test rdi, rdi
je 0x1402811b1
mov rcx, rdi
call fcn.14031dc44
test rsi, rsi
je 0x1402811be
mov rcx, rsi
call fcn.14031dc44
lea r11, [rsp + 0x60]
movzx eax, bl
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140281760
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x40
lea rax, vtable.CPathString.0
mov qword [rsp + 0x30], 0
mov rdx, rcx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
xor r8d, r8d
call fcn.14027f9a0
lea rcx, [rsp + 0x20]
call fcn.14027f760
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x30]
test eax, eax
setne bl
test rcx, rcx
je 0x1402817b2
call fcn.14031dc44
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1402817c1
call fcn.14031dc44
movzx eax, bl
add rsp, 0x40
pop rbx
ret

Function at 0x140281d70
Capabilities:
Hash data using murmur3

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
movzx ebx, r9b
mov r10, rdx
shr r10, 2
dec ebx
or ebx, 0xdfdfdfdf
mov rdi, rdx
lea r9, [rcx + r10*4]
neg r10
je 0x140281df7
mov r11, r9
and r11d, 3
movsxd rax, r10d
lea rdx, [r9 + rax*4]
test r11, r11
jne 0x140281db0
mov eax, dword [rdx]
jmp 0x140281dce
movzx ecx, byte [rdx + 2]
movzx eax, byte [rdx + 3]
shl eax, 8
or eax, ecx
movzx ecx, byte [rdx + 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [rdx]
shl eax, 8
or eax, ecx
and eax, ebx
imul ecx, eax, 0xcc9e2d51
rol ecx, 0xf
imul eax, ecx, 0x1b873593
xor r8d, eax
rol r8d, 0xd
add r8d, 0xfaddaf14
lea r8d, [r8 + r8*4]
add r10, 1
jne 0x140281da0
mov rax, rdi
xor ecx, ecx
and eax, 3
sub rax, 1
je 0x140281e23
sub rax, 1
je 0x140281e19
cmp rax, 1
jne 0x140281e3d
movzx ecx, byte [r9 + 2]
shl ecx, 0x10
movzx eax, byte [r9 + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [r9]
xor eax, ecx
and eax, ebx
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor r8d, eax
mov rbx, qword [rsp + 8]
xor r8d, edi
mov rdi, qword [rsp + 0x10]
mov eax, r8d
shr eax, 0x10
xor eax, r8d
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
ret

Function at 0x1402821b0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rsi, rdx
mov edi, r8d
mov rbx, rcx
mov dword [rsp + 0x30], 0x18
lea rax, [rsp + 0x48]
mov dword [rsp + 0x40], 0
mov edx, 1
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor r9d, r9d
lea rcx, [rsp + 0x48]
xor r8d, r8d
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
xor r9d, r9d
mov qword [rsp + 0x28], 0
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], edi
lea r8d, [r9 + 4]
lea rcx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x140282245
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
xor r9d, r9d
mov word [rbx + 8], 0x101
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rcx, rax
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx], rax
mov rcx, rax
test rax, rax
je 0x140282281
test rsi, rsi
je 0x140282281
mov r8, rdi
mov rdx, rsi
call fcn.1402a92b0
mov rcx, qword [rbx]
lea r11, [rsp + 0x70]
test rcx, rcx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
setne al
mov rsp, r11
pop rdi
ret
Function at 0x14028d920
Capabilities:
Hash data using murmur3

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp dword [rcx + 0x54], 0
mov r14, rdx
mov rdi, rcx
je 0x14028da13
mov r8d, dword [rdx]
mov esi, dword [rcx + 0x18]
shr r8d, 0x10
dec esi
xor r8d, dword [rdx]
mov ebx, esi
imul eax, r8d, 0x85ebca6b
mov r8d, eax
shr r8d, 0xd
xor r8d, eax
imul eax, r8d, 0xc2b2ae35
mov ebp, eax
shr ebp, 0x10
xor ebp, eax
and ebx, ebp
nop dword [rax]
mov rax, qword [rdi + 8]
movsxd rcx, ebx
mov eax, dword [rax + rcx*4]
cmp eax, 0xffffffff
je 0x14028d9b7
mov r8, qword [rdi + 0x40]
mov r9d, dword [r14]
nop word [rax + rax]
movsxd rcx, eax
lea rdx, [rcx + rcx*2]
cmp r9d, dword [r8 + rdx*4]
je 0x14028da18
mov eax, dword [r8 + rdx*4 + 8]
cmp eax, 0xffffffff
jne 0x14028d9a0
sar esi, 1
cmp esi, dword [rdi + 0x64]
jl 0x14028da13
mov ebx, esi
and ebx, ebp
cmp ebx, dword [rdi + 0x5c]
jl 0x14028da13
test ebx, ebx
js 0x14028d9d0
cmp ebx, dword [rdi + 0x20]
jl 0x14028d9ed
lea r8, str.bitNum___0__bitNum___this__Size__
mov edx, 0x14a
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_srcpublic_tier1_bitstring.h
call fcn.14029bf90
test al, al
jne 0x14028d9ed
int3
cmp dword [rdi + 0x24], 1
lea rdx, [rdi + 0x28]
je 0x14028d9fb
mov rdx, qword [rdi + 0x30]
movsxd rax, ebx
mov ecx, ebx
sar rax, 5
and ecx, 0x1f
mov eax, dword [rdx + rax*4]
bt eax, ecx
jae 0x14028d980
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14028da40
Capabilities:
Hash data using murmur3

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp dword [rcx + 0x54], 0
mov r14, rdx
mov rdi, rcx
je 0x14028db55
mov r8, qword [rdx]
mov esi, dword [rdi + 0x18]
imul eax, r8d, 0xcc9e2d51
dec esi
shr r8, 0x20
mov ebx, esi
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r8d
rol eax, 0xd
add eax, 0xfaddaf14
lea eax, [rax + rax*4]
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
imul eax, ecx, 0x85ebca6b
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0xc2b2ae35
mov ebp, eax
shr ebp, 0x10
xor ebp, eax
and ebx, ebp
nop dword [rax]
mov rax, qword [rdi + 8]
movsxd rcx, ebx
mov edx, dword [rax + rcx*4]
cmp edx, 0xffffffff
je 0x14028daf9
mov rcx, qword [rdi + 0x40]
mov r8, qword [r14]
nop word [rax + rax]
movsxd rax, edx
add rax, rax
cmp r8, qword [rcx + rax*8]
je 0x14028db75
mov edx, dword [rcx + rax*8 + 0xc]
cmp edx, 0xffffffff
jne 0x14028dae0
sar esi, 1
cmp esi, dword [rdi + 0x64]
jl 0x14028db55
mov ebx, esi
and ebx, ebp
cmp ebx, dword [rdi + 0x5c]
jl 0x14028db55
test ebx, ebx
js 0x14028db12
cmp ebx, dword [rdi + 0x20]
jl 0x14028db2f
lea r8, str.bitNum___0__bitNum___this__Size__
mov edx, 0x14a
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_srcpublic_tier1_bitstring.h
call fcn.14029bf90
test al, al
jne 0x14028db2f
int3
cmp dword [rdi + 0x24], 1
lea rdx, [rdi + 0x28]
je 0x14028db3d
mov rdx, qword [rdi + 0x30]
movsxd rax, ebx
mov ecx, ebx
sar rax, 5
and ecx, 0x1f
mov eax, dword [rdx + rax*4]
bt eax, ecx
jae 0x14028dac0
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov eax, edx
jmp 0x14028db5a
Function at 0x14028e330
Capabilities:
Hash data using murmur3

Disassembly:
push rbx
push rdi
sub rsp, 0x28
mov edi, dword [rcx + 0x5c]
mov rbx, rcx
cmp edi, dword [rcx + 0x60]
jge 0x14028e3f6
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x20], r15
mov r15d, 4
lea eax, [rdi + 1]
movsxd rsi, edi
mov dword [rbx + 0x5c], eax
mov rax, qword [rbx + 8]
lea r14, [rsi*4]
cmp dword [r14 + rax], 0xffffffff
je 0x14028e3c1
test edi, edi
js 0x14028e385
cmp edi, dword [rbx + 0x20]
jl 0x14028e3a2
lea r8, str.bitNum___0__bitNum___this__Size__
mov edx, 0x14a
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_srcpublic_tier1_bitstring.h
call fcn.14029bf90
test al, al
jne 0x14028e3a2
int3
cmp dword [rbx + 0x24], 1
lea rax, [rbx + 0x28]
je 0x14028e3b0
mov rax, qword [rbx + 0x30]
sar rsi, 5
mov ebp, edi
and ebp, 0x1f
mov eax, dword [rax + rsi*4]
bt eax, ebp
jae 0x14028e3fd
mov edi, dword [rbx + 0x5c]
cmp edi, dword [rbx + 0x60]
jl 0x14028e360
mov eax, dword [rbx + 0x18]
lea rcx, [rbx + 0x20]
mov dword [rbx + 0x5c], eax
xor edx, edx
mov dword [rbx + 0x60], eax
dec eax
mov dword [rbx + 0x64], eax
call fcn.140281ed0
mov r14, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rbx
ret
test edi, edi
js 0x14028e406
cmp edi, dword [rbx + 0x20]
jl 0x14028e423
lea r8, str.bitNum___0__bitNum___this__Size__
mov edx, 0x154
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_srcpublic_tier1_bitstring.h
call fcn.14029bf90
test al, al
jne 0x14028e423
int3
cmp dword [rbx + 0x24], 1
lea rcx, [rbx + 0x28]
je 0x14028e431
mov rcx, qword [rbx + 0x30]
mov eax, dword [rcx + rsi*4]
bts eax, ebp
mov dword [rcx + rsi*4], eax
mov r9, qword [rbx + 8]
add r9, r14
mov r8d, dword [r9]
cmp r8d, 0xffffffff
je 0x14028e4ca
nop
mov rdx, qword [rbx + 0x40]
movsxd rax, r8d
lea rcx, [rax + rax*2]
lea r10, [rcx*4]
add rdx, r10
mov ecx, dword [rdx]
shr ecx, 0x10
xor ecx, dword [rdx]
imul eax, ecx, 0x85ebca6b
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0xc2b2ae35
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
mov eax, dword [rbx + 0x18]
dec eax
and ecx, eax
cmp ecx, edi
je 0x14028e4bd
mov eax, dword [rdx + 8]
mov dword [r9], eax
movsxd rax, ecx
mov rcx, qword [rbx + 0x40]
lea rdx, [rax*4]
mov rax, qword [rbx + 8]
mov eax, dword [rdx + rax]
mov dword [r10 + rcx + 8], eax
mov rax, qword [rbx + 8]
mov dword [rdx + rax], r8d
jmp 0x14028e4c1
lea r9, [rdx + 8]
mov r8d, dword [r9]
cmp r8d, 0xffffffff
jne 0x14028e450
mov edi, dword [rbx + 0x5c]
cmp edi, dword [rbx + 0x60]
jge 0x14028e3c9
sub r15d, 1
jns 0x14028e360
jmp 0x14028e3e2
Function at 0x14028e4f0
Capabilities:
Hash data using murmur3

Disassembly:
push rbx
push rdi
sub rsp, 0x28
mov edi, dword [rcx + 0x5c]
mov rbx, rcx
cmp edi, dword [rcx + 0x60]
jge 0x14028e5b6
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x20], r15
mov r15d, 4
lea eax, [rdi + 1]
movsxd rsi, edi
mov dword [rbx + 0x5c], eax
mov rax, qword [rbx + 8]
lea r14, [rsi*4]
cmp dword [r14 + rax], 0xffffffff
je 0x14028e581
test edi, edi
js 0x14028e545
cmp edi, dword [rbx + 0x20]
jl 0x14028e562
lea r8, str.bitNum___0__bitNum___this__Size__
mov edx, 0x14a
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_srcpublic_tier1_bitstring.h
call fcn.14029bf90
test al, al
jne 0x14028e562
int3
cmp dword [rbx + 0x24], 1
lea rax, [rbx + 0x28]
je 0x14028e570
mov rax, qword [rbx + 0x30]
sar rsi, 5
mov ebp, edi
and ebp, 0x1f
mov eax, dword [rax + rsi*4]
bt eax, ebp
jae 0x14028e5bd
mov edi, dword [rbx + 0x5c]
cmp edi, dword [rbx + 0x60]
jl 0x14028e520
mov eax, dword [rbx + 0x18]
lea rcx, [rbx + 0x20]
mov dword [rbx + 0x5c], eax
xor edx, edx
mov dword [rbx + 0x60], eax
dec eax
mov dword [rbx + 0x64], eax
call fcn.140281ed0
mov r14, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rbx
ret
test edi, edi
js 0x14028e5c6
cmp edi, dword [rbx + 0x20]
jl 0x14028e5e3
lea r8, str.bitNum___0__bitNum___this__Size__
mov edx, 0x154
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_srcpublic_tier1_bitstring.h
call fcn.14029bf90
test al, al
jne 0x14028e5e3
int3
cmp dword [rbx + 0x24], 1
lea rcx, [rbx + 0x28]
je 0x14028e5f1
mov rcx, qword [rbx + 0x30]
mov eax, dword [rcx + rsi*4]
bts eax, ebp
mov dword [rcx + rsi*4], eax
mov r10, qword [rbx + 8]
add r10, r14
mov r9d, dword [r10]
cmp r9d, 0xffffffff
je 0x14028e6ac
nop
mov r8, qword [rbx + 0x40]
movsxd r11, r9d
add r11, r11
mov rcx, qword [r8 + r11*8]
imul eax, ecx, 0xcc9e2d51
shr rcx, 0x20
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, ecx
rol eax, 0xd
add eax, 0xfaddaf14
lea eax, [rax + rax*4]
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
imul eax, ecx, 0x85ebca6b
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0xc2b2ae35
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
mov eax, dword [rbx + 0x18]
dec eax
and ecx, eax
cmp ecx, edi
je 0x14028e697
mov eax, dword [r8 + r11*8 + 0xc]
mov dword [r10], eax
movsxd rax, ecx
mov rcx, qword [rbx + 0x40]
lea rdx, [rax*4]
mov rax, qword [rbx + 8]
mov eax, dword [rdx + rax]
mov dword [rcx + r11*8 + 0xc], eax
mov rax, qword [rbx + 8]
mov dword [rdx + rax], r9d
jmp 0x14028e69f
lea r10, [r8 + 0xc]
lea r10, [r10 + r11*8]
mov r9d, dword [r10]
cmp r9d, 0xffffffff
jne 0x14028e610
mov edi, dword [rbx + 0x5c]
cmp edi, dword [rbx + 0x60]
jge 0x14028e589
sub r15d, 1
jns 0x14028e520
jmp 0x14028e5a2
Function at 0x14028ee70
Capabilities:
Write file on windows

Disassembly:
test r8d, r8d
je 0x14028ef05
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov qword [rsp + 0x30], rdi
mov rbx, rdx
movsxd rdi, r8d
mov rsi, rcx
cmp byte [rdi + rdx - 1], 0
je 0x14028ee9e
cmp byte [rdi + rdx], 0
je 0x14028eebb
lea r8, str.pch_cub___1____0__pch_cub___0
mov edx, 0xb1e
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_srccommonlogger.cpp
call fcn.14029bf90
test al, al
jne 0x14028eebb
int3
mov r9, qword [rsi + 0x128]
mov r8d, 1
mov rdx, rdi
mov rcx, rbx
call fcn.1403355c4
mov rdi, qword [rsp + 0x30]
cmp rax, 1
je 0x14028eefb
lea r8, str.1__ret
mov edx, 0xb3e
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_srccommonlogger.cpp
call fcn.14029bf90
test al, al
jne 0x14028eefb
int3
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret

Function at 0x14028f010
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x420
mov r14, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140293cb0
test al, al
jne 0x14028f054
lea r8, str.ThreadInMainThread__
mov edx, 0xafd
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_srccommonlogger.cpp
call fcn.14029bf90
test al, al
jne 0x14028f054
int3
mov eax, dword [0x14070ef64]
xor esi, esi
test eax, eax
jne 0x14028f064
mov edi, esi
jmp 0x14028f080
lea r8, [rsp + 0x440]
mov edx, recv
lea rcx, str.CLogInstance::WriteToLog
call fcn.14029e460
mov rdi, rax
xor edx, edx
mov qword [rsp + 0x440], rdi
mov r8d, 0x400
lea rcx, [rsp + 0x20]
call fcn.1403224b0
cmp qword [rbx + 0x128], rsi
jne 0x14028f0b4
test rdi, rdi
je 0x14028f1ab
mov rcx, rdi
jmp 0x14028f1a6
cmp byte [rbx + 0x141], sil
je 0x14028f0e9
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rax + rbp], sil
jne 0x14028f0c4
cmp eax, 1
jne 0x14028f0e9
cmp byte [rbp], 0xa
jne 0x14028f0e9
test rdi, rdi
je 0x14028f1ab
mov rcx, rdi
jmp 0x14028f1a6
mov r9, r14
lea rcx, [rsp + 0x20]
mov r8, rbp
mov edx, 0x400
call fcn.1402a9b70
movsxd rdi, eax
cmp edi, 0x3ff
jne 0x14028f116
mov dword [rsp + 0x41b], 0xa2e2e2e
jmp 0x14028f11a
test eax, eax
je 0x14028f18b
lea eax, [rdi - 1]
movsxd rcx, eax
cmp byte [rsp + rcx + 0x20], sil
je 0x14028f12e
cmp byte [rsp + rdi + 0x20], sil
je 0x14028f14b
lea r8, str.pch_cub___1____0__pch_cub___0
mov edx, 0xb1e
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_srccommonlogger.cpp
call fcn.14029bf90
test al, al
jne 0x14028f14b
int3
mov r9, qword [rbx + 0x128]
lea rcx, [rsp + 0x20]
mov r8d, 1
mov rdx, rdi
mov rsi, rdi
call fcn.1403355c4
cmp rax, 1
je 0x14028f18b
lea r8, str.1__ret
mov edx, 0xb3e
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_srccommonlogger.cpp
call fcn.14029bf90
test al, al
jne 0x14028f18b
int3
add qword [rbx + 0x130], rsi
add qword [rbx + 0x138], rsi
mov rcx, qword [rsp + 0x440]
test rcx, rcx
je 0x14028f1ab
call fcn.14029e410
cmp qword [rbx + 0x130], 0x3200000
jb 0x14028f1cd
mov rax, qword [0x1405e0220]
cmp dword [rax + 0x7c], 0
je 0x14028f1cd
mov rcx, rbx
call fcn.14028b0e0
lea r11, [rsp + 0x420]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1402925e0
Capabilities:
Accept command line arguments

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push r14
sub rsp, 0x70
mov rax, qword [0x1405e1740]
mov r14, rcx
test rax, rax
jne 0x1402927c2
mov qword [r11 - 0x10], rbp
mov qword [r11 - 0x38], r15
xor r15d, r15d
mov dword [r11 + 0x10], r15d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x88]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbp, rax
test rax, rax
je 0x1402927b8
mov r8d, dword [rsp + 0x88]
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], rdi
mov edi, r15d
mov qword [rsp + 0x50], r12
lea ecx, [r8 + 1]
movsxd rdx, ecx
lea rsi, [rdx*8 + 8]
test r8d, r8d
jle 0x1402926b9
mov rbx, rax
nop dword [rax + rax]
mov r8, qword [rbx]
mov r9d, 0xffffffff
mov qword [rsp + 0x38], r15
xor edx, edx
mov qword [rsp + 0x30], r15
mov ecx, 0xfde9
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, 1
lea rbx, [rbx + 8]
test eax, eax
cmovg ecx, eax
inc edi
movsxd rax, ecx
add rsi, rax
cmp edi, dword [rsp + 0x88]
jl 0x140292670
lea rdx, [rsi + 1]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
movsxd rcx, dword [rsp + 0x88]
mov r12, rax
mov dword [rsp + 0x90], r15d
mov qword [rax], rcx
lea rdi, [rax + 8]
mov r8d, dword [rsp + 0x88]
lea ecx, [r8 + 1]
movsxd rdx, ecx
lea rbx, [rdi + rdx*8]
test r8d, r8d
jle 0x140292782
mov qword [rsp + 0x48], r13
lea r15, [rdi + rsi]
mov r13, rbp
mov r14, rdi
sub r13, rdi
cmp rbx, r15
jae 0x140292775
mov r8, qword [r14 + r13]
xor ecx, ecx
mov qword [rsp + 0x38], rcx
mov eax, esi
mov qword [rsp + 0x30], rcx
sub eax, ebx
add eax, edi
xor edx, edx
lea r9d, [rcx - 1]
mov dword [rsp + 0x28], eax
mov ecx, 0xfde9
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r14], rbx
mov ecx, 1
test eax, eax
cmovg ecx, eax
add r14, 8
movsxd rax, ecx
add rbx, rax
mov eax, dword [rsp + 0x90]
inc eax
mov dword [rsp + 0x90], eax
cmp eax, dword [rsp + 0x88]
jl 0x140292710
mov r14, qword [rsp + 0x80]
mov r13, qword [rsp + 0x48]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdi, qword [rsp + 0x58]
xor eax, eax
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x98]
lock cmpxchg qword [0x1405e1740], r12
je 0x1402927b3
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r12, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x68]
mov r15, qword [rsp + 0x40]
mov rax, qword [0x1405e1740]
mov ecx, dword [rax]
mov dword [r14], ecx
mov rax, qword [0x1405e1740]
add rax, 8
add rsp, 0x70
pop r14
ret
Function at 0x140292ab0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
mov eax, 0x1038
call fcn.14031e1c0
sub rsp, rax
mov rbx, rcx
lea rdi, [rsp + 0x1058]
call fcn.1400f6f20
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], 0
mov r8d, 0x1000
mov rcx, qword [rax]
or rcx, 1
call fcn.1403305e8
test eax, eax
mov ecx, 0xffffffff
cmovs eax, ecx
test eax, eax
jg 0x140292b36
lea r8, str.len___0
mov edx, 0x2be
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_src_tier0platform.cpp
call fcn.14029bf90
test al, al
jne 0x140292b36
int3
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x1038
pop rdi
pop rbx
ret

Function at 0x140292b60
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
mov r8d, dword [0x140756750]
mov rax, qword gs:[0x58]
mov ecx, 0x480
mov r8, qword [rax + r8*8]
mov eax, dword [rcx + r8]
cmp dword [0x1405e1758], eax
jg 0x140292bd4
mov rax, qword [0x1405e1750]
test rax, rax
je 0x140292bac
mov edx, ebx
mov rcx, rdi
call rax
cmp al, 1
je 0x140292bc9
lea r8, str.bRtlGenRandomOK
mov edx, 0x8000035b
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_src_tier0platform.cpp
call fcn.14029bf90
test al, al
jne 0x140292bc9
int3
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, [0x1405e1758]
call fcn.14031e094
cmp dword [0x1405e1758], 0xffffffff
jne 0x140292b95
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, [0x1404bde70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1405e1750], rax
lea rcx, [0x1405e1758]
call fcn.14031e034
jmp 0x140292b95

Function at 0x140292ca0
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
cmp eax, 0xffffffff
jne 0x140292cd3
lea r8, str.Out_of_thread_local_storage__n
mov edx, 0xb81
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_src_tier0_threadtools.cpp
call fcn.14029bf90
test al, al
jne 0x140292cd3
int3
mov rax, rbx
add rsp, 0x20
pop rbx
ret