joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008b670
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 0x1008b6a3
push str.NULL__m_pFile
push 0xbcb
push str.C:_buildworker_steam_rel_client_win32_build_srccommonlogger.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x1008b6a3
int3
cmp byte [esi + 0xc], 0
lea ebx, [esi + 0xc]
jne 0x1008b6c8
push str.0___m_rgchPrefixFileName_0_
push 0xbce
push str.C:_buildworker_steam_rel_client_win32_build_srccommonlogger.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x1008b6c8
int3
push 0x105
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.100bb8d0
add esp, 0xc
mov edi, 1
mov ecx, esi
call fcn.1008aea0
test al, al
je 0x1008b756
push ebx
push str._s.current.txt
lea eax, [ebp - 0x104]
push 0x104
push eax
call fcn.100bb550
add esp, 0x10
cmp byte [esi], 0
je 0x1008b719
push 0
lea ecx, [esi + 0x114]
call fcn.10077780
lea eax, [ebp - 0x104]
push 0x1025c3bc
push eax
call fcn.100cd77b
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 0x1008b79e
cmp byte [ebp + 8], 0
je 0x1008b793
push 0xfa
push 0
call fcn.100bf3b0
push eax
call fcn.100afaa0
push edi
lea eax, [ebp - 0x20c]
push eax
push str._s__d
push 0x105
push ebx
call fcn.100bb550
inc edi
add esp, 0x20
cmp edi, 0x32
jl 0x1008b6e2
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi], 0
je 0x1008b7b5
lea eax, [ebp - 0x104]
push eax
lea ecx, [esi + 0x114]
call fcn.10077780
cmp dword [esi + 0x11c], 0
je 0x1008b837
cmp byte [0x1025c3cd], 0
je 0x1008b7e3
push str.pch_cub___1____0__pch_cub___0
push 0xb05
push str.C:_buildworker_steam_rel_client_win32_build_srccommonlogger.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x1008b7e3
int3
push dword [esi + 0x11c]
push 1
push 0xd
push str.Log_started._n
call fcn.100cd9b1
add esp, 0x10
cmp eax, 1
je 0x1008b81b
push str.1__ret
push 0xb25
push str.C:_buildworker_steam_rel_client_win32_build_srccommonlogger.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x1008b81b
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 0x1008e3d0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
call fcn.100af870
test al, al
jne 0x1008e3f8
push str.ThreadInMainThread__
push 0xac4
push str.C:_buildworker_steam_rel_client_win32_build_srccommonlogger.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x1008e3f8
int3
call fcn.100af870
test al, al
jne 0x1008e41d
push str.ThreadInMainThread__
push 0xace
push str.C:_buildworker_steam_rel_client_win32_build_srccommonlogger.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x1008e41d
int3
mov ecx, esi
pop esi
jmp fcn.1008b320
Function at 0x1008e500
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 0x1008e56f
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + esi - 1], 0
je 0x1008e51f
cmp byte [edi + esi], 0
je 0x1008e53b
push str.pch_cub___1____0__pch_cub___0
push 0xb05
push str.C:_buildworker_steam_rel_client_win32_build_srccommonlogger.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x1008e53b
int3
push dword [ebx + 0x11c]
push 1
push esi
push edi
call fcn.100cd9b1
add esp, 0x10
pop edi
cmp eax, 1
je 0x1008e56f
push str.1__ret
push 0xb25
push str.C:_buildworker_steam_rel_client_win32_build_srccommonlogger.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x1008e56f
int3
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10091580
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
push edi
movzx edi, byte [ebp + 0x14]
shr ecx, 2
dec edi
mov dword [ebp - 4], ecx
or edi, 0xdfdfdfdf
lea ebx, [eax + ecx*4]
neg ecx
mov dword [ebp + 0x14], ebx
je 0x1009163e
test bl, 3
jne 0x100915e9
jmp 0x100915c0
mov eax, dword [ebx + ecx*4]
and eax, edi
imul eax, eax, 0xcc9e2d51
ror eax, 0x11
imul eax, eax, 0x1b873593
xor edx, eax
ror edx, 0x13
add edx, 0xfaddaf14
lea edx, [edx + edx*4]
add ecx, 1
jne 0x100915c0
jmp 0x1009163e
lea esi, [ebx + 2]
mov ebx, dword [ebp - 4]
lea esi, [esi + ecx*4]
movzx ecx, byte [esi + 1]
lea esi, [esi + 4]
movzx eax, byte [esi - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 6]
shl ecx, 8
or ecx, eax
and ecx, edi
imul eax, ecx, 0xcc9e2d51
ror eax, 0x11
imul eax, eax, 0x1b873593
xor edx, eax
ror edx, 0x13
add edx, 0xfaddaf14
lea edx, [edx + edx*4]
sub ebx, 1
jne 0x100915f2
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov eax, esi
xor ecx, ecx
and eax, 3
sub eax, 1
je 0x10091664
sub eax, 1
je 0x1009165b
sub eax, 1
jne 0x1009167c
movzx ecx, byte [ebx + 2]
shl ecx, 0x10
movzx eax, byte [ebx + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [ebx]
xor eax, ecx
and eax, edi
imul eax, eax, 0xcc9e2d51
ror eax, 0x11
imul eax, eax, 0x1b873593
xor edx, eax
xor edx, esi
mov eax, edx
shr eax, 0x10
xor eax, edx
imul ecx, eax, 0x85ebca6b
pop edi
pop esi
pop ebx
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x100a6d10
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 4]
xor eax, 0x811c9dc5
imul edx, ecx, 0x1000193
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 5]
xor ecx, eax
movzx eax, byte [esi + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 7]
imul ecx, ecx, 0x1000193
pop esi
xor ecx, eax
imul eax, ecx, 0x1000193
add eax, eax
xor eax, edx
pop ebp
ret 4
Function at 0x100a7db0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102420fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.100a71c0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x100a7e38
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0x9249249
je 0x100a7f58
lea eax, [edi + 4]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
push 0x1c
mov dword [ebp - 0x1c], 0
call fcn.100c162c
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [esi + 8], ecx
xor ecx, ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
mov dword [ebp - 4], 1
mov ecx, dword [edi + 8]
fld dword [edi]
add ecx, 1
mov dword [ebp - 0x10], ecx
fild dword [ebp - 0x10]
jns 0x100a7ea5
fadd dword [0x10250fd8]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
mov eax, dword [edi + 0x1c]
fild dword [edi + 0x1c]
test eax, eax
jns 0x100a7ebb
fadd dword [0x10250fd8]
fstp dword [ebp - 0x10]
fdiv dword [ebp - 0x10]
fcompi st(1)
fstp st(0)
jbe 0x100a7eed
push ecx
mov ecx, edi
call fcn.100acc00
push eax
mov ecx, edi
call fcn.100acc90
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100a71c0
mov edx, dword [eax]
jmp 0x100a7ef0
mov edx, dword [ebp - 0x28]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x18]
jne 0x100a7f22
mov dword [ecx + eax*8], esi
jmp 0x100a7f31
cmp edi, edx
jne 0x100a7f2b
mov dword [ecx + eax*8], esi
jmp 0x100a7f35
cmp dword [ecx + eax*8 + 4], ebx
jne 0x100a7f35
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.100c0b23
int3
Function at 0x100abae0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov edi, 0x1042894c
cmp edx, dword [0x1042894c]
je 0x100abb19
mov ecx, edx
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
sete al
test al, al
jne 0x100abb19
pause
push edx
mov ecx, edi
call fcn.100aed30
jmp 0x100abb20
lock inc dword [0x10428950]
movzx eax, byte [ebp + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebp + 9]
push esi
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x1042892c
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.100a71c0
mov esi, dword [0x10428930]
mov ecx, dword [eax + 4]
test ecx, ecx
mov eax, esi
cmovne eax, ecx
cmp eax, esi
je 0x100abc02
movzx ecx, byte [eax + 8]
xor ecx, 0x811c9dc5
imul edx, ecx, 0x1000193
movzx ecx, byte [eax + 9]
xor edx, ecx
movzx ecx, byte [eax + 0xa]
imul edx, edx, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
mov ecx, dword [0x10428938]
imul edx, edx, 0x1000193
and edx, dword [0x10428944]
lea edx, [ecx + edx*8]
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x100abbdc
cmp ecx, eax
jne 0x100abbd4
mov dword [edx], esi
mov dword [edx + 4], esi
jmp 0x100abbe4
mov esi, dword [eax + 4]
mov dword [edx + 4], esi
jmp 0x100abbe4
cmp ecx, eax
jne 0x100abbe4
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
dec dword [0x10428934]
mov ecx, dword [eax + 4]
push 0x1c
push eax
mov dword [ecx], edx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
call fcn.100c15fb
add esp, 8
lock dec dword [0x10428950]
cmp dword [0x10428950], 0
pop esi
jne 0x100abc17
xor eax, eax
xchg dword [edi], eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x100ac1f0
Capabilities:
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
mov esi, dword [ebp + 8]
mov dword [ecx + 0x592c], esi
call fcn.100ae1c0
test al, al
je 0x100ac20d
int3
push 0
push esi
push str._OUT_OF_MEMORY__attempted_allocation_size:__llu__n
lea eax, [ebp - 0x100]
push 0x100
push eax
call fcn.10060580
add esp, 0x14
mov byte [ebp - 1], 0
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.100ae1c0
pop esi
test al, al
jne 0x100ac271
lea eax, [ebp - 0x100]
push eax
push 0x80000bd2
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0memstd.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x100ac262
int3
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esp, ebp
pop ebp
ret 4
Function at 0x100acc90
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024260d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x10], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x100ace21
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.100aca90
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x100acddc
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x14], edx
cmp edi, esi
jne 0x100acd62
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x100acdd2
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x100acd9c
mov edx, dword [edx]
mov dword [ebp - 0x18], edx
cmp edx, eax
je 0x100acd94
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0x18]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], eax
jmp 0x100acdcf
cmp edi, edx
je 0x100acdac
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x100acdfd
cmp edi, edx
jne 0x100acda0
mov ebx, dword [eax + 4]
mov dword [ebp - 0x18], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 0x18]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 0x10]
mov eax, ecx
cmp ecx, esi
jne 0x100acd11
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0x18], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x100acdcf
push str.invalid_hash_bucket_count
call fcn.100c0b23
int3
Function at 0x100ad1e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024264d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp edx, esi
je 0x100ad38d
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
push edi
mov edi, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
lea ebx, [ebx]
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x1c
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.100c15fb
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x100ad2ce
mov eax, dword [ebp - 0x20]
cmp edi, esi
jne 0x100ad290
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x100ad37d
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x100ad37d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x100ad2e0
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x100ad2e3
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x100ad37d
mov edi, edi
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], eax
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x1c
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.100c15fb
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x100ad361
cmp edi, esi
je 0x100ad378
mov eax, dword [ebp + 0xc]
jmp 0x100ad337
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x100ad37d
mov edx, dword [ebp - 0x10]
jmp 0x100ad2f0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
mov dword [edi + 4], eax
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x100ad570
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x102426ca
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword fs:[0x2c]
mov ecx, dword [0x104a28d4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1042e2f8]
cmp eax, dword [ecx + 0x480]
jg 0x100ad5bd
mov ecx, dword [ebp - 0xc]
mov eax, 0x10428970
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x1042e2f8
call fcn.100c16d8
add esp, 4
cmp dword [0x1042e2f8], 0xffffffff
jne 0x100ad5aa
mov dword [ebp - 4], 0
push 0x100a83e0
push 0x100a81a0
push 0x26
push 0x38
mov dword [0x10428970], 0x1029388c
push 0x10428d78
mov dword [0x10428970], 0x1029398c
mov dword [ebp - 0x10], 0x10428978
call fcn.100c21c5
mov byte [ebp - 4], 1
mov dword [0x104295c8], 0x1046e360
mov byte [ebp - 4], 2
push 0x100a83e0
push 0x100a81a0
push 0x3a
push 0x38
push 0x1042d5d0
mov dword [ebp - 0x14], 0x104295d0
call fcn.100c21c5
mov byte [ebp - 4], 3
mov dword [0x1042e280], 0x1042e350
mov byte [ebp - 4], 4
mov ecx, 0x1042e2a8
mov dword [0x1042e288], 4
mov dword [0x1042e28c], 0
mov dword [0x1042e290], 0
mov dword [0x1042e298], 0x1004b930
mov dword [0x1042e29c], 0
mov dword [0x1042e2a0], 0
mov dword [ebp - 0x18], 0x1042e2a0
mov dword [0x1042e2a4], 0
call fcn.100ae700
mov byte [ebp - 4], 6
mov byte [0x1042e2c0], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
test eax, eax
je 0x100ad704
push 0x200
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.100b7020
lea eax, [ebp - 0x218]
push eax
call fcn.100dcc86
lea eax, [ebp - 0x218]
push str._RESERVELOWMEM
push eax
call fcn.100c3720
add esp, 0x18
push 1
push 0x2000
push 1
push 0xffeeffee
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
jmp 0x100ad704
push 8
push 8
mov dword [0x1042e2c4], 0
mov dword [0x1042e2c8], 0
mov dword [0x1042e2cc], 0
mov dword [0x1042e2d0], 0
mov dword [0x1042e2d4], 0
mov dword [0x1042e2d8], 0
mov dword [0x1042e2dc], 0
mov dword [0x1042e2e0], 0
mov dword [0x1042e2e4], 0
mov dword [0x1042e2ec], 0
mov dword [0x1042e2f0], 0
call fcn.100dca94
add esp, 8
mov dword [0x1042e294], eax
test al, 7
je 0x100ad7a5
push str.__size_t__m_nLogicalBytesAllocated____8___0
push 0x7e3
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0memstd.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x100ad7a5
int3
mov eax, dword [0x1042e294]
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [ebp - 4], 0
push 0x1024b390
call fcn.100c15b8
mov dword [ebp - 4], 0xffffffff
push 0x1042e2f8
call fcn.100c1687
add esp, 8
jmp 0x100ad5aa

