joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb288b0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdb1f8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
mov eax, 1
mov dword [ebp - 0x10], edi
mov ecx, 0xffff
mov dword [ebp - 0x14], edi
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], ecx
mov word [edi], cx
lea ecx, [edi + 0x18]
mov dword [ebp - 0x18], ecx
push dword [ebp + 0xc]
mov dword [edi + 2], 0xffffffff
push dword [ebp + 8]
mov word [edi + 6], ax
push 0xc
call fcn.00b797e0
mov dword [ebp - 4], 1
mov eax, dword [edi + 0x1c]
mov dword [edi + 8], eax
mov dword [ebp - 4], 3
lea esi, [edi + 0x30]
push dword [ebp + 0x14]
mov al, byte [ebp + 0x10]
mov ecx, esi
push 0x100
mov dword [ebp + 0x10], esi
push 4
mov byte [edi + 0x28], al
mov dword [ebp + 0xc], esi
call fcn.00b797e0
mov byte [ebp - 4], 5
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0xb2de50
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0xb2de68
cmp dword [ebp + 0xc], 0
jne 0xb2de84
push str.pOldPath__pNewPath
push 0x9e2
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_filesystemBaseFileSystem.cpp
call fcn.00c13fe0
add esp, 0xc
test al, al
jne 0xb2de84
int3
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
test eax, eax
je 0xb2deac
push 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00c24870
lea eax, [ebp - 0x20c]
add esp, 0xc
mov dword [ebp - 4], eax
lea eax, [ebp - 0x310]
mov ecx, esi
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00b2cd70
cmp dword [ebp - 4], 0
jne 0xb2dee4
push str.pOldPathId
push 0x9ef
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_filesystemBaseFileSystem.cpp
call fcn.00c13fe0
add esp, 0xc
test al, al
jne 0xb2dee4
int3
lea eax, [ebp - 0x414]
mov ecx, esi
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00b2cd70
cmp dword [ebp + 0x10], 0
jne 0xb2df1c
push str.pathID
push 0x9f4
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_filesystemBaseFileSystem.cpp
call fcn.00c13fe0
add esp, 0xc
test al, al
jne 0xb2df1c
int3
push dword [ebp - 4]
mov ecx, esi
push dword [ebp + 8]
push 0x104
push 0xeb51e0
call fcn.00b2a770
push dword [ebp + 0x10]
lea eax, [ebp - 0x108]
mov ecx, esi
push dword [ebp + 0xc]
push 0x104
push eax
call fcn.00b2a770
lea eax, [ebp - 0x108]
push eax
push 0xeb51e0
call fcn.00c3a0fa
add esp, 8
test eax, eax
je 0xb2df80
lea eax, [ebp - 0x108]
push eax
push 0xeb51e0
push str.Unable_to_rename__s_to__s__n
push 0xffffffffffffffff
push esi
call fcn.00b2f120
add esp, 0x14
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0xb314c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.00c3b2d6
add esp, 0x10
pop ebp
ret 0xc
Function at 0xb31520
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.00c3be89
add esp, 0x10
pop ebp
ret 0xc

Function at 0xb34630
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdb2abd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.00b34010
mov dword [ebp - 4], 0
xor esi, esi
mov edi, dword [ebp + 8]
test edi, edi
jle 0xb34689
mov ebx, dword [ebp + 0xc]
lea esp, [esp]
mov eax, dword [ebx + esi*4]
test eax, eax
je 0xb34689
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00c21b90
inc esi
add esp, 8
cmp esi, edi
jl 0xb34670
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x68], 0
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x70], 0x44
call fcn.00b342a0
push eax
push 0
call fcn.00c1b170
add esp, 0x28
test eax, eax
je 0xb34749
push dword [ebp - 0x1c]
mov esi, dword [0xdc0210]
call esi
push dword [ebp - 0x18]
call esi
push 0x2a
call fcn.00c3c3d1
int3
Function at 0xb40160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdb408d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
push 0
push 0
push 0
lea ecx, [ebp - 0x34]
call fcn.00b88f50
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
mov ecx, dword [ebp + 8]
push 0
push 1
push eax
call fcn.00b885f0
mov ebx, dword [ebp + 0xc]
push fcn.00c39d9e
push 0xdc4218
push ebx
call fcn.00c1b3d0
mov edi, eax
add esp, 0xc
test edi, edi
je 0xb401ea
push edi
push 1
push dword [ebp - 0x20]
push dword [ebp - 0x30]
call fcn.00c3be89
push edi
mov esi, eax
call fcn.00c39bad
add esp, 0x14
cmp esi, 1
je 0xb4021c
push ecx
mov eax, esp
mov dword [eax], ebx
call fcn.00b7a910
add esp, 4
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x34]
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.00b79910
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov bl, 1
jmp 0xb401ec
Function at 0xb45d80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0xdb4355
push eax
mov dword fs:[0], esp
sub esp, 0x628
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ebx, 0xdc0a80
test edi, edi
jne 0xb45dce
call fcn.00c19c20
test al, al
je 0xb45dbf
mov edi, str.steamdeck_stable
jmp 0xb45dce
call fcn.00c19b00
test al, al
mov edi, str.chromeos_public_88ac3843c888c7adb9cd406fbac4ff7a7d2cde9b
cmove edi, ebx
mov ecx, dword [esi + 0xa8]
mov eax, ebx
test ecx, ecx
mov dword [ebp + 8], ecx
cmovne eax, ecx
mov ecx, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0xb45e00
test dl, dl
je 0xb45dfc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0xb45e00
add ecx, 2
add eax, 2
test dl, dl
jne 0xb45de0
xor eax, eax
jmp 0xb45e05
sbb eax, eax
or eax, 1
test eax, eax
je 0xb45e3a
push 1
push esi
lea eax, [ebp - 0x634]
push 0x30a
push eax
call fcn.00b417e0
add esp, 0xc
lea ecx, [ebp - 0x634]
mov eax, esp
mov dword [eax], ecx
call fcn.00b7a910
mov ecx, dword [esi + 0xa8]
add esp, 4
jmp 0xb45e3d
mov ecx, dword [ebp + 8]
test ecx, ecx
mov eax, ebx
push edi
cmovne eax, ecx
push eax
lea eax, [ebp - 0x1c]
push str.Beta_changed_from__s_to__s_n
push eax
call fcn.00b7eb40
add esp, 0x10
mov dword [ebp - 4], 0
cmp byte [eax + 0xf], 0
jge 0xb45e66
mov eax, dword [eax]
test eax, eax
lea ecx, [esi + 0xd8]
cmovne ebx, eax
push ebx
call fcn.00b44b20
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0xd], 0
jge 0xb45e95
call fcn.00c13ba0
push 0
push dword [ebp - 0x1c]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push edi
lea ecx, [esi + 0xa8]
call fcn.00b7f6a0
push edi
lea ecx, [esi + 0xac]
call fcn.00b7f6a0
push str.package
push str._s_beta
lea eax, [ebp - 0x328]
push 0x30a
push eax
call fcn.00c243b0
lea eax, [ebp - 0x328]
push 0x5c
push eax
call fcn.00c230f0
mov eax, dword [esi + 0xa8]
add esp, 0x18
test eax, eax
je 0xb45f3e
cmp byte [eax], 0
je 0xb45f3e
push fcn.00c39d9e
lea eax, [ebp - 0x328]
push 0xdc0c38
push eax
call fcn.00c1b3d0
mov edi, eax
add esp, 0xc
test edi, edi
je 0xb45f51
mov edx, dword [esi + 0xa8]
test edx, edx
jne 0xb45f1a
xor ecx, ecx
mov edx, 0xdc0a80
jmp 0xb45f29
mov ecx, edx
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0xb45f20
sub ecx, ebx
push edi
push 1
push ecx
push edx
call fcn.00c3be89
push edi
call fcn.00c39bad
add esp, 0x14
jmp 0xb45f51
push ecx
mov eax, esp
lea ecx, [ebp - 0x328]
mov dword [eax], ecx
call fcn.00b7a910
add esp, 4
call fcn.00c0d160
fld qword [esi + 0x88]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0xb45f80
call fcn.00c0d160
fadd qword [0xdc5818]
fstp qword [esi + 0x88]
call fcn.00c27350
mov dword [esi + 0x80], eax
lea ecx, [esi + 0x90]
call fcn.00c1a6b0
mov ecx, esi
call fcn.00c1a460
test al, al
jne 0xb45fa4
cmp byte [esi + 0x57], al
jne 0xb45fa4
push 0
mov ecx, esi
call fcn.00c1a730
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0xb47b80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x20]
test edi, edi
je 0xb47c0c
push ebx
mov eax, dword [edi]
mov dword [esi + 0x20], eax
mov ebx, dword [edi + 0x18]
test ebx, ebx
je 0xb47bf9
mov ecx, esi
call fcn.00b48850
push ebx
push 1
call dword [0xeb6ca0]
push 0xc
push ebx
call fcn.00c2a45d
add esp, 8
cmp dword [esi + 0xc], 0
je 0xb47bf9
dec dword [esi + 0xf4]
cmp dword [esi + 0xf4], 0
jg 0xb47bf9
push 0
push 0
call dword [0xeb6c4c]
push dword [esi + 0xfc]
push dword [esi + 8]
call dword [0xdc03d8]
mov dword [esi + 0xfc], 0
lea eax, [esi + 0xf8]
xor ecx, ecx
xchg dword [eax], ecx
push 0x1c
push edi
call fcn.00c2a45d
mov edi, dword [esi + 0x20]
add esp, 8
test edi, edi
jne 0xb47b90
pop ebx
xor eax, eax
mov dword [esi + 0xec], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
mov ecx, dword [esi + 0xa0]
test ecx, ecx
je 0xb47c8a
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
mov dword [esi + 0xa0], 0
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0xb47ca6
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
mov dword [esi + 0xa4], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0xb47cbb
push eax
call dword [0xeb6c50]
mov dword [esi + 0xc], 0
pop edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
ret

