joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002e5b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x1014d43c
push dword [ebp + 8]
lea eax, [ebp + 8]
mov edi, ecx
push eax
call fcn.10103550
mov eax, dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x1002e696
push 2
push 0
push eax
call fcn.10102ad6
push dword [ebp + 8]
call fcn.101031fa
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x1002e696
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x1002e604
lea esi, [eax + 1]
jmp 0x1002e610
xor esi, esi
mov ecx, 1
test eax, eax
cmove esi, ecx
lea eax, [esi + ebx]
push eax
call fcn.100f5639
push 0
push 0
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.10102ad6
push dword [ebp + 8]
push ebx
push 1
push dword [ebp - 4]
call fcn.101026f9
add esp, 0x20
cmp eax, ebx
jne 0x1002e696
test esi, esi
je 0x1002e652
mov eax, dword [ebp - 4]
push esi
add eax, ebx
push 0
push eax
call fcn.100f77a0
add esp, 0xc
push dword [ebp + 8]
call fcn.10101b0f
mov ebx, dword [ebp - 4]
add esp, 4
mov ecx, edi
push dword [ebp + 0xc]
push ebx
call fcn.1002e7d0
push ebx
call fcn.100f5634
mov eax, dword [edi + 0x28]
add esp, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x1002e68f
nop dword [eax]
cmp ecx, 0x20
jne 0x1002e6a1
mov ecx, dword [eax + 4]
add eax, 4
test ecx, ecx
jne 0x1002e680
mov dword [edi + 0x2c], 0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [edi + 0x2c], eax
test eax, eax
je 0x1002e696
push 0x20
call fcn.100f52b9
xorps xmm0, xmm0
mov dword [ebp + 0xc], eax
add esp, 4
movq qword [eax], xmm0
lea ecx, [eax + 0xc]
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj2_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], edi
mov esi, dword [edi + 0x34]
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], eax
test esi, esi
je 0x1002e726
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1002e726
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1002e726
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [edi + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1003c450
Capabilities:
Access peb ldr_data
Get kernel32 base address

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 0x101219cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x10
cmp dword [ecx + 0x1c], 0x38e38e3
lea eax, [ecx + 0x18]
mov ecx, dword [eax]
push esi
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
je 0x1003c575
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
push 0x48
mov dword [ebp - 0x1c], 0
call fcn.100f52b9
add esp, 4
mov edi, eax
push 0x40
lea esi, [edi + 8]
push 0
push esi
call fcn.100f77a0
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x10], 0x7f800000
mov dword [esi + 0xc], 0x7f800000
mov dword [esi + 8], 0x7f800000
mov dword [esi + 0x1c], 0x7f800000
mov dword [esi + 0x18], 0x7f800000
mov dword [esi + 0x14], 0x7f800000
inc dword [eax + 4]
mov eax, dword [ecx + 4]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov dword [ecx + 4], edi
lea ecx, [edi + 8]
mov dword [eax], edi
mov eax, dword [ebx + 8]
mov dword [ecx + 8], 0xc5000000
mov dword [ecx + 0xc], 0xc5000000
mov dword [ecx + 0x10], 0xc5000000
mov dword [ecx + 0x14], 0x45000000
mov dword [ecx + 0x18], 0x45000000
mov dword [ecx + 0x1c], 0x45000000
push eax
mov byte [ecx + 0x30], 0
mov dword [ecx + 0x34], 0xffffffff
mov dword [ecx + 0x38], 0x7ff
movups xmmword [ecx + 0x20], xmm0
push ecx
mov dword [ecx + 0x3c], eax
call fcn.1003ba60
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 4
push str.list_too_long
call fcn.100f3afa
int3

Function at 0x1003cba0
Capabilities:
Hash data using fnv

