joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002a0f0
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10124b2e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
push edi
mov edi, edx
mov dword [ebp - 0x18], edi
test eax, eax
je 0x1002a13f
test al, 3
jne 0x1002a138
cmp byte [edi + eax - 1], 0x3d
jne 0x1002a13f
mov edx, 1
jmp 0x1002a141
xor edx, edx
lea ebx, [eax + 3]
mov dword [ebp - 0x14], edx
shr ebx, 2
sub ebx, edx
shl ebx, 2
mov ecx, ebx
mov dword [ebp - 0x20], ebx
shr ecx, 2
push 0
lea eax, [edx + ecx*2]
add eax, ecx
mov ecx, esi
push eax
call fcn.1002b6e0
xor edx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
test ebx, ebx
je 0x1002a209
lea eax, [ebx - 1]
add edi, 2
shr eax, 2
inc eax
mov dword [ebp - 0x10], eax
nop dword [eax + eax]
movzx eax, byte [edi - 2]
mov ebx, esi
mov ecx, dword [eax*4 + 0x10133a50]
movzx eax, byte [edi - 1]
shl ecx, 6
or ecx, dword [eax*4 + 0x10133a50]
movzx eax, byte [edi]
shl ecx, 6
or ecx, dword [eax*4 + 0x10133a50]
movzx eax, byte [edi + 1]
shl ecx, 6
or ecx, dword [eax*4 + 0x10133a50]
cmp dword [esi + 0x14], 0x10
jb 0x1002a1ce
mov ebx, dword [esi]
mov eax, ecx
sar eax, 0x10
mov byte [ebx + edx], al
mov ebx, esi
cmp dword [esi + 0x14], 0x10
jb 0x1002a1e0
mov ebx, dword [esi]
mov eax, ecx
sar eax, 8
mov byte [ebx + edx + 1], al
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x1002a1f3
mov eax, dword [esi]
mov byte [eax + edx + 2], cl
add edi, 4
add edx, 3
sub dword [ebp - 0x10], 1
jne 0x1002a190
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0
je 0x1002a275
movzx eax, byte [ebx + edi]
mov edx, dword [eax*4 + 0x10133a50]
movzx eax, byte [ebx + edi + 1]
mov edi, esi
shl edx, 6
or edx, dword [eax*4 + 0x10133a50]
shl edx, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x1002a236
mov edi, dword [esi]
mov eax, dword [esi + 0x10]
mov ecx, edx
sar ecx, 0x10
mov byte [eax + edi - 1], cl
lea eax, [ebx + 2]
cmp dword [ebp + 8], eax
jbe 0x1002a275
mov eax, dword [ebp - 0x18]
mov al, byte [ebx + eax + 2]
cmp al, 0x3d
je 0x1002a275
movzx eax, al
mov ecx, esi
sar edx, 8
mov eax, dword [eax*4 + 0x10133a50]
shl eax, 6
sar eax, 8
or al, dl
movzx eax, al
push eax
call fcn.10027ca0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1002b7f0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10124cb5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x18
push esi
push edi
mov edi, dword [ebx + 0xc]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.1002bf20
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1002b879
mov eax, dword [ebx + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
jmp 0x1002b9dd
cmp dword [0x101c93e8], 0x9249249
jne 0x1002b890
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x24], 0x101c93e4
mov dword [ebp - 4], 0
push 0x1c
mov dword [ebp - 0x20], 0
call fcn.10121fbe
mov ecx, dword [edi]
mov esi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x20], esi
add esp, 4
mov dword [esi + 8], ecx
movups xmmword [esi + 0xc], xmm0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x101c93e8]
mov edi, dword [0x101c93fc]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10197f30]
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm3, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movaps xmm2, xmm3
addsd xmm0, qword [eax*8 + 0x10197f30]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [0x101c93e0]
divss xmm2, xmm1
comiss xmm2, xmm0
jbe 0x1002b988
divss xmm3, xmm0
movaps xmm0, xmm3
call fcn.1000f8a0
call fcn.10123350
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x1002b968
cmp edi, 0x200
jae 0x1002b966
shl edi, 3
cmp edi, ecx
jae 0x1002b968
mov edi, ecx
push edi
call fcn.1002bb90
push dword [ebp - 0x14]
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1002bf20
mov ecx, dword [0x101c93e8]
mov edx, dword [eax]
jmp 0x1002b98b
mov edx, dword [ebp - 0x1c]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x101c93e8], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x101c93f8]
and eax, dword [ebp - 0x14]
mov ecx, dword [0x101c93ec]
mov esi, dword [ecx + eax*8]
cmp esi, dword [0x101c93e4]
mov esi, dword [ebp - 0x20]
jne 0x1002b9c0
mov dword [ecx + eax*8], esi
jmp 0x1002b9d0
cmp dword [ecx + eax*8], edx
jne 0x1002b9ca
mov dword [ecx + eax*8], esi
jmp 0x1002b9d4
cmp dword [ecx + eax*8 + 4], edi
jne 0x1002b9d4
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebx + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x1002bb90
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 8
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x1002bbbc
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [0x101c93e4]
or eax, 1
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x101c93ec
lea eax, [edi + edi]
push eax
call fcn.10014500
mov eax, dword [0x101c93e4]
lea ebx, [edi - 1]
mov dword [0x101c93f8], ebx
mov dword [0x101c93fc], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1002bcf6
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
mov edx, dword [0x101c93ec]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 4], edx
cmp ebx, esi
jne 0x1002bc54
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1002bcc1
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1002bc8e
mov edx, dword [edx]
mov dword [ebp - 8], edx
cmp edx, eax
je 0x1002bc86
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 8]
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 - 4]
mov dword [edx + 4], eax
jmp 0x1002bcc1
cmp ebx, edx
je 0x1002bc9e
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x1002bcd2
cmp ebx, edx
jne 0x1002bc92
mov ebx, dword [eax + 4]
mov dword [ebp - 8], 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 - 8]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x1002bcf6
mov ebx, dword [0x101c93f8]
jmp 0x1002bc02
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 8], 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 0x1002bcc1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1002bd90
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp edx, eax
je 0x1002bee6
mov eax, dword [ebx + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
push edi
mov edi, dword [ebx + 0xc]
mov esi, edx
xor ecx, eax
mov dword [ebp - 0x18], edi
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 [edi + eax*8]
mov dword [ebp - 0xc], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x1c
push eax
call fcn.10122308
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x14]
je 0x1002be49
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x1002be07
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x1002bedc
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
pop edi
mov dword [edx], esi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
cmp ecx, dword [ebp + 8]
jne 0x1002be5d
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [edx], eax
jmp 0x1002be60
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x1002bedc
nop word [eax + eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 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 - 0x14], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x1c
push eax
call fcn.10122308
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x14]
je 0x1002beed
cmp esi, eax
jne 0x1002beb7
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x1002be70
mov ecx, dword [ebp - 4]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1002ebf0
Capabilities:
Allocate or change rwx memory
Create thread
Parse pe header
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x1002ec83
push ebx
push 0x101210d0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov ebx, dword [ebp + 8]
mov eax, 0x5a4d
mov dword [ebp + 0xc], 0
cmp word [ebx], ax
jne 0x1002ec63
mov eax, dword [ebx + 0x3c]
shl eax, 6
cmp dword [eax + ebx], 0x4550
jne 0x1002ec63
movzx eax, word [eax + ebx + 0x14]
test ax, ax
je 0x1002ec63
push edi
mov edi, eax
lea eax, [ebp + 0xc]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
push 0
push 0
push ebx
push 0x1002eac0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebx
test eax, eax
je 0x1002ec83
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc

Function at 0x1002fb20
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101cf110]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102b9780]
cmp eax, dword [ecx + 4]
jle 0x1002fb73
push 0x102b9780
call fcn.10121ee8
add esp, 4
cmp dword [0x102b9780], 0xffffffff
jne 0x1002fb73
push 0x102b9780
mov dword [0x102b9788], 0
mov dword [0x102b9784], 0x101a7120
call fcn.10121e9e
add esp, 4
cmp dword [0x101a7120], 0
jne 0x1002fb7f
mov al, 1
ret
mov eax, dword [0x102b9784]
mov eax, dword [eax]
test eax, eax
jne 0x1002fb92
mov dword [0x102b9788], eax
xor al, al
ret
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
movzx ecx, al
mov dword [0x102b9788], ecx
ret
Function at 0x1006bc10
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012735f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x10
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
push esi
push edi
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea esi, [eax + 0x18]
mov dword [ebp - 4], 0
add ecx, 0x18
push esi
mov dword [ebp - 0x18], ecx
call fcn.10020b40
push 0x10
mov byte [ebp - 4], 1
call fcn.10121fbe
mov edi, eax
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 2
mov esi, dword [esi + 0x18]
push 0x48
call fcn.10121fbe
add esp, 8
mov dword [edi + 4], eax
mov byte [ebp - 4], 3
mov ecx, edi
push esi
mov dword [edi + 0xc], 0
call fcn.10067530
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x30], edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4

Function at 0x1006efd0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x1006f031
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1006f014
cmp edi, 2
jb 0x1006f014
cmp byte [esi], cl
jne 0x1006f014
cmp byte [esi + 1], cl
jne 0x1006f014
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10133fc8]
jmp 0x1006efe5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10133fc8]
test edi, edi
jne 0x1006efe5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1006f060
cmp cl, 0x23
jne 0x1006f047
cmp byte [esi], cl
jne 0x1006f047
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10133fc8]
test cl, cl
jne 0x1006f038
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x1006f1f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x1006f215
push 0x652
push str.D:_aFedorawareFedorawareFedorawareTeamFortress2TeamFortress2FeaturesMenuImGuiimgui.cpp
push str.filename__mode
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov edi, dword [ebp + 8]
test edi, edi
je 0x1006f222
mov dword [edi], 0
mov edx, 0x1017d8e0
mov ecx, esi
call fcn.1006f070
mov esi, eax
test esi, esi
je 0x1006f312
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x1006f308
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1006f308
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
cmp ebx, 0xffffffff
je 0x1006f308
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1006f308
mov eax, dword [0x101cf7b8]
test eax, eax
je 0x1006f29c
inc dword [eax + 0x36c]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1006f308
push esi
push dword [ebp + 8]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x1006f2ed
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x101cf7b8]
add esp, 4
test eax, eax
je 0x1006f2da
dec dword [eax + 0x36c]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x1006f2ff
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100714d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
cmp dword [ebx + 0xc4], 0
jg 0x100714f9
push 0x6c2
push str.D:_aFedorawareFedorawareFedorawareTeamFortress2TeamFortress2FeaturesMenuImGuiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [ebx + 0xc4]
lea edx, [ebp + 8]
mov ebx, dword [ebx + 0xcc]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10133fc8]
sub esi, 1
jne 0x10071513
mov eax, dword [0x101cf7b8]
not ebx
cmp dword [eax + 0x1be0], ebx
jne 0x10071542
mov dword [eax + 0x1be4], ebx
cmp dword [eax + 0x1c1c], ebx
jne 0x10071551
mov byte [eax + 0x1c20], 1
cmp dword [eax + 0x1bc8], ebx
jne 0x1007156c
push ecx
push dword [ebp + 8]
mov edx, 4
mov ecx, ebx
call fcn.10084250
add esp, 8
pop esi
mov eax, ebx
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x100715f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xc4], 0
jg 0x1007161b
push 0x6c2
push str.D:_aFedorawareFedorawareFedorawareTeamFortress2TeamFortress2FeaturesMenuImGuiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [ebp + 8]
mov edi, 0x10
movss xmm1, dword [esi + 0xe0]
movss xmm2, dword [esi + 0xe4]
mov ecx, dword [esi + 0xc4]
movss xmm0, dword [eax]
subss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [esi + 0xcc]
subss xmm0, xmm2
lea esi, [ebp - 0x14]
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 8], xmm0
not edx
nop
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10133fc8]
sub edi, 1
jne 0x10071680
mov eax, dword [0x101cf7b8]
not edx
cmp dword [eax + 0x1be0], edx
jne 0x100716af
mov dword [eax + 0x1be4], edx
cmp dword [eax + 0x1c1c], edx
jne 0x100716be
mov byte [eax + 0x1c20], 1
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1007c430
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101cf7b8]
push ebx
push esi
push edi
mov esi, dword [eax + 0x1ba8]
add esi, 0xc4
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
cmp dword [esi], 0
jg 0x1007c46d
push 0x6c2
push str.D:_aFedorawareFedorawareFedorawareTeamFortress2TeamFortress2FeaturesMenuImGuiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ecx, dword [esi]
lea edx, [ebp - 4]
mov eax, dword [esi + 8]
mov edi, 4
mov ebx, dword [eax + ecx*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10133fc8]
sub edi, 1
jne 0x1007c480
mov eax, dword [0x101cf7b8]
not ebx
cmp dword [eax + 0x1bc8], ebx
jne 0x1007c4ba
push ecx
push dword [ebp - 8]
lea edx, [edi + 4]
mov ecx, ebx
call fcn.10084250
add esp, 8
mov ecx, dword [esi + 4]
mov edi, dword [esi]
cmp edi, ecx
jne 0x1007c4e5
inc edi
test ecx, ecx
je 0x1007c4d3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1007c4d8
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.10084d70
mov ecx, dword [esi]
mov eax, dword [esi + 8]
pop edi
mov dword [eax + ecx*4], ebx
inc dword [esi]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100830c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x2fac], 0
lea esi, [edi + 0x2fb0]
je 0x10083142
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x100830fc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10085060
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.1006fa60
mov edx, dword [esi]
mov ecx, 0x101cf799
push dword [edi + 0x2fac]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2fb8]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.1006fa60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1008d010
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1008d04a
mov eax, dword [0x101cf7b8]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x1008d03d
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1008d07b
mov eax, dword [0x101cf7b8]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x1008d06e
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1008d0ac
mov eax, dword [0x101cf7b8]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x1008d09f
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x1008d0f9
mov eax, dword [0x101cf7b8]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x1008d0ec
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x1008d12a
mov eax, dword [0x101cf7b8]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x1008d11d
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x1008d15b
mov eax, dword [0x101cf7b8]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x1008d14e
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.1008fc00