Function at 0x46cae0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x597790]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, edx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], eax
cmp edi, esi
jne 0x46cb14
push 0xffffffffffffff9a
pop eax
jmp 0x46ceb9
cmp dword [edi + 0x2c], 1
jne 0x46cb2c
mov ebx, edi
call fcn.0046d02c
cmp eax, esi
jne 0x46ceb9
mov ebx, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], esi
jne 0x46cb38
mov dword [ebp - 0x18], 0x553f10
push dword [ebp - 0x18]
call fcn.004f4f30
pop ecx
mov dword [ebp - 0x14], eax
cmp ebx, esi
jne 0x46cb50
mov dword [edi + 0x4088], esi
jmp 0x46cb64
mov eax, dword [ebx + 0x18]
cmp eax, esi
jne 0x46cb5e
mov edx, ebx
call fcn.0046c9c5
mov dword [edi + 0x4088], eax
push 2
pop ebx
mov dword [edi + 0x7c], ebx
cmp dword [ebp - 0x20], esi
je 0x46cb76
mov dword [edi + 0x7c], 3
push dword [edi + 0x20]
mov dword [edi + 0x408c], esi
push dword [edi + 0x1c]
mov dword [edi + 0x80], 8
mov dword [edi + 0x4090], esi
mov dword [edi + 0x68], esi
mov dword [edi + 0x6c], esi
mov dword [edi + 0x84], esi
call dword [edi + 0xc]
mov dword [edi + 0x70], eax
mov eax, dword [ebp - 0x14]
add eax, 0x2e
push eax
mov dword [edi + 0x78], eax
call fcn.004f8733
add esp, 0xc
push 4
pop edx
mov ecx, 0x2014b50
mov esi, eax
mov dword [edi + 0x74], eax
call fcn.0046c99c
mov esi, dword [edi + 0x74]
add esi, 4
mov edx, ebx
xor ecx, ecx
call fcn.0046c99c
mov esi, dword [edi + 0x74]
push 0x14
add esi, 6
mov edx, ebx
pop ecx
call fcn.0046c99c
mov esi, dword [edi + 0x74]
mov ecx, dword [edi + 0x7c]
add esi, 8
mov edx, ebx
call fcn.0046c99c
mov esi, dword [edi + 0x74]
mov ecx, dword [edi + 0x80]
add esi, 0xa
mov edx, ebx
call fcn.0046c99c
mov esi, dword [edi + 0x74]
mov ecx, dword [edi + 0x4088]
push 4
add esi, 0xc
pop edx
call fcn.0046c99c
mov esi, dword [edi + 0x74]
push 4
add esi, 0x10
pop edx
xor ecx, ecx
call fcn.0046c99c
mov esi, dword [edi + 0x74]
push 4
add esi, 0x14
pop edx
xor ecx, ecx
call fcn.0046c99c
mov esi, dword [edi + 0x74]
push 4
add esi, 0x18
pop edx
xor ecx, ecx
call fcn.0046c99c
mov esi, dword [edi + 0x74]
mov ecx, dword [ebp - 0x14]
add esi, 0x1c
mov edx, ebx
call fcn.0046c99c
mov esi, dword [edi + 0x74]
add esi, 0x1e
mov edx, ebx
xor ecx, ecx
call fcn.0046c99c
mov esi, dword [edi + 0x74]
add esi, 0x20
mov edx, ebx
xor ecx, ecx
call fcn.0046c99c
mov esi, dword [edi + 0x74]
add esi, 0x22
mov edx, ebx
xor ecx, ecx
call fcn.0046c99c
mov esi, dword [edi + 0x74]
mov eax, dword [ebp - 0x1c]
add esi, 0x24
mov edx, ebx
test eax, eax
jne 0x46cca5
xor ecx, ecx
call fcn.0046c99c
xor ecx, ecx
jmp 0x46ccb3
mov ecx, dword [eax + 0x1c]
call fcn.0046c99c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x20]
mov esi, dword [edi + 0x74]
push 4
pop edx
add esi, 0x26
call fcn.0046c99c
mov ecx, dword [edi + 0x70]
mov esi, dword [edi + 0x74]
sub ecx, dword [edi + 0x40ac]
push 4
add esi, 0x2a
pop edx
call fcn.0046c99c
xor eax, eax
cmp dword [ebp - 0x14], eax
jbe 0x46ccf2
mov edx, dword [ebp - 0x18]
mov dl, byte [edx + eax]
mov ecx, dword [edi + 0x74]
mov byte [ecx + eax + 0x2e], dl
inc eax
cmp eax, dword [ebp - 0x14]
jb 0x46ccdf
cmp dword [edi + 0x74], 0
jne 0x46ccff
push 0xffffffffffffff98
jmp 0x46cb0e
push dword [edi + 0x20]
mov ecx, 0x4034b50
push 4
pop esi
call fcn.0046c953
mov esi, eax
pop ecx
test esi, esi
jne 0x46ce03
push dword [edi + 0x20]
mov esi, ebx
push 0x14
pop ecx
call fcn.0046c953
mov esi, eax
pop ecx
test esi, esi
jne 0x46ce03
push dword [edi + 0x20]
mov ecx, dword [edi + 0x7c]
mov esi, ebx
call fcn.0046c953
mov esi, eax
pop ecx
test esi, esi
jne 0x46ce03
push dword [edi + 0x20]
mov ecx, dword [edi + 0x80]
mov esi, ebx
call fcn.0046c953
mov esi, eax
pop ecx
test esi, esi
jne 0x46ce03
push dword [edi + 0x20]
mov ecx, dword [edi + 0x4088]
push 4
pop esi
call fcn.0046c953
mov esi, eax
pop ecx
test esi, esi
jne 0x46ce03
push dword [edi + 0x20]
xor ecx, ecx
push 4
pop esi
call fcn.0046c953
mov esi, eax
pop ecx
test esi, esi
jne 0x46ce03
push dword [edi + 0x20]
xor ecx, ecx
push 4
pop esi
call fcn.0046c953
mov esi, eax
pop ecx
test esi, esi
jne 0x46ce03
push dword [edi + 0x20]
xor ecx, ecx
push 4
pop esi
call fcn.0046c953
mov esi, eax
pop ecx
test esi, esi
jne 0x46ce03
push dword [edi + 0x20]
mov ecx, dword [ebp - 0x14]
mov esi, ebx
call fcn.0046c953
mov esi, eax
pop ecx
test esi, esi
jne 0x46ce03
push dword [edi + 0x20]
mov esi, ebx
xor ecx, ecx
call fcn.0046c953
mov esi, eax
pop ecx
test esi, esi
jne 0x46ce03
cmp dword [ebp - 0x14], eax
jbe 0x46ce03
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [edi + 0x20]
push dword [edi + 0x1c]
call dword [edi + 8]
add esp, 0x10
cmp eax, dword [ebp - 0x14]
je 0x46ce03
or esi, 0xffffffff
xor eax, eax
lea ecx, [edi + 0x88]
mov dword [edi + 0x34], eax
mov dword [edi + 0x40], 0x4000
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x38], eax
mov dword [edi + 0x44], eax
cmp esi, eax
jne 0x46ce54
cmp dword [edi + 0x80], 8
jne 0x46ce54
cmp dword [edi + 0x84], eax
jne 0x46ce54
push 0xfffffffffffffff1
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], eax
lea ecx, [edi + 0x30]
pop eax
call fcn.0046e6ba
mov esi, eax
test esi, esi
jne 0x46ce54
mov dword [edi + 0x68], 1
and dword [edi + 0x40a4], 0
test esi, esi
jne 0x46ceb7
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x46ceb0
push dword [ebp + 0x10]
mov eax, 0x551798
push eax
mov dword [edi + 0x40a0], eax
lea eax, [ebp - 0x10]
lea edx, [edi + 0x4094]
push eax
mov dword [edi + 0x4090], 1
call fcn.0046c771
mov ebx, eax
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [edi + 0x20]
mov dword [edi + 0x40a4], ebx
push dword [edi + 0x1c]
call dword [edi + 8]
add esp, 0x1c
cmp eax, ebx
je 0x46ceb0
or esi, 0xffffffff
jmp 0x46ceb7
mov dword [edi + 0x2c], 1
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f4e9c
leave
ret 0xc