Function at 0xb57d80
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]
imul edx, ecx, 0x1000193
xor eax, 0x811c9dc5
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
xor eax, edx
pop ebp
ret 4
Function at 0xb5fae0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0xca
jne 0xb5fb12
push esi
call fcn.00b635b0
add esp, 4
cmp byte [esi + 0x40], 0
je 0xb5fb0b
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
pop ebp
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
push edi
cmp eax, 0xcb
jne 0xb5fb9e
mov eax, dword [esi + 0x1a0]
cmp byte [eax + 0x10], 0
je 0xb5fb88
lea ecx, [ecx]
mov eax, dword [esi + 8]
test eax, eax
je 0xb5fb3f
mov eax, dword [eax]
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x1a0]
push esi
mov eax, dword [eax]
call eax
add esp, 4
test eax, eax
je 0xb5fb82
cmp eax, 2
je 0xb5fb88
mov ecx, dword [esi + 8]
test ecx, ecx
je 0xb5fb30
cmp eax, 3
je 0xb5fb67
cmp eax, 1
jne 0xb5fb30
inc dword [ecx + 4]
mov edx, dword [esi + 8]
mov edi, dword [edx + 8]
cmp dword [ecx + 4], edi
jl 0xb5fb30
mov eax, dword [esi + 0x120]
add eax, edi
mov dword [edx + 8], eax
jmp 0xb5fb30
pop edi
xor al, al
pop esi
pop ebp
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.00b5fbd0
add esp, 4
pop edi
pop esi
pop ebp
ret
cmp eax, 0xcc
je 0xb5fbc0
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x15
mov ecx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [esi]
mov eax, dword [eax]
call eax
add esp, 4
push esi
call fcn.00b5fbd0
add esp, 4
pop edi
pop esi
pop ebp
ret

Function at 0xb5fbd0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 0x14], 0xcc
je 0xb5fbfe
mov eax, dword [esi + 0x190]
push esi
mov eax, dword [eax]
call eax
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x14], 0xcc
mov eax, dword [esi + 0x190]
cmp byte [eax + 8], 0
je 0xb5fc82
lea ebx, [esi + 0x78]
lea ecx, [ecx]
mov eax, dword [ebx]
cmp eax, dword [esi + 0x60]
jae 0xb5fc56
mov ecx, dword [esi + 8]
test ecx, ecx
je 0xb5fc35
mov dword [ecx + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x60]
push esi
mov dword [ecx + 8], eax
mov eax, dword [esi + 8]
mov eax, dword [eax]
call eax
add esp, 4
mov eax, dword [esi + 0x194]
mov edi, dword [ebx]
push 0
push ebx
mov eax, dword [eax + 4]
push 0
push esi
call eax
mov eax, dword [ebx]
add esp, 0x10
cmp eax, edi
je 0xb5fc99
cmp eax, dword [esi + 0x60]
jb 0xb5fc17
mov eax, dword [esi + 0x190]
push esi
mov eax, dword [eax + 4]
call eax
mov eax, dword [esi + 0x190]
push esi
mov eax, dword [eax]
call eax
mov dword [ebx], 0
add esp, 8
mov eax, dword [esi + 0x190]
cmp byte [eax + 8], 0
jne 0xb5fc10
xor eax, eax
cmp byte [esi + 0x41], al
pop edi
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov al, 1
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret
Function at 0xb69bb0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 0x4c], 1
mov ebx, dword [esi + 0x1b8]
mov dword [ebp - 0x14], ebx
jne 0xb69bd6
mov eax, 0x1fe
mov byte [ebx + 0x1c], 1
jmp 0xb69bdb
xor eax, eax
mov byte [ebx + 0x1c], al
push dword [esi + 0x64]
mov ecx, dword [esi + 4]
mov dword [ebp - 4], eax
add eax, 0x100
push eax
push 1
mov eax, dword [ecx + 8]
push esi
call eax
mov dword [ebx + 0x18], eax
xor edi, edi
mov eax, dword [ebx + 0x14]
add esp, 0x10
cmp dword [esi + 0x64], edi
jle 0xb69cc3
mov ecx, dword [ebx + edi*4 + 0x20]
cdq
idiv ecx
cmp dword [ebp - 4], 0
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
je 0xb69c23
mov eax, dword [ebx + 0x18]
add dword [eax + edi*4], 0xff
mov eax, dword [ebx + 0x18]
xor ebx, ebx
mov eax, dword [eax + edi*4]
mov dword [ebp - 8], eax
lea eax, [ecx - 1]
push eax
push ebx
push edi
push esi
call fcn.00b69f50
add esp, 0x10
mov edx, eax
xor esi, esi
cmp esi, edx
jle 0xb69c5e
mov eax, dword [ebp - 0x10]
inc ebx
dec eax
push eax
push ebx
push edi
push dword [ebp + 8]
call fcn.00b69f50
mov edx, eax
add esp, 0x10
cmp esi, edx
jg 0xb69c45
mov ecx, dword [ebp - 0xc]
movzx eax, bl
movzx ecx, cl
imul ecx, eax
mov eax, dword [ebp - 8]
mov byte [esi + eax], cl
inc esi
cmp esi, 0xff
jle 0xb69c41
cmp dword [ebp - 4], 0
je 0xb69cb0
mov ebx, eax
mov ecx, 1
lea edx, [ebx - 1]
lea esp, [esp]
movzx eax, byte [ebx]
lea edx, [edx - 1]
mov byte [edx + 1], al
movzx eax, byte [ebx + 0xff]
mov byte [ebx + ecx + 0xff], al
inc ecx
cmp ecx, 0xff
jle 0xb69c90
mov esi, dword [ebp + 8]
inc edi
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x14]
cmp edi, dword [esi + 0x64]
jl 0xb69c06
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xb7b950
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], vtable.CPathString.0
mov dword [ebp - 0xc], 0
call fcn.00b7c290
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
mov eax, dword [ebp + 0x1c]
shl ecx, 0x1f
mov edx, ecx
or edx, 0x40000000
mov dword [eax], 0xffffffff
mov eax, ebx
and al, 2
mov eax, 0xc0000000
cmove edx, ecx
cmp ebx, 4
cmove edx, eax
mov eax, edx
or eax, 4
and bl, 8
cmove eax, edx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
cmp eax, 7
ja case.default.0xb7b9ea
jmp dword [eax*4 + 0xb7bafc]
xor edi, edi
jmp 0xb7b9de
mov edi, 1
jmp 0xb7b9de
mov edi, 2
jmp 0xb7b9de
mov edi, 3
jmp 0xb7b9de
mov edi, 7
mov eax, dword [ebp + 0x14]
cmp eax, 3
ja case.default.0xb7b9ea
jmp dword [eax*4 + 0xb7bb1c]
mov ebx, 3
jmp 0xb7ba0b
mov ebx, 4
jmp 0xb7ba0b
mov ebx, 1
jmp 0xb7ba0b
mov ebx, 2
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x18]
and ecx, 1
shl ecx, 0x1e
sub ecx, 0xffffff80
mov edx, ecx
or edx, 0x20000000
and al, 2
cmove edx, ecx
mov ecx, dword [ebp + 0x18]
mov esi, edx
mov eax, ecx
or esi, 0x8000000
and al, 8
cmove esi, edx
test cl, 0x10
je 0xb7ba4a
and esi, 0xffffff7f
or esi, 0x100
mov eax, ecx
mov ecx, esi
or ecx, 0x4000000
and al, 0x20
push 0
cmove ecx, esi
push ecx
push ebx
push 0
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00b7c0c0
push eax
call dword [0xdc01c0]
mov edi, dword [ebp + 0x1c]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0xb7ba86
call dword [0xdc01dc]
mov esi, eax
jmp 0xb7bad0
mov ebx, dword [ebp + 0x18]
mov esi, dword [0xdc027c]
test bl, 4
je 0xb7baad
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0xffffffff
push ecx
push 0
push eax
mov dword [ebp - 4], 0xffffffff
call esi
test bl, bl
jns 0xb7bac7
lea eax, [ebp - 8]
push eax
call dword [0xdc0284]
push 0
push 0
lea eax, [ebp - 8]
push eax
push dword [edi]
call esi
xor esi, esi
jmp 0xb7bad0
mov esi, 0x57
mov eax, dword [ebp - 0xc]
test eax, eax
je 0xb7bae0
push eax
call fcn.00c2a474
add esp, 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0xb7baf0
push eax
call fcn.00c2a474
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xb81260
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov cl, 1
mov eax, dword [esi + 0x11c]
test eax, eax
je 0xb81317
push eax
push 1
push 0xd
push str.Log_stopped._n
call fcn.00c3be89
add esp, 0x10
cmp eax, 1
je 0xb812a6
push str.1__ret
push 0xb68
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
call fcn.00c13fe0
add esp, 0xc
test al, al
jne 0xb812a6
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 0xb812e4
push eax
call fcn.00c3afcd
add esp, 4
test eax, eax
sete bl
test bl, bl
jne 0xb812e6
mov al, bl
pop ebx
pop esi
ret
mov bl, 1
push dword [esi + 0x11c]
call fcn.00c39bad
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 0xb81570
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 0xb815a3
push str.NULL__m_pFile
push 0xc0e
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
call fcn.00c13fe0
add esp, 0xc
test al, al
jne 0xb815a3
int3
cmp byte [esi + 0xc], 0
lea ebx, [esi + 0xc]
jne 0xb815c8
push str.0___m_rgchPrefixFileName_0_
push 0xc11
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
call fcn.00c13fe0
add esp, 0xc
test al, al
jne 0xb815c8
int3
push 0x105
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00c24870
add esp, 0xc
mov edi, 1
mov ecx, esi
call fcn.00b80d70
test al, al
je 0xb81656
push ebx
push str._s.current.txt
lea eax, [ebp - 0x104]
push 0x104
push eax
call fcn.00c243b0
add esp, 0x10
cmp byte [esi], 0
je 0xb81619
push 0
lea ecx, [esi + 0x114]
call fcn.00b7f6a0
lea eax, [ebp - 0x104]
push 0xdc0c38
push eax
call fcn.00c39db5
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 0xb8169e
cmp byte [ebp + 8], 0
je 0xb81693
push 0xfa
push 0
call fcn.00c27330
push eax
call fcn.00c1b080
push edi
lea eax, [ebp - 0x20c]
push eax
push str._s__d
push 0x105
push ebx
call fcn.00c243b0
inc edi
add esp, 0x20
cmp edi, 0x32
jl 0xb815e2
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi], 0
je 0xb816bb
lea eax, [ebp - 0x104]
push eax
lea ecx, [esi + 0x114]
call fcn.00b7f6a0
mov eax, dword [esi + 0x11c]
test eax, eax
je 0xb81713
push dword [esi + 0x11c]
push 1
push 0xd
push str.Log_started._n
call fcn.00c3be89
add esp, 0x10
cmp eax, 1
je 0xb816f7
push str.1__ret
push 0xb68
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonlogger.cpp
call fcn.00c13fe0
add esp, 0xc
test al, al
jne 0xb816f7
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 0xb83550
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 0xb83629
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 0xb835c4
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 0xb8362c
mov eax, dword [edx + ecx*4 + 8]
cmp eax, 0xffffffff
jne 0xb835b0
mov ecx, dword [ebp - 8]
sar ebx, 1
cmp ebx, dword [edi + 0x48]
jl 0xb83629
mov esi, ebx
and esi, ecx
cmp esi, dword [edi + 0x40]
jl 0xb83629
test esi, esi
js 0xb835dd
cmp esi, dword [edi + 0x14]
jl 0xb835f9
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.00c13fe0
add esp, 0xc
test al, al
jne 0xb835f9
int3
cmp dword [edi + 0x18], 1
lea eax, [edi + 0x1c]
je 0xb83605
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 0xb83629
mov ecx, dword [ebp - 8]
jmp 0xb83596
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0xb83640
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 0xb83727
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.00b83740
cmp eax, 0xffffffff
jne 0xb8372a
nop
sar ebx, 1
cmp ebx, dword [edi + 0x48]
jl 0xb83727
mov esi, ebx
and esi, dword [ebp - 8]
cmp esi, dword [edi + 0x40]
jl 0xb83727
test esi, esi
js 0xb836ca
cmp esi, dword [edi + 0x14]
jl 0xb836e6
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.00c13fe0
add esp, 0xc
test al, al
jne 0xb836e6
int3
cmp dword [edi + 0x18], 1
lea eax, [edi + 0x1c]
je 0xb836f2
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 0xb83727
push dword [ebp + 8]
mov ecx, edi
push esi
call fcn.00b83740
cmp eax, 0xffffffff
je 0xb836b0
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