Function at 0x1003ff90
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, edx
mov edx, dword [0x100eea8c]
mov dword [esp + 0x14], edx
push edi
mov edi, ecx
test esi, esi
jne 0x1003ffb9
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x1003ffb0
sub esi, ecx
test edx, edx
je 0x1003ffc3
inc dword [edx + 0x36c]
push dword [0x100eea90]
lea eax, [esi + 1]
push eax
call fcn.10031b40
push esi
push edi
push eax
lea ebp, [eax + esi]
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], ebp
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [esp + 0x30]
xor ecx, ecx
add esp, 0x14
mov byte [ebp], 0
xor ebx, ebx
mov dword [esp + 0x14], ecx
mov edi, edx
cmp edx, ebp
jae 0x10040174
mov al, byte [edi]
cmp al, 0xa
je 0x100401a6
cmp al, 0xd
je 0x100401a6
mov esi, edi
cmp edi, ebp
jae 0x1004002f
nop word [eax + eax]
mov al, byte [esi]
cmp al, 0xa
je 0x1004002f
cmp al, 0xd
je 0x1004002f
inc esi
cmp esi, ebp
jb 0x10040020
mov byte [esi], 0
mov al, byte [edi]
cmp al, 0x3b
je 0x10040165
cmp al, 0x5b
jne 0x1004014a
cmp esi, edi
jbe 0x1004014a
cmp byte [esi - 1], 0x5d
lea ebp, [esi - 1]
jne 0x10040146
lea ebx, [edi + 1]
mov byte [ebp], 0
mov eax, ebp
sub eax, ebx
push eax
push 0x5d
push ebx
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x10040098
lea ecx, [eax + 1]
sub ebp, ecx
push ebp
push 0x5b
push ecx
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x10040098
mov eax, dword [esp + 0x14]
mov byte [eax], 0
jmp 0x1004009f
mov ebx, str.Window
mov ecx, edi
mov ebp, dword [0x100eea8c]
lea eax, [ecx + 1]
mov cl, byte [ebx]
lea edi, [ebx + 1]
mov dword [esp + 0x14], eax
or eax, 0xffffffff
test cl, cl
je 0x100400ee
or ebp, 0xffffffff
nop dword [eax + eax]
cmp cl, 0x23
jne 0x100400cf
cmp byte [edi], cl
jne 0x100400cf
cmp byte [edi + 1], cl
cmove eax, ebp
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [edi]
inc edi
xor eax, dword [edx*4 + 0x100d4810]
test cl, cl
jne 0x100400c0
mov ebp, dword [0x100eea8c]
mov edi, dword [ebp + 0x2c50]
xor ecx, ecx
not eax
test edi, edi
jle 0x10040111
mov ebx, dword [ebp + 0x2c58]
lea edx, [ebx + 4]
cmp dword [edx], eax
je 0x1004011f
inc ecx
add edx, 0x18
cmp ecx, edi
jl 0x10040105
xor ebx, ebx
mov ebp, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x14], ecx
jmp 0x10040165
lea eax, [ecx + ecx*2]
lea ebx, [ebx + eax*8]
test ebx, ebx
je 0x10040113
push dword [esp + 0x14]
mov eax, dword [ebx + 8]
push ebx
push dword [esp + 0x20]
call eax
mov ebp, dword [esp + 0x1c]
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x14], ecx
jmp 0x10040165
mov ebp, dword [esp + 0x10]
test ebx, ebx
je 0x10040165
test ecx, ecx
je 0x10040165
mov eax, dword [ebx + 0xc]
push edi
push ecx
push ebx
push dword [esp + 0x24]
call eax
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edi, [esi + 1]
cmp edi, ebp
jb 0x10040002
mov edx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
test edx, edx
je 0x1004018b
mov eax, dword [0x100eea8c]
test eax, eax
je 0x1004018b
dec dword [eax + 0x36c]
push dword [0x100eea90]
push edx
call fcn.10031b50
mov eax, dword [esp + 0x10]
mov byte [eax + 0x2c3c], 1
add esp, 0x18
ret
inc edi
jmp 0x10040002