joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40345c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x15c]
mov esi, 0x405253
push ebx
sub esp, 0x17c
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x11c], 0
mov eax, dword [0x407040]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov eax, 0x10
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x118]
mov eax, ecx
mov ecx, 0x3f
rep stosd dword es:[edi], eax
movzx edx, byte [ebp + eax - 0x15c]
mov byte [ebp + edx - 0x11c], al
inc eax
cmp eax, 0x40
jne 0x4034a2
xor edx, edx
test byte [ebp + 0xc], 3
jne 0x40363a
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
shr edx, 2
cmp byte [ebx + eax - 1], 0x3d
lea edx, [edx + edx*2]
jne 0x4034d7
dec edx
mov eax, dword [ebp + 0xc]
cmp byte [ebx + eax - 2], 0x3d
jne 0x4034e2
dec edx
lea eax, [edx + 0xf]
shr eax, 4
shl eax, 4
call fcn.00402954
mov ecx, 0
mov dword [ebp - 0x170], 0
sub esp, eax
test edx, edx
cmovns ecx, edx
mov edi, esp
xor eax, eax
mov dword [ebp - 0x174], esp
xor esi, esi
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x170]
cmp eax, dword [ebp + 0xc]
jb 0x403530
mov esi, dword [ebp - 0x174]
mov edi, ebx
mov ecx, edx
rep movsb byte es:[edi], byte [esi]
jmp 0x40363a
mov eax, dword [ebp - 0x170]
xor edi, edi
movzx eax, byte [ebx + eax]
cmp al, 0x3d
je 0x403548
movzx edi, byte [ebp + eax - 0x11c]
mov dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x170]
movzx eax, byte [ebx + eax + 1]
cmp al, 0x3d
je 0x40356f
movzx eax, byte [ebp + eax - 0x11c]
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x170]
movzx eax, byte [ebx + eax + 2]
cmp al, 0x3d
je 0x403596
movzx eax, byte [ebp + eax - 0x11c]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x170]
xor ecx, ecx
add dword [ebp - 0x170], 4
movzx eax, byte [ebx + eax + 3]
cmp al, 0x3d
je 0x4035b8
movzx eax, byte [ebp + eax - 0x11c]
mov ecx, eax
mov dword [ebp - 0x16c], esi
cmp edx, esi
ja 0x4035cd
mov esi, dword [ebp - 0x16c]
jmp 0x403514
mov eax, dword [ebp - 0x178]
shl edi, 0x12
inc dword [ebp - 0x16c]
shl eax, 0xc
add eax, edi
mov edi, dword [ebp - 0x17c]
shl edi, 6
add eax, edi
mov edi, dword [ebp - 0x174]
add eax, ecx
mov ecx, eax
shr eax, 0x10
mov byte [edi + esi], al
cmp edx, dword [ebp - 0x16c]
jbe 0x4035c2
lea eax, [esi + 2]
mov dword [ebp - 0x178], eax
mov eax, edi
mov edi, dword [ebp - 0x16c]
mov byte [eax + edi], ch
lea eax, [esi + 2]
mov dword [ebp - 0x16c], eax
cmp edx, eax
jbe 0x4035c2
lea eax, [esi + 3]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x174]
mov byte [eax + esi + 2], cl
jmp 0x4035c2
mov eax, dword [ebp - 0x1c]
sub eax, dword [0x407040]
je 0x40364a
call fcn.00401770
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x403888
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x14]
test ebx, ebx
je 0x4038c5
cmp word [ebx + 0x24], 0
je 0x4038c3
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call sub.msvcrt.dll__wcsicmp
test eax, eax
jne 0x4038bf
mov ebx, dword [ebx + 0x10]
jmp 0x4038c5
mov ebx, dword [ebx]
jmp 0x403898
xor ebx, ebx
add esp, 0x18
mov eax, ebx
pop ebx
ret 4

Function at 0x4038d0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
xor eax, eax
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [esp + 0x40]
cmp word [ebx], 0x5a4d
jne 0x40394f
mov edx, dword [ebx + 0x3c]
add edx, ebx
cmp dword [edx], 0x4550
jne 0x40394f
mov eax, dword [edx + 0x78]
xor esi, esi
add eax, ebx
mov ecx, dword [eax + 0x14]
mov ebp, dword [eax + 0x20]
mov edi, dword [eax + 0x1c]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x24]
add ebp, ebx
add ecx, ebx
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x14], esi
je 0x40394d
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
lea eax, [ebx + eax*4]
mov eax, dword [eax + edi]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + esi*4]
add eax, ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x40394a
mov eax, dword [esp + 0x18]
add eax, ebx
jmp 0x40394f
inc esi
jmp 0x403910
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret 8
Function at 0x401984
Capabilities:
Get file size
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push 0x8000000
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x4019c0
push 0x401038
call fcn.00401956
pop ecx
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push edi
push edi
push edi
push 8
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x401a03
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x401a03
push edi
push edi
push edi
push 1
push dword [esi + 4]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0xc], eax
test eax, eax
je 0x401a03
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
push 0x40104c
jmp 0x4019b2
Function at 0x10005f10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b572a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.1007654f
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x10005f9d
push eax
push esi
call fcn.100768ad
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
lea ecx, [ebp - 0x1c]
call fcn.10005eb0
push 0x103c3664
lea eax, [ebp - 0x1c]
push eax
call fcn.1008fefb
int3
Function at 0x10008ca0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x10008d88
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x10008d77
jg 0x10008ce0
test edx, edx
je 0x10008d77
nop dword [eax]
call fcn.1000a190
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x10008d34
jg 0x10008cf7
test esi, esi
je 0x10008d34
cmp ebx, eax
jg 0x10008d07
jl 0x10008d01
cmp edi, esi
jae 0x10008d07
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.1008ff70
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x10008d5b
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x10008d71
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x10008ce0
jl 0x10008d71
test edi, edi
jne 0x10008ce0
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x10008daa
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x10008dac
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x10008e2a
jg 0x10008dbf
test esi, esi
je 0x10008e2a
test eax, eax
jl 0x10008e04
jg 0x10008dc9
test ebx, ebx
je 0x10008e04
cmp edi, eax
jg 0x10008dd9
jl 0x10008dd3
cmp esi, ebx
jae 0x10008dd9
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.1008ff70
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
add edx, ebx
sub esi, ebx
mov eax, dword [ecx + 0x30]
sbb edi, dword [esp + 0x14]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
jmp 0x10008e07
mov edx, dword [ebp + 8]
test edi, edi
jl 0x10008e2a
jg 0x10008e11
test esi, esi
je 0x10008e2a
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x10008e2a
push eax
push esi
push 1
push edx
call fcn.10094836
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10009340
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1000935c
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1000938e
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1000938e
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x10009461
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x100093b6
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100093df
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.10093b35
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 4], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 3]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [esi + 0x40]
push eax
call edx
test eax, eax
js 0x10009461
cmp eax, 1
jle 0x10009434
cmp eax, 3
jne 0x10009461
push dword [esi + 0x4c]
push dword [ebp - 4]
call fcn.100069a0
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x28]
sub edi, eax
je 0x10009451
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10094836
add esp, 0x10
cmp edi, eax
jne 0x10009461
lea eax, [ebp - 4]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 8], eax
jne 0x10009383
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10009d20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x10009da1
cmp byte [esi + 0x3d], 0
je 0x10009da1
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10009d6b
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x10009d73
sub eax, 1
je 0x10009d77
sub eax, 2
je 0x10009da1
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10009d94
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10094836
add esp, 0x10
cmp edi, eax
jne 0x10009d6b
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000a030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5610
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
push 8
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100787e8
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.100767a6
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x10], ecx
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x34], esi
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov ecx, edi
mov eax, dword [edi + 0x20]
push 0
push dword [ebp + 8]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
call fcn.10009db0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x1000a290
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100b5610
push eax
mov dword fs:[0], esp
push esi
push edi
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100787e8
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.100767a6
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov ecx, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10010b80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5de0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push 0x100cbe48
push dword [ebp + 8]
lea eax, [ebp + 8]
mov ebx, ecx
push eax
call fcn.10095c51
mov eax, dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x10010bca
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push edi
push 2
push 0
push eax
call fcn.1009525c
push dword [ebp + 8]
call fcn.10095976
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x10010bfa
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push esi
xor esi, esi
cmp eax, 1
jne 0x10010c0a
lea esi, [eax + 1]
jmp 0x10010c14
test eax, eax
mov ecx, 1
cmove esi, ecx
lea eax, [esi + edi]
push eax
call fcn.10078f9a
push 0
push 0
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.1009525c
push dword [ebp + 8]
push edi
push 1
push dword [ebp - 0x10]
call fcn.10094e4a
add esp, 0x20
cmp eax, edi
jne 0x10010ca8
test esi, esi
je 0x10010c5e
mov ecx, esi
xor eax, eax
mov esi, dword [ebp - 0x10]
mov edx, ecx
shr ecx, 2
add edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x10010c61
mov esi, dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.10093ffe
add esp, 4
mov ecx, ebx
push dword [ebp + 0xc]
push esi
call fcn.10010de0
push esi
call fcn.10078e00
mov eax, dword [ebx + 0x28]
add esp, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x10010c9f
nop dword [eax]
cmp ecx, 0x20
jne 0x10010ca1
mov ecx, dword [eax + 4]
add eax, 4
test ecx, ecx
jne 0x10010c90
xor eax, eax
mov dword [ebx + 0x2c], eax
test eax, eax
jne 0x10010cbd
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push 0x20
call fcn.100787e8
add esp, 4
mov dword [ebp + 0xc], eax
mov dword [eax + 4], 1
lea ecx, [eax + 0xc]
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj_class_valve_parser::node_.0
mov dword [ecx], vtable.valve_parser::node.0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], ebx
mov dword [ebx + 0x30], ecx
mov esi, dword [ebx + 0x34]
mov dword [ebx + 0x34], eax
mov dword [ebp - 4], 0
test esi, esi
je 0x10010d34
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10010d34
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10010d34
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0xc]
pop esi
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x100150e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 4], ecx
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
jb 0x100150fc
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x10015118
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10015107
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 8], edx
mov esi, edx
mov dword [ebp - 0xc], eax
nop word [eax + eax]
cmp edx, ebx
jne 0x10015148
mov eax, ebx
jmp 0x1001514c
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x100151bc
cmp dword [edi + 0x14], 0x10
lea ecx, [esi + 8]
mov eax, edi
jb 0x1001515d
mov eax, dword [edi]
mov edx, dword [ecx + 0x10]
mov dword [ebp + 0xc], edx
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x10], edx
cmp edx, 0x10
jb 0x10015170
mov ecx, dword [ecx]
push dword [edi + 0x10]
mov edx, dword [ebp + 0xc]
push eax
call fcn.100155c0
add esp, 8
test al, al
jne 0x1001518d
mov esi, dword [esi]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x10015140
cmp dword [ebp - 0x10], 0x10
lea eax, [esi + 8]
jb 0x10015198
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x100151a2
mov ecx, dword [edi]
push dword [ebp + 0xc]
mov edx, dword [edi + 0x10]
push eax
call fcn.100155c0
add esp, 8
mov ecx, ebx
test al, al
cmovne ecx, esi
mov eax, ecx
jmp 0x100151c0
mov ecx, ebx
mov eax, ebx
cmp eax, ebx
jne 0x10015216
mov esi, dword [ebx]
lea eax, [ebp + 0xc]
push ecx
push eax
push ecx
mov dword [ebp + 0xc], edi
mov edi, dword [esi + 4]
push edi
push esi
call fcn.10016de0
mov ebx, dword [ebp - 4]
mov edx, eax
mov ecx, 0x4924923
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x10015228
inc eax
mov ecx, ebx
mov dword [ebx + 8], eax
mov dword [esi + 4], edx
mov esi, dword [ebp + 8]
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
push esi
call fcn.10016470
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov byte [eax + 4], 0
mov esp, ebp
pop ebp
ret 8
push str.list_T__too_long
call fcn.100764e2
int3
Function at 0x10015240
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 4], ecx
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
jb 0x1001525c
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x10015278
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10015267
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 8], edx
mov esi, edx
mov dword [ebp - 0xc], eax
nop word [eax + eax]
cmp edx, ebx
jne 0x100152a8
mov eax, ebx
jmp 0x100152ac
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x1001531c
cmp dword [edi + 0x14], 0x10
lea ecx, [esi + 8]
mov eax, edi
jb 0x100152bd
mov eax, dword [edi]
mov edx, dword [ecx + 0x10]
mov dword [ebp + 0xc], edx
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x10], edx
cmp edx, 0x10
jb 0x100152d0
mov ecx, dword [ecx]
push dword [edi + 0x10]
mov edx, dword [ebp + 0xc]
push eax
call fcn.100155c0
add esp, 8
test al, al
jne 0x100152ed
mov esi, dword [esi]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x100152a0
cmp dword [ebp - 0x10], 0x10
lea eax, [esi + 8]
jb 0x100152f8
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x10015302
mov ecx, dword [edi]
push dword [ebp + 0xc]
mov edx, dword [edi + 0x10]
push eax
call fcn.100155c0
add esp, 8
mov ecx, ebx
test al, al
cmovne ecx, esi
mov eax, ecx
jmp 0x10015320
mov ecx, ebx
mov eax, ebx
cmp eax, ebx
jne 0x10015376
mov esi, dword [ebx]
lea eax, [ebp + 0xc]
push ecx
push eax
push ecx
mov dword [ebp + 0xc], edi
mov edi, dword [esi + 4]
push edi
push esi
call fcn.10016f10
mov ebx, dword [ebp - 4]
mov edx, eax
mov ecx, 0x2c8590a
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x10015388
inc eax
mov ecx, ebx
mov dword [ebx + 8], eax
mov dword [esi + 4], edx
mov esi, dword [ebp + 8]
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
push esi
call fcn.100166b0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov byte [eax + 4], 0
mov esp, ebp
pop ebp
ret 8
push str.list_T__too_long
call fcn.100764e2
int3