joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4188b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x14]
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x14], eax
shr dword [ebp + 0x14], 0x10
and eax, 0xffff
push esi
mov dword [ebp + 0xc], eax
push edi
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + edx*4]
mov ecx, dword [ebp + 0x14]
mov esi, edi
and edi, 0xffff
shr esi, 0x10
mov edx, edi
imul edx, dword [ebp + 0xc]
mov dword [ebp - 8], esi
imul esi, ecx
sub edi, dword [ebp - 8]
sub ecx, dword [ebp + 0xc]
mov eax, edi
imul eax, ecx
mov dword [ebp - 0xc], ecx
xor edi, dword [ebp - 0xc]
mov ecx, eax
and edi, 0x10000
neg edi
neg ecx
sbb ecx, ecx
and ecx, edi
add eax, esi
cmp eax, esi
sbb edi, edi
add eax, edx
and edi, 0x10000
add ecx, edi
cmp eax, edx
sbb edi, edi
and edi, 0x10000
add ecx, edi
mov edi, eax
shl edi, 0x10
add edx, edi
cmp edx, edi
sbb edi, edi
shr eax, 0x10
neg edi
add edi, ecx
add eax, edi
add esi, eax
mov eax, dword [ebx]
lea ecx, [edx + edx]
add eax, ecx
cmp eax, ecx
sbb edi, edi
neg edi
cmp ecx, edx
sbb ecx, ecx
neg ecx
add ecx, dword [ebp - 4]
mov dword [ebx], eax
add ebx, 4
mov eax, dword [ebx]
lea edx, [ecx + edi]
lea edi, [esi + esi]
add eax, edi
cmp eax, edi
sbb ecx, ecx
neg ecx
cmp edi, esi
sbb esi, esi
add edx, eax
neg esi
add ecx, esi
cmp edx, eax
sbb eax, eax
neg eax
add eax, ecx
inc dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x18]
mov dword [ebx], edx
jl 0x4188dc
add ebx, 4
cmp dword [ebp - 4], 0
pop edi
pop esi
je 0x4189d4
mov edx, dword [ebp + 0x18]
add edx, edx
cmp dword [ebp + 8], edx
jge 0x4189d4
mov eax, dword [ebx]
mov ecx, dword [ebp - 4]
add ecx, eax
cmp ecx, eax
sbb eax, eax
neg eax
mov dword [ebx], ecx
add ebx, 4
inc dword [ebp + 8]
test eax, eax
mov dword [ebp - 4], eax
jne 0x4189b3
pop ebx
leave
ret
Function at 0x419ac3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, dword [ebp + 0x14]
xor edx, edx
cmp edi, edx
je 0x419bdd
mov eax, dword [ebp + 0xc]
mov ecx, eax
and ecx, 7
push ebx
push esi
mov dword [ebp - 4], edx
je 0x419b01
mov ebx, dword [ebp + 8]
mov edx, ecx
mov esi, eax
shr esi, 3
mov bl, byte [esi + ebx]
mov cl, 8
sub cl, dl
shr bl, cl
movzx cx, bl
mov word [ebp - 4], cx
add edi, 7
shr eax, 3
shr edi, 3
xor esi, esi
test edi, edi
mov dword [ebp - 0xc], eax
jle 0x419bdb
lea eax, [edi - 1]
cmp esi, eax
je 0x419b32
mov eax, dword [ebp + 0x10]
movzx ax, byte [esi + eax]
xor ecx, ecx
mov ch, byte [ebp - 4]
xor eax, ecx
add edx, 8
jmp 0x419b62
mov eax, dword [ebp + 0x14]
and eax, 7
mov dword [ebp - 8], 8
je 0x419b44
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
movzx eax, byte [esi + eax]
mov ebx, dword [ebp - 4]
mov cl, 8
sub cl, byte [ebp - 8]
shr al, cl
mov ecx, dword [ebp - 8]
shl ebx, cl
movzx ax, al
or eax, ebx
add edx, ecx
mov dword [ebp - 4], eax
xor ecx, ecx
lea eax, [edi - 1]
cmp esi, eax
setne cl
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
xor eax, eax
cmp edx, 8
setge al
test ecx, eax
jne 0x419b96
xor ecx, ecx
lea eax, [edi - 1]
cmp esi, eax
sete cl
xor ebx, ebx
test edx, edx
setg bl
test ebx, ecx
je 0x419bd2
push 8
pop eax
cmp edx, eax
mov dword [ebp - 8], eax
jg 0x419ba3
mov dword [ebp - 8], edx
mov ebx, dword [ebp - 4]
mov cl, dl
sub cl, byte [ebp - 8]
shr bx, cl
mov ecx, eax
sub ecx, dword [ebp - 8]
mov eax, 0xff00
shl bl, cl
mov ecx, dword [ebp - 8]
sar eax, cl
mov ecx, dword [ebp - 0xc]
and bl, al
mov eax, dword [ebp + 8]
inc dword [ebp - 0xc]
sub edx, dword [ebp - 8]
mov byte [ecx + eax], bl
jmp 0x419b72
inc esi
cmp esi, edi
jl 0x419b1a
pop esi
pop ebx
pop edi
leave
ret
Function at 0x420fca
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x429798
call fcn.0042076c
mov edi, 0x94
mov eax, edi
call fcn.00420220
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x4608f0], ecx
mov eax, dword [esi + 4]
mov dword [0x4608fc], eax
mov edx, dword [esi + 8]
mov dword [0x460900], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x4608f4], esi
cmp ecx, 2
je 0x42102a
or esi, 0x8000
mov dword [0x4608f4], esi
shl eax, 8
add eax, edx
mov dword [0x4608f8], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x421065
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x421065
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x42107d
cmp eax, 0x20b
je 0x42106a
mov dword [ebp - 0x1c], esi
jmp 0x421091
cmp dword [ecx + 0x84], 0xe
jbe 0x421065
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x42108b
cmp dword [ecx + 0x74], 0xe
jbe 0x421065
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.00423fcd
pop ecx
test eax, eax
jne 0x4210bd
cmp dword [0x4608d0], 1
jne 0x4210aa
call fcn.00423782
push 0x1c
call fcn.0042360b
push 0xff
call fcn.004217f5
pop ecx
pop ecx
call fcn.00423f2b
mov dword [ebp - 4], esi
call fcn.00423d80
test eax, eax
jge 0x4210d6
push 0x1b
call fcn.00420fa5
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x461ed0], eax
call fcn.00423c5e
mov dword [0x4608c8], eax
call fcn.00423bbc
test eax, eax
jge 0x4210fc
push 8
call fcn.00420fa5
pop ecx
call fcn.00423989
test eax, eax
jge 0x42110d
push 9
call fcn.00420fa5
pop ecx
push 1
call fcn.00421825
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x421123
push eax
call fcn.00420fa5
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0042392c
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x421144
movzx eax, word [ebp - 0x40]
jmp 0x421147
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0040cace
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x421165
push edi
call fcn.00421950
call fcn.00421972
jmp 0x421197
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.004207a7
ret
Function at 0x421ce2
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x421d10
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x421d17
cmp ebx, dword [eax + 4]
jae 0x421d17
xor eax, eax
jmp 0x421f07
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x421d28
xor eax, eax
inc eax
jmp 0x421f06
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x421d3e
cmp ecx, edx
jae 0x421e83
cmp dword [eax + 4], 0
je 0x421d47
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x421d2f
cmp dword [ebp + 8], 0
je 0x421d69
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x421e83
cmp eax, esi
jae 0x421e83
mov eax, dword [0x460938]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x421d8e
cmp dword [esi*4 + 0x460940], edi
je 0x421e87
inc esi
cmp esi, eax
jl 0x421d7c
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x421f03
cmp dword [ebp - 8], 0x1000000
jne 0x421f03
test byte [ebp - 0xc], 0xcc
je 0x421e0c
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x421f03
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x421f03
cmp word [eax + 0x18], 0x10b
jne 0x421f03
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x421f03
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x421e0c
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x421e0c
test byte [ecx + 0x27], 0x80
jne 0x421e83
push 1
push 0x460980
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x421d20
mov ecx, dword [0x460938]
test ecx, ecx
mov edx, ecx
jle 0x421e40
lea eax, [ecx*4 + 0x46093c]
cmp dword [eax], edi
je 0x421e40
dec edx
sub eax, 4
test edx, edx
jg 0x421e34
test edx, edx
jne 0x421e71
push 0xf
pop ebx
cmp ecx, ebx
jg 0x421e4d
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x421e65
lea eax, [edx*4 + 0x460940]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x421e53
cmp ecx, 0x10
jge 0x421e71
inc ecx
mov dword [0x460938], ecx
push 0
push 0x460980
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x421d20
xor eax, eax
jmp 0x421f06
test esi, esi
jle 0x421d20
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x460980
call ebx
test eax, eax
jne 0x421d20
cmp dword [esi*4 + 0x460940], edi
je 0x421edd
mov eax, dword [0x460938]
lea esi, [eax - 1]
test esi, esi
jl 0x421ecb
cmp dword [esi*4 + 0x460940], edi
je 0x421ec7
dec esi
jns 0x421ebb
test esi, esi
jge 0x421edb
cmp eax, 0x10
jge 0x421ed6
inc eax
mov dword [0x460938], eax
lea esi, [eax - 1]
jmp 0x421edd
je 0x421ef5
xor ecx, ecx
test esi, esi
jl 0x421ef5
lea eax, [ecx*4 + 0x460940]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x421ee3
push 0
push 0x460980
call ebx
jmp 0x421d20
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401890
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 0x402930
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430bbd
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.00401d40
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4029b8
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 0x402ad8
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.004149d1
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 0x402a25
fadd dword [0x432f84]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
mov eax, dword [edi + 0x1c]
fild dword [edi + 0x1c]
test eax, eax
jns 0x402a3b
fadd dword [0x432f84]
fstp dword [ebp - 0x10]
fdiv dword [ebp - 0x10]
fcompi st(1)
fstp st(0)
jbe 0x402a6d
push ecx
mov ecx, edi
call fcn.00407b70
push eax
mov ecx, edi
call fcn.00407c00
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401d40
mov edx, dword [eax]
jmp 0x402a70
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 0x402aa2
mov dword [ecx + eax*8], esi
jmp 0x402ab1
cmp edi, edx
jne 0x402aab
mov dword [ecx + eax*8], esi
jmp 0x402ab5
cmp dword [ecx + eax*8 + 4], ebx
jne 0x402ab5
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.004145dd
int3
Function at 0x406a40
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, 0x441c54
cmp edx, dword [0x441c54]
je 0x406a79
mov ecx, edx
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
sete al
test al, al
jne 0x406a79
pause
push edx
mov ecx, edi
call fcn.0040a910
jmp 0x406a80
lock inc dword [0x441c58]
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, 0x441c34
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00401d40
mov esi, dword [0x441c38]
mov ecx, dword [eax + 4]
test ecx, ecx
mov eax, esi
cmovne eax, ecx
cmp eax, esi
je 0x406b62
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 [0x441c40]
imul edx, edx, 0x1000193
and edx, dword [0x441c4c]
lea edx, [ecx + edx*8]
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x406b3c
cmp ecx, eax
jne 0x406b34
mov dword [edx], esi
mov dword [edx + 4], esi
jmp 0x406b44
mov esi, dword [eax + 4]
mov dword [edx + 4], esi
jmp 0x406b44
cmp ecx, eax
jne 0x406b44
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
dec dword [0x441c3c]
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.00414a01
add esp, 8
lock dec dword [0x441c58]
cmp dword [0x441c58], 0
pop esi
jne 0x406b77
xor eax, eax
xchg dword [edi], eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x407160
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.00409180
test al, al
je 0x40717d
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.004017f0
add esp, 0x14
mov byte [ebp - 1], 0
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.00409180
pop esi
test al, al
jne 0x4071e1
lea eax, [ebp - 0x100]
push eax
push 0x80000bd2
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0memstd.cpp
call fcn.004089b0
add esp, 0xc
test al, al
jne 0x4071d2
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 0x407c00
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43112d
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 0x407d91
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.00407a00
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 0x407d4c
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 0x407cd2
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x407d42
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x407d0c
mov edx, dword [edx]
mov dword [ebp - 0x18], edx
cmp edx, eax
je 0x407d04
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 0x407d3f
cmp edi, edx
je 0x407d1c
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x407d6d
cmp edi, edx
jne 0x407d10
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 0x407c81
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 0x407d3f
push str.invalid_hash_bucket_count
call fcn.004145dd
int3
Function at 0x408180
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43116d
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 0x40832d
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.00414a01
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x40826e
mov eax, dword [ebp - 0x20]
cmp edi, esi
jne 0x408230
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x40831d
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x40831d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x408280
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x408283
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x40831d
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.00414a01
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x408301
cmp edi, esi
je 0x408318
mov eax, dword [ebp + 0xc]
jmp 0x4082d7
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x40831d
mov edx, dword [ebp - 0x10]
jmp 0x408290
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 0x408530
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4311ea
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4bcd20]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x447600]
cmp eax, dword [ecx + 4]
jg 0x40857d
mov ecx, dword [ebp - 0xc]
mov eax, 0x441c78
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x447600
call fcn.00414cdc
add esp, 4
cmp dword [0x447600], 0xffffffff
jne 0x40856a
mov dword [ebp - 4], 0
push 0x403110
push 0x402d20
push 0x26
push 0x38
mov dword [0x441c78], 0x432470
push 0x442080
mov dword [0x441c78], 0x432570
mov dword [ebp - 0x10], 0x441c80
call fcn.00414848
mov byte [ebp - 4], 1
mov dword [0x4428d0], 0x487668
mov byte [ebp - 4], 2
push 0x403110
push 0x402d20
push 0x3a
push 0x38
push 0x4468d8
mov dword [ebp - 0x14], 0x4428d8
call fcn.00414848
mov byte [ebp - 4], 3
mov dword [0x447588], 0x447658
mov byte [ebp - 4], 4
mov ecx, 0x4475b0
mov dword [0x447590], 4
mov dword [0x447594], 0
mov dword [0x447598], 0
mov dword [0x4475a0], 0x4046b0
mov dword [0x4475a4], 0
mov dword [0x4475a8], 0
mov dword [ebp - 0x18], 0x4475a8
mov dword [0x4475ac], 0
call fcn.0040a770
mov byte [ebp - 4], 6
mov byte [0x4475c8], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
test eax, eax
je 0x4086c4
push 0x200
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0040af80
lea eax, [ebp - 0x218]
push eax
call fcn.0041ffd0
lea eax, [ebp - 0x218]
push str._RESERVELOWMEM
push eax
call fcn.00415730
add esp, 0x18
push 1
push 0x2000
push 1
push 0xffeeffee
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
jmp 0x4086c4
push 8
push 8
mov dword [0x4475cc], 0
mov dword [0x4475d0], 0
mov dword [0x4475d4], 0
mov dword [0x4475d8], 0
mov dword [0x4475dc], 0
mov dword [0x4475e0], 0
mov dword [0x4475e4], 0
mov dword [0x4475e8], 0
mov dword [0x4475ec], 0
mov dword [0x4475f4], 0
mov dword [0x4475f8], 0
call fcn.0041fc8c
add esp, 8
mov dword [0x44759c], eax
test al, 7
je 0x408765
push str.__size_t__m_nLogicalBytesAllocated____8___0
push 0x7e3
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0memstd.cpp
call fcn.004089b0
add esp, 0xc
test al, al
jne 0x408765
int3
mov eax, dword [0x44759c]
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [ebp - 4], 0
push 0x431920
call fcn.00414c4b
mov dword [ebp - 4], 0xffffffff
push 0x447600
call fcn.00414c8b
add esp, 8
jmp 0x40856a

Function at 0x4089b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00408b60