joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fe5e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x10
cmp word [0x715360], 1
push ebx
push esi
push edi
jne 0x4fe61e
mov eax, dword [ecx + 8]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [ecx + 0x10]
mov edi, dword [ecx + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x10], eax
jmp 0x4fe721
movzx edx, byte [ecx + 3]
movzx eax, byte [ecx + 2]
movzx ebx, byte [ecx + 7]
movzx esi, byte [ecx + 0xb]
shl edx, 8
or edx, eax
shl esi, 8
movzx eax, byte [ecx + 1]
shl edx, 8
or edx, eax
shl ebx, 8
movzx eax, byte [ecx]
shl edx, 8
or edx, eax
movzx edi, byte [ecx + 0x17]
movzx eax, byte [ecx + 6]
or ebx, eax
shl edi, 8
movzx eax, byte [ecx + 5]
shl ebx, 8
or ebx, eax
movzx eax, byte [ecx + 4]
shl ebx, 8
or ebx, eax
movzx eax, byte [ecx + 0xa]
or esi, eax
movzx eax, byte [ecx + 9]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 8]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0xe]
mov dword [ebp - 4], esi
movzx esi, byte [ecx + 0xf]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0xd]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0xc]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0x12]
mov dword [ebp - 8], esi
movzx esi, byte [ecx + 0x13]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0x11]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0x10]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0x16]
or edi, eax
movzx eax, byte [ecx + 0x15]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0x14]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0x1a]
mov dword [ebp - 0xc], edi
movzx edi, byte [ecx + 0x1b]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0x19]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0x18]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0x1e]
mov dword [ebp - 0x10], edi
movzx edi, byte [ecx + 0x1f]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0x1d]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0x1c]
shl edi, 8
or edi, eax
mov ecx, dword [ebp + 8]
mov eax, edx
and eax, 0x3ffffff
shr edx, 0x1a
mov dword [ecx], eax
mov eax, ebx
shl eax, 6
or edx, eax
shr ebx, 0x13
and edx, 0x1ffffff
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov eax, edx
shl eax, 0xd
or eax, ebx
shr edx, 0xd
mov ebx, dword [ebp - 8]
and eax, 0x3ffffff
mov dword [ecx + 8], eax
mov eax, ebx
shl eax, 0x13
or eax, edx
shr ebx, 6
mov edx, dword [ebp - 0xc]
and eax, 0x1ffffff
mov dword [ecx + 0xc], eax
mov eax, esi
and eax, 0x1ffffff
shr esi, 0x19
mov dword [ecx + 0x14], eax
mov eax, edx
shl eax, 7
or esi, eax
mov dword [ecx + 0x10], ebx
mov ebx, dword [ebp - 0x10]
and esi, 0x3ffffff
mov eax, ebx
shr edx, 0x13
shl eax, 0xd
or eax, edx
shr ebx, 0xc
and eax, 0x1ffffff
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x1c], eax
mov eax, edi
shl eax, 0x14
or eax, ebx
shr edi, 6
and eax, 0x3ffffff
and edi, 0x1ffffff
mov dword [ecx + 0x24], edi
pop edi
pop esi
mov dword [ecx + 0x20], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x528a10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
lea ecx, [ebp + 0x14]
mov edx, 0x811c9dc5
mov eax, dword [edi + 4]
mov dword [ebp + 0x14], eax
movzx eax, byte [ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
lea eax, [ebp + 0x18]
cmp ecx, eax
jne 0x528a27
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
dec ecx
and ecx, edx
cmp dword [eax + ecx*8], 0
lea esi, [eax + ecx*8]
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 4]
jne 0x528a6f
mov eax, dword [esi + 4]
test eax, eax
je 0x528a66
push eax
call fcn.0052cfe0
add esp, 4
test eax, eax
jne 0x528a6f
mov dword [esi], edi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp dword [esi + 4], 0
jne 0x528aa2
push 0x20
push ebx
call fcn.005289b0
add esp, 8
mov dword [esi + 4], eax
test eax, eax
jne 0x528a91
pop edi
pop esi
mov eax, 0xfffffc7b
pop ebx
pop ebp
ret
push ebx
push 4
push 0x5289f0
push eax
call fcn.0052cc30
add esp, 0x10
mov eax, dword [esi]
test eax, eax
je 0x528ac0
push eax
add eax, 4
push eax
push 0
push dword [esi + 4]
call fcn.0052ccb0
add esp, 0x10
test eax, eax
jne 0x528ad2
mov dword [esi], eax
push edi
lea eax, [edi + 4]
push eax
push 0
push dword [esi + 4]
call fcn.0052ccb0
add esp, 0x10
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x528e90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
mov edx, 0x811c9dc5
movzx eax, byte [ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
lea eax, [ebp]
cmp ecx, eax
jne 0x528ea5
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax]
dec ecx
and ecx, edx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
test eax, eax
je 0x528ed8
cmp dword [eax + 4], esi
je 0x528ed3
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
test eax, eax
je 0x528ed1
lea ecx, [ebp + 0xc]
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0052cff0
add esp, 0xc
movq xmm0, qword [eax]
movq qword [ebp - 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 8]
mov dword [ebp - 8], edx
cmp dword [ecx + 8], edx
jne 0x528f0c
cmp dword [ecx], 0
je 0x528ed1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
imul eax, edx
mov eax, dword [eax + ecx + 0x18]
cmp eax, dword [ebp + 0xc]
jne 0x528ed1
lea eax, [ebp - 0x10]
push eax
call fcn.0052cfa0
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x529010
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 4]
mov dword [ebp - 4], edi
mov edx, 0x811c9dc5
movzx eax, byte [ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
lea eax, [ebp]
cmp ecx, eax
jne 0x529024
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi]
dec ecx
and ecx, edx
lea eax, [eax + ecx*8]
mov ecx, dword [eax]
test ecx, ecx
je 0x529061
cmp dword [ecx + 4], edi
jne 0x529084
mov dword [eax], 0
dec dword [esi + 8]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 4]
test eax, eax
je 0x529084
lea ecx, [ebp + 0xc]
push ecx
push 0
push eax
call fcn.0052d0f0
add esp, 0xc
test eax, eax
jne 0x529089
dec dword [esi + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffe0b
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x52d820
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 0x52e7c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d63bd
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.0052dc70
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x52e848
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 0x52e976
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.0054a8dd
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]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
lea edx, [ecx + 1]
mov dword [ebp - 0x10], edx
fild dword [ebp - 0x10]
test edx, edx
jns 0x52e8bd
fadd dword [0x6e6818]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
mov eax, dword [edi + 0x1c]
fild dword [edi + 0x1c]
test eax, eax
jns 0x52e8d3
fadd dword [0x6e6818]
fstp dword [ebp - 0x10]
fdiv dword [ebp - 0x10]
fcompi st(1)
fstp st(0)
ja 0x52e8e4
mov edx, dword [ebp - 0x28]
jmp 0x52e90b
push edx
mov ecx, edi
call fcn.005335c0
push eax
mov ecx, edi
call fcn.00533650
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0052dc70
mov ecx, dword [edi + 8]
mov edx, dword [eax]
mov ebx, dword [edx + 4]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
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 0x52e940
mov dword [ecx + eax*8], esi
jmp 0x52e94f
cmp edi, edx
jne 0x52e949
mov dword [ecx + eax*8], esi
jmp 0x52e953
cmp dword [ecx + eax*8 + 4], ebx
jne 0x52e953
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.00549da3
int3
Function at 0x532490
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, 0x7dc180
cmp edx, dword [0x7dc180]
je 0x5324c4
mov ecx, edx
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x5324c4
pause
push edx
mov ecx, edi
call fcn.0053aa00
jmp 0x5324cb
lock inc dword [0x7dc184]
mov edx, dword [ebp + 8]
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
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, 0x7dc160
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0052dc70
mov eax, dword [eax + 4]
test eax, eax
je 0x5325b2
push esi
mov esi, dword [0x7dc164]
cmp eax, esi
je 0x5325b1
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
imul ecx, edx, 0x1000193
mov edx, dword [0x7dc178]
and edx, ecx
mov ecx, dword [0x7dc16c]
lea edx, [ecx + edx*8]
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x53258b
cmp ecx, eax
jne 0x532583
mov dword [edx], esi
mov dword [edx + 4], esi
jmp 0x532593
mov esi, dword [eax + 4]
mov dword [edx + 4], esi
jmp 0x532593
cmp ecx, eax
jne 0x532593
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
dec dword [0x7dc168]
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.0054a90d
add esp, 8
pop esi
lock dec dword [0x7dc184]
cmp dword [0x7dc184], 0
jne 0x5325c6
xor eax, eax
xchg dword [edi], eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x532ba0
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.00534be0
test al, al
je 0x532bbd
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.00450170
add esp, 0x14
mov byte [ebp - 1], 0
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.00534be0
pop esi
test al, al
jne 0x532c21
lea eax, [ebp - 0x100]
push eax
push 0x80000bd2
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0memstd.cpp
call fcn.00534490
add esp, 0xc
test al, al
jne 0x532c12
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 0x533650
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d68ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x14], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x5337df
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.00533440
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x53379c
mov edi, edi
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp + 8], eax
cmp ebx, esi
jne 0x533721
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x53378f
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x533758
mov eax, dword [eax]
cmp eax, ecx
je 0x533750
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x53378f
cmp ebx, eax
je 0x53376c
lea esp, [esp]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x5337bd
cmp ebx, eax
jne 0x533760
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [ebp - 0x14]
mov ecx, edx
cmp edx, esi
jne 0x5336d0
mov dword [ebp - 0x18], 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 [ecx + 4]
mov eax, dword [eax]
mov dword [ebp + 8], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
jmp 0x53378f
push str.invalid_hash_bucket_count
call fcn.00549da3
int3
Function at 0x533c70
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d68fd
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 0x533e1d
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.0054a90d
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x533d5e
mov eax, dword [ebp - 0x20]
cmp edi, esi
jne 0x533d20
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x533e0d
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x533e0d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x533d70
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x533d73
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x533e0d
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.0054a90d
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x533df1
cmp edi, esi
je 0x533e08
mov eax, dword [ebp + 0xc]
jmp 0x533dc7
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x533e0d
mov edx, dword [ebp - 0x10]
jmp 0x533d80
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 0x534050
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6d697a
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword fs:[0x2c]
mov ecx, dword [0x8563e0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7e1b28]
cmp eax, dword [ecx + 0x480]
jg 0x53409d
mov ecx, dword [ebp - 0xc]
mov eax, 0x7dc1a0
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x7e1b28
call fcn.0054adc1
add esp, 4
cmp dword [0x7e1b28], 0xffffffff
jne 0x53408a
mov dword [ebp - 4], 0
push 0x52edd0
push 0x52eb90
push 0x26
push 0x38
mov dword [0x7dc1a0], 0x73bb04
push 0x7dc5a8
mov dword [0x7dc1a0], 0x73bc00
mov dword [ebp - 0x10], 0x7dc1a8
call fcn.0054b945
mov byte [ebp - 4], 1
mov dword [0x7dcdf8], 0x821b90
mov byte [ebp - 4], 2
push 0x52edd0
push 0x52eb90
push 0x3a
push 0x38
push 0x7e0e00
mov dword [ebp - 0x14], 0x7dce00
call fcn.0054b945
mov byte [ebp - 4], 3
mov dword [0x7e1ab0], 0x7e1b80
mov byte [ebp - 4], 4
mov ecx, 0x7e1ad8
mov dword [0x7e1ab8], 4
mov dword [0x7e1abc], 0
mov dword [0x7e1ac0], 0
mov dword [0x7e1ac8], 0x450df0
mov dword [0x7e1acc], 0
mov dword [0x7e1ad0], 0
mov dword [ebp - 0x18], 0x7e1ad0
mov dword [0x7e1ad4], 0
call fcn.0053a4b0
mov byte [ebp - 4], 6
mov byte [0x7e1af0], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
test eax, eax
je 0x5341e4
push 0x200
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0053e260
lea eax, [ebp - 0x218]
push eax
call fcn.00569182
lea eax, [ebp - 0x218]
push str._RESERVELOWMEM
push eax
call fcn.0054c3d0
add esp, 0x18
push 1
push 0x2000
push 1
push 0xffeeffee
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
jmp 0x5341e4
push 8
push 8
mov dword [0x7e1af4], 0
mov dword [0x7e1af8], 0
mov dword [0x7e1afc], 0
mov dword [0x7e1b00], 0
mov dword [0x7e1b04], 0
mov dword [0x7e1b08], 0
mov dword [0x7e1b0c], 0
mov dword [0x7e1b10], 0
mov dword [0x7e1b14], 0
mov dword [0x7e1b1c], 0
mov dword [0x7e1b20], 0
call fcn.00568fb1
add esp, 8
mov dword [0x7e1ac4], eax
test al, 7
je 0x534285
push str.__size_t__m_nLogicalBytesAllocated____8___0
push 0x7e3
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0memstd.cpp
call fcn.00534490
add esp, 0xc
test al, al
jne 0x534285
int3
mov eax, dword [0x7e1ac4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [ebp - 4], 0
push 0x6df6c0
call fcn.0054ab73
mov dword [ebp - 4], 0xffffffff
push 0x7e1b28
call fcn.0054ad77
add esp, 8
jmp 0x53408a
Function at 0x539a20
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push 0x40
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.0054cfa0
add esp, 0xc
mov dword [ebp - 0x40], 0x40
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x539a5b
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
shrd ecx, eax, 0x14
mov eax, ecx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x539e60
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x82517c], 0
jne 0x539f8c
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x539f8b
mov ecx, dword [ebp - 4]
push esi
xor esi, esi
push edi
lea edi, [ecx*4 + 8]
test ecx, ecx
jle 0x539edc
jmp 0x539eb0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebx + esi*4]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
mov ecx, 1
cmovg ecx, eax
inc esi
add edi, ecx
cmp esi, dword [ebp - 4]
jl 0x539eb0
lea eax, [edi + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
mov dword [eax], ecx
add eax, 4
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea esi, [ecx + 1]
lea esi, [eax + esi*4]
test ecx, ecx
jle 0x539f69
mov edx, ebx
mov dword [ebp - 0xc], eax
sub edx, eax
lea ecx, [eax + edi]
mov dword [ebp - 0x14], edx
mov ebx, eax
lea esp, [esp]
cmp esi, ecx
jae 0x539f66
push 0
push 0
sub eax, esi
add eax, edi
push eax
push esi
push 0xffffffffffffffff
push dword [edx + ebx]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [ebp - 8]
test eax, eax
mov ecx, 1
mov dword [ebx], esi
cmovg ecx, eax
mov eax, dword [ebp - 0x10]
inc edx
add esi, ecx
add ebx, 4
mov dword [ebp - 8], edx
cmp edx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
lea ecx, [eax + edi]
jl 0x539f20
mov ebx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call esi
mov edx, dword [ebp - 0x1c]
mov edi, 0x82517c
mov ecx, edx
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x539f89
push edx
call esi
pop edi
pop esi
pop ebx
mov eax, dword [0x82517c]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [0x82517c]
add eax, 4
mov esp, ebp
pop ebp
ret