Disassembly:
mov al, byte [ecx]
test al, al
jne 0x1003cba9
mov eax, edx
ret
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
jmp fcn.1003cba0
Function at 0x1003fbd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011ef10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push str.KeyValuesSystem
push str.vstdlib
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [esi + 0xc], eax
sub esp, 8
mov eax, esp
mov ecx, str.engine
mov dword [eax], 0x1014e2a0
mov dword [eax + 4], 0xf
call fcn.1003fe20
lea ecx, [eax + 1]
mov eax, dword [ecx]
add ecx, 0x4e
add eax, ecx
mov ecx, str.client
mov dword [esi + 0x2c], eax
mov eax, esp
mov dword [eax], 0x1014e2b8
mov dword [eax + 4], 0xc
call fcn.1003fe20
lea ecx, [eax + 1]
mov eax, dword [ecx]
add ecx, 0x42
add eax, ecx
mov ecx, str.client
mov dword [esi + 0x30], eax
mov eax, esp
mov dword [eax], 0x1014e2d0
mov dword [eax + 4], 6
call fcn.1003fe20
inc eax
mov ecx, str.steamnetworkingsockets
mov dword [esi + 0x34], eax
mov eax, esp
mov dword [eax], 0x1014e2d8
mov dword [eax + 4], 0xc
call fcn.1003fe20
mov ecx, str.client
mov eax, dword [eax + 1]
mov dword [esi + 0x10], eax
mov eax, esp
mov dword [eax], 0x1014e300
mov dword [eax + 4], 7
call fcn.1003fe20
mov dword [esi + 0x18], eax
mov ecx, str.client
mov eax, esp
mov dword [eax], 0x1014e308
mov dword [eax + 4], 0xe
call fcn.1003fe20
mov dword [esi], eax
mov ecx, str.client
mov eax, esp
mov dword [eax], 0x1014e318
mov dword [eax + 4], 0x13
call fcn.1003fe20
lea ecx, [eax + 1]
mov eax, dword [ecx]
add ecx, 4
add eax, ecx
mov ecx, str.client
mov dword [esi + 0x14], eax
mov eax, esp
mov dword [eax], 0x1014e32c
mov dword [eax + 4], 0x11
call fcn.1003fe20
mov dword [esi + 4], eax
mov ecx, str.client
mov eax, esp
mov dword [eax], 0x1014e340
mov dword [eax + 4], 8
call fcn.1003fe20
lea ecx, [eax + 1]
mov eax, dword [ecx]
add ecx, 4
add eax, ecx
mov dword [esi + 8], eax
mov ecx, str.client
mov eax, esp
mov dword [eax], 0x1014e34c
mov dword [eax + 4], 0xb
call fcn.1003fe20
lea ecx, [eax + 1]
mov eax, dword [ecx]
add ecx, 4
add eax, ecx
mov ecx, str.engine
mov dword [esi + 0x38], eax
mov eax, esp
mov dword [eax], 0x1014e358
mov dword [eax + 4], 0xa
call fcn.1003fe20
lea ecx, [eax + 1]
mov eax, dword [ecx]
add ecx, 4
add eax, ecx
mov ecx, str.client
mov dword [esi + 0x3c], eax
mov eax, esp
mov dword [eax], 0x1014e364
mov dword [eax + 4], 0xb
call fcn.1003fe20
mov ecx, str.client
lea edx, [eax + 1]
mov eax, dword [edx]
add edx, 4
add eax, edx
mov dword [esi + 0x1c], eax
mov eax, esp
mov dword [eax], 0x1014e370
mov dword [eax + 4], 0x12
call fcn.1003fe20
mov dword [esi + 0x20], eax
mov ecx, str.materialsystem
mov eax, esp
mov dword [eax], 0x1014e384
mov dword [eax + 4], 0xb
call fcn.1003fe20
mov dword [esi + 0x24], eax
mov ecx, str.engine
mov eax, esp
mov dword [eax], 0x1014e3a0
mov dword [eax + 4], 0xa
call fcn.1003fe20
add esp, 8
lea ecx, [eax + 1]
mov eax, dword [ecx]
add ecx, 4
add eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10040b10
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x10040c03
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10040bfc
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x10040be2
call ebx
cmp dword [ebp - 0x14], eax
jne 0x10040be2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10040be2
mov edx, dword [esi]
test edx, edx
jne 0x10040ba8
push 0x200
push edx
push dword [0x10168410]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10040bfc
jmp 0x10040bd3
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10040bd3
shl eax, 3
push eax
push edx
push 0
push dword [0x10168410]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10040bfc
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
lea eax, [ecx + 1]
mov dword [esi + 8], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10040b67
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x10040c49
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x10040c49
nop
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10040c43
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.100409c0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x10040c10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10040c50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x1016c380]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp - 4]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10040c9d
pop edi
pop esi
mov eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10040cbe
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x10040cdf
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10040cdf
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10040cd9
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10040cdf
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
shl bl, 2
add cl, cl
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
xor eax, eax
pop edi
mov byte [esi + 0x14], bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10040d30
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [0x1016c388]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 4], edi
mov ebx, ecx
test edx, edx
je 0x10040e21
mov eax, dword [0x1016c380]
add eax, 0x14
movzx ecx, byte [eax]
shr ecx, 1
and ecx, 1
cmp ecx, ebx
jne 0x10040d75
inc esi
add eax, 0x2c
cmp esi, edx
jb 0x10040d58
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x10040e21
xor eax, eax
lea ecx, [ebp - 0x10]
test ebx, ebx
setne al
or edx, 0xffffffff
push eax
call fcn.10040b10
mov ecx, dword [0x1016c388]
add esp, 4
cmp esi, ecx
jae 0x10040dd5
imul edi, esi, 0x2c
mov eax, dword [0x1016c380]
movzx eax, byte [edi + eax + 0x14]
shr eax, 1
and eax, 1
cmp eax, ebx
je 0x10040dca
mov edx, ebx
mov ecx, esi
call fcn.10040c50
mov dword [ebp - 4], eax
test eax, eax
jne 0x10040dd2
mov ecx, dword [0x1016c388]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x10040da1
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10040e21
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x10040e12
mov edi, eax
push dword [edi + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10040e06
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x10040de5
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x10168410]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10043080
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 0x100430e1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x100430c4
cmp edi, 2
jb 0x100430c4
cmp byte [esi], cl
jne 0x100430c4
cmp byte [esi + 1], cl
jne 0x100430c4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101477e0]
jmp 0x10043095
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101477e0]
test edi, edi
jne 0x10043095
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10043110
cmp cl, 0x23
jne 0x100430f7
cmp byte [esi], cl
jne 0x100430f7
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 + 0x101477e0]
test cl, cl
jne 0x100430e8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10043210
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x10043223
mov dword [ebx], 0
mov edx, 0x1014d43c
call fcn.10043120
mov esi, eax
test esi, esi
je 0x10043300
push esi
call fcn.101031fa
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x100432f7
push 2
push 0
push esi
call fcn.10102ad6
add esp, 0xc
test eax, eax
jne 0x100432f7
push esi
call fcn.101031fa
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x100432f7
push 0
push dword [ebp + 8]
push esi
call fcn.10102ad6
add esp, 0xc
test eax, eax
jne 0x100432f7
mov eax, dword [0x10168418]
test eax, eax
je 0x10043296
inc dword [eax + 0x374]
push edi
call fcn.10105bc4
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x100432f7
push esi
push edi
push 1
push eax
call fcn.101026f9
add esp, 0x10
push esi
cmp eax, edi
je 0x100432e1
call fcn.10101b0f
mov eax, dword [0x10168418]
add esp, 4
test eax, eax
je 0x100432cf
dec dword [eax + 0x374]
push dword [ebp + 8]
call fcn.101012f6
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.10101b0f
add esp, 4
test ebx, ebx
je 0x100432ef
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.10101b0f
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x10045110
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0xc4]
mov eax, dword [ecx + 0xcc]
push esi
push edi
lea esi, [ebp + 8]
mov edi, 4
mov eax, dword [eax + edx*4 - 4]
not eax
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101477e0]
sub edi, 1
jne 0x10045130
mov ecx, dword [0x10168418]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1bdc], eax
jne 0x10045162
mov dword [ecx + 0x1be0], eax
cmp dword [ecx + 0x1c14], eax
jne 0x10045171
mov byte [ecx + 0x1c18], 1
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movss xmm0, dword [edx]
mov edi, 0x10
subss xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0xc4]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 8], eax
cvttss2si eax, xmm0
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xcc]
lea esi, [ebp - 0x10]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop word [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x101477e0]
sub edi, 1
jne 0x100451f0
mov eax, dword [0x10168418]
not edx
pop edi
pop esi
cmp dword [eax + 0x1bdc], edx
jne 0x10045221
mov dword [eax + 0x1be0], edx
cmp dword [eax + 0x1c14], edx
jne 0x10045230
mov byte [eax + 0x1c18], 1
mov eax, edx
mov esp, ebp
pop ebp
ret 4
Function at 0x10049cb0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
or ecx, 0xffffffff
push edi
test bl, bl
je 0x10049cef
cmp bl, 0x23
jne 0x10049cd1
cmp byte [esi], bl
jne 0x10049cd1
cmp byte [esi + 1], bl
cmove eax, ecx
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
mov ecx, 0xffffffff
xor eax, dword [edx*4 + 0x101477e0]
test bl, bl
jne 0x10049cc2
mov ecx, dword [0x10168418]
not eax
mov esi, dword [ecx + 0x1b8c]
mov edi, dword [ecx + 0x1b94]
lea ebx, [edi + esi*8]
test esi, esi
je 0x10049d2e
nop word [eax + eax]
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x10049d28
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x10049d2a
mov esi, edx
test esi, esi
jne 0x10049d10
cmp edi, ebx
je 0x10049d3d
cmp dword [edi], eax
jne 0x10049d3d
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x1004ec70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x10168418]
push ebx
mov dword [ebp - 4], ecx
push esi
mov ebx, dword [eax + 0x1ba4]
lea esi, [ebp - 4]
push edi
mov edi, 4
mov ecx, dword [ebx + 0xc4]
mov eax, dword [ebx + 0xcc]
mov eax, dword [eax + ecx*4 - 4]
not eax
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101477e0]
sub edi, 1
jne 0x1004eca0
not eax
lea ecx, [ebx + 0xc4]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.100552c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1005e2b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov edx, ecx
mov ecx, dword [edx + 0x3c]
push ebx
push esi
push edi
test ecx, ecx
je 0x1005e2cf
mov eax, dword [edx + 0x44]
shl ecx, 4
add eax, 0xfffffff0
add eax, ecx
jmp 0x1005e2d5
mov eax, dword [edx + 0x2c]
add eax, 0x18
movups xmm0, xmmword [eax]
mov esi, dword [edx]
movups xmmword [ebp - 0x14], xmm0
test esi, esi
jle 0x1005e38b
mov eax, dword [edx + 8]
lea ebx, [esi - 1]
lea ebx, [ebx + ebx*4]
lea ebx, [eax + ebx*8]
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x1005e38b
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x1005e326
mov ecx, ebx
lea esi, [ebp - 0x14]
mov edi, 0xc
nop
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x1005e38b
add ecx, 4
add esi, 4
sub edi, 4
jae 0x1005e310
mov esi, dword [edx]
mov eax, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], 0
jne 0x1005e38b
add ebx, 0xffffffd8
xor ecx, ecx
cmp esi, 1
cmovle ebx, ecx
test eax, eax
jne 0x1005e37e
test ebx, ebx
je 0x1005e37e
mov ecx, ebx
lea esi, [ebp - 0x14]
lea edi, [eax + 0xc]
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x1005e37e
add ecx, 4
add esi, 4
sub edi, 4
jae 0x1005e347
mov ecx, dword [edx + 0x48]
test ecx, ecx
je 0x1005e368
mov eax, dword [edx + 0x50]
mov eax, dword [eax + ecx*4 - 4]
jmp 0x1005e36a
xor eax, eax
cmp dword [ebx + 0x10], eax
jne 0x1005e37e
cmp dword [ebx + 0x20], 0
jne 0x1005e37e
dec dword [edx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
movups xmmword [eax], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x78]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
mov ecx, edx
mov eax, dword [edx + 0x7c]
mov dword [ebp - 0x28], eax
mov eax, dword [edx + 0xc]
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x20], xmm0
movups xmm0, xmmword [edx + 0x68]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x3c], xmm0
call fcn.10065c40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1006c610
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10168418]
push ebx
push esi
mov esi, dword [edx]
mov ebx, ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], 0
push edi
mov edi, eax
test esi, esi
js 0x1006c64a
cmp esi, dword [ebp + 0x10]
jge 0x1006c64a
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 0xc]
call dword [ebp + 8]
mov eax, dword [0x10168418]
add esp, 0xc
mov ecx, dword [ebp + 0x14]
cmp ecx, 0xffffffff
je 0x1006c6dd
test byte [edi + 0x1c28], 0x10
jne 0x1006c6dd
movss xmm3, dword [0x10151edc]
test ecx, ecx
jle 0x1006c69d
movss xmm1, dword [eax + 0x156c]
movss xmm2, dword [eax + 0x1528]
movaps xmm3, xmm1
addss xmm3, dword [eax + 0x1938]
movd xmm0, ecx
addss xmm2, xmm2
cvtdq2ps xmm0, xmm0
mulss xmm3, xmm0
subss xmm3, xmm1
addss xmm3, xmm2
or dword [eax + 0x1c28], 0x10
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0x7f7fffff
movss dword [ebp - 0x1c], xmm3
movups xmm0, xmmword [ebp - 0x28]
mov dword [eax + 0x1c74], 0
mov dword [eax + 0x1c78], 0
movups xmmword [eax + 0x1c64], xmm0
mov edx, dword [ebp - 8]
mov ecx, ebx
push 0
call fcn.1006bba0
add esp, 4
test al, al
jne 0x1006c6f7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [0x10168418]
xor ebx, ebx
mov byte [ebp + 0x17], 0
cmp dword [ebp + 0x10], ebx
jle 0x1006c7d9
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esi + 0x1ba4]
mov edi, 4
add eax, 0xc4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], eax
lea esi, [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x101477e0]
sub edi, 1
jne 0x1006c744
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
not edx
push eax
mov dword [ebp - 0x10], edx
call fcn.100552c0
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 0xc]
mov esi, dword [edi]
cmp ebx, esi
sete byte [ebp - 1]
call dword [ebp + 8]
add esp, 0xc
test al, al
jne 0x1006c796
mov ecx, str.Unknown_item
mov dword [ebp - 0xc], ecx
jmp 0x1006c799
mov ecx, dword [ebp - 0xc]
mov dl, byte [ebp - 1]
lea eax, [ebp - 0x20]
push eax
push 0
call fcn.10076e00
add esp, 8
test al, al
je 0x1006c7b4
mov byte [ebp + 0x17], 1
mov dword [edi], ebx
cmp ebx, esi
jne 0x1006c7bd
call fcn.1004eaf0
mov esi, dword [0x10168418]
inc ebx
mov eax, dword [esi + 0x1ba4]
dec dword [eax + 0xc4]
cmp ebx, dword [ebp + 0x10]
jl 0x1006c720
mov eax, dword [esi + 0x1ba4]
cmp dword [esi + 0x1d08], eax
jne 0x1006c7f7
mov dword [esi + 0x1e08], eax
mov dword [esi + 0x1e0c], 2
test dword [eax + 8], 0x1000000
je 0x1006c807
mov byte [esi + 0x1b4e], 1
call fcn.1004e390
mov al, byte [ebp + 0x17]
mov byte [esi + 0x1b4e], 0
test al, al
je 0x1006c836
mov ecx, dword [0x10168418]
mov word [ecx + 0x1bec], 0x101
mov ecx, dword [ecx + 0x1ba4]
or dword [ecx + 0x120], 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret