Function at 0x406a70
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429d43
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push esi
push edi
or edx, 0xffffffff
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x38], 0
mov esi, 0x42a3a5
mov dword [ebp - 0x24], 0
mov al, 0x57
mov dword [ebp - 0x44], str.Window
or edi, 0xffffffff
cmp al, 0x23
jne 0x406ac0
cmp byte [esi], al
jne 0x406ac0
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x42a5d8]
test al, al
jne 0x406ab2
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
not edx
mov dword [ebp - 0x3c], 0x411b00
push ecx
mov dword [ebp - 0x40], edx
lea ecx, [edi + 0x2eb0]
mov dword [ebp - 0x34], 0x411b80
mov dword [ebp - 0x30], 0x411bf0
mov dword [ebp - 0x2c], 0x411ca0
mov dword [ebp - 0x28], 0x411db0
call fcn.00412210
or edx, 0xffffffff
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x24], 0
mov esi, 0x42e53d
mov dword [ebp - 0x44], str.Table
mov al, 0x54
or edi, 0xffffffff
cmp al, 0x23
jne 0x406b43
cmp byte [esi], al
jne 0x406b43
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x42a5d8]
test al, al
jne 0x406b35
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x44]
not edx
mov dword [ebp - 0x3c], 0x422f60
push eax
mov dword [ebp - 0x40], edx
lea ecx, [edi + 0x2eb0]
mov dword [ebp - 0x34], 0x423020
mov dword [ebp - 0x30], 0x4230b0
mov dword [ebp - 0x2c], 0x422fe0
mov dword [ebp - 0x28], 0x4232e0
call fcn.00412210
mov eax, dword [0x431610]
test eax, eax
je 0x406ba5
inc dword [eax + 0x370]
push 0x98
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
lea eax, [ebp - 0xd]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x406cb9
mov dword [esi + 8], 0
lea eax, [esi + 0x34]
mov dword [esi + 0x10], 0
xorps xmm0, xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 0
movups xmmword [esi], xmm0
push 0x2c
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0
push 0
push eax
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x24], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + 0x60]
mov dword [ebp - 0x20], eax
push 0x4121c0
push 0x412a20
push 2
push 0xc
push eax
call fcn.0042896c
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x24], 0xffffffff
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
jmp 0x406cbb
xor esi, esi
mov ecx, dword [edi + 0x1cf4]
mov eax, dword [edi + 0x1cf8]
cmp ecx, eax
jne 0x406d70
inc ecx
test eax, eax
je 0x406ce3
cdq
sub eax, edx
mov edx, dword [edi + 0x1cf8]
sar eax, 1
add eax, edx
jmp 0x406cee
mov edx, dword [edi + 0x1cf8]
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov dword [ebp - 0x18], ecx
cmp ecx, edx
jle 0x406d70
mov eax, dword [0x431610]
test eax, eax
je 0x406d09
inc dword [eax + 0x370]
lea eax, [ecx*4]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, dword [edi + 0x1cfc]
add esp, 4
mov dword [ebp - 0x14], eax
test edx, edx
je 0x406d61
mov ecx, dword [edi + 0x1cf4]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x1cfc]
add esp, 0xc
test ecx, ecx
je 0x406d54
mov eax, dword [0x431610]
test eax, eax
je 0x406d54
dec dword [eax + 0x370]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0x14]
add esp, 4
mov dword [edi + 0x1cfc], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x1cf8], eax
mov ecx, dword [edi + 0x1cf4]
mov eax, dword [edi + 0x1cfc]
mov dword [eax + ecx*4], esi
inc dword [edi + 0x1cf4]
mov ecx, dword [ebp - 0xc]
mov byte [edi], 1
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret