Function at 0x4049f0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov ecx, dword [0x432a04]
mov eax, dword [0x432a00]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x34], esi
push edi
cmp ecx, 0x100000
jb 0x405009
ja 0x404a25
test eax, eax
jb 0x405009
mov edx, eax
mov dword [ebp - 0x30], 0x4e210000
add edx, 0xffffffdf
mov dword [ebp - 8], 0
mov eax, ecx
mov dword [ebp - 0x1c], edx
adc eax, 0xffffffff
mov dword [ebp - 0x3c], 0x200
add edx, 0xffffffde
mov dword [ebp - 0x20], eax
mov ecx, 0x22
mov dword [ebp - 0x44], edx
adc eax, 0xffffffff
mov dword [ebp - 0x10], ecx
xor edi, edi
mov dword [ebp - 0x40], eax
or ebx, 0xffffffff
mov dword [ebp - 0xc], edi
mov esi, 1
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x2c], eax
xor edx, edx
div dword [ebp - 0x3c]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x38], eax
test edx, edx
jne 0x404a96
mov edx, dword [ebp + 0xc]
mov ecx, 0x80
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, esi
or eax, edi
je 0x404c62
mov eax, dword [ebp - 8]
add ecx, 0x7ff
adc eax, 0
and ecx, 0xfffff800
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], ecx
mov edi, dword [eax + 4]
mov esi, dword [eax]
add eax, 8
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x34], eax
test edi, edi
ja 0x404b0b
jb 0x404ad7
cmp esi, 0x64
ja 0x404b0b
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push edi
push esi
call fcn.0041feb0
push 0
push 0x64
push edx
push eax
call fcn.00423310
mov ecx, dword [ebp - 0x10]
mov esi, eax
add esi, 0x7ff
mov edi, edx
adc edi, 0
and esi, 0xfffff800
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc], edi
mov edx, esi
mov eax, edi
add edx, ecx
adc eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x20]
jb 0x404b47
ja 0x404b20
cmp edx, dword [ebp - 0x1c]
jbe 0x404b47
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
cmp eax, edx
ja 0x404c4e
mov esi, dword [ebp - 0x1c]
jb 0x404b3b
cmp ecx, esi
jae 0x404c4e
sub esi, ecx
mov edi, edx
mov dword [ebp - 0x18], esi
sbb edi, eax
mov dword [ebp - 0xc], edi
mov eax, esi
or eax, edi
je 0x404c62
mov edx, dword [ebp - 0x24]
mov esi, 0x428490
mov ecx, dword [ebp + 0xc]
mov edi, 0x10
add edx, ecx
sub esi, edx
mov al, byte [esi + edx]
lea edx, [edx + 1]
mov byte [edx - 1], al
dec edi
jne 0x404b65
mov esi, dword [ebp - 0x18]
lea edx, [ecx + 0x10]
add edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x30]
call fcn.00404940
mov edx, dword [ebp + 0xc]
add esp, 4
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov byte [edx + 0x20], al
mov eax, dword [ebp - 8]
shrd ecx, eax, 8
mov byte [edx + 0x21], cl
shr eax, 8
shrd ecx, eax, 8
mov byte [edx + 0x22], cl
shr eax, 8
shrd ecx, eax, 8
mov byte [edx + 0x23], cl
shr eax, 8
shrd ecx, eax, 8
mov byte [edx + 0x24], cl
shr eax, 8
shrd ecx, eax, 8
mov byte [edx + 0x25], cl
shr eax, 8
shrd ecx, eax, 8
mov byte [edx + 0x26], cl
shr eax, 8
shrd ecx, eax, 8
mov byte [edx + 0x27], cl
shr eax, 8
add esi, dword [ebp - 0x10]
mov eax, edi
mov edx, esi
mov dword [ebp - 0x10], esi
adc eax, dword [ebp - 8]
add edx, 0xffffffff
mov esi, dword [ebp + 0xc]
mov ecx, eax
adc ecx, 0xffffffff
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
add eax, esi
mov byte [eax + 0x28], dl
shrd edx, ecx, 8
shr ecx, 8
mov byte [eax + 0x29], dl
shrd edx, ecx, 8
shr ecx, 8
mov byte [eax + 0x2a], dl
shrd edx, ecx, 8
shr ecx, 8
mov byte [eax + 0x2b], dl
shrd edx, ecx, 8
shr ecx, 8
mov byte [eax + 0x2c], dl
shrd edx, ecx, 8
shr ecx, 8
mov byte [eax + 0x2d], dl
shrd edx, ecx, 8
shr ecx, 8
mov byte [eax + 0x2e], dl
shrd edx, ecx, 8
shr ecx, 8
mov byte [eax + 0x2f], dl
jmp 0x404c65
xorps xmm0, xmm0
movlpd qword [ebp - 0x50], xmm0
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x18], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2c]
sub eax, 0xffffff80
mov dword [ebp - 0x2c], eax
test eax, 0x1ff
jne 0x404cf4
mov edi, dword [ebp + 0xc]
xor esi, esi
lea ebx, [ebx]
mov dl, byte [esi + edi]
mov cl, 1
test dl, cl
mov eax, 0
setne al
xor ebx, eax
test bl, 1
je 0x404ca0
shr ebx, 1
xor ebx, 0xedb88320
jmp 0x404ca2
shr ebx, 1
add cl, cl
jne 0x404c85
inc esi
cmp esi, 0x200
jb 0x404c80
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp + 0xc]
add eax, 2
mov edi, dword [ebp - 0xc]
mov edx, esi
push 1
push 0
push eax
call fcn.004046c0
add esp, 0xc
test eax, eax
jne 0x404ffd
mov ecx, dword [ebp - 0x38]
mov edx, esi
add ecx, dword [ebp - 0x1c]
push 1
adc eax, dword [ebp - 0x20]
push eax
push ecx
call fcn.004046c0
add esp, 0xc
test eax, eax
jne 0x404ffd
mov eax, dword [ebp - 0x2c]
cmp eax, 0x4000
jae 0x404d06
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
jmp 0x404a73
xor eax, eax
mov ecx, 0x80
mov edi, esi
rep stosd dword es:[edi], eax
mov edi, 0x428f30
mov ecx, esi
lea edx, [eax + 0x10]
sub edi, esi
lea ecx, [ecx]
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
dec edx
jne 0x404d20
mov eax, dword [ebp - 0x14]
not ebx
mov byte [esi + 0x58], bl
shr ebx, 8
mov byte [esi + 0x59], bl
shr ebx, 8
mov byte [esi + 0x5a], bl
shr ebx, 8
add eax, 0xffffffff
mov byte [esi + 0x5b], bl
mov ecx, eax
mov ebx, dword [ebp - 0x28]
adc ebx, 0xffffffff
mov dword [esi + 0x18], 1
mov dword [esi + 0x1c], edx
mov byte [esi + 0x20], al
mov dword [ebp - 0x14], eax
mov eax, ebx
shrd ecx, eax, 8
mov dword [ebp - 0x28], ebx
mov byte [esi + 0x21], cl
shr eax, 8
shrd ecx, eax, 8
mov byte [esi + 0x22], cl
shr eax, 8
shrd ecx, eax, 8
mov byte [esi + 0x23], cl
shr eax, 8
shrd ecx, eax, 8
mov byte [esi + 0x24], cl
shr eax, 8
shrd ecx, eax, 8
mov byte [esi + 0x25], cl
shr eax, 8
shrd ecx, eax, 8
mov byte [esi + 0x26], cl
shr eax, 8
shrd ecx, eax, 8
mov byte [esi + 0x27], cl
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0x28], 0x22
mov dword [esi + 0x2c], edx
mov edx, dword [ebp - 0x1c]
shr eax, 8
add edx, 0xffffffff
mov byte [esi + 0x30], dl
adc ecx, 0xffffffff
shrd edx, ecx, 8
mov byte [esi + 0x31], dl
shr ecx, 8
shrd edx, ecx, 8
mov byte [esi + 0x32], dl
shr ecx, 8
shrd edx, ecx, 8
mov byte [esi + 0x33], dl
shr ecx, 8
shrd edx, ecx, 8
mov byte [esi + 0x34], dl
shr ecx, 8
shrd edx, ecx, 8
mov byte [esi + 0x35], dl
shr ecx, 8
shrd edx, ecx, 8
mov byte [esi + 0x36], dl
shr ecx, 8
shrd edx, ecx, 8
mov byte [esi + 0x37], dl
lea edx, [esi + 0x38]
shr ecx, 8
mov dword [esi + 0x54], 0x80
push ecx
mov ecx, dword [ebp - 0x30]
mov dword [esi + 0x50], 0x80
mov dword [esi + 0x48], 2
call fcn.00404940
add esp, 4
or ecx, 0xffffffff
xor edi, edi
mov bl, byte [edi + esi]
mov dl, 1
lea esp, [esp]
test bl, dl
mov eax, 0
setne al
xor ecx, eax
test cl, 1
je 0x404e5b
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x404e5d
shr ecx, 1
add dl, dl
jne 0x404e40
inc edi
cmp edi, 0x5c
jb 0x404e34
not ecx
mov edx, esi
mov byte [esi + 0x10], cl
shr ecx, 8
mov byte [esi + 0x11], cl
shr ecx, 8
push 1
mov byte [esi + 0x12], cl
shr ecx, 8
push 0
push 1
mov byte [esi + 0x13], cl
call fcn.004046c0
add esp, 0xc
test eax, eax
jne 0x404ffd
mov eax, dword [ebp - 0x14]
lea edx, [esi + 0x48]
mov byte [esi + 0x18], al
mov ecx, eax
mov eax, dword [ebp - 0x28]
shrd ecx, eax, 8
mov byte [esi + 0x19], cl
shr eax, 8
shrd ecx, eax, 8
mov byte [esi + 0x1a], cl
shr eax, 8
shrd ecx, eax, 8
mov byte [esi + 0x1b], cl
shr eax, 8
shrd ecx, eax, 8
mov byte [esi + 0x1c], cl
shr eax, 8
shrd ecx, eax, 8
mov byte [esi + 0x1d], cl
shr eax, 8
shrd ecx, eax, 8
mov byte [esi + 0x1e], cl
shr eax, 8
shrd ecx, eax, 8
mov byte [esi + 0x1f], cl
mov ecx, dword [ebp - 0x1c]
shr eax, 8
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x20], 1
mov dword [esi + 0x24], 0
mov byte [edx], cl
shrd ecx, eax, 8
mov byte [edx + 1], cl
shr eax, 8
shrd ecx, eax, 8
mov byte [edx + 2], cl
shr eax, 8
shrd ecx, eax, 8
mov byte [edx + 3], cl
shr eax, 8
shrd ecx, eax, 8
mov byte [edx + 4], cl
shr eax, 8
shrd ecx, eax, 8
mov byte [edx + 5], cl
add edx, 6
shr eax, 8
shrd ecx, eax, 8
shr eax, 8
mov byte [edx], cl
shrd ecx, eax, 8
mov byte [edx + 1], cl
or ecx, 0xffffffff
shr eax, 8
xor edi, edi
mov dword [esi + 0x10], 0
mov bl, byte [edi + esi]
mov dl, 1
lea esp, [esp]
test bl, dl
mov eax, 0
setne al
xor ecx, eax
test cl, 1
je 0x404f7b
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x404f7d
shr ecx, 1
add dl, dl
jne 0x404f60
inc edi
cmp edi, 0x5c
jb 0x404f54
not ecx
mov edx, esi
mov byte [esi + 0x10], cl
shr ecx, 8
mov byte [esi + 0x11], cl
push 1
push dword [ebp - 0x28]
shr ecx, 8
push dword [ebp - 0x14]
mov byte [esi + 0x12], cl
shr ecx, 8
mov byte [esi + 0x13], cl
call fcn.004046c0
add esp, 0xc
test eax, eax
jne 0x404ffd
mov ecx, 0x80
lea edx, [eax + 0x10]
mov edi, esi
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x1be]
mov edi, 0x4286b0
sub edi, ecx
lea ecx, [ecx]
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
dec edx
jne 0x404fd0
push 1
push 0
push 0
mov edx, esi
mov word [esi + 0x1fe], 0xaa55
call fcn.004046c0
add esp, 0xc
test eax, eax
je 0x405161
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, 8
mov byte [ebp - 1], bl
mov edi, edi
xor edx, edx
movzx ecx, bl
div ecx
mov ecx, eax
mov eax, 0x4104105
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 5
cmp ecx, 0x400
jbe 0x40503d
mov eax, dword [ebp - 0x14]
add bl, bl
mov byte [ebp - 1], bl
jne 0x405010
jmp 0x405041
test bl, bl
jne 0x405045
mov byte [ebp - 1], 0xff
mov edx, dword [ebp + 0xc]
xor eax, eax
mov ecx, 0x80
mov dword [ebp - 0x38], eax
mov edi, edx
mov ebx, 0x800
rep stosd dword es:[edi], eax
mov dword [ebp - 0x30], ebx
lea edi, [edx + 0x1cd]
test ebx, ebx
je 0x405159
mov edx, dword [ebp - 0x14]
cmp ebx, edx
jae 0x405159
mov ecx, dword [esi + eax*8]
mov dword [ebp - 0x28], ecx
cmp ecx, 0x64
ja 0x40509b
jne 0x405088
mov ecx, edx
jmp 0x405098
mov eax, 0x51eb851f
mul edx
shr edx, 5
imul ecx, edx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
lea eax, [ecx + ebx]
cmp eax, edx
ja 0x4050a6
cmp eax, ebx
jae 0x4050ad
mov ecx, edx
sub ecx, ebx
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x405159
mov byte [edi - 7], bl
mov eax, ebx
shr eax, 8
xor edx, edx
mov byte [edi - 6], al
shr eax, 8
mov byte [edi - 5], al
shr eax, 8
mov byte [edi - 4], al
mov eax, ecx
mov byte [edi - 3], cl
mov ecx, 0x3f
shr eax, 8
mov byte [edi - 2], al
shr eax, 8
mov byte [edi - 1], al
shr eax, 8
mov byte [edi], al
mov eax, dword [ebp + 8]
mov byte [edi - 0xb], al
mov eax, ebx
div ecx
movzx esi, byte [ebp - 1]
lea ebx, [edx + 1]
xor edx, edx
div esi
mov ecx, eax
mov byte [edi - 0xc], al
shr ecx, 2
and cl, 0xc0
mov byte [edi - 0xe], dl
or cl, bl
xor edx, edx
mov byte [edi - 0xd], cl
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
lea eax, [ecx - 1]
mov ecx, 0x3f
div ecx
lea ebx, [edx + 1]
xor edx, edx
div esi
mov esi, dword [ebp - 0x34]
mov ecx, eax
mov byte [edi - 8], al
mov eax, dword [ebp - 0x38]
shr ecx, 2
inc eax
and cl, 0xc0
mov byte [edi - 0xa], dl
or cl, bl
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
mov byte [edi - 9], cl
add edi, 0x10
cmp eax, 4
jb 0x405064
mov esi, dword [ebp + 0xc]
jmp 0x404fdc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret