Function at 0x409d70
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4308c3
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x438040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
or edx, 0xffffffff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], 0
mov esi, 0x431455
mov dword [ebp - 0x40], str.Window
mov al, 0x57
or edi, 0xffffffff
nop
cmp al, 0x23
jne 0x409dce
cmp byte [esi], al
jne 0x409dce
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 + 0x431710]
test al, al
jne 0x409dc0
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
not edx
mov dword [ebp - 0x38], 0x416070
push ecx
mov dword [ebp - 0x3c], edx
lea ecx, [edi + 0x2f6c]
mov dword [ebp - 0x30], 0x4160f0
mov dword [ebp - 0x2c], 0x416190
mov dword [ebp - 0x28], 0x416260
mov dword [ebp - 0x24], 0x416370
call fcn.004169d0
or edx, 0xffffffff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], 0
mov esi, 0x4357dd
mov dword [ebp - 0x40], str.Table
mov al, 0x54
or edi, 0xffffffff
cmp al, 0x23
jne 0x409e51
cmp byte [esi], al
jne 0x409e51
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 + 0x431710]
test al, al
jne 0x409e43
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
not edx
mov dword [ebp - 0x38], 0x4285c0
push eax
mov dword [ebp - 0x3c], edx
lea ecx, [edi + 0x2f6c]
mov dword [ebp - 0x30], 0x4286a0
mov dword [ebp - 0x2c], 0x428790
mov dword [ebp - 0x28], 0x428650
mov dword [ebp - 0x24], 0x4289d0
call fcn.004169d0
mov eax, dword [0x4386c0]
test eax, eax
je 0x409eb3
inc dword [eax + 0x36c]
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 - 0x15]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x409fc7
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 - 0x48], eax
push 0x416970
push 0x417230
push 2
push 0xc
push eax
call fcn.0042f2e1
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 0x409fc9
xor esi, esi
mov ecx, dword [edi + 0x1d44]
mov eax, dword [edi + 0x1d48]
cmp ecx, eax
jne 0x40a07e
inc ecx
test eax, eax
je 0x409ff1
cdq
sub eax, edx
mov edx, dword [edi + 0x1d48]
sar eax, 1
add eax, edx
jmp 0x409ffc
mov edx, dword [edi + 0x1d48]
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, edx
jle 0x40a07e
mov eax, dword [0x4386c0]
test eax, eax
je 0x40a017
inc dword [eax + 0x36c]
lea eax, [ecx*4]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, dword [edi + 0x1d4c]
add esp, 4
mov dword [ebp - 0x14], eax
test edx, edx
je 0x40a06f
mov ecx, dword [edi + 0x1d44]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x1d4c]
add esp, 0xc
test ecx, ecx
je 0x40a062
mov eax, dword [0x4386c0]
test eax, eax
je 0x40a062
dec dword [eax + 0x36c]
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 + 0x1d4c], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x1d48], eax
mov ecx, dword [edi + 0x1d44]
mov eax, dword [edi + 0x1d4c]
mov dword [eax + ecx*4], esi
inc dword [edi + 0x1d44]
mov byte [edi], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f151
mov esp, ebp
pop ebp
ret