Function at 0x100ad9f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.100adba0
Function at 0x100ae6d0
Capabilities:
Allocate thread local storage

Disassembly:
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x100ae6fc
push str.Out_of_thread_local_storage__n
push 0xaf8
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x100ae6fc
int3
mov eax, esi
pop esi
ret

Function at 0x100ae7d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x102420c0
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 4], 0
mov dword [esi], vtable.CThread.0
je 0x100ae968
mov eax, dword [esi + 0xc]
mov edi, 0x32
cmp eax, 0xffffffff
sete bl
jmp 0x100ae810
test bl, bl
je 0x100ae870
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
sete bl
sub edi, 1
jne 0x100ae810
cmp eax, 0xffffffff
jne 0x100ae870
cmp byte [esi + 0x10], 0
lea edi, [esi + 0x10]
jne 0x100ae853
push dword [esi + 8]
push dword [esi + 4]
push esi
push str.Thread_0x_p_0x_p_0x_x_
push 0x1f
push edi
call fcn.10060580
add esp, 0x18
mov byte [esi + 0x2f], 0
push edi
push str.Illegal_termination_of_worker_thread__s
push 0xdf5
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.100ada00
add esp, 0x10
test al, al
jne 0x100ae870
int3
mov eax, dword [0x1046f7e4]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 0xffffffff
je 0x100ae8a8
push eax
call edi
cmp eax, esi
jne 0x100ae8a3
push str.Deleting_thread_object_from_the_thread__this_is_bad
push 0xdf6
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x100ae8a3
int3
mov eax, dword [0x1046f7e4]
test bl, bl
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x100ae950
cmp eax, 0xffffffff
je 0x100ae8cb
push eax
call edi
cmp eax, esi
je 0x100ae950
mov eax, dword [0x1046f7e4]
cmp dword [esi + 4], 0
je 0x100ae950
cmp eax, 0xffffffff
je 0x100ae8f9
push eax
call edi
cmp eax, esi
jne 0x100ae8f9
push str.Thread_cannot_be_joined_with_self
push 0xee5
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x100ae8f9
int3
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x100ae950
test eax, eax
je 0x100ae93c
cmp eax, 0xffffffff
je 0x100ae93c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x100ae93c
push 0x1024cb88
push 0xeee
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x100ae950
int3
mov eax, dword [esi + 4]
push eax
mov dword [esi + 4], 0
call ebx
mov dword [esi + 8], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100ae961
push eax
call ebx